Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timelinvol timeline_search sometimes errors with results = {"datetime": [entry["date"] for entry in timeline["timeline"][0]["data"]]} #32

Open
xpluscal opened this issue Nov 10, 2023 · 0 comments

Comments

@xpluscal
Copy link

Sometimes the timelinevol timeline_search errors with:

results = {"datetime": [entry["date"] for entry in timeline["timeline"][0]["data"]]}
IndexError: list index out of range

I could not inspect the data or cause yet, but it happens fairly often.

Here's some sample code:

f = Filters(
      timespan= "2h",
      num_records = 100,
      keyword ="Grammy"
  )
  
timeline = gd.timeline_search("timelinevol", f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant