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

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

@noah-kg

Description

@noah-kg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions