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

ERROR - Error at find_posted_time method : Unknown string format: Enlarge #116

Open
tom-a-horrocks opened this issue Jun 4, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@tom-a-horrocks
Copy link

tom-a-horrocks commented Jun 4, 2024

Thanks for writing this app. I've recently started receiving an error to do with datetime parsing from a page that was previously working, so I'm assuming FB must have changed something. It might be the same as issue #109.

I'm using the latest version available on PyPI.

2024-06-05 07:42:57,254 - facebook_page_scraper.element_finder - ERROR - Error at find_posted_time method : Unknown string format: Enlarge
Traceback (most recent call last):
File "\facebook_page_scraper\element_finder.py", line 337, in __find_posted_time
parse(aria_label_value).isoformat()
^^^^^^^^^^^^^^^^^^^^^^^
File "\dateutil\parser_parser.py", line 1368, in parse
return DEFAULTPARSER.parse(timestr, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "\dateutil\parser_parser.py", line 643, in parse
raise ParserError("Unknown string format: %s", timestr)

@moda20
Copy link

moda20 commented Jun 6, 2024

I haver a fork that i have updated to handle the post_url and post time scraping correctly :
https://github.com/moda20/facebook_page_scraper
can you try it and see if it works for you

@tom-a-horrocks
Copy link
Author

Thanks @moda20! I give it a try, but unfortunately I get the same error.

@shaikhsajid1111
Copy link
Owner

#115 (comment)

@shaikhsajid1111 shaikhsajid1111 added the bug Something isn't working label Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants