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.

stop after a while

See original GitHub issue

I want to crawl 2014-2021 tweets with exact_words (only one word), but it stopped and only picked up 2021.9.13 to 2021.9.4. Why does this happen?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
markowangacommented, Oct 15, 2021

I’ve tested that. I follow the cursor returned by API – there is a moment when request with last returned cursor value returns 0 tweets. I think it is not network problem, but Twitter limitation. I tried now with 5 seconds sleep interval between batches – it doesn’t help.

1reaction
markowangacommented, Oct 15, 2021

Yes, I will prepare better docs in this month (now I focused on working library). Try add auth interceptor 😉 (yes it isn’t obvious without documentation)

st.RequestsWebClient(proxy=ProxyConfig, interceptors=[TwitterAuthWebClientInterceptor()])
Read more comments on GitHub >

github_iconTop Results From Across the Web

How would I stop a while loop after n amount of time?
Try the following: import time timeout = time.time() + 60*5 # 5 minutes from now while True: test = 0 if test ==...
Read more >
How to Stop Execution After a Certain Time in Java - Baeldung
In this article, we'll learn how we can end a long-running execution after a certain time. We'll explore the various solutions to this ......
Read more >
Videos and gifs stop playing after a while : r/help - Reddit
While using the reddit app, videos and gifs will stop playing after having watched a few. Videos that have already played…
Read more >
Sounds stop on Windows 10 after a while - Super User
I just stopped "Bluetooth Audio Gateway Service" and audio was back again ("someone" activated it but perhaps you just need to restart it)....
Read more >
Why Do You Stop Noticing Smells After A While? - YouTube
Our brains lie to us. Not maliciously – they think they're helping. Which is why smells seem to disappear: It's olfactory adaptation.
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