HoloArchivists/twspace-dl

Failed to execute script '__main__' due to unhandled exception: [Errno Expecting value] : 0

twingall1 opened this issue · 2 comments

Describe the bug
failing to download completed twitter space

To Reproduce
GUI: >>Input >> Space URL >>paste twitter space link >>Click Start

Expected behavior
Cmd window opens and download process begins

Output
If applicable, add the output of the command to help explain your problem.

Traceback (most recent call last):
  File "requests\models.py", line 910, in json
  File "json\__init__.py", line 346, in loads
  File "json\decoder.py", line 337, in decode
  File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "twspace_dl\__main__.py", line 257, in <module>
  File "gooey\python_bindings\gooey_decorator.py", line 134, in <lambda>
  File "twspace_dl\__main__.py", line 252, in main
  File "twspace_dl\__main__.py", line 93, in space
  File "twspace_dl\twspace.py", line 181, in from_space_url
  File "twspace_dl\twspace.py", line 58, in __init__
  File "twspace_dl\twitter.py", line 32, in user_id
  File "requests\models.py", line 917, in json
requests.exceptions.JSONDecodeError: [Errno Expecting value] : 0

Desktop (please complete the following information):

  • OS: Windows 10 Home
  • Version 10.0.19045 Build 19045
  • Installation method: Binary (latest version)

Additional context
worked fine on 18th January; when trying to re-download that same twitter space today (21st Jan 2023) it fails

Hmm, I think Twitter might be breaking stuff, I'll look into this later.

Yes seems that way.. their recent tweak to make 'for you' default instead
of the most recent tweets ('following'), is quite annoying too.. Perhaps
all troubles will soon be solved by paying $8 a month lol

Thank you. I used a website to download this time, but i prefer your way as it's cleaner
cheers,
T