GithubHelp home page GithubHelp logo

Comments (4)

edsu avatar edsu commented on August 20, 2024

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.

skilfullycurled avatar skilfullycurled commented on August 20, 2024

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.

remagio avatar remagio commented on August 20, 2024

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.

edsu avatar edsu commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.