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

Unable to download subtitles from www.investigationdiscovery.com #19184

Open
ghost opened this issue Feb 10, 2019 · 3 comments
Open

Unable to download subtitles from www.investigationdiscovery.com #19184

ghost opened this issue Feb 10, 2019 · 3 comments

Comments

@ghost
Copy link

@ghost ghost commented Feb 10, 2019

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.02.08. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

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

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.02.08
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

Today I updated youtube-dl and now I am unable to download the videos' subtitles from the ID channel website. I can download the videos just fine but not the subtitles.

PS C:\Users****\Desktop\id> ./youtube-dl -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2019.02.08
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: ffmpeg N-93094-g7f8bfbee36, ffprobe N-93094-g7f8bfbee36
[debug] Proxy map: {}
Usage: youtube-dl.exe [OPTIONS] URL [URL...]

youtube-dl.exe: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.
PS C:\Users****\Desktop\id>

PS C:\Users*\Desktop\id> ./youtube-dl --cookies cookies.txt -F https://www.investigationdiscovery.com/tv-shows/secre
ts-of-the-morgue/full-episodes/my-bloody-valentine
[Discovery] my-bloody-valentine: Downloading webpage
[Discovery] my-bloody-valentine: Downloading JSON metadata
[Discovery] my-bloody-valentine: Downloading m3u8 information
[info] Available formats for 5c5da6826b66d145a86ce1c4:
format code extension resolution note
hls-62 mp4 96x54 62k , avc1.42000a, 6.0fps, mp4a.40.5
hls-134 mp4 192x108 134k , avc1.42000b, 15.0fps, mp4a.40.5
hls-244 mp4 288x162 244k , avc1.42000c, 15.0fps, mp4a.40.5
hls-450 mp4 448x252 450k , avc1.420015, 30.0fps, mp4a.40.5
hls-760 mp4 768x432 760k , avc1.4d001e, 30.0fps, mp4a.40.5
hls-1202 mp4 992x558 1202k , avc1.4d001f, 30.0fps, mp4a.40.5
hls-1873 mp4 1088x612 1873k , avc1.4d001f, 30.0fps, mp4a.40.5
hls-3269 mp4 1280x720 3269k , avc1.64001f, 30.0fps, mp4a.40.5
hls-5175 mp4 1920x1080 5175k , avc1.640028, 30.0fps, mp4a.40.5 (best)
PS C:\Users*
\Desktop\id> ./youtube-dl --all-subs --skip-download --cookies cookies.txt -f hls-5175 https://www.inves
tigationdiscovery.com/tv-shows/secrets-of-the-morgue/full-episodes/my-bloody-valentine
[Discovery] my-bloody-valentine: Downloading webpage
[Discovery] my-bloody-valentine: Downloading JSON metadata
[Discovery] my-bloody-valentine: Downloading m3u8 information
[info] Writing video subtitles to: My Bloody Valentine-5c5da6826b66d145a86ce1c4.en.scc
WARNING: Unable to download subtitle for "en": Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
PS C:\Users****\Desktop\id>

@ghost
Copy link
Author

@ghost ghost commented Mar 3, 2019

I'm SVP4 user here who love to watch 30fps videos in 60fps. SVP4 uses youtube-dl to play videos online.

I have the excat same problem and same error. (tested on youtube-dl 2019.03.01)
This is the reason why subtitle button is greyed out on MPV player (SVP4)

 ./youtube-dl.exe --all-subs --skip-download --cookies D:\Cookies\Discovery.txt "https://www.discovery.com/tv-shows/moonshiners/full-episodes/secret-backwoods-recipes"
[Discovery] secret-backwoods-recipes: Downloading webpage
[Discovery] secret-backwoods-recipes: Downloading JSON metadata
[Discovery] secret-backwoods-recipes: Downloading m3u8 information
[info] Writing video subtitles to: Secret Backwoods Recipes-5c6ddf4f6b66d145a86ceeab.en.scc
WARNING: Unable to download subtitle for "en": Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
PS D:\Portable Apps\Youtube-dl>

Episode that it can't download subs: https://www.discovery.com/tv-shows/moonshiners/full-episodes/secret-backwoods-recipes

Older episode that it can download subs: https://www.discovery.com/tv-shows/moonshiners/full-episodes/legacy-on-the-line

@BMD4E
Copy link

@BMD4E BMD4E commented Apr 29, 2019

Same problem
In the web browser, I found the url of subtitle (scc format) before m3u8 is loaded but access denied, probably for security reason
Only video player have access to it somehow....
Is it possible to simulate something so it have access to subtitle file?

https://api.discovery.com/v1/streaming/video/5cc306cdd1b3ee408a3c3bb0?adCustomerId=2ecd5&adNetworkId=191701&adProfile=191701:discovery_eos_js_live&adCsid=travel/web/desktop/ondemand&adCaid=183480.004.581&adKeyValues=_fw_fss,_fw_search,_fw_ae,2d11694969f76e6ef9fbcd5b17f38943,_fw_bumper,Comcast_SSO,_fw_nielsen_app_id,PF9440198-48D3-4757-8B85-88A28ADF81C1,subsessionToken,112818357,_fw_vcid2,false&adSssb=1&product=trav

{,…}
captions: [{fileLang: "en", fileType: "|scc|",…}]
0: {fileLang: "en", fileType: "|scc|",…}
fileLang: "en"
fileType: "|scc|"
fileUrl: "https://s3.amazonaws.com/prod.sni.transcode/Discovery_Go/TRAV3873485/TRAV3873485.scc"
cuePoints: [723333, 1095000, 1482666, 1896333, 2229000]
hdsStreamUrl: ""
ssdaiStreamUrl: "https://content-ausc5.uplynk.com/preplay2/e7c6d14fbda54bae9c428e4b073f60f0/3481daf2d283ff4f327318ceb216ad1f/60gYbxjt33VWwEc259B6qV2noSA2AgVq3SQawq93H4Qr.m3u8?pbs=6f3aaf01140b41d8bb58694c9b7f96d2"
streamUrl: "https://content.uplynk.com/e7c6d14fbda54bae9c428e4b073f60f0.m3u8?tc=1&exp=1556563435&rn=1848254075&ct=a&cid=e7c6d14fbda54bae9c428e4b073f60f0&pp2ip=0&ad.cping=1&ad=fw&rays=cdefghiba&v=2&ad.customer_id=2ecd5&ad.nw=191701&ad.prof=191701%3Adiscovery_eos_js_live&ad.csid=travel%2Fweb%2Fdesktop%2Fondemand&ad.vip=108.61.39.114&ad.kv=_fw_fss%2C_fw_search%2C_fw_ae%2C2d11694969f76e6ef9fbcd5b17f38943%2C_fw_bumper%2CComcast_SSO%2C_fw_nielsen_app_id%2CPF9440198-48D3-4757-8B85-88A28ADF81C1%2CsubsessionToken%2C112818357%2C_fw_vcid2%2Cfalse&ad.caid=183480.004.581&ad.sssb=1&ap.use=0&sig=d0e692c2360dc94e3c37abdd1dbaecc7eb06f5252b86560ffee4ace91d289d66"
vendorAttributes: {upLynk: {,…}}
@BMD4E
Copy link

@BMD4E BMD4E commented Jun 16, 2019

Reference: #20722

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
1 participant
You can’t perform that action at this time.