Describe the bug
Something must have changed in the v.redd.it response format. The redvid downloader is crashing on new videos
To Reproduce
Steps to reproduce the behavior:
Attempt to download a video that was created in the last couple of days
Mac OS
➜ ~ redvid -u https://v.redd.it/ra827wcb4v0g1 #video is 2 days old
>> Connecting...
>> Scraping...
Traceback (most recent call last):
File "/Users/username/opt/anaconda3/bin/redvid", line 8, in <module>
sys.exit(run())
File "/Users/username/opt/anaconda3/lib/python3.9/site-packages/redvid/__main__.py", line 120, in run
reddit.download()
File "/Users/username/opt/anaconda3/lib/python3.9/site-packages/redvid/redvid.py", line 242, in download
self.check()
File "/Users/username/opt/anaconda3/lib/python3.9/site-packages/redvid/redvid.py", line 171, in check
self.scrape()
File "/Users/username/opt/anaconda3/lib/python3.9/site-packages/redvid/redvid.py", line 110, in scrape
VQS, AQS = mpdParse(mpd.text, custom_video_qualities=max_min_qualities)
ValueError: not enough values to unpack (expected 2, got 0)
Linux
/app # redvid -u https://v.redd.it/ra827wcb4v0g1
>> Connecting...
>> Scraping...
Traceback (most recent call last):
File "/usr/local/bin/redvid", line 8, in <module>
sys.exit(run())
File "/usr/local/lib/python3.9/site-packages/redvid/__main__.py", line 120, in run
reddit.download()
File "/usr/local/lib/python3.9/site-packages/redvid/redvid.py", line 242, in download
self.check()
File "/usr/local/lib/python3.9/site-packages/redvid/redvid.py", line 171, in check
self.scrape()
File "/usr/local/lib/python3.9/site-packages/redvid/redvid.py", line 110, in scrape
VQS, AQS = mpdParse(mpd.text, custom_video_qualities=max_min_qualities)
ValueError: not enough values to unpack (expected 2, got 0)
Expected behavior
Download should succeed
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [mac os, alpine linux 3.18]
- Version [redvid 2.0.5]
Describe the bug
Something must have changed in the v.redd.it response format. The redvid downloader is crashing on new videos
To Reproduce
Steps to reproduce the behavior:
Attempt to download a video that was created in the last couple of days
Mac OS
Linux
Expected behavior
Download should succeed
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):