Last active
April 25, 2021 04:56
-
-
Save ddikman/0528c2cdf2ce1f3f1556283417a2aadc to your computer and use it in GitHub Desktop.
Example Scrapy scraper
This file contains 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
import scrapy | |
from scrapy.shell import inspect_response | |
class GreycastleSpider(scrapy.Spider): | |
name = "greycastle" | |
start_urls = [ | |
'https://greycastle.se' | |
] | |
def parse(self, response): | |
inspect_response(response, self) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment