Comments (4)
The problem is the "pick up" feature didn't really didn't work well once the --stream option was added. The code also got a bit complicated and tangled, and I needed to simplify it. I am sorry if this doesn't fit your use case. Please give the archive utility a try.
from twarc.
Ah I see. I didn't realize it was an architectural issue that was final. The archive.py file indicates otherwise.
"This functionality was initially part of twarc.py itself (not in a utility). If it proves useful perhaps it can go back in. But for now twarc.py writes to stdout to let you manage your data the way you want to."
I am happily using the archive.py function. That fits my use case perfectly, but my larger point was that I can't think of a use case where I would use --search given that archive.py is search plus. Again, I do not think of all things so my assertion is suspect.
Thanks, Ed!
from twarc.
Related to this issue, not to return past features, I would suggest to add a tricky feature. Probably useful for both --search --stream and archive.py: exit the process when twarc output "no new tweets…", catch python errors and do de same I found cases that it doesn't exit to the shell.
This way supervisor (or other linux system tools to running daemons) could be used. Still some trouble to catch error coming by twitter, you know.
from twarc.
I believe this problem of not exiting was fixed already. Update to the latest version, and please file a bug report if you notice a specific problem.
from twarc.
Related Issues (20)
- How to use Academic API to search archives with language filters? HOT 2
- How to extract the author user name of a retweet? HOT 1
- Twarc API V2 function to get conversations HOT 1
- Is it possible to use "next_token"? HOT 3
- Missing `variants` field in `media.fields`
- Add `include_ext_is_blue_verified=True`
- CLI: Allow to differentiate between 404 and connection timeout HOT 4
- Have twarc2 400 error while searching phrases. HOT 1
- CLI Errors fail to show for invalid input file
- CLI Errors fail to show for invalid input file HOT 1
- twarc2 timeline --no-context-annotations not pulling 500 tweets HOT 2
- Adding query parameters to search terms imported via .txt? HOT 1
- Is it possible to convert twarc jsnol files to twarc2 jsonl files? HOT 2
- Impossible to specify No expansions at all in CLI.
- Implement new compliance Streams
- Cannot find user_verified_type in the tweet metadata HOT 18
- twarc2 hydrate HOT 2
- twarc2 hydrate freezes at 20% HOT 3
- Client forbidden HOT 3
- Forbidden error after few tweets hydrated (403) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twarc.