images url are null for some specific post
See original GitHub issueuse the latest version 0.2.37 the post link is here
https://www.facebook.com/story.php?story_fbid=3198174880409662&id=100006515443288
code is here
for post in get_posts(post_urls=["https://www.facebook.com/story.php?story_fbid=3198174880409662&id=100006515443288"],
cookies='sessions/osip.json'):
pprint(post)
returns images are null
{'available': True,
'comments': 34,
'comments_full': None,
'factcheck': None,
'image': None,
'image_lowquality': 'https://scontent-hkt1-1.xx.fbcdn.net/v/t15.5256-10/cp0/e15/q65/p320x320/134873735_3198175097076307_5251936093091352164_n.jpg?_nc_cat=101&ccb=1-3&_nc_sid=ed1892&efg=eyJpIjoidCJ9&_nc_ohc=ps-7mU4Oi4UAX_soCEH&_nc_ht=scontent-hkt1-1.xx&tp=3&oh=49c591666dd0a763000694b358f9a483&oe=60ABF4D2',
'images': None,
'images_description': None,
'images_lowquality': ['https://scontent-hkt1-1.xx.fbcdn.net/v/t15.5256-10/cp0/e15/q65/p320x320/134873735_3198175097076307_5251936093091352164_n.jpg?_nc_cat=101&ccb=1-3&_nc_sid=ed1892&efg=eyJpIjoidCJ9&_nc_ohc=ps-7mU4Oi4UAX_soCEH&_nc_ht=scontent-hkt1-1.xx&tp=3&oh=49c591666dd0a763000694b358f9a483&oe=60ABF4D2',
'https://scontent-hkt1-1.xx.fbcdn.net/v/t1.6435-0/cp0/e15/q65/p320x320/148250842_3198174683743015_4486208134381249018_n.jpg?_nc_cat=102&ccb=1-3&_nc_sid=110474&efg=eyJpIjoidCJ9&_nc_ohc=i5lwASePHK0AX-\\-\\JFGX&_nc_ht=scontent-hkt1-1.xx&tp=3&oh=a8d87aaa4453c0a2dbe9d54d07224f45&oe=60CE9ED7',
'https://scontent-hkt1-2.xx.fbcdn.net/v/t1.6435-0/cp0/e15/q65/s320x320/148258733_3198174710409679_1993337055042740738_n.jpg?_nc_cat=103&ccb=1-3&_nc_sid=110474&efg=eyJpIjoidCJ9&_nc_ohc=yFVr0H-kZZYAX8YeeUK&_nc_oc=AQkDUejakIfFOBlzoc2LBtYhYDy3cQzdKdFHM2iUmDCbvLa_gcZevUXKhsrI8g-5U-U&_nc_ht=scontent-hkt1-2.xx&tp=9&oh=20c68ba02c10df8fc396958862d801fb&oe=60CCCDC3',
'https://scontent-hkt1-2.xx.fbcdn.net/v/t1.6435-0/cp0/e15/q65/s320x320/147810025_3198174780409672_8145770994565686942_n.jpg?_nc_cat=104&ccb=1-3&_nc_sid=110474&efg=eyJpIjoidCJ9&_nc_ohc=4f270QNmLeUAX9a19Wb&_nc_ht=scontent-hkt1-2.xx&tp=9&oh=7959b0d3695e1116a3965f39cc4114dc&oe=60CD35BB',
'https://scontent-hkt1-2.xx.fbcdn.net/v/t1.6435-0/cp0/e15/q65/s320x320/148096937_3198174537076363_4022883650174018178_n.jpg?_nc_cat=106&ccb=1-3&_nc_sid=110474&efg=eyJpIjoidCJ9&_nc_ohc=7EJD3LkLbsUAX9ieuyu&_nc_ht=scontent-hkt1-2.xx&tp=9&oh=89896066538cd7f55657a2f41c939384&oe=60CCA755'],
'images_lowquality_description': ['video',
'May be an image of 2 people, child, people '
'standing, flower and indoor',
'May be an image of 3 people, people '
'sitting, people standing and indoor',
'May be an image of 7 people, people '
'standing, people sitting and indoor',
'May be an image of 9 people, people '
'standing and indoor'],
'is_live': False,
'likes': 280,
'link': 'https://media1.tenor.co/images/fe5a8f89962529f7b251efc3aab64a48/tenor.gif?itemid=9246757&fbclid=IwAR1_8ZJZYfHejh3f29xWi7XIdOBMoJ5iqizj4dBGk3pZGwQde0sfx-eUibo',
'original_request_url': 'https://www.facebook.com/story.php?story_fbid=3198174880409662&id=100006515443288',
'post_id': '3198174880409662',
'post_text': 'Tết đến nơi rồi còn nhà nào chưa gói banha chưng ko để Phở đến '
'giúp nào.',
'post_url': 'https://facebook.com/story.php?story_fbid=3198174880409662&id=100006515443288',
'reactors': None,
'shared_post_id': None,
'shared_post_url': None,
'shared_text': '',
'shared_time': None,
'shared_user_id': None,
'shared_username': None,
'shares': 2,
'text': 'Tết đến nơi rồi còn nhà nào chưa gói banha chưng ko để Phở đến giúp '
'nào.',
'time': datetime.datetime(2021, 2, 8, 21, 50),
'user_id': '100006515443288',
'user_url': 'https://facebook.com/profile.php?id=100006515443288&refid=52&__tn__=C-R',
'username': 'Minh Hải Đào',
'video': None,
'video_duration_seconds': None,
'video_height': None,
'video_id': None,
'video_quality': None,
'video_size_MB': None,
'video_thumbnail': None,
'video_watches': None,
'video_width': None,
'w3_fb_url': None}
Issue Analytics
- State:
- Created 2 years ago
- Comments:14
Top Results From Across the Web
javascript - Specify if image of url leads to null - Stack Overflow
Now, I want to specify in javascript, if the url address: '/image.php?song=SongName' returns null (if there is not an image cover on the ......
Read more >Certain URLs wont load. Error is null. · Issue #1675 - GitHub
Exception is null and I have no idea why some of my images wont load. The URLs passed into Glide seem fine. ......
Read more >Getting image url error code: Impossible to access an attribute ...
Because image would be set to NULL, and NULL doesn't have an attribute of url . (This is exactly what the error message...
Read more >ACF 'Image' Field Returns NULL - WordPress.org
The “var_dump” function returns NULL, even though I assigned an image to the custom post that is associated with the custom post type...
Read more >ImageView (JavaFX 8) - Oracle Help Center
Allocates a new ImageView object with image loaded from the specified URL. Method Summary. All Methods Static Methods Instance ...
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
update: I changed my cookie from another ip, and it works, thanks
BUT a few minutes later, the video is None again, maybe the problem is my account.
This should fix the problem - https://github.com/kevinzg/facebook-scraper/commit/9ef99cbd6954429d5ff3fe69324ad6fa66910fb8 Output: