Re: youtube-dl error (F37 and F38)

2023-07-14 Thread Ranjan Maitra
On Thu Jul13'23 09:52:47PM, Samuel Sieb wrote:
> From: Samuel Sieb 
> Date: Thu, 13 Jul 2023 21:52:47 -0700
> To: users@lists.fedoraproject.org
> Reply-To: Community support for Fedora users 
> Subject: Re: youtube-dl error (F37 and F38)
>
> On 7/13/23 21:42, Ranjan Maitra wrote:
> > I have been having this error using youtube-dl for a while. Here is what I 
> > get:
> > [...]
> > File 
> > "/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 
> > 1012, in _search_regex
> >   raise RegexNotFoundError('Unable to extract %s' % _name)
> >   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; see  https://yt-dl.org/update  on how to update. Be 
> > sure to call youtube-dl with the --verbose flag and include its complete 
> > output.
> >
> >
> > Strangely, works fine with mpv, which I understand uses youtube-dl.
>
> Use "yt-dlp" instead, which is what mpv uses now as well.

Thanks very much! Was not aware of this. How do you know so much?:-) yt-dlp 
Works for me.

Thanks again!

Best wishes,
Ranjan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: youtube-dl error (F37 and F38)

2023-07-13 Thread simmon simmon
right.. same error.
but it doesn't work youtube-dl, so use yt-dlp and also link that;

ln -s /usr/bin/yt-dl /usr/bin/youtube-dl

and use youtube.dl

Have a nice day!

 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: youtube-dl error (F37 and F38)

2023-07-13 Thread Samuel Sieb

On 7/13/23 21:42, Ranjan Maitra wrote:

I have been having this error using youtube-dl for a while. Here is what I get:
[...]
File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", 
line 1012, in _search_regex
  raise RegexNotFoundError('Unable to extract %s' % _name)
  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; see  https://yt-dl.org/update  on how to update. Be sure to call 
youtube-dl with the --verbose flag and include its complete output.


Strangely, works fine with mpv, which I understand uses youtube-dl.


Use "yt-dlp" instead, which is what mpv uses now as well.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


youtube-dl error (F37 and F38)

2023-07-13 Thread Ranjan Maitra
Hi,

I have been having this error using youtube-dl for a while. Here is what I get:

  $  youtube-dl --verbose https://www.youtube.com/watch?v=SzH7_gGAM3Y
 [debug] System config: ['--prefer-free-formats']
 [debug] User config: []
 [debug] Custom config: []
 [debug] Command-line args: ['--verbose', 
'https://www.youtube.com/watch?v=SzH7_gGAM3Y']
 [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
 [debug] youtube-dl version 2021.12.17
 [debug] Python version 3.11.4 (CPython) - 
Linux-6.3.8-200.fc38.x86_64-x86_64-with-glibc2.37
 [debug] exe versions: ffmpeg 6.0, ffprobe 6.0
 [debug] Proxy map: {}
 [youtube] SzH7_gGAM3Y: 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; see  
https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the 
--verbose flag and include its complete output.
 Traceback (most recent call last):
   File "/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 814, 
in wrapper
 return func(self, *args, **kwargs)
^^^
   File "/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 835, 
in __extract_info
 ie_result = ie.extract(url)
 ^^^
   File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", 
line 534, in extract
 ie_result = self._real_extract(url)
 ^^^
   File "/usr/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py", 
line 1794, 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.11/site-packages/youtube_dl/extractor/common.py", 
line 1012, in _search_regex
 raise RegexNotFoundError('Unable to extract %s' % _name)
 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; see  https://yt-dl.org/update  on how to update. Be sure to call 
youtube-dl with the --verbose flag and include its complete output.


Strangely, works fine with mpv, which I understand uses youtube-dl.

Any suggestions on the problem?

Many thanks and best wishes,
Ranjan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue