Comments (12)
Is it this?
Blank lines
On slow streams, some messages may be blank lines which serve as “keep-alive” signals to prevent clients and other network infrastructure from assuming the stream has stalled and closing the connection.
from twarc.
Yes, exactly. It would be useful for twarc not to log these that way right? They won't get written to the data output incidentally.
from twarc.
Also, I'm kind of curious to hear how you are using twarc in school, since I work in a university setting where we've been thinking about instructional uses of twitter data collection.
from twarc.
I'm just pushed this up to PyPI too as v0.3.2 if you have installed twarc via pip. Let me know if you notice any problems!
from twarc.
Thanks. It seems to be ok now. And I use it in school for some research group. They gave me project to streaming data from Twitter for many keywords, saving them to files and then next working with it.
from twarc.
Excellent, that's just the use case it was created for. If you go looking for an app to manage data collection like this you might be interested in https://github.com/gwu-libraries/social-feed-manager which manages stuff for you, and pretty much lets the researchers decide what to collect.
from twarc.
Oh thanks. I will look at it and consider usage.
from twarc.
Hello,
can I ask you one question? I have another problem, but i don't know if it is mine or yours. I am getting error 406: Not Acceptable. First time I got it after cca 66 hours and second time it was after cca 86 hours of streaming. I am still using Twarc as library and cannot find anything what could help me. Everything worked well but after that time there was error and then it was just repeating this error. Do you know where could be a problem?
Thanks a lot.
Filip Hadac
from twarc.
Interesting, did you can get any kind of stack trace to indicate where the error was happening? It looks like the Search API can return a 406 if the format is invalid? We've been noticing spurious 404 errors from Twtiter over in #75. Maybe this is similar/related?
from twarc.
I cannot get stack trace now, because I already quit application and run it again, because I am already using it to stream data what we need. Also it is not easy to debug it for me because it is running on server and error is often after 3 days. But i will implement some stack trace to script for next run and will see.
from twarc.
If you run it in a screen session you should be able to reconnect after a few days and see the stack trace. If you want I can update the catch-404 branch to also catch 406, and see if that helps you?
from twarc.
It is ok. I will try it once more and if it fails again, I will let you know and then you can update it. But thanks.
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.