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

Missing column information #109

Open
pumbogongles opened this issue Apr 2, 2024 · 1 comment
Open

Missing column information #109

pumbogongles opened this issue Apr 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@pumbogongles
Copy link

1 - posted_on column in .csv file is empty.
No errors when running the program but I do see a few no post_url, skipping in the terminal while it is running

2 - On some pages, like MetaSingapore page, everything runs fine with no error, but if I try pages like EssoSingapore,
Errors like these appear

Traceback (most recent call last):
  File "C:\Users\User\PycharmProjects\facebook_page_scraper\facebook_page_scraper\element_finder.py", line 335, in __find_posted_time
    parse(aria_label_value).isoformat()
    ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\dateutil\parser\_parser.py", line 1368, in parse
    return DEFAULTPARSER.parse(timestr, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\dateutil\parser\_parser.py", line 643, in parse
    raise ParserError("Unknown string format: %s", timestr)

Not sure if Meta has changed their dateTime or just an issue with my Python

3 - Is there a way to generate a json file instead of printing the json onto terminal?

@moda20
Copy link

moda20 commented Apr 15, 2024

This is still an issue when the date a tag doesn't have the exact time in html tags inside of it. soemtimes facebook uses a canvas there and the date only shows somewhere when you hover over the a tag.

@shaikhsajid1111 can you check this out, because i wasn't able to get the place where the post date is added to the HTML and for this case fb doesn't use the css hover to show the tooltip too.

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