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

Get video by post not working #44

Open
michaelpham888 opened this issue Mar 18, 2024 · 1 comment
Open

Get video by post not working #44

michaelpham888 opened this issue Mar 18, 2024 · 1 comment

Comments

@michaelpham888
Copy link

Hi bro, I tried to get a video from a post and it's not working, it seems like facebook has adjusted the elements so they're not working properly, please help me check and see if that's true. thansk !

@526319491
Copy link

facebook_scraper/facebook_scraper.py
change the 'default_headers ' --> 'User-Agent' : "Mozilla/5.0 (Linux; Android 11.0; Surface Duo) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36"

The above is the solution, but after making such modifications, the structure of the page will change. You need to parse the HTML again, which means you need to understand the source code and be able to modify it

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

2 participants