This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from scrapy.spider import BaseSpider | |
from scrapy.http import FormRequest, Request | |
from scrapy.selector import HtmlXPathSelector | |
class DjangoSpider(BaseSpider): | |
domain_name = "django.local" | |
start_urls = ["http://localhost:8000/admin/"] | |
extra_domain_names = ["localhost"] | |
def parse(self, response): |
NewerOlder