Problem getting reactors
See original GitHub issueThis program snippet
from facebook_scraper import get_posts
from pprint import pprint
import sys
cookie_file = 'facebook_cookies.txt'
def get_post_reactors(post_id):
post = next(get_posts(post_urls=[post_id], cookies=cookie_file,
options={'allow_extra_requests': False, 'reactors': True, 'HQ_images': False}))
return post.get('reactors', None)
post_ids = sys.argv[1 :]
for post_id in post_ids:
print(post_id)
pprint(get_post_reactors(post_id))
usually works to get the reactors to a given post like this
python reactors.py 10224355198279890
But on some posts it doesn’t return the reactors. For example, this
python reactors.py 10224039043141034
and this
python reactors.py 10217951702498185
both return none of the reactors for me, and I have not been able to figure out why.
Do you have any idea what the problem might be?
Issue Analytics
- State:
- Created 2 years ago
- Comments:10
Top Results From Across the Web
Problems with Nuclear Reactors - Hyperphysics
Concerns about the safety of nuclear fission reactors include the possibility of radiation-releasing nuclear accidents, the problems of radioactive waste ...
Read more >Smaller reactors may still have a big nuclear waste problem
The main problem with small modular reactors is the same as their bigger cousins: steep cost. We have now seen generations of nuclear...
Read more >Fixing EDF's reactors corrosion mystery to take several years ...
EDF faces delays and budget over-runs on new nuclear plants in France and abroad, and corrosion problems in some of its ageing reactors....
Read more >Small Nuclear Reactors Still Have a Big Waste Problem
Reactors produce energy by firing neutrons at uranium atoms, causing them to split.
Read more >Smaller Reactors May Still Have a Big Nuclear Waste Problem
With a higher concentration of fissionable atoms in the waste, its “critical mass”—that is, the amount of material to sustain a chain reaction— ......
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
That worked! Thank you.
I hope my bug reports don’t actually sound like complaining. 😊 facebook-scraper is a great project and very well done. Thank you! I appreciate it a lot.