moda20 / facebook-scraper

Scrape Facebook public pages without an API key
MIT License
88 stars 28 forks source link

Still cannot get full text #17

Closed willlee88 closed 11 months ago

willlee88 commented 11 months ago

I have update my rev to b0b242f. And I try the example for post in get_posts('NintendoAmerica', base_url="https://mbasic.facebook.com", start_url="https://mbasic.facebook.com/NintendoAmerica?v=timeline", cookies=self.fb_cookie_path, pages=1): print(post)

The post on December 6th was truncated on the web page, and the post results I got were also truncated 'text' instead of 'full_text'.

The 'text' show below : There's no need to say goodbye just yet! The Seattle Aquarium’s partnership with Nintendo of America is continuing through the end of March 2024. 💙

That means you'll have more time to see some of your favorite characters from the Animal Crossing: New Horizons game all while exploring the Aquarium...

moda20 commented 11 months ago

i tried it now, and it got me the full text from the latest nintendo post, although the text was duplicated. but full_text has all the text in it anyway

willlee88 commented 11 months ago

@moda20 Thanks so much. I can get full text, although the text was still duplicated. I think I can close this issue first.