mps-youtube / yewtube

yewtube, forked from mps-youtube , is a Terminal based YouTube player and downloader. No Youtube API key required.
GNU General Public License v3.0
8.14k stars 643 forks source link

regression with the latest version ? ( or issue on the method to update? ) #1253

Closed fredmo closed 1 year ago

fredmo commented 1 year ago

Today I updated with this command from the https://github.com/mps-youtube/yewtube#readme pip install git+https://github.com/iamtalhaasghar/yewtube.git

And now : yt /- Emmanuel Chabrier España, is doing :

ERROR: [youtube] 9iHFZX9xD3M: Unable to extract uploader id; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U Exception in thread Thread-1 (_preload): Traceback (most recent call last): File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 641, in extract ie_result = self._real_extract(url) File "/usr/lib/python3/dist-packages/yt_dlp/extractor/youtube.py", line 3463, in _real_extract 'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None, File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 1229, in _search_regex raise RegexNotFoundError('Unable to extract %s' % _name) yt_dlp.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/yt_dlp/YoutubeDL.py", line 1408, in wrapper return func(self, *args, kwargs) File "/usr/lib/python3/dist-packages/yt_dlp/YoutubeDL.py", line 1478, in __extract_info ie_result = ie.extract(url) File "/usr/lib/python3/dist-packages/yt_dlp/extractor/common.py", line 667, in extract raise type(e)(e.orig_msg, kwargs) yt_dlp.utils.RegexNotFoundError: [youtube] 9iHFZX9xD3M: Unable to extract uploader id; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/usr/lib/python3.10/threading.py", line 953, in run self._target(*self._args, *self._kwargs) File "/home/sah0027/.local/lib/python3.10/site-packages/mps_youtube/streams.py", line 189, in _preload streamlist = get(song) File "/home/sah0027/.local/lib/python3.10/site-packages/mps_youtube/streams.py", line 54, in get ps = pafy.get_video_streams(ytid) File "/home/sah0027/.local/lib/python3.10/site-packages/mps_youtube/pafy.py", line 38, in get_video_streams info_dict = ydl.extract_info(ytid, download=False) File "/usr/lib/python3/dist-packages/yt_dlp/YoutubeDL.py", line 1399, in extract_info return self.__extract_info(url, self.get_info_extractor(ie_key), download, extra_info, process) File "/usr/lib/python3/dist-packages/yt_dlp/YoutubeDL.py", line 1426, in wrapper self.report_error(str(e), e.format_traceback()) File "/usr/lib/python3/dist-packages/yt_dlp/YoutubeDL.py", line 950, in report_error self.trouble(f'{self._format_err("ERROR:", self.Styles.ERROR)} {message}', args, **kwargs) File "/usr/lib/python3/dist-packages/yt_dlp/YoutubeDL.py", line 895, in trouble raise DownloadError(message, exc_info) yt_dlp.utils.DownloadError: ERROR: [youtube] 9iHFZX9xD3M: Unable to extract uploader id; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U

fredmo commented 1 year ago

This solved my issue :

pip uninstall yewtube pip install yewtube pip install -U yt-dlp