News for hackers. Stuff that matters.
Re:YouTube-dl's repository has been restored by jtbayly on Monday November 16, 2020 @01:20PM (#25115090)
You already have to sign in to view some videos, don’t you? Does YT-dL not have a way to handle those right now?
Re:YouTube-dl's repository has been restored by nonbirithm on Monday November 16, 2020 @01:34PM (#25115255)
It does, but it's broken.

https://github.com/ytdl-org/youtube-dl/issues/23860

The developers are not responding to the issue, and from what I understand it is borderline impossible to fix, because there is an entire security team behind the Google login protection. The only workaround is to login with a browser and copy the cookies from it to youtube-dl.

Re:YouTube-dl's repository has been restored by xigency on Monday November 16, 2020 @02:07PM (#25115659)
> The only workaround is to login with a browser and copy the cookies from it to youtube-dl.

That's really easy to do with postman.

Re:YouTube-dl's repository has been restored by justinclift on Monday November 16, 2020 @02:50PM (#25116168)
"Postman" seems like a pretty generic name.

Looking quickly online, maybe you're meaning this one?

https://www.postman.com

Re:YouTube-dl's repository has been restored by drdeca on Monday November 16, 2020 @06:08PM (#25118273)
I'm pretty sure that is what they mean, yes. It is a nice tool. Lets you write HTTP(S) templates with parameters and whatnot, save them in groups, send them, handle the response, etc.
Re:YouTube-dl's repository has been restored by pyuser583 on Monday November 16, 2020 @10:17PM (#25119940)
Funny. I initially read that as “The Postman” - kind of like “The Batman.”

And your response is regarding whether it should be referred to in the definite article.

Re:YouTube-dl's repository has been restored by jimbob45 on Monday November 16, 2020 @02:18PM (#25115790)
>postman

It just works. Every time. It’s gotta be one of the most unappreciated tools out there right now.

Re:YouTube-dl's repository has been restored by imtringued on Monday November 16, 2020 @04:56PM (#25117485)
Why not simply create a youtube-login command that does nothing but launch an electron instance that lets you login into youtube and then returns the cookie?

youtube-dl could then call that command to obtain the cookie.

Re:YouTube-dl's repository has been restored by TechBro8615 on Monday November 16, 2020 @05:08PM (#25117652)
There’s a good chance that behavior would result in a CAPTCHA.
Re:YouTube-dl's repository has been restored by naniwaduni on Monday November 16, 2020 @09:27PM (#25119685)
The idea, I think, is that it literally launches a browser to let a human do the whole thing.
Re:YouTube-dl's repository has been restored by Siira on Monday November 16, 2020 @06:08PM (#25118275)
You can automate fetching Chrome’s cookies. This is generally very useful for scraping.
Re:YouTube-dl's repository has been restored by h_anna_h on Tuesday November 17, 2020 @02:22AM (#25121053)
https://github.com/blackjack4494/yt-dlc is maintained by someone who responds to issues.
Re:YouTube-dl's repository has been restored by OJFord on Monday November 16, 2020 @01:23PM (#25115131)
Do you? I've never tried to watch any that have required it.

Maybe there's Red-only content that isn't advertised/recommended to non-subscribers?

Re:YouTube-dl's repository has been restored by monokh on Monday November 16, 2020 @01:30PM (#25115216)
Content with a certain age threshold triggers login. The last time I looked at this, embedding these videos was still possible without logging in. So there are definitely ways in accessing the content without authentication.
Re:YouTube-dl's repository has been restored by OJFord on Monday November 16, 2020 @09:29PM (#25119697)
Hm. If embedding works maybe my ad-blocking is sufficient; or I just haven't come across any that require it. I mostly just watch woodworkers/machinists/electronics/etc. Sort of conceivable it could be age restricted but would also be surprising.
Re:YouTube-dl's repository has been restored by fuzxi on Monday November 16, 2020 @09:54PM (#25119816)
There's also members-only content on some channels that requires a paid subscription to access.