question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

go.tlc.com Broken

See original GitHub issue

Checklist

Region

US

Description

As the title states, https://go.tlc.com is broken. It always returns with the error:

This video is only available for registered users. You may want to use --cookies.

I believe part of the issue to be is when you export a cookie from the site to feed into yt-dlp (using EditThisCookie), it does not export the st cookie. (token). And then the override method here for the base class does not allow it to use the _get_auth method to grab a new token programmatically.

Even after playing with the source myself to allow it to grab a new token programmatically so it grabs the st cookie, it returns a 404: not found'.

And since I didn’t run it originally with the -U command, here is output proving I am on the latest version:

> python -m yt_dlp -U
Latest version: 2022.02.04, Current version: 2022.02.04
yt-dlp is up to date (2022.02.04)

Verbose log

Without "st" cookie token:

> python -m yt_dlp 'https://go.tlc.com/video/cake-boss-tlc-atve-us/creeps-carvings-and-coffins' --verbose --cookies ..\tCookie.txt
[debug] Command-line config: ['https://go.tlc.com/video/cake-boss-tlc-atve-us/creeps-carvings-and-coffins', '--verbose', '--cookies', '..\\tCookie.txt']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.02.04 [c1653e9ef] (source)
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Python version 3.8.2 (CPython 32bit) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg N-94563-g3aeb681f07, ffprobe N-94563-g3aeb681f07
[debug] Optional libraries: sqlite
[debug] Proxy map: {}
[debug] [TLC] Extracting URL: https://go.tlc.com/video/cake-boss-tlc-atve-us/creeps-carvings-and-coffins
[debug] Using fake IP 6.150.51.161 (US) as X-Forwarded-For
[TLC] cake-boss-tlc-atve-us/creeps-carvings-and-coffins: Downloading JSON metadata
ERROR: [TLC] cake-boss-tlc-atve-us/creeps-carvings-and-coffins: This video is only available for registered users. You may want to use --cookies.
  File "C:\NeverFindMe\yt-dlp-2022.02.04\yt_dlp\extractor\common.py", line 612, in extract
    ie_result = self._real_extract(url)
  File "C:\NeverFindMe\yt-dlp-2022.02.04\yt_dlp\extractor\dplay.py", line 369, in _real_extract
    return self._get_disco_api_info(url, self._match_id(url), **self._DISCO_API_PARAMS)
  File "C:\NeverFindMe\yt-dlp-2022.02.04\yt_dlp\extractor\dplay.py", line 92, in _get_disco_api_info
    self._process_errors(e, geo_countries)
  File "C:\NeverFindMe\yt-dlp-2022.02.04\yt_dlp\extractor\dplay.py", line 50, in _process_errors
    raise ExtractorError(

After playing with the source to allow it to grab a new token:
> python -m yt_dlp 'https://go.tlc.com/video/cake-boss-tlc-atve-us/creeps-carvings-and-coffins' --verbose --cookies ..\tCookie.txt
[debug] Command-line config: ['https://go.tlc.com/video/cake-boss-tlc-atve-us/creeps-carvings-and-coffins', '--verbose', '--cookies', '..\\tCookie.txt']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.02.04 [c1653e9ef] (source)
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Python version 3.8.2 (CPython 32bit) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg N-94563-g3aeb681f07, ffprobe N-94563-g3aeb681f07
[debug] Optional libraries: sqlite
[debug] Proxy map: {}
[debug] [TLC] Extracting URL: https://go.tlc.com/video/cake-boss-tlc-atve-us/creeps-carvings-and-coffins
[debug] Using fake IP 6.232.106.196 (US) as X-Forwarded-For
[TLC] cake-boss-tlc-atve-us/creeps-carvings-and-coffins: Downloading JSON metadata
ERROR: [TLC] cake-boss-tlc-atve-us/creeps-carvings-and-coffins: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U (caused by <HTTPError 404: 'Not Found'>); please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using -U
  File "C:\NeverFindMe\yt-dlp-2022.02.04\yt_dlp\extractor\common.py", line 730, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "C:\NeverFindMe\yt-dlp-2022.02.04\yt_dlp\YoutubeDL.py", line 3558, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "C:\Users\Vash\AppData\Local\Programs\Python\Python38-32\lib\urllib\request.py", line 531, in open
    response = meth(req, response)
  File "C:\Users\Vash\AppData\Local\Programs\Python\Python38-32\lib\urllib\request.py", line 640, in http_response
    response = self.parent.error(
  File "C:\Users\Vash\AppData\Local\Programs\Python\Python38-32\lib\urllib\request.py", line 569, in error
    return self._call_chain(*args)
  File "C:\Users\Vash\AppData\Local\Programs\Python\Python38-32\lib\urllib\request.py", line 502, in _call_chain
    result = func(*args)
  File "C:\Users\Vash\AppData\Local\Programs\Python\Python38-32\lib\urllib\request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
jajajaimecommented, Apr 19, 2022

I was getting this same response from a TLC video, but instead using --cookies, I used --cookies-from-browser chrome and it work without issues.

1reaction
Mr-Jakecommented, Feb 13, 2022

I also got the TLC 404 error, but was able to get it to work thanks to this comment in the pull request. It is a simple one line edit to dplay.py

https://github.com/yt-dlp/yt-dlp/pull/2401#issuecomment-1018904716

Read more comments on GitHub >

github_iconTop Results From Across the Web

TLC GO - Watch TV Shows Online
Link your TV provider to watch your favorite shows about relatable families, unique lifestyles, medical mysteries and more - free with your pay...
Read more >
TLC | TLC.com
Get the latest updates from TLC talent, watch digital exclusives and find out when and where to tune in to favorite TLC shows...
Read more >
Return to Amish - S2 E1 Broken Family - TLC GO
Kate makes a change to her looks that could affect her modeling career.
Read more >
Breaking Amish - TLC GO
Four Amish and one Mennonite follow their dreams all the way to New York. Link your TV provider to watch Breaking Amish free...
Read more >
My 600-lb Life - TLC GO
Morbidly obese patients turn to high-risk surgery to reclaim their lives. Link your TV provider to watch My 600-lb Life free with your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found