aajanki / yle-dl

Download videos from Yle servers
https://aajanki.github.io/yle-dl/index-en.html
GNU General Public License v3.0
302 stars 52 forks source link

odd crash https://areena.yle.fi/1-62966327 #322

Closed gunnar12 closed 1 year ago

gunnar12 commented 1 year ago

odd crash https://areena.yle.fi

odd video too, nato-studio parts?

Now downloading from URL 251/1100: https://areena.yle.fi/1-62966327 Traceback (most recent call last): File "H:\0602\yle-dl-script.py", line 11, in load_entry_point('yle-dl==20220704', 'console_scripts', 'yle-dl')() File "C:\Users\Gunnar\AppData\Roaming\Python\Python37\site-packages\yle_dl-20220704-py3.7.egg\yledl\yledl.py , line 486, in main File "C:\Users\Gunnar\AppData\Roaming\Python\Python37\site-packages\yle_dl-20220704-py3.7.egg\yledl\yledl.py , line 294, in execute_action File "C:\Users\Gunnar\AppData\Roaming\Python\Python37\site-packages\yle_dl-20220704-py3.7.egg\yledl\yledl.py , line 301, in download_clips File "C:\Users\Gunnar\AppData\Roaming\Python\Python37\site-packages\yle_dl-20220704-py3.7.egg\yledl\extracto s.py", line 238, in File "C:\Users\Gunnar\AppData\Roaming\Python\Python37\site-packages\yle_dl-20220704-py3.7.egg\yledl\extracto s.py", line 576, in extract_clip File "C:\Users\Gunnar\AppData\Roaming\Python\Python37\site-packages\yle_dl-20220704-py3.7.egg\yledl\extracto s.py", line 767, in program_info_for_pid TypeError: format() missing 1 required positional argument: 'title' /1-62966327

aajanki commented 1 year ago

Thanks for reporting! I just fixed this on the master branch.

That video has incomplete metadata in Areena (the title is not in the usual location), and that caused yle-dl to crash.