timhutton / twitter-archive-parser

Python code to parse a Twitter archive and output in various ways

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

name 'media_sources' is not defined

stuffmc opened this issue · comments

The archive doesn't contain the original-size images. We can attempt to download them from twimg.com.
Please be aware that this script may download a lot of data, which will cost you money if you are
paying for bandwidth. Please be aware that the servers might block these requests if they are too
frequent. This script may not work if your account is protected. You may want to set it to public
before starting the download.

OK to start downloading? [y/n]y
Traceback (most recent call last):
  File "~/Downloads/twitter-2022-11-01-b470d4ee7c7ba96e09a7782d4451d9c6852c3d7322cdcf3a91dbe40943586323/parser.py", line 580, in <module>
    main()
  File "~/Downloads/twitter-2022-11-01-b470d4ee7c7ba96e09a7782d4451d9c6852c3d7322cdcf3a91dbe40943586323/parser.py", line 575, in main
    download_larger_media(media_sources, log_path)
NameError: name 'media_sources' is not defined

Thank you for reporting! I'll fix this.

Seeing the same thing

Should be fixed now. Please try with the latest version and reopen this issue if not.