Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot login #73

Open
Adamkomar95 opened this issue Jul 7, 2021 · 0 comments
Open

Cannot login #73

Adamkomar95 opened this issue Jul 7, 2021 · 0 comments

Comments

@Adamkomar95
Copy link

When trying to login I receive:

2021-07-07 13:48:42 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://mbasic.facebook.com/cookie/consent-page/?next_uri=https%3A%2F%2Fmbasic.facebook.com%2F&refsrc=deprecated&_rdr> (referer: None) 2021-07-07 13:48:42 [scrapy.core.scraper] ERROR: Spider error processing <GET https://mbasic.facebook.com/cookie/consent-page/?next_uri=https%3A%2F%2Fmbasic.facebook.com%2F&refsrc=deprecated&_rdr> (referer: None) Traceback (most recent call last): File "/home/adam/venvs/sandbox/lib/python3.8/site-packages/twisted/internet/defer.py", line 662, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/home/adam/venvs/sandbox/lib/python3.8/site-packages/scrapy/spiders/__init__.py", line 90, in _parse return self.parse(response, **kwargs) File "/home/adam/research/fbcrawl/fbcrawl/spiders/fbcrawl.py", line 90, in parse return FormRequest.from_response( File "/home/adam/venvs/sandbox/lib/python3.8/site-packages/scrapy/http/request/form.py", line 48, in from_response form = _get_form(response, formname, formid, formnumber, formxpath) File "/home/adam/venvs/sandbox/lib/python3.8/site-packages/scrapy/http/request/form.py", line 106, in _get_form raise ValueError(f'No <form> element found with {formxpath}') ValueError: No <form> element found with //form[contains(@action, "login")]

I'm using scrapy crawl fb -a email="<email>" -a password="<pass>" -a page="https://www.facebook.com/lodzpl/" -a date="2018-01-01" -a lang="en" -o DUMPFILE.csv command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant