Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

twint c.Until disabling output being written to file? #1421

Open
noah-kg opened this issue May 17, 2022 · 0 comments
Open

twint c.Until disabling output being written to file? #1421

noah-kg opened this issue May 17, 2022 · 0 comments

Comments

@noah-kg
Copy link

noah-kg commented May 17, 2022

Initial Check

  • Python version is 3.10.2;
  • Updated Twint with pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint;
  • I have searched the issues and there are no duplicates of this issue/question/request.

Command Ran

def twint_search(keyword, since, until, filename):
c = twint.Config()
c.Search = keyword
c.Since = since
c.Until = until
c.Lang = "en"
c.Count = True
c.Pandas = True
c.Store_csv = True
c.Hide_output = True
c.Output = filename

Description of Issue

If I run the above code with the c.Until commented out, everything works. I get an output file with my search terms. If I uncomment the c.Until, twint shows that it has scraped the tweets, but the output file does not get generated.

Environment Details

Windows 10, Jupyterlab notebook

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant