Video Related Json's are not good
See original GitHub issueThere are video-related posts, that video is none.
{
"post_id":"1908691579309019",
"text":"Справа Тетяни Чорновол – це атака на Україну і її досягнення після Революції Гідності – Артур Герасимов👉 https://bit.ly/3lbW6Wb\n\n📌 Друзі, підписуйтеся на офіційні канали партії!\nTelegram👉 bit.ly/2KOngQh\nInstagram👉 bit.ly/34ZDz6H\nTwitter👉 bit.ly/33Uld4F\nYouTube👉 bit.ly/2GZgFTE",
"post_text":"Справа Тетяни Чорновол – це атака на Україну і її досягнення після Революції Гідності – Артур Герасимов👉 https://bit.ly/3lbW6Wb\n\n📌 Друзі, підписуйтеся на офіційні канали партії!\nTelegram👉 bit.ly/2KOngQh\nInstagram👉 bit.ly/34ZDz6H\nTwitter👉 bit.ly/33Uld4F\nYouTube👉 bit.ly/2GZgFTE",
"shared_text":"",
"time":"2021-07-30 08:45:29",
"image":"None",
"image_lowquality":"https://z-m-scontent.fnak4-1.fna.fbcdn.net/v/t15.5256-10/cp0/e15/q65/s350x350/210219254_1908702292641281_2802185200179206338_n.jpg?_nc_cat=102&ccb=1-3&_nc_sid=ccf8b3&_nc_ohc=IrIY3iNbeoYAX8tHpWC&_nc_ad=z-m&_nc_cid=1277&_nc_eh=780f26274c2e3dd2a4b3010ade0469c2&_nc_rml=0&_nc_ht=z-m-scontent.fnak4-1.fna&oh=a321cef17612c99106c0658dc756212d&oe=610CF058",
"images":[
],
"images_description":[
],
"images_lowquality":[
"https://z-m-scontent.fnak4-1.fna.fbcdn.net/v/t15.5256-10/cp0/e15/q65/s350x350/210219254_1908702292641281_2802185200179206338_n.jpg?_nc_cat=102&ccb=1-3&_nc_sid=ccf8b3&_nc_ohc=IrIY3iNbeoYAX8tHpWC&_nc_ad=z-m&_nc_cid=1277&_nc_eh=780f26274c2e3dd2a4b3010ade0469c2&_nc_rml=0&_nc_ht=z-m-scontent.fnak4-1.fna&oh=a321cef17612c99106c0658dc756212d&oe=610CF058"
],
"images_lowquality_description":[
"None"
],
"video":"None",
"video_duration_seconds":456,
"video_height":720,
"video_id":"1908691579309019",
"video_quality":"720p",
"video_size_MB":"None",
"video_thumbnail":"None",
"video_watches":7886,
"video_width":1280,
"likes":734,
"comments":72,
"shares":109,
"post_url":"https://facebook.com/832922343451368/posts/1908691579309019",
"link":"https://bit.ly/3lbW6Wb",
"user_id":"832922343451368",
"username":"Європейська Солідарність",
"user_url":"https://facebook.com/EuropeanSolidarity.official/?__tn__=C-R",
"is_live":false,
"factcheck":"None",
"shared_post_id":"None",
"shared_time":"None",
"shared_user_id":"None",
"shared_username":"None",
"shared_post_url":"None",
"available":true,
"comments_full":"None",
"reactors":"None",
"w3_fb_url":"None",
"reactions":"None",
"reaction_count":"None",
"image_id":"None",
"image_ids":[
],
"fetched_time":"2021-08-02 07:31:38"
}
If we specifically visit this post anonymously also the json result is not good
>>> from facebook_scraper import *
>>> proxy = "http://usernamename:password@ip:port"
>>> set_proxy(proxy)
>>> posts = list(get_posts(post_urls=[521405578978039], timeout=90))
>>> posts
[{'original_request_url': 521405578978039, 'post_url': 'https://m.facebook.com/521405578978039'}]
There are several posts has video key: None
534809420905208
517593769498197
@neon-ninja please check
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Power BI Tutorial | Working with JSON data - YouTube
Working with JSON data in Power BI Desktop is one of the best -k... ... try restarting your device. Your browser can't play...
Read more >Google Chrome video not playing- Json response with html ...
In the developer tools in XHR, I can see the following: Request sent for JSON file; Response returns the Json response which contains...
Read more >An Introduction to JSON | DigitalOcean
JSON is also readable, lightweight, offers a good alternative to XML, ... in mind that though they appear similar, a JSON object is...
Read more >Working With JSON Data in Python
Watch Now This tutorial has a related video course created by the Real Python ... Keep in mind, JSON isn't the only format...
Read more >Working with JSON - Learn web development | MDN
This is not a big issue — JavaScript provides a global JSON object that ... We then do a very similar operation with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The scraper doesn’t support URLs that resolve to https://m.facebook.com/watch/?ref=watch_permalink. You need a URL like https://m.facebook.com/story.php?story_fbid=4577884442318686&id=174053246035183&m_entstream_source=video_home&player_suborigin=entry_point&player_format=permalink. https://github.com/kevinzg/facebook-scraper/commit/d95de50318d86b4375701edbfc36a003b9a712a3 should help with crafting these links. With this commit:
outputs:
This already exists, it’s the
is_live
key. If you mean a video that “was live”, https://github.com/kevinzg/facebook-scraper/commit/c1671dde0ddd1d5ce2f9facfeb88f8590f15228b adds that aswas_live
@neon-ninja when we scrape using the forum method, we can get some basic details of live videos. can we have an identifier on the sample JSON, that the post is a live video post Live video
because if we set cookies and scrape, we cant get the proper JSON from the program