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 extract uploader id #31867

Closed
6 tasks done
sumonst21 opened this issue Mar 17, 2023 · 14 comments
Closed
6 tasks done

Unable to extract uploader id #31867

sumonst21 opened this issue Mar 17, 2023 · 14 comments

Comments

@sumonst21
Copy link

sumonst21 commented Mar 17, 2023

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2021.12.17
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

sumon@Sumonst21 MINGW64 /c/youtube-dl
$ ./youtube-dl -U
youtube-dl is up-to-date (2021.12.17)

sumon@Sumonst21 MINGW64 /c/youtube-dl
$ ./youtube-dl.exe https://www.youtube.com/watch?v=BaW_jenozKcj
[youtube] BaW_jenozKcj: Downloading webpage
ERROR: Unable to extract uploader id; 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.

sumon@Sumonst21 MINGW64 /c/youtube-dl
$ ./youtube-dl.exe https://www.youtube.com/watch?v=BaW_jenozKcj --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=BaW_jenozKcj', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.22621
[debug] exe versions: ffmpeg 5.1.2-essentials_build-www.gyan.dev, ffprobe 5.1.2-essentials_build-www.gyan.dev
[debug] Proxy map: {}
[youtube] BaW_jenozKcj: Downloading webpage
ERROR: Unable to extract uploader id; 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 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\youtube.py", line 1794, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; 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

Unable to extract uploader id

@ulidtko

This comment was marked as resolved.

@sumonst21

This comment was marked as resolved.

@ulidtko

This comment was marked as resolved.

@BartVermeir

This comment was marked as duplicate.

@BartVermeir

This comment was marked as duplicate.

@ulidtko

This comment was marked as outdated.

@ulidtko
Copy link

ulidtko commented Mar 17, 2023

Ah. Ofcourse. This is already fixed in master version:

def _extract_uploader_id(self, uploader_url):
return self._search_regex(
r'/(?:(?:channel|user)/|(?=@))([^/?&#]+)', uploader_url or '',
'uploader id', default=None)

Don't be like me — using a 2-year old version. Install from git master like so:

pip uninstall youtube-dl
pip install --user git+https://github.com/ytdl-org/youtube-dl.git#branch=master

This works without any regex tweaks — and also downloads much much faster.

@sumonst21

This comment was marked as resolved.

@ulidtko

This comment was marked as resolved.

@dirkf
Copy link
Contributor

dirkf commented Mar 17, 2023

[x] I've searched the bugtracker for similar bug reports including closed ones

Obvs without properly studying #30839, as asked and expected, where there is a link to the actual issue covering this problem and where the questions asked here are answered.

@dirkf dirkf closed this as not planned Won't fix, can't repro, duplicate, stale Mar 17, 2023
@sumonst21
Copy link
Author

sumonst21 commented Mar 21, 2023

[x] I've searched the bugtracker for similar bug reports including closed ones

Obvs without properly studying #30839, as asked and expected, where there is a link to the actual issue covering this problem and where the questions asked here are answered.

man you really got out of your business, how I came to this? I was asked when I ran the binary which were previously working but that day it showed some error & referred to a link about posting a bug report, if #30839 had a solution/answer then what is the meaning of not providing that url directly from the binary instead of advertising your issue threads for alternatives, spamtalks etc,

you can spend time on writing 200 chars story, can add "duplicate" label to thousands of opened issues, why can't you provide a new release if not fixed then at least save your time on marking issues as dups.

@dirkf you doing great contributions, marking issues with different labels, colors. I wonder you still on Earth instead of Mars

I'v been reading news about people abusing the OSS community, today I saw it, can't belive people reached this level for ads.

@ulidtko if you can't bother him then why bothering me? still you are doing much better job than @dirkf

Shame on me, I'm this lazy, well I didn't had this experiance.

@ulidtko
Copy link

ulidtko commented Mar 21, 2023

@sumonst21 so sorry for volunteering to help explain & resolve the issue you had reported 😲

and in case you aren't aware, "ads" implies monetary payment — which I'm damn sure noone here gets a penny of. so you'd better reconsider what you say to people who try to help you (and other OSS users) deal with technology, for free.

@sumonst21
Copy link
Author

@dirkf @ulidtko and contributors, I appreciate all the work you put into maintaining this project and managing the issues—it’s a big job, especially in open source. I understand that marking issues as duplicates or referring to existing threads helps consolidate information.

However, I’d like to share some honest feedback. When I encountered this issue, it was frustrating to not find a direct solution link or explanation in the error message itself. If issue #30839 has a resolution, it would be really helpful for users if the binary provided that link directly. Redirecting users to open threads with similar issues can feel like a roundabout approach, especially when the problem hasn’t been directly addressed in the documentation or release notes.

I understand that you’re juggling a lot, and I’m grateful for the time you spend organizing, labeling, and responding to issues here. The dedication is clear, and I don’t mean to overlook that—I just wanted to raise this in case it might improve the experience for future users as well.

Thanks again, and I hope this feedback is helpful in the spirit of constructive improvement. 🙏

@dirkf
Copy link
Contributor

dirkf commented Nov 26, 2024

Really, #30839 tells you what to do (it has done for some months):

The 2021.12.17 release linked in the download instructions is now effectively obsolete; in particular, it does not generally work with YouTube itself. Before raising an issue, try a nightly release build. ...

And "nightly release build" is the link you needed.

Similarly at the Release page for the obsolete stable binaries.

If a user had a new release, diagnostic messages might be more helpful but we can't retrospectively change the messages in the 2021 build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants