question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

reactors no longer being returned

See original GitHub issue

Just today, reactors stopped being returned for me. The following program exhibits the problem.

from facebook_scraper import get_posts, set_user_agent
from pprint import pprint
import sys

cookie_file = 'facebook_cookies.txt'

set_user_agent("Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)")

post_ids = sys.argv[1 : ]

for post_id in post_ids:
    post = next(get_posts(post_urls=[post_id], cookies=cookie_file,
                          options={'allow_extra_requests': False, 'reactors': True}))
    pprint(post)

When I invoke this as

python reactors.py 10158741881073601

the reactors field returned is None, although there are actually reactors to the post. It was working until today.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:15

github_iconTop GitHub Comments

1reaction
ben31406commented, Mar 31, 2022

Yes! It works great now. Thank you so much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nuclear power's comeback is down to small modular reactors
Nuclear power is undergoing a revival as countries move to decarbonize and boost energy security. Small modular reactors are driving it.
Read more >
Half of France's Nuclear Plants Are Off-Line
France's state-backed nuclear operator is scrambling to overcome a monthslong crisis to get as many reactors as possible restarted before ...
Read more >
3 Reasons Nuclear Power Has Returned to the Energy Debate
Since then, 12 reactors have been shut down, while only one was added. (Nuclear power continues to supply about 20 percent of total...
Read more >
Warming rivers threaten France's already tight power supply
That is a problem because river water is often used to cool reactors before being returned at a higher temperature. Reactor production is ......
Read more >
Decommission nuclear facilities - World Nuclear Association
About 200 commercial, experimental or prototype reactors, over 500 research reactors, and several fuel cycle facilities have been retired from operation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found