Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format code extraction failure of MPD manifest #14902

Closed
tyaremco opened this issue Dec 3, 2017 · 0 comments
Closed

Format code extraction failure of MPD manifest #14902

tyaremco opened this issue Dec 3, 2017 · 0 comments

Comments

@tyaremco
Copy link

@tyaremco tyaremco commented Dec 3, 2017

  • I've verified and I assure that I'm running youtube-dl 2017.12.02

  • At least skimmed through the README, most notably the FAQ and BUGS sections

  • Searched the bugtracker for similar issues including closed ones

  • Bug report (encountered problems with youtube-dl)

The download URL is a manifest from the website discovery.ca that requires a long param string.
Youtube-dl is unable to properly extract the format codes:

youtube-dl\youtube-dl.exe -F -v "http://capi.9c9media.com/destinations/discovery_web/platforms/desktop/contents/1240619/contentpackages/1735538/stacks/5239224/manifest.mpd?az=%7B%22_type%22%3A%22authz_query%22%2C%22resource%22%3A%22DISC%22%2C%22security_token%22%3A%22%22%2C%22expires%22%3A%221512304694%22%2C%22servertime%22%3A1512261494%2C%22platform_id%22%3A%22urn%3Abellmedia%3Acom%3Asp%3Adiscovery%3Aprod%3A1%22%2C%22jsig_block%22%3A%7B%22nonce%22%3A%22d335d0659bf53c1a%22%2C%22timestamp%22%3A%221512261494%22%2C%22version%22%3A%221%22%2C%22signature%22%3A%22GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0%3D%22%7D%2C%22authorization%22%3Atrue%7D&ai=%7B%22platform_id%22%3A%22urn%3Abellmedia%3Acom%3Asp%3Adiscovery%3Aprod%3A1%22%2C%22jsig_block%22%3A%7B%22nonce%22%3A%22c67f28f4dbfb44c1%22%2C%22timestamp%22%3A%221512261492%22%2C%22version%22%3A%221%22%2C%22signature%22%3A%22CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8%3D%22%7D%2C%22_type%22%3A%22identity%22%2C%22identity%22%3A%7B%22attributes%22%3A%7B%22province%22%3A%22AB%22%2C%22ais_comment%22%3A%22powered%20by%20Akamai%20AIS%22%2C%22postal_code%22%3A%22T6L%22%2C%22urn%3Acablelabs%3Aolca%3A1.0%3Aattribute%3Aauthz%3AacctParentID%22%3A%5B%22CuGBrUWvnE3pzVgQFmI4%22%5D%2C%22urn%3Acablelabs%3Aolca%3A1.0%3Aattribute%3Aauthz%3ApostalCode%22%3A%5B%22T6L%22%5D%2C%22aisuid%22%3A%22f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978%22%7D%2C%22parental_control_limits%22%3A%5B%5D%2C%22name_id%22%3A%22CuGBrUWvnE3pzVgQFmI4%22%2C%22authn_info%22%3A%22%5B(%27urn%3Aoasis%3Anames%3Atc%3ASAML%3A2.0%3Aac%3Aclasses%3Aunspecified%27%2C%20%5B%5D)%5D%22%2C%22aisuid%22%3A%22f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978%22%7D%7D&postalCode=T6L"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', '-v', 'http://capi.9c9media.com/destinations/discovery_web/platforms/desktop/contents/1240619/contentpackages/1735538/stacks/5239224/manifest.mpd?az=%7B%22_type%22%3A%22authz_query%22%2C%22resource%22%3A%22DISC%22%2C%22security_token%22%3A%22%22%2C%22expires%22%3A%221512304694%22%2C%22servertime%22%3A1512261494%2C%22platform_id%22%3A%22urn%3Abellmedia%3Acom%3Asp%3Adiscovery%3Aprod%3A1%22%2C%22jsig_block%22%3A%7B%22nonce%22%3A%22d335d0659bf53c1a%22%2C%22timestamp%22%3A%221512261494%22%2C%22version%22%3A%221%22%2C%22signature%22%3A%22GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0%3D%22%7D%2C%22authorization%22%3Atrue%7D&ai=%7B%22platform_id%22%3A%22urn%3Abellmedia%3Acom%3Asp%3Adiscovery%3Aprod%3A1%22%2C%22jsig_block%22%3A%7B%22nonce%22%3A%22c67f28f4dbfb44c1%22%2C%22timestamp%22%3A%221512261492%22%2C%22version%22%3A%221%22%2C%22signature%22%3A%22CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8%3D%22%7D%2C%22_type%22%3A%22identity%22%2C%22identity%22%3A%7B%22attributes%22%3A%7B%22province%22%3A%22AB%22%2C%22ais_comment%22%3A%22powered%20by%20Akamai%20AIS%22%2C%22postal_code%22%3A%22T6L%22%2C%22urn%3Acablelabs%3Aolca%3A1.0%3Aattribute%3Aauthz%3AacctParentID%22%3A%5B%22CuGBrUWvnE3pzVgQFmI4%22%5D%2C%22urn%3Acablelabs%3Aolca%3A1.0%3Aattribute%3Aauthz%3ApostalCode%22%3A%5B%22T6L%22%5D%2C%22aisuid%22%3A%22f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978%22%7D%2C%22parental_control_limits%22%3A%5B%5D%2C%22name_id%22%3A%22CuGBrUWvnE3pzVgQFmI4%22%2C%22authn_info%22%3A%22%5B(%27urn%3Aoasis%3Anames%3Atc%3ASAML%3A2.0%3Aac%3Aclasses%3Aunspecified%27%2C%20%5B%5D)%5D%22%2C%22aisuid%22%3A%22f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978%22%7D%7D&postalCode=T6L']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.12.02
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg n3.2.1
[debug] Proxy map: {}
[generic] manifest.mpd?az={"_type":"authz_query","resource":"DISC","security_token":"","expires":"1512304694","servertime":1512261494,"platform_id":"urn:bellmedia:com:sp:discovery:prod:1","jsig_block":{"nonce":"d335d0659bf53c1a","timestamp":"1512261494","version":"1","signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="},"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1","jsig_block":{"nonce":"c67f28f4dbfb44c1","timestamp":"1512261492","version":"1","signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="},"_type":"identity","identity":{"attributes":{"province":"AB","ais_comment":"powered by Akamai AIS","postal_code":"T6L","urn:cablelabs:olca:1.0:attribute:authz:acctParentID":["CuGBrUWvnE3pzVgQFmI4"],"urn:cablelabs:olca:1.0:attribute:authz:postalCode":["T6L"],"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"},"parental_control_limits":[],"name_id":"CuGBrUWvnE3pzVgQFmI4","authn_info":"[('urn:oasis:names:tc:SAML:2: Requesting header
WARNING: Falling back on generic information extractor.
[generic] manifest.mpd?az={"_type":"authz_query","resource":"DISC","security_token":"","expires":"1512304694","servertime":1512261494,"platform_id":"urn:bellmedia:com:sp:discovery:prod:1","jsig_block":{"nonce":"d335d0659bf53c1a","timestamp":"1512261494","version":"1","signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="},"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1","jsig_block":{"nonce":"c67f28f4dbfb44c1","timestamp":"1512261492","version":"1","signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="},"_type":"identity","identity":{"attributes":{"province":"AB","ais_comment":"powered by Akamai AIS","postal_code":"T6L","urn:cablelabs:olca:1.0:attribute:authz:acctParentID":["CuGBrUWvnE3pzVgQFmI4"],"urn:cablelabs:olca:1.0:attribute:authz:postalCode":["T6L"],"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"},"parental_control_limits":[],"name_id":"CuGBrUWvnE3pzVgQFmI4","authn_info":"[('urn:oasis:names:tc:SAML:2: Downloading webpage
[generic] manifest.mpd?az={"_type":"authz_query","resource":"DISC","security_token":"","expires":"1512304694","servertime":1512261494,"platform_id":"urn:bellmedia:com:sp:discovery:prod:1","jsig_block":{"nonce":"d335d0659bf53c1a","timestamp":"1512261494","version":"1","signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="},"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1","jsig_block":{"nonce":"c67f28f4dbfb44c1","timestamp":"1512261492","version":"1","signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="},"_type":"identity","identity":{"attributes":{"province":"AB","ais_comment":"powered by Akamai AIS","postal_code":"T6L","urn:cablelabs:olca:1.0:attribute:authz:acctParentID":["CuGBrUWvnE3pzVgQFmI4"],"urn:cablelabs:olca:1.0:attribute:authz:postalCode":["T6L"],"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"},"parental_control_limits":[],"name_id":"CuGBrUWvnE3pzVgQFmI4","authn_info":"[('urn:oasis:names:tc:SAML:2: Extracting information
[info] Available formats for manifest.mpd?az={"_type":"authz_query","resource":"DISC","security_token":"","expires":"1512304694","servertime":1512261494,"platform_id":"urn:bellmedia:com:sp:discovery:prod:1","jsig_block":{"nonce":"d335d0659bf53c1a","timestamp":"1512261494","version":"1","signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="},"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1","jsig_block":{"nonce":"c67f28f4dbfb44c1","timestamp":"1512261492","version":"1","signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="},"_type":"identity","identity":{"attributes":{"province":"AB","ais_comment":"powered by Akamai AIS","postal_code":"T6L","urn:cablelabs:olca:1.0:attribute:authz:acctParentID":["CuGBrUWvnE3pzVgQFmI4"],"urn:cablelabs:olca:1.0:attribute:authz:postalCode":["T6L"],"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"},"parental_control_limits":[],"name_id":"CuGBrUWvnE3pzVgQFmI4","authn_info":"[('urn:oasis:names:tc:SAML:2:
format code







                                                                                                           extension  resolution note
manifest.mpd?az={"_type":"authz_query"_"resource":"DISC"_"security_token":""_"expires":"1512304694"_"servertime":1512261494_"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"d335d0659bf53c1a"_"timestamp":"1512261494"_"version":"1"_"signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="}_"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"c67f28f4dbfb44c1"_"timestamp":"1512261492"_"version":"1"_"signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="}_"_type":"identity"_"identity":{"attributes":{"province":"AB"_"ais_comment":"powered_by_Akamai_AIS"_"postal_code":"T6L"_"urn:cablelabs:olca:1.0:attribute:authz:acctParentID":_"CuGBrUWvnE3pzVgQFmI4"__"urn:cablelabs:olca:1.0:attribute:authz:postalCode":_"T6L"__"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"}_"parental_control_limits":___"name_id":"CuGBrUWvnE3pzVgQFmI4"_"authn_info":"__'urn:oasis:names:tc:SAML:2-aac_v1_96000     m4a
       audio only DASH audio   96k , mp4a.40.2
manifest.mpd?az={"_type":"authz_query"_"resource":"DISC"_"security_token":""_"expires":"1512304694"_"servertime":1512261494_"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"d335d0659bf53c1a"_"timestamp":"1512261494"_"version":"1"_"signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="}_"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"c67f28f4dbfb44c1"_"timestamp":"1512261492"_"version":"1"_"signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="}_"_type":"identity"_"identity":{"attributes":{"province":"AB"_"ais_comment":"powered_by_Akamai_AIS"_"postal_code":"T6L"_"urn:cablelabs:olca:1.0:attribute:authz:acctParentID":_"CuGBrUWvnE3pzVgQFmI4"__"urn:cablelabs:olca:1.0:attribute:authz:postalCode":_"T6L"__"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"}_"parental_control_limits":___"name_id":"CuGBrUWvnE3pzVgQFmI4"_"authn_info":"__'urn:oasis:names:tc:SAML:2-h264_v1_300000   mp4
       416x240    DASH video  300k , avc1.42c01e, video only
manifest.mpd?az={"_type":"authz_query"_"resource":"DISC"_"security_token":""_"expires":"1512304694"_"servertime":1512261494_"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"d335d0659bf53c1a"_"timestamp":"1512261494"_"version":"1"_"signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="}_"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"c67f28f4dbfb44c1"_"timestamp":"1512261492"_"version":"1"_"signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="}_"_type":"identity"_"identity":{"attributes":{"province":"AB"_"ais_comment":"powered_by_Akamai_AIS"_"postal_code":"T6L"_"urn:cablelabs:olca:1.0:attribute:authz:acctParentID":_"CuGBrUWvnE3pzVgQFmI4"__"urn:cablelabs:olca:1.0:attribute:authz:postalCode":_"T6L"__"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"}_"parental_control_limits":___"name_id":"CuGBrUWvnE3pzVgQFmI4"_"authn_info":"__'urn:oasis:names:tc:SAML:2-h264_v1_480000   mp4
       640x360    DASH video  480k , avc1.42c01e, video only
manifest.mpd?az={"_type":"authz_query"_"resource":"DISC"_"security_token":""_"expires":"1512304694"_"servertime":1512261494_"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"d335d0659bf53c1a"_"timestamp":"1512261494"_"version":"1"_"signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="}_"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"c67f28f4dbfb44c1"_"timestamp":"1512261492"_"version":"1"_"signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="}_"_type":"identity"_"identity":{"attributes":{"province":"AB"_"ais_comment":"powered_by_Akamai_AIS"_"postal_code":"T6L"_"urn:cablelabs:olca:1.0:attribute:authz:acctParentID":_"CuGBrUWvnE3pzVgQFmI4"__"urn:cablelabs:olca:1.0:attribute:authz:postalCode":_"T6L"__"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"}_"parental_control_limits":___"name_id":"CuGBrUWvnE3pzVgQFmI4"_"authn_info":"__'urn:oasis:names:tc:SAML:2-h264_v1_640000   mp4
       640x360    DASH video  640k , avc1.42c01e, video only
manifest.mpd?az={"_type":"authz_query"_"resource":"DISC"_"security_token":""_"expires":"1512304694"_"servertime":1512261494_"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"d335d0659bf53c1a"_"timestamp":"1512261494"_"version":"1"_"signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="}_"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"c67f28f4dbfb44c1"_"timestamp":"1512261492"_"version":"1"_"signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="}_"_type":"identity"_"identity":{"attributes":{"province":"AB"_"ais_comment":"powered_by_Akamai_AIS"_"postal_code":"T6L"_"urn:cablelabs:olca:1.0:attribute:authz:acctParentID":_"CuGBrUWvnE3pzVgQFmI4"__"urn:cablelabs:olca:1.0:attribute:authz:postalCode":_"T6L"__"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"}_"parental_control_limits":___"name_id":"CuGBrUWvnE3pzVgQFmI4"_"authn_info":"__'urn:oasis:names:tc:SAML:2-h264_v1_896000   mp4
       640x360    DASH video  896k , avc1.42c01f, video only
manifest.mpd?az={"_type":"authz_query"_"resource":"DISC"_"security_token":""_"expires":"1512304694"_"servertime":1512261494_"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"d335d0659bf53c1a"_"timestamp":"1512261494"_"version":"1"_"signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="}_"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"c67f28f4dbfb44c1"_"timestamp":"1512261492"_"version":"1"_"signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="}_"_type":"identity"_"identity":{"attributes":{"province":"AB"_"ais_comment":"powered_by_Akamai_AIS"_"postal_code":"T6L"_"urn:cablelabs:olca:1.0:attribute:authz:acctParentID":_"CuGBrUWvnE3pzVgQFmI4"__"urn:cablelabs:olca:1.0:attribute:authz:postalCode":_"T6L"__"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"}_"parental_control_limits":___"name_id":"CuGBrUWvnE3pzVgQFmI4"_"authn_info":"__'urn:oasis:names:tc:SAML:2-h264_v1_1280000  mp4
       640x360    DASH video 1280k , avc1.4d401f, video only
manifest.mpd?az={"_type":"authz_query"_"resource":"DISC"_"security_token":""_"expires":"1512304694"_"servertime":1512261494_"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"d335d0659bf53c1a"_"timestamp":"1512261494"_"version":"1"_"signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="}_"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"c67f28f4dbfb44c1"_"timestamp":"1512261492"_"version":"1"_"signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="}_"_type":"identity"_"identity":{"attributes":{"province":"AB"_"ais_comment":"powered_by_Akamai_AIS"_"postal_code":"T6L"_"urn:cablelabs:olca:1.0:attribute:authz:acctParentID":_"CuGBrUWvnE3pzVgQFmI4"__"urn:cablelabs:olca:1.0:attribute:authz:postalCode":_"T6L"__"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"}_"parental_control_limits":___"name_id":"CuGBrUWvnE3pzVgQFmI4"_"authn_info":"__'urn:oasis:names:tc:SAML:2-h264_v1_1536000  mp4
       960x540    DASH video 1536k , avc1.42c01f, video only
manifest.mpd?az={"_type":"authz_query"_"resource":"DISC"_"security_token":""_"expires":"1512304694"_"servertime":1512261494_"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"d335d0659bf53c1a"_"timestamp":"1512261494"_"version":"1"_"signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="}_"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"c67f28f4dbfb44c1"_"timestamp":"1512261492"_"version":"1"_"signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="}_"_type":"identity"_"identity":{"attributes":{"province":"AB"_"ais_comment":"powered_by_Akamai_AIS"_"postal_code":"T6L"_"urn:cablelabs:olca:1.0:attribute:authz:acctParentID":_"CuGBrUWvnE3pzVgQFmI4"__"urn:cablelabs:olca:1.0:attribute:authz:postalCode":_"T6L"__"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"}_"parental_control_limits":___"name_id":"CuGBrUWvnE3pzVgQFmI4"_"authn_info":"__'urn:oasis:names:tc:SAML:2-h264_v1_1856000  mp4
       960x540    DASH video 1856k , avc1.4d401f, video only
manifest.mpd?az={"_type":"authz_query"_"resource":"DISC"_"security_token":""_"expires":"1512304694"_"servertime":1512261494_"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"d335d0659bf53c1a"_"timestamp":"1512261494"_"version":"1"_"signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="}_"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"c67f28f4dbfb44c1"_"timestamp":"1512261492"_"version":"1"_"signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="}_"_type":"identity"_"identity":{"attributes":{"province":"AB"_"ais_comment":"powered_by_Akamai_AIS"_"postal_code":"T6L"_"urn:cablelabs:olca:1.0:attribute:authz:acctParentID":_"CuGBrUWvnE3pzVgQFmI4"__"urn:cablelabs:olca:1.0:attribute:authz:postalCode":_"T6L"__"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"}_"parental_control_limits":___"name_id":"CuGBrUWvnE3pzVgQFmI4"_"authn_info":"__'urn:oasis:names:tc:SAML:2-h264_v1_2048000  mp4
       1280x720   DASH video 2048k , avc1.4d401f, video only
manifest.mpd?az={"_type":"authz_query"_"resource":"DISC"_"security_token":""_"expires":"1512304694"_"servertime":1512261494_"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"d335d0659bf53c1a"_"timestamp":"1512261494"_"version":"1"_"signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="}_"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"c67f28f4dbfb44c1"_"timestamp":"1512261492"_"version":"1"_"signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="}_"_type":"identity"_"identity":{"attributes":{"province":"AB"_"ais_comment":"powered_by_Akamai_AIS"_"postal_code":"T6L"_"urn:cablelabs:olca:1.0:attribute:authz:acctParentID":_"CuGBrUWvnE3pzVgQFmI4"__"urn:cablelabs:olca:1.0:attribute:authz:postalCode":_"T6L"__"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"}_"parental_control_limits":___"name_id":"CuGBrUWvnE3pzVgQFmI4"_"authn_info":"__'urn:oasis:names:tc:SAML:2-h264_v1_3250000  mp4
       1280x720   DASH video 3250k , avc1.4d401f, video only
manifest.mpd?az={"_type":"authz_query"_"resource":"DISC"_"security_token":""_"expires":"1512304694"_"servertime":1512261494_"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"d335d0659bf53c1a"_"timestamp":"1512261494"_"version":"1"_"signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="}_"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"c67f28f4dbfb44c1"_"timestamp":"1512261492"_"version":"1"_"signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="}_"_type":"identity"_"identity":{"attributes":{"province":"AB"_"ais_comment":"powered_by_Akamai_AIS"_"postal_code":"T6L"_"urn:cablelabs:olca:1.0:attribute:authz:acctParentID":_"CuGBrUWvnE3pzVgQFmI4"__"urn:cablelabs:olca:1.0:attribute:authz:postalCode":_"T6L"__"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"}_"parental_control_limits":___"name_id":"CuGBrUWvnE3pzVgQFmI4"_"authn_info":"__'urn:oasis:names:tc:SAML:2-h264_v1_5500000  mp4
       1920x1080  DASH video 5500k , avc1.640029, video only (best)

The link to the manifest is here (requires Canadian IP, may expire), also mirrored here .

My particular problem that I can't work around is that when using -f "[bestvideo+bestaudio]", Youtube-dl tries to add the format code as a suffix to the files that will be muxed. Because the format code is a massive string with invalid filename characters, on Windows 7 the file fails to be created:

[debug] Invoking downloader on 'http://pe-ak-vp03a-9c9media.akamaized.net/origin/ae/2017-11-02/CA654D534D5C49F2/dash/00000001/8c4c40c755341185/'
[dashsegments] Total fragments: 152
[download] Destination: myvid.fmanifest.mpd?az={"_type":"authz_query"_"resource":"DISC"_"security_token":""_"expires":"1512304694"_"servertime":1512261494_"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"d335d0659bf53c1a"_"timestamp":"1512261494"_"version":"1"_"signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="}_"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"c67f28f4dbfb44c1"_"timestamp":"1512261492"_"version":"1"_"signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="}_"_type":"identity"_"identity":{"attributes":{"province":"AB"_"ais_comment":"powered_by_Akamai_AIS"_"postal_code":"T6L"_"urn:cablelabs:olca:1.0:attribute:authz:acctParentID":_"CuGBrUWvnE3pzVgQFmI4"__"urn:cablelabs:olca:1.0:attribute:authz:postalCode":_"T6L"__"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"}_"parental_control_limits":___"name_id":"CuGBrUWvnE3pzVgQFmI4"_"authn_info":"__'urn:oasis:names:tc:SAML:2-h264_v1_3250000.mp4
ERROR: unable to download video data: [Errno 2] No such file or directory: "myvid.fmanifest.mpd#az={#_type###authz_query#_#resource###DISC#_#security_token####_#expires###1512304694#_#servertime##1512261494_#platform_id###urn#bellmedia#com#sp#discovery#prod#1#_#jsig_block##{#nonce###d335d0659bf53c1a#_#timestamp###1512261494#_#version###1#_#signature###GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0=#}_#authorization##true}&ai={#platform_id###urn#bellmedia#com#sp#discovery#prod#1#_#jsig_block##{#nonce###c67f28f4dbfb44c1#_#timestamp###1512261492#_#version###1#_#signature###CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8=#}_#_type###identity#_#identity##{#attributes##{#province###AB#_#ais_comment###powered_by_Akamai_AIS#_#postal_code###T6L#_#urn#cablelabs#olca#1.0#attribute#authz#acctParentID##_#CuGBrUWvnE3pzVgQFmI4#__#urn#cablelabs#olca#1.0#attribute#authz#postalCode##_#T6L#__#aisuid###f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978#}_#parental_control_limits##___#name_id###CuGBrUWvnE3pzVgQFmI4#_#authn_info###__'urn#oasis#names#tc#SAML#2-h264_v1_3250000.mp4.ytdl"
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcuf0d0kb\build\youtube_dl\utils.py", line 454, in sanitize_open
FileNotFoundError: [Errno 2] No such file or directory: 'myvid.fmanifest.mpd?az={"_type":"authz_query"_"resource":"DISC"_"security_token":""_"expires":"1512304694"_"servertime":1512261494_"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"d335d0659bf53c1a"_"timestamp":"1512261494"_"version":"1"_"signature":"GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0="}_"authorization":true}&ai={"platform_id":"urn:bellmedia:com:sp:discovery:prod:1"_"jsig_block":{"nonce":"c67f28f4dbfb44c1"_"timestamp":"1512261492"_"version":"1"_"signature":"CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8="}_"_type":"identity"_"identity":{"attributes":{"province":"AB"_"ais_comment":"powered_by_Akamai_AIS"_"postal_code":"T6L"_"urn:cablelabs:olca:1.0:attribute:authz:acctParentID":_"CuGBrUWvnE3pzVgQFmI4"__"urn:cablelabs:olca:1.0:attribute:authz:postalCode":_"T6L"__"aisuid":"f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978"}_"parental_control_limits":___"name_id":"CuGBrUWvnE3pzVgQFmI4"_"authn_info":"__\'urn:oasis:names:tc:SAML:2-h264_v1_3250000.mp4.ytdl'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcuf0d0kb\build\youtube_dl\YoutubeDL.py", line 1887, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcuf0d0kb\build\youtube_dl\YoutubeDL.py", line 1832, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcuf0d0kb\build\youtube_dl\downloader\common.py", line 361, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcuf0d0kb\build\youtube_dl\downloader\dash.py", line 25, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcuf0d0kb\build\youtube_dl\downloader\fragment.py", line 69, in _prepare_and_start_frag_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcuf0d0kb\build\youtube_dl\downloader\fragment.py", line 168, in _prepare_frag_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcuf0d0kb\build\youtube_dl\downloader\fragment.py", line 82, in _write_ytdl_file
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpcuf0d0kb\build\youtube_dl\utils.py", line 466, in sanitize_open
FileNotFoundError: [Errno 2] No such file or directory: "myvid.fmanifest.mpd#az={#_type###authz_query#_#resource###DISC#_#security_token####_#expires###1512304694#_#servertime##1512261494_#platform_id###urn#bellmedia#com#sp#discovery#prod#1#_#jsig_block##{#nonce###d335d0659bf53c1a#_#timestamp###1512261494#_#version###1#_#signature###GiMV2XKNL1-fyM8Pj4Dnox51xgSsfKVY8n61rIFadF0=#}_#authorization##true}&ai={#platform_id###urn#bellmedia#com#sp#discovery#prod#1#_#jsig_block##{#nonce###c67f28f4dbfb44c1#_#timestamp###1512261492#_#version###1#_#signature###CBONA9z6dsWegkyeRKx6IVo_TxDT1V16GDyBWGlDqH8=#}_#_type###identity#_#identity##{#attributes##{#province###AB#_#ais_comment###powered_by_Akamai_AIS#_#postal_code###T6L#_#urn#cablelabs#olca#1.0#attribute#authz#acctParentID##_#CuGBrUWvnE3pzVgQFmI4#__#urn#cablelabs#olca#1.0#attribute#authz#postalCode##_#T6L#__#aisuid###f92c217f8bc2a5436d03fc4589f78045f2516e301c873f005589002879c82978#}_#parental_control_limits##___#name_id###CuGBrUWvnE3pzVgQFmI4#_#authn_info###__'urn#oasis#names#tc#SAML#2-h264_v1_3250000.mp4.ytdl"

--restrict-filename did not help in this case.

@dstftw dstftw closed this in d3f8b76 Dec 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.