Open chrixtal opened 4 years ago
You're probably using "page" instead of "post", try changing that:
scrapy crawl comments -a email="email@gmail.com" -a password="pass" -a post="https://mbasic.facebook.com/story.php?story_fbid=1212323232" -o trump_comments.csv
when I trying to crawling my site, it occurs error:
the above line is:
post = post.xpath(".//a[contains(@href,'footer')]/@href").extract()
I trying to open source of my target site page, It have 13 'footer', and I check the post[], it len(post[]) is 0.
how come?, is anyone can give me a suggestion?