Re: [gentoo-user] yt-dlp no longer downloads from youtube

2024-06-04 Thread John Covici


On Tue, 04 Jun 2024 07:33:16 -0400,
Ionen Wolkens wrote:
> 
> [1  ]
> On Sun, Jun 02, 2024 at 02:06:59AM -0400, John Covici wrote:
> > On Sat, 01 Jun 2024 23:19:37 -0400,
> > Paul Colquhoun wrote:
> > > 
> > > On Sunday, June 2, 2024 1:34:20 A.M. AEST John Covici wrote:
> > > > The great program yt-dlp no longer will download from youtube.  It
> > > > complains that name or service not known.  It works fine downloading
> > > > from rumble.  Anyone know  what is happening?  I assume youtube did
> > > > some update that broke something.
> > > > 
> > > > Thanks in advance for any suggestions.
> > > 
> > > 
> > > It's working for me.
> > > 
> > > Can you post a full command line that isn't working?
> > > 
> > Here is the command with full output.
> > youtube-dl  https://www.youtube.com/embed/VGNMhK8Yssg
> > [youtube] Extracting URL: https://www.youtube.com/embed/VGNMhK8Yssg
> > [youtube] VGNMhK8Yssg: Downloading webpage
> > WARNING: [youtube] Unable to download webpage: [Errno -2] Name or
> > service not known
> > [youtube] VGNMhK8Yssg: Downloading ios player API JSON
> > WARNING: [youtube] [Errno -2] Name or service not known. Retrying
> 
> Are you using systemd? Not necessarily going to be that but a recent
> obscure issue that triggered only with some specific applications
> and urls (yt-dlp + youtube being one), were due to a bug in
> systemd-resolved with DNSSEC. You may have messages about dnssec in
> systemd logs if so.
> 
> Been fixed a while ago (assuming the bug didn't resurface), but may
> want to check that your systemd is up-to-date and reboot to ensure
> not still running an old systemd.
I am not using systemd's resolver, I just have some sites in my
/etc/resolv.conf.  It seems to effect only youtube, as I can download
from rumble without any problems.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] yt-dlp no longer downloads from youtube

2024-06-04 Thread Ionen Wolkens
On Sun, Jun 02, 2024 at 02:06:59AM -0400, John Covici wrote:
> On Sat, 01 Jun 2024 23:19:37 -0400,
> Paul Colquhoun wrote:
> > 
> > On Sunday, June 2, 2024 1:34:20 A.M. AEST John Covici wrote:
> > > The great program yt-dlp no longer will download from youtube.  It
> > > complains that name or service not known.  It works fine downloading
> > > from rumble.  Anyone know  what is happening?  I assume youtube did
> > > some update that broke something.
> > > 
> > > Thanks in advance for any suggestions.
> > 
> > 
> > It's working for me.
> > 
> > Can you post a full command line that isn't working?
> > 
> Here is the command with full output.
> youtube-dl  https://www.youtube.com/embed/VGNMhK8Yssg
> [youtube] Extracting URL: https://www.youtube.com/embed/VGNMhK8Yssg
> [youtube] VGNMhK8Yssg: Downloading webpage
> WARNING: [youtube] Unable to download webpage: [Errno -2] Name or
> service not known
> [youtube] VGNMhK8Yssg: Downloading ios player API JSON
> WARNING: [youtube] [Errno -2] Name or service not known. Retrying

Are you using systemd? Not necessarily going to be that but a recent
obscure issue that triggered only with some specific applications
and urls (yt-dlp + youtube being one), were due to a bug in
systemd-resolved with DNSSEC. You may have messages about dnssec in
systemd logs if so.

Been fixed a while ago (assuming the bug didn't resurface), but may
want to check that your systemd is up-to-date and reboot to ensure
not still running an old systemd.
-- 
ionen


signature.asc
Description: PGP signature


Re: [gentoo-user] yt-dlp no longer downloads from youtube

2024-06-03 Thread John Covici
On Sun, 02 Jun 2024 02:47:44 -0400,
Walter Dnes wrote:
> 
> On Sun, Jun 02, 2024 at 02:06:59AM -0400, John Covici wrote
> > 
> > I put the URL in firefox on  Windows which uses the same dns -- it all
> > goes through my linux box -- and it worked fine, so it seems
> > youtube-dl  is not working.
> 
>   I had weird problems downloading data from a province of Ontario
> website hosted on Microsoft Azure cloud.  I "solved" it by putting...
> 
> nameserver 8.8.8.8
> 
> ...at the top of /etc/resolv.conf and no, I don't understand why it
> worked.  It might be worth a try.
> 
No joy on putting 8.8.8.8, but it seems to work for some.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] yt-dlp no longer downloads from youtube

2024-06-02 Thread Paul Colquhoun
On Sunday, June 2, 2024 4:06:59 P.M. AEST John Covici wrote:
> On Sat, 01 Jun 2024 23:19:37 -0400,
> 
> Paul Colquhoun wrote:
> > On Sunday, June 2, 2024 1:34:20 A.M. AEST John Covici wrote:
> > > The great program yt-dlp no longer will download from youtube.  It
> > > complains that name or service not known.  It works fine downloading
> > > from rumble.  Anyone know  what is happening?  I assume youtube did
> > > some update that broke something.
> > > 
> > > Thanks in advance for any suggestions.
> > 
> > It's working for me.
> > 
> > Can you post a full command line that isn't working?
> 
> Here is the command with full output.
> youtube-dl  https://www.youtube.com/embed/VGNMhK8Yssg

H, it seems to work here:

$ youtube-dl  https://www.youtube.com/embed/VGNMhK8Yssg
[youtube] Extracting URL: https://www.youtube.com/embed/VGNMhK8Yssg
[youtube] VGNMhK8Yssg: Downloading webpage
[youtube] VGNMhK8Yssg: Downloading ios player API JSON
[youtube] VGNMhK8Yssg: Downloading android player API JSON
[youtube] VGNMhK8Yssg: Downloading m3u8 information
[info] VGNMhK8Yssg: Downloading 1 format(s): 270+140
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 25
[download] Destination: Fernanda speaks on the occasion of Global 
Accessibility Awareness Day 2024-VGNMhK8Yssg.f270.mp4
[download] 100% of   12.46MiB in 00:00:27 at 467.49KiB/s
[download] Destination: Fernanda speaks on the occasion of Global 
Accessibility Awareness Day 2024-VGNMhK8Yssg.f140.m4a
[download] 100% of1.99MiB in 00:00:01 at 1.30MiB/s
[Merger] Merging formats into "Fernanda speaks on the occasion of Global 
Accessibility Awareness Day 2024-VGNMhK8Yssg.mp4"
Deleting original file Fernanda speaks on the occasion of Global Accessibility 
Awareness Day 2024-VGNMhK8Yssg.f270.mp4 (pass -k to keep)
Deleting original file Fernanda speaks on the occasion of Global Accessibility 
Awareness Day 2024-VGNMhK8Yssg.f140.m4a (pass -k to keep)

$ ls -l Fernanda*
-rw-r--r-- 1   14531671 May 17 01:54 'Fernanda speaks on the occasion 
of Global Accessibility Awareness Day 2024-VGNMhK8Yssg.mp4'

$ file Fernanda* 
Fernanda speaks on the occasion of Global Accessibility Awareness Day 2024-
VGNMhK8Yssg.mp4: ISO Media, MP4 Base Media v1 [ISO 14496-12:2003]


$ youtube-dl --version
2024.05.27


Try following that URL in your browser, then click the "Watch in YouTube" link 
at the lower left.

This converts the URL to https://www.youtube.com/watch?v=VGNMhK8Yssg

See if that URL works for you.


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] yt-dlp no longer downloads from youtube

2024-06-02 Thread Walter Dnes
On Sun, Jun 02, 2024 at 02:06:59AM -0400, John Covici wrote
> 
> I put the URL in firefox on  Windows which uses the same dns -- it all
> goes through my linux box -- and it worked fine, so it seems
> youtube-dl  is not working.

  I had weird problems downloading data from a province of Ontario
website hosted on Microsoft Azure cloud.  I "solved" it by putting...

nameserver 8.8.8.8

...at the top of /etc/resolv.conf and no, I don't understand why it
worked.  It might be worth a try.

-- 
Roses are red
Roses are blue
Depending on their velocity
Relative to you



Re: [gentoo-user] yt-dlp no longer downloads from youtube

2024-06-02 Thread John Covici
On Sat, 01 Jun 2024 23:19:37 -0400,
Paul Colquhoun wrote:
> 
> On Sunday, June 2, 2024 1:34:20 A.M. AEST John Covici wrote:
> > The great program yt-dlp no longer will download from youtube.  It
> > complains that name or service not known.  It works fine downloading
> > from rumble.  Anyone know  what is happening?  I assume youtube did
> > some update that broke something.
> > 
> > Thanks in advance for any suggestions.
> 
> 
> It's working for me.
> 
> Can you post a full command line that isn't working?
> 
Here is the command with full output.
youtube-dl  https://www.youtube.com/embed/VGNMhK8Yssg
[youtube] Extracting URL: https://www.youtube.com/embed/VGNMhK8Yssg
[youtube] VGNMhK8Yssg: Downloading webpage
WARNING: [youtube] Unable to download webpage: [Errno -2] Name or
service not known
[youtube] VGNMhK8Yssg: Downloading ios player API JSON
WARNING: [youtube] [Errno -2] Name or service not known. Retrying
(1/3)...
[youtube] VGNMhK8Yssg: Downloading ios player API JSON
WARNING: [youtube] [Errno -2] Name or service not known. Retrying
(2/3)...
[youtube] VGNMhK8Yssg: Downloading ios player API JSON
WARNING: [youtube] [Errno -2] Name or service not known. Retrying
(3/3)...
[youtube] VGNMhK8Yssg: Downloading ios player API JSON
WARNING: [youtube] Unable to download API page: [Errno -2] Name or
service not known (caused by TransportError('[Errno -2] Name or
service not known'))
[youtube] VGNMhK8Yssg: Downloading iframe API JS
WARNING: [youtube] Unable to download webpage: [Errno -2] Name or
service not known
[youtube] VGNMhK8Yssg: Downloading web player API JSON
WARNING: [youtube] [Errno -2] Name or service not known. Retrying
(1/3)...
[youtube] VGNMhK8Yssg: Downloading web player API JSON
WARNING: [youtube] [Errno -2] Name or service not known. Retrying
(2/3)...
[youtube] VGNMhK8Yssg: Downloading web player API JSON
WARNING: [youtube] [Errno -2] Name or service not known. Retrying
(3/3)...
[youtube] VGNMhK8Yssg: Downloading web player API JSON
WARNING: [youtube] Unable to download API page: [Errno -2] Name or
service not known (caused by TransportError('[Errno -2] Name or
service not known'))
ERROR: [youtube] VGNMhK8Yssg: Failed to extract any player response;
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

I put the URL in firefox on  Windows which uses the same dns -- it all
goes through my linux box -- and it worked fine, so it seems
youtube-dl  is not working.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] yt-dlp no longer downloads from youtube

2024-06-01 Thread Paul Colquhoun
On Sunday, June 2, 2024 1:34:20 A.M. AEST John Covici wrote:
> The great program yt-dlp no longer will download from youtube.  It
> complains that name or service not known.  It works fine downloading
> from rumble.  Anyone know  what is happening?  I assume youtube did
> some update that broke something.
> 
> Thanks in advance for any suggestions.


It's working for me.

Can you post a full command line that isn't working?


-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro






Re: [gentoo-user] yt-dlp no longer downloads from youtube

2024-06-01 Thread Grant Taylor

On 6/1/24 11:14, Alarig Le Lay wrote:

No, “name or service not known” means that your resolver doesn’t work


Not necessarily.

It can also mean that the name being looked up is not valid.

I'd think that a network sniffer would provide that answer in short 
order for traditional DNS.




--
Grant. . . .



Re: [gentoo-user] yt-dlp no longer downloads from youtube

2024-06-01 Thread Alarig Le Lay
On Sat 01 Jun 2024 12:09:40 GMT, John Covici wrote:
> 
> 
> -Original Message-
> From: Alarig Le Lay  
> Sent: Saturday, June 1, 2024 11:53 AM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] yt-dlp no longer downloads from youtube
> 
> On Sat 01 Jun 2024 11:34:20 GMT, John Covici wrote:
> > The great program yt-dlp no longer will download from youtube.  It
> > complains that name or service not known.  It works fine downloading
> > from rumble.  Anyone know  what is happening?  I assume youtube did
> > some update that broke something.
> > 
> > Thanks in advance for any suggestions.
> 
> Fix your DNS resolver?
> 
> Dns  works fine, just this one yt-dlp gives this strange error.

No, “name or service not known” means that your resolver doesn’t work



RE: [gentoo-user] yt-dlp no longer downloads from youtube

2024-06-01 Thread John Covici



-Original Message-
From: Alarig Le Lay  
Sent: Saturday, June 1, 2024 11:53 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] yt-dlp no longer downloads from youtube

On Sat 01 Jun 2024 11:34:20 GMT, John Covici wrote:
> The great program yt-dlp no longer will download from youtube.  It
> complains that name or service not known.  It works fine downloading
> from rumble.  Anyone know  what is happening?  I assume youtube did
> some update that broke something.
> 
> Thanks in advance for any suggestions.

Fix your DNS resolver?

Dns  works fine, just this one yt-dlp gives this strange error.





Re: [gentoo-user] yt-dlp no longer downloads from youtube

2024-06-01 Thread Alarig Le Lay
On Sat 01 Jun 2024 11:34:20 GMT, John Covici wrote:
> The great program yt-dlp no longer will download from youtube.  It
> complains that name or service not known.  It works fine downloading
> from rumble.  Anyone know  what is happening?  I assume youtube did
> some update that broke something.
> 
> Thanks in advance for any suggestions.

Fix your DNS resolver?



[gentoo-user] yt-dlp no longer downloads from youtube

2024-06-01 Thread John Covici
The great program yt-dlp no longer will download from youtube.  It
complains that name or service not known.  It works fine downloading
from rumble.  Anyone know  what is happening?  I assume youtube did
some update that broke something.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com