youtube authentication with .netrc #331

Closed
opened 2026-02-20 23:01:13 -05:00 by deekerman · 9 comments
Owner

Originally created by @GaelicGrime on GitHub (Oct 10, 2012).

This could be the ID10t link, but I am getting this error from a simple script which takes a URL and sets an output-template.

bigWill:[20121010.1346]will@/storage/media :: ytdl.sh https://www.youtube.com/watch?v=LKt6E8GJyYU
WARNING: parsing .netrc: No authenticators for youtube (None, line None) [youtube] LKt6E8GJyYU:
Downloading video webpage

The video is an age restricted Japanese Gravure Idol which came up first in a search for "age restricted", I have continued down the page with the same result, all seem to download but the warning looks like it could cause trouble later.

Originally created by @GaelicGrime on GitHub (Oct 10, 2012). This could be the ID10t link, but I am getting this error from a simple script which takes a URL and sets an output-template. bigWill:[20121010.1346]will@/storage/media :: ytdl.sh https://www.youtube.com/watch?v=LKt6E8GJyYU WARNING: parsing .netrc: No authenticators for youtube (None, line None) [youtube] LKt6E8GJyYU: Downloading video webpage The video is an age restricted Japanese Gravure Idol which came up first in a search for "age restricted", I have continued down the page with the same result, all seem to download but the warning looks like it could cause trouble later.
deekerman 2026-02-20 23:01:13 -05:00
Author
Owner

@Plaque-fcc commented on GitHub (Oct 10, 2012):

Either you use your .netrc file or whisper youtube-dl your youTube
login/password. I don't see any other way it should work properly if I
was youTube.

@Plaque-fcc commented on GitHub (Oct 10, 2012): Either you use your .netrc file or whisper youtube-dl your youTube login/password. I don't see any other way it should work properly if I was youTube.
Author
Owner

@jaimeMF commented on GitHub (Jul 9, 2013):

This seems to work fine for me, youtube-dl shouldn't try to load .netrc unless you ask it. If the warning is still reported, please post the contents of ytdl.sh and the output when running with the --verbose option.

@jaimeMF commented on GitHub (Jul 9, 2013): This seems to work fine for me, youtube-dl shouldn't try to load `.netrc` unless you ask it. If the warning is still reported, please post the contents of `ytdl.sh` and the output when running with the `--verbose` option.
Author
Owner

@mpenkov commented on GitHub (Nov 10, 2017):

Is this still an issue? It's been 4 years since the last update.

@mpenkov commented on GitHub (Nov 10, 2017): Is this still an issue? It's been 4 years since the last update.
Author
Owner

@cakyus commented on GitHub (Dec 26, 2017):

I think the problem is how youtube-dl read your netrc file. I tried accounts.google.com and www.youtube.com for the machine part , none of them works. But, these work for me:

machine youtube login <YoutubeUsername> password <YoutubePassword>

and also youtube-dl required you to chmod 600 your netrc file.

@cakyus commented on GitHub (Dec 26, 2017): I think the problem is how `youtube-dl` read your netrc file. I tried accounts.google.com and www.youtube.com for the machine part , none of them works. But, these work for me: machine youtube login <YoutubeUsername> password <YoutubePassword> and also `youtube-dl` required you to `chmod 600` your netrc file.
Author
Owner

@roadzy commented on GitHub (Mar 7, 2019):

Trying to figure out the machine part of the netrc file. Is it the first part of the url when the browser redirects you to your login page? I've tried a lot of different combos but I was wondering if it was only setup to specific ones some where. If I'm trying to use it with nbc, I don't put nbc in there right? I put my cable company's name?

@roadzy commented on GitHub (Mar 7, 2019): Trying to figure out the machine part of the netrc file. Is it the first part of the url when the browser redirects you to your login page? I've tried a lot of different combos but I was wondering if it was only setup to specific ones some where. If I'm trying to use it with nbc, I don't put nbc in there right? I put my cable company's name?
Author
Owner

@remitamine commented on GitHub (Mar 7, 2019):

If I'm trying to use it with nbc, I don't put nbc in there right? I put my cable company's name?

@roadzy use Adobe Pass Options.

@remitamine commented on GitHub (Mar 7, 2019): > If I'm trying to use it with nbc, I don't put nbc in there right? I put my cable company's name? @roadzy use [Adobe Pass Options](https://github.com/rg3/youtube-dl#adobe-pass-options).
Author
Owner

@roadzy commented on GitHub (Mar 7, 2019):

If I'm trying to use it with nbc, I don't put nbc in there right? I put my cable company's name?

@roadzy use Adobe Pass Options.

"use --ap-list-mso for a list of available MSOs" What if they aren't in that list?

@roadzy commented on GitHub (Mar 7, 2019): > > If I'm trying to use it with nbc, I don't put nbc in there right? I put my cable company's name? > > @roadzy use [Adobe Pass Options](https://github.com/rg3/youtube-dl#adobe-pass-options). "use --ap-list-mso for a list of available MSOs" What if they aren't in that list?
Author
Owner

@remitamine commented on GitHub (Mar 7, 2019):

If I'm trying to use it with nbc, I don't put nbc in there right? I put my cable company's name?

@roadzy use Adobe Pass Options.

"use --ap-list-mso for a list of available MSOs" What if they aren't in that list?

then they're not supported(currently).

@remitamine commented on GitHub (Mar 7, 2019): >>>If I'm trying to use it with nbc, I don't put nbc in there right? I put my cable company's name? >> >>@roadzy use Adobe Pass Options. > >"use --ap-list-mso for a list of available MSOs" What if they aren't in that list? then they're not supported(currently).
Author
Owner

@roadzy commented on GitHub (Mar 7, 2019):

How hard is it to write one for my provider? Is there instructions anywhere I can read?

@roadzy commented on GitHub (Mar 7, 2019): How hard is it to write one for my provider? Is there instructions anywhere I can read?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#331
No description provided.