Skip to content

Instantly share code, notes, and snippets.

View harshhes's full-sized avatar
💻
Working from home

HarsH harshhes

💻
Working from home
View GitHub Profile
from w3lib.html import replace_escape_chars
import scrapy, json
from ..utils import cookie_parse
class InstaSpider(scrapy.Spider):
name = 'insta'
allowed_domains = ['www.instagram.com']
# start_urls = ['http://www.instagram.com/']
headers = {
"x-asbd-id": 198387,