Jayapraveen / Drm-Dash-stream-downloader

This script helps to download drm protected dash stream [if key is known] and output to a video mp4 file
MIT License
150 stars 96 forks source link

MPD #9

Open sowie2016 opened 3 years ago

sowie2016 commented 3 years ago

Can you help with an MPD Im getting error

File "D:\Users\chris\Drm-Dash-stream-downloader-master\dashdownloader_multisegment.py", line 212, in media_info = manifest_parser(mpd) File "D:\Users\chris\Drm-Dash-stream-downloader-master\dashdownloader_multisegment.py", line 171, in manifest_parser running_time = durationtoseconds(mpd.media_presentation_duration) File "D:\Users\chris\Drm-Dash-stream-downloader-master\dashdownloader_multisegment.py", line 50, in durationtoseconds if(period[:2] == "PT"): TypeError: 'NoneType' object is not subscriptable

Im not sure how to edit script for the mpd I'm using can you provide any examples

mzughbor commented 2 years ago

base_url = repr.base_urls[0].base_url_value TypeError: 'NoneType' object is not subscriptable @sowie2016 hi whats happened with you in this ? any ideas ?****