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

YouTube: Unable to extract sts #4103

Closed
martinswacke opened this issue Nov 4, 2014 · 5 comments
Closed

YouTube: Unable to extract sts #4103

martinswacke opened this issue Nov 4, 2014 · 5 comments

Comments

@martinswacke
Copy link

@martinswacke martinswacke commented Nov 4, 2014

Hello,

sts parameter is not longer available in video's webpage:
[youtube] Confirming age
ERROR: Unable to extract sts; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 533, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 198, in extract
return self.real_extract(url)
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 695, in real_extract
r'"sts"\s
:\s
(\d+)', video_webpage, 'sts'),
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 432, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract sts; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 4, 2014

Please post the full output of youtube-dl THE_URL --verbose, otherwise we can't debug the problem.

@martinswacke
Copy link
Author

@martinswacke martinswacke commented Nov 4, 2014

Hi Jaime,

It seems to be the same problem described here:
#4095

There is a verbose log.

@phihag phihag closed this in 94bd361 Nov 4, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Nov 4, 2014

Thank you for the report. I believe this issue to be fixed in youtube-dl 2014.11.04. Refer to our FAQ to find out how to update. Please comment or open a new issue if the issue persists with the new version.

@martinswacke
Copy link
Author

@martinswacke martinswacke commented Nov 5, 2014

Hello Philipp,

Thank you for the fix, but it seems YouTube does not include this parameter anymore. So it is missing always and for age gated videos with ciphered signatures you will get response 403: Forbidden.

Here is an example video: http://www.youtube.com/watch?v=07FYdnEawAQ

Thanks,
Martin

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 16, 2014

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