/g/ - Technology

install openbsd

[Make a Post]
[X]





Nanonymous No.6664 [D][U][F][S][L][A][C] >>6674 >>6688
File: 1b99f85677df22758e4144360590e2a0f349a2f11207331505924027da1d19a0.jpg (dl) (297.69 KiB)
Am I the only one getting "This video is unavailable." on all youtube videos? 'Cause I am!

Anyway, another curious discovery: if you rely on youtube-dl for your youtube needs while using invidious instances to hide your ass, be aware that youtube extractor (which WILL be used for those links, well, the ones recognized by the extractor anyway) is hardcoded to download webpages from youtube.com. I kid you not, it's true. Not that it's a major risk if you're using Tor with ytdl anyway, just FYI.

Thanks for your support.

Nanonymous No.6665 [D][U][F] >>6680 >>6688
File: e5b7eb2a544636b38a1cd1e03ac0e072a3c7d82540700f1b62f656fb90f3b6d6.jpg (dl) (344.26 KiB)
>Am I the only one getting "This video is unavailable." on all youtube videos?
*Am I the only one getting "This video is unavailable." on all youtube videos with youtube-dl?

Important fix.

gotcha Nanonymous No.6666 [D][U][F] >>6668 >>6678
File: cd5896e37b99cf6da75f23eea44ee23b231b9683fa7a12c290bb1dae5f1ed896.gif (dl) (255.62 KiB)
IT'S CAUSE OF SATAN!

Nanonymous No.6667 [D][U][F]
File: c756bd14992948900c1f977ea1ea0d4759961e7b7890fd199fbb7255165d4f6c.png (dl) (94.82 KiB)
Error received as well.

Guess I`m going to have to eat you guys out to pass the time. Well, except you, William.

Nanonymous No.6668 [D]
>>6666
Witnessed.

Nanonymous No.6669 [D] >>6677 >>6680
$ torsocks -i youtube-dl <some shit>
ERROR: no conn, hlsvp, hlsManifestUrl or url_encoded_fmt_stream_map information found in video info; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
$ torsocks -i youtube-dl -U
Updating to version 2019.09.01 ...
ERROR: unable to download latest version

Nanonymous No.6671 [D]
Whelp, same for me on Newpipe

Nanonymous No.6672 [D]
Had a problem with youtube-dl today and it worked after upgrading to version 2019.09.12. NewPipe is broken but they usually take about a day to fix the youtube change.

Nanonymous No.6673 [D][U][F] >>6675
File: 7956579b9e8484f099b133bf0d6a57ac3393c64ec641c11f5a8a9285d03022cf.jpg (dl) (374.10 KiB)
Ya, they have pushed the update recently. Like, reaaally recently.

Nanonymous No.6674 [D] >>6680
>>6664
Wow thanks for telling me about the youtube extractor. Just checked the source code and you're right invidious comes under the youtube extractor. Guess I'll download videos through the invidious instances from now on.

Nanonymous No.6675 [D]
>>6673
F-Droid takes a little while I meant not NewPipe. NewPipe is usually on the ball because youtube changes so frequently.

Nanonymous No.6677 [D]
>>6669
Updated it manually.
Was pretty much surprised to know that it's a zip archive and Python interpreter can execute it.

Nanonymous No.6678 [D]
>>6666
checking godlike satan quads

Nanonymous No.6680 [D] >>6682
>>6674
>you're right invidious comes under the youtube extractor
Only invidio.us. The hidden service proxies the file when downloaded with youtube-dl (even though it doesn't have DASH options):
http://axqzx4s6s54s32yentfqojs3x5i7faxza6xo3ehd4bzzsg2ii4fv2iid.onion/

>>6669
>torsocks
Youtube-dl has socks5 support (more specifically, urllib):

$ youtube-dl --proxy socks5://127.0.0.1:9050

Note that ffmpeg doesn't support proxy. So you need to force HLS download to "native" (see --hls-prefer-native). Also, change your user agent:

--user-agent "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"

>>6665
>with youtube-dl
Not sure this is youtube-dl specific issue. Other people are telling me videos are unavailable. AFAIK, only music companies on Germany and Japan were doing this, but now it seems other countries are doing that too ("geoblocking").

Nanonymous No.6682 [D][U][F]
File: 99dbdce7f7eb66530a513cf269565246d6e2232e5f6040f49c63631eded3d919.jpg (dl) (334.68 KiB)
>>6680
What I was talking about is whenever you use youtube extractor (indicated by [youtube] in the beginning of some lines) it's going to load stuff from youtube.com, regardless of an actual URL you provide. Of course, proxying would still work normally.
>user agent
Actually, the new youtube-dl has been having randomized chrome-like user agent for a while now. The dump-user-agent option hints at that.
>Not sure this is youtube-dl specific issue.
I'm pretty sure it was. Just some random minor change in that JS/HTML interface could knock out the script. Not that it didn't happen before. It did.
This seems to be the commit to "fix the extraction".
https://github.com/ytdl-org/youtube-dl/commit/bf1317d257d13188601c837c983830355c6203e5

It's far from trivial, as you can see. Gomblexidy LOL

Nanonymous No.6688 [D]
>>6664
>>6665
That's a good thing, why are you telling us this?

Nanonymous No.6702 [D]
I keep having to Ctrl+U news sites then search the source for the m3u8 file (or whatever it's called) and then pointing youtube-dl at that. Sucks that I can't just right-click and save the damn video.