Skip to content

Instantly share code, notes, and snippets.

@rafikahmed
Last active September 27, 2018 19:00
Show Gist options
  • Save rafikahmed/8bfa8d09590150e9947a4fc54a13999c to your computer and use it in GitHub Desktop.
Save rafikahmed/8bfa8d09590150e9947a4fc54a13999c to your computer and use it in GitHub Desktop.
import scrapy
class JokesSpider(scrapy.Spider):
name= 'jokes'
allowed_domains = ['www.laughfactory.com']
start_urls = [
'http://www.laughfactory.com/jokes/family-jokes'
]
def parse(self, response):
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment