-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
URL Porn Link #26511
Comments
Add't info (same issue): Able to view video as live stream in browser. $ sudo youtube-dl -U $ |
If you're open to other solutions it downloads fine with Streamlink. I just got the URL using Video Download Helper in Waterfox: https://19-10.b.cdn13.com/hls/bsd/4000/sd/8000/002/791/514/240p.h264.mp4/index.m3u8?cdn_creation_time=1599116400&cdn_ttl=14400&cdn_cv_data=IP Removed&cdn_hash=3dc6f311d71f8e0826c2dbec4dd0c6f5 |
Maybe this is related to #26353 ? Workaround mentioned there: I applied that and then it works again:
|
Your IP Adress is in that link ;)
|
Indeed, removed it from my post, would appreciate if you edit it out of your quote ;) |
Thanks all, for the responses. I have a problem, though. Youtube-dl is a binary file, which, even if I rename w/ ".zip" gets an Invalid Format error from Archive Manager (yes, as root sudo) -- so I can't edit the file. This is a copy that was installed using wget, not a regular apt-install, if it matters. Also, I'm on Chromium which doesn't support Video-Download-Helper. I bookmarked the issue #26353, and will study it some more when I can. Any suggestions will be appreciated. It may be a little while before I respond, but thanks. |
I thought I was the only one who had the new problem with the initials. I have adapted the RegEx in my test version again. If the problem occurs with more than one, I will adjust it again and create a PR. I assume that it will take some time until all outstanding patches are included in the xhamster.py extractor, again the hint that you can directly execute the latest code or your own customizations as described in the developer manual. Download the repo as ZIP under code, unpack it. Then change to the directory and execute (as an example depending on the python version) "python3 -m youtube_dl https://xhamster.com/videos/bucky-beaver-10-14742621". Before that, of course, something like the workaround should be added... |
@TheRealDude2 - Thanks so much for your response. I think I'll prefer to wait for the official update FOR NOW, but it's assuring to know that the issue has been recognized and a fix working its way down. Some time ago, someone posted a fix with instructions using the sed command to fix the Python version issue. If that's possible with this issue, that would be cool too. But, maybe not, considering some people are reporting the string to modify on different lines in xhamster.py. |
I created a PR that should solve the problem. #26526 But I think the theme creator had the original problem, which was fixed with the last patch. It would be good if those of you who use your own customized version of the xhamster.py extractor could test the line and give me feedback if problems occur. I changed the line m with the regex for the initials to This line should be in the line range 120-150 in xhamster.py, depending on the patch level you are using. |
Thanks! Were there any specific URL's, with which problems still occurred? |
@nicolaasjan The problem is somewhat unspecific. It appeared in my case one day, then again not. Therefore I can't name a specific video. I'm just testing it again without the line adjustment, with a batch file to links. If the error occurs again, I send the URL. Whatever. The PR is so far accepted. So in the next release version all bugs I know about the xhamster extractor are fixed. |
I just wanted you to know that I'm still watching, and sincerely appreciate
your efforts. --Roger
… |
There is a new release version. 2020.09.06. I think there are ale problems with the xhamster.py fixed for the moment. Please update and try. |
Thanks so much, everyone, v.2020.09.06 seems to have restored function for me. The download is very slow, but probably because it's on a slow server. Retro nostalgia media that no one else is interested in. :-p |
Checklist
Verbose log
[liveuser@localhost-live ~]$ python youtube-dl -v "https://xhamster.com/videos/z44b-1941-ruff-ready-barefoot-fetishs-2791514"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://xhamster.com/videos/z44b-1941-ruff-ready-barefoot-fetishs-2791514']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.07.28
[debug] Python version 3.8.2 (CPython) - Linux-5.6.6-300.fc32.x86_64-x86_64-with-glibc2.2.5
[debug] exe versions: none
[debug] Proxy map: {}
[XHamster] 2791514: Downloading webpage
ERROR: No video formats found; 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.
Traceback (most recent call last):
File "youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
ie_result = ie.extract(url)
File "youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "youtube-dl/youtube_dl/extractor/xhamster.py", line 242, in _real_extract
self._sort_formats(formats)
File "youtube-dl/youtube_dl/extractor/common.py", line 1350, in _sort_formats
raise ExtractorError('No video formats found')
youtube_dl.utils.ExtractorError: No video formats found; 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.
Description
WRITE DESCRIPTION HERE
youtube-dl breaks on xhamster.com causing the program to generate error messages handling the URL. xhamster.com domain requires an update to the youtube-dl project on github
The text was updated successfully, but these errors were encountered: