Comments (2)
nohup twarc2 search --archive --start-time 2010-02-01 --end-time 2022-11-30 "red apple lang:en" apple.jsonl 2>&1 | tee log.log &
from twarc.
The lang
should be in quotes for the query, so the inner quotes, for the phrase, "red apple"
have to be escaped in your terminal, however you do that normally in bash for example:
twarc2 search --start-time "2010-02-01" --end-time "2022-11-30" --archive "\"red apple\" lang:en" apple.jsonl
(I also tend to put the dates in quotes too, not strictly necessary, but always good to be explicit, and i moved --archive
to make it easier to read)
The command then:
Twarc keeps own logs, in twarc.log
in the folder where you run it, and shows you a progress bar, so you don't need to tee
output to a log, that will give you a log of the progress bar output, so you can run:
nohup twarc2 search --start-time "2010-02-01" --end-time "2022-11-30" --archive "\"red apple\" lang:en" apple.jsonl &
instead. Another alternative way is to run long twarc commands is inside a screen
you detach from, or tmux.
from twarc.
Related Issues (20)
- 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.