[ / / / / / / / / / / / / / ] [ dir / animu / christ / d / film / jenny / rwby / vg / vietnam ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): 8fef428d6138221⋯.jpeg (8.6 KB, 474x304, 237:152, 1539121222036.jpeg) (h) (u)

[–]

 No.995190>>995212 >>995379 >>995503 [Watch Thread][Show All Posts]

https://github.com/omarroth/invidious/issues/217

AHAHAHAHAHAHAHAHAHAHAHAHAHA

AHAHAHAHAHAHAHAHAHAHAHAHAHA

AHAHAHAHAHAHAHAHAHAHAHAHAHA

Issue Reporter:

<Hi, I'm a big fan of invidio.us, and I hope this RFC can help in getting it more popular.

<The front page (top videos) is full of videos by extreme right channels, among others "Paul Joseph Watson", "Jair Bolsonaro", "Styxhexenhammer666" [1].

<I believe that this deterring potential users. A short look in the code (very readable, big cudos!) it looks like you are displaying videos from a database of videos already watched on invidio.us.

<One solution to friendlier recommendations would be to pull in recommendations from YouTube's "Home" and/or "Trending" pages.

<I've noticed some functions in src/invidious/jobs.cr suggesting you are already crawling some parts of YouTube, but I haven't fully analyzed them.

<I'd love to hear your feedback on this, and maybe we can come up with more ideas together. If you prefer to discuss this in private, please feel free to send me an email at callum.1993 (a) outlook.com

<[1]: I've noticed that today they are penetrating the front page less, but it has been a problem with the above and other channels ever since I started using invidio.us.

Creator's Response:

<Hi! I'm very happy to hear you found it easy to read. For others that would like to see how Invidious selects videos that go on the front page, I'd recommend taking a look here.

<I think that the algorithm is fairly content-neutral, so I think it's unfortunate that the front page has videos that people might find objectionable, and I can absolutely see that being a turn off.

<The trending looks good from a cursory glance, and is already the default homepage for NewPipe and FreeTube if I recall correctly.

<You're right that Invidious crawls other parts of the site, and it actually already pulls the Trending page elsewhere, so I can see that being the drop-in solution.

<I would also be interested to see if there's a better way to rank the videos that Invidious stores, and I'd absolutely appreciate other folks' thoughts on this as well.

Reporter Again:

<The algorithm invidious uses to rank videos itself is pretty good, the problem stems from the videos it (currently) draws from.

<If invidious can attract a more diverse user base (and thus a more diverse selection of videos), this problem will then solve itself in the future.

<Until then, feeding the front page with some known-good (for some definition of "known-good") videos is IMO a nice stop-gap.

<Yes, NewPipe uses the trending page. There is some discussion about refining it here, but it's relatively new.

<Regarding ranking videos stored by invidious: again, I don't think there is anything particularly wrong with The Algorithm, it just needs more data.

<Filtering by language (user agent string usually contains one) seems like a good idea in general though.

<PS: I've just thought about this: /r/videos (or /r/videos/top) might be suited for the front page as well and maybe more interesting than Youtube's Trending for some.

<PPS: I don't know Crystal in particular, but maybe I can help in other ways (general programming/parsing stuff, HTML/JS/CSS, etc.)

Another User Chimes In:

<I vote for Trending by default and /r/videos as an option for registered users.

 No.995193>>995211 >>995379 >>995633 >>996194 >>996994

Reminder that invidious is pointless, just use hooktube to search + mpv or youtube-dl

Don't bother with reddit cancer.

Better yet, just use that script that's been going around /vg/


 No.995197>>995474 >>995974

Archive before shoah: https://archive.is/RpGMu

I think Invidious should be forked once the proxy feature is fully working.


 No.995199

RSS+mpv seems like a good (better?) way to manage subscriptions than invidious.

Anyone know if there's a better way to get subscriptions via RSS than querying youtube directly?


 No.995200>>995202

Invidious has always been reddit cancer. This is the faggot who thinks youtube comments are too "toxic" and instead pulls in literal reddit comments as a substitute.


 No.995202>>995974

>>995200

True, but at least that was optional. Now he's planning on dumping an algorithm that he admits is neutral, in favor of forcing the home page to pull from these Reddit/Youtube trending.


 No.995210>>995255

Who the fuck cares? I ask for video without google bullshit. it gives me video. I watch video. Rest is blocked by uBlock. End of story.


 No.995211>>995974

>>995193

>Better yet, just use that script that's been going around /vg/

what's that?


 No.995212>>995218 >>995268 >>995592 >>995795 >>996841

File (hide): b4b2403f4807569⋯.png (791.46 KB, 1087x651, 1087:651, 1511496357270.png) (h) (u)

>>995190 (OP)

>extreme right channels


 No.995218>>995268

>>995212

even more EXTREEEEM: https://www.youtube.com/watch?v=keNN_HWQX1E a chat with Schlomo Gordon, of https://www.makebethlehemisraelagain.com/

sage because I know/care nothing about invidious


 No.995255

>>995210

>without google bullshit

Do you not count loading the video from google videos as google bullshit


 No.995268

File (hide): 7841b23e6792f9b⋯.mp4 (13.43 MB, 640x360, 16:9, fashy-fancy-by-iggy-izalea….mp4) (h) (u) [play once] [loop]

>>995212

>>995218

Pretty much the the whole 'alt-right' is a cancerous aids ridden wasteland, so many unsavoury characters.


 No.995269

better yet just suck it up and be the sacrificial youtumor that posts the fucking webm


 No.995379

>>995190 (OP)

bloat. close ticket

>>995193

i'd rather use something like this indivwhatever site that has simple <video> tags instead of some bloated shit like youtube if i can. of course i still use youtubedl since a lot of content is on youtube


 No.995474

>>995197

>I think Invidious should be forked once the proxy feature is fully working.

And maintained by who? /tech/ retards? AHAHAHAHAHHA


 No.995503>>995573

>>995190 (OP)

Why use this when mps-youtube + newsboat exists?


 No.995545>>995577 >>995613 >>995628 >>996204 >>996211 >>996841

It is a major turn off for most people to see "libtard NPC cuck dindu muffin gets BTFO by proud maga!", "Hitler wasn't so bad" and 50 "podcasts" by poltards circlejerking about Qanon and "white genocide" as the front page of a website.

Unlike you retards, most people's lives don't revolve around politics, conspiracy theories and fake Internet outrages.


 No.995573>>995603

>>995503

This is what I get trying to use mps-youtube.

> ERROR: Signature extraction failed: Traceback (most recent call last):

File "site-packages\youtube_dl\extractor\youtube.py", line 1199, in _decrypt_s

ignature

File "site-packages\youtube_dl\extractor\youtube.py", line 1110, in _extract_s

ignature_function

File "site-packages\youtube_dl\extractor\youtube.py", line 1171, in _parse_sig

_js

File "site-packages\youtube_dl\extractor\common.py", line 880, in _search_rege

x

youtube_dl.utils.RegexNotFoundError: Unable to extract Initial JS player signatu

re function name; 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 cal

l youtube-dl with the --verbose flag and include its complete output.

(caused by RegexNotFoundError('Unable to extract Initial JS player signature fu

nction name; please report this issue on https://yt-dl.org/bug . Make sure you a

re using the latest version; type youtube-dl -U to update. Be sure to call you

tube-dl with the --verbose flag and include its complete output.',)); please rep

ort this issue on https://yt-dl.org/bug . Make sure you are using the latest ver

sion; type youtube-dl -U to update. Be sure to call youtube-dl with the --verb

ose flag and include its complete output.


 No.995577>>995974

>>995545

>It is a major turn off for most people

That's the point. The target audience of Invidious isn't most people. The trending videos on the front page are a reflection of its userbase's interests.

>most people's lives don't revolve around politics, conspiracy theories and fake Internet outrages.

But most Invidious' users' lives do.


 No.995592>>995844

>>995212

>not having autogynephilia


 No.995602>>995604 >>995685 >>995853

File (hide): bb64aea5fd6cbee⋯.jpg (75.17 KB, 400x259, 400:259, stupidnametag1.jpg) (h) (u)

>talks political bullshit

>gets called on his bullshit

>"I won't discuss theology with you, believe on what you want."

>THEOLOGY


 No.995603>>995606

>>995573

> Make sure you are using the latest version; type youtube-dl -U to update


 No.995604

>>995602

Github really is like a real world.


 No.995606

>>995603

I downloaded it 4 hours ago. And I already ran that because I'm not a fucking retard.


 No.995613>>995615

>>995545

>muh npc meme

>spews literal npc output


 No.995615

>>995613

The spectacle of an NPC trying to reverse-memegineer itself leads to some delicious irony.


 No.995628>>996118

>>995545

>n-no white man

>d-don't try to counteract our propaganda

kek

KEK


 No.995633>>995896

File (hide): b9f597645d4424e⋯.png (652.79 KB, 1695x964, 1695:964, youtube-local-4.png) (h) (u)


 No.995685

File (hide): bb9c366ebbd2a84⋯.jpg (7.08 KB, 288x288, 1:1, faggot.jpg) (h) (u)

>>995602

>oy vey invidius is showing what people watch it isn't very friendly for the users

>let's change invidius to show what people don't watch and use invidius for, let's turn it into google 2.0

>this is a good thing

the fact that this "issue" wasn't closed immediately does not look good on the invidius dev.


 No.995687>>995692 >>995706 >>995711 >>995740 >>995853

File (hide): 95de389976f3a75⋯.png (110.05 KB, 1129x797, 1129:797, callum_faggot.png) (h) (u)

File (hide): 488d81a07b6f5c8⋯.png (115.52 KB, 744x872, 93:109, callum_faggot2.png) (h) (u)

File (hide): 6fe9d2d87ad1d81⋯.jpg (6.31 KB, 150x150, 1:1, callum_faggot3.jpg) (h) (u)

>callum1993 opened this issue 3 days ago

<25 year old manlet from the uk with a bmw and cosplay fetish


 No.995692>>995717 >>995740

>>995687

>weight

>75lbs

That's literally the average weight of a 9 year old girl. What the fuck man.


 No.995706>>995714 >>995717 >>995740

>>995687

>5'3

>75lbs


 No.995711>>995717 >>995740

>>995687

He's probably lying about his height, like all men do. So he's ~5'2" @ 100lbs (I also cannot believe his weight).


 No.995714>>995740

>>995706

I think those are about the same as hotwheels.


 No.995717>>995740

>>995692

>>995706

>>995711

>75 lbs

considering he's a bong he probably meant 75kg

75 kg = 165 pounds

5'3" @ 165 pounds is the opposite, obese midget


 No.995740

>>995687

>>995692

>>995706

>>995711

>>995714

>>995717

Callum is an incredibly popular name. It's unlikely all Callums born in 1993 are the same user.


 No.995795

>>995212

What's the story behind this pic?


 No.995844>>995845

>>995592

Autogynephilia is a terrible sickness. Heal yourself from it at once.


 No.995845

>>995844

Forgot to sage this useless thread.


 No.995853>>995893 >>995964

99

I just posted something

>>995687

top kek

>>995602

this


 No.995893

File (hide): 5d61433dcda91d8⋯.png (18.82 KB, 812x232, 7:2, really_makes_you_think.png) (h) (u)

>>995853

>i just posted something

someone make a post suggesting this stupid issue should be deleted utilizing github's new bad goy issue censorship function


 No.995896

>>995633

I absolutely love youtube-local, I've been able to resolve all my issues with it and it lets me watch youtube without bloatscript and other trash


 No.995964>>996123

File (hide): 510d160e94273ee⋯.png (112.66 KB, 776x578, 388:289, antisjw.png) (h) (u)

>>995853

99883311?


 No.995974>>995979

>>995197

Proxy feature is fully working. Replace `googlevideo.com` with `invidio.us`. Currently it's not been pushed site-wide due to bandwidth concerns, see https://github.com/FreeTubeApp/FreeTube/issues/164#issuecomment-424026124

>>995202

I'd recommend reading the proposal: https://github.com/omarroth/invidious/issues/217#issuecomment-436503761

>>995577

I think the proposal linked above better reflects user's interests, since it ranks based on subscriptions.

>>995211

https://8ch.net/vg/res/66294.html

Although the dev appears to be MIA.


 No.995979>>996094

>>995974

>not archiving at all

http://archive.is/rkc8T

https://archive.is/mrMAx

>being this new at crosslinking

>>>/vg/66294

>>muh bandwidth

If he has a proper, secure server network, it will be of less concern,


 No.996094

>>995979

>If he has a proper, secure server network, it will be of less concern,

I'm not arguing that. My point is that if that's what's preventing someone from forking the project, it's already been added.


 No.996118

File (hide): 107637b68c49caa⋯.jpg (57.67 KB, 890x230, 89:23, ywe.jpg) (h) (u)


 No.996120

File (hide): bf83e8dfa661d24⋯.png (73.51 KB, 787x923, 787:923, botnet_enthusiast.png) (h) (u)

I know!

Let's change the "algorithm" to display jewtube's kosher trending on the front page...

and make the user accept a tracking cookie to change it back


 No.996123>>996124

File (hide): 3e02f7b504c07cf⋯.png (44.55 KB, 813x567, 271:189, bad.png) (h) (u)

>>995964

also anyone who disagrees with omarroth's comment's are off-topic and they aren't being a productive contributor.

stop being a bad goy


 No.996124

>>996123

someone needs to open up an issue suggesting they adopt the tranny's CoC in light of these bad goy comments on this current issue, so we can finally put a nail in this coffin.


 No.996125>>996189

File (hide): 9c5d45adc6f7c6a⋯.png (41.61 KB, 827x519, 827:519, end_of_discussion.png) (h) (u)

File (hide): 56d7e0204a8ebba⋯.png (68.49 KB, 797x817, 797:817, new_discussion.png) (h) (u)

let's change the unproductive narrative here,

instead of "should we censor invidius" let's talk about

"how the censorship should be implemented"


 No.996189

>>996125

Censorship is implemented like this:

http://archive.is/zPRss

> Take top 40 most subscribed channels on Invidious

> Take most recent from each

> Order by most recent

Code is here:

http://archive.is/92hMn


 No.996194

>>995193

>t. I'll just repeat what someone else said, maybe then I'll look smart.

invidious is not pointless, as an option it's best described as a bridge between being a complete fag asking to be buttfucked by google and using the methods you described.


 No.996204

>>995545

Back to the >>>/oven/ with you, shlomo.


 No.996211

File (hide): 000f929e5cf552b⋯.jpg (Spoiler Image, 65.74 KB, 640x671, 640:671, 000f929e5cf552bdaf1d59c750….jpg) (h) (u)

File (hide): 454ecfee2998177⋯.png (Spoiler Image, 3.15 MB, 4121x2344, 4121:2344, 454ecfee2998177f4e48af9e3d….png) (h) (u)

File (hide): 98345b317031cca⋯.jpg (Spoiler Image, 1.62 MB, 1276x3412, 319:853, 1463483808774.jpg) (h) (u)

>>995545

>Conspiracy theories

Hey, CIANigger.


 No.996215>>996220

Any opinions on Crystal which Invidious is written in?


 No.996220


 No.996381>>996434

Why is anyone surprised this guy is a cuck? He intentionally does not let you watch content that youtube's deemed "offensive" on his site, he only gives a link to watch on youtube


 No.996434>>996450

>>996381

The only thing you won't be able to watch on Invidious are videos that YouTube puts behind a login-wall.


 No.996450>>996468 >>996484

>>996434

No, any videos that are flagged by the splc as offensive are unwatchable on his site. There are no videos that are behind login walls if you are grabbing the direct video sources


 No.996468>>996671

>>996450

Try now


 No.996484>>996671

>>996450

I've never encountered this. Link one to prove it.


 No.996671>>996759

>>996468

>>996484

Maybe the guys's not as much of a cuck as I thought. https://invidio.us/watch?v=ZxIin_c_hYI wasn't working even a couple days ago


 No.996759>>996961

>>996671

Sometimes videos just won't work. I've had this happen a lot of times, then they start working a few hours later. When that happens I just fall back on youtube-local for that video. Livestreams used to not work at all but now they work fine which is nice, it's a developing platform.


 No.996841>>996983

File (hide): 3ef81e096a58c7e⋯.jpg (21.23 KB, 550x498, 275:249, Gaayhl_sexy.jpg) (h) (u)

https://www.myjewishlearning.com/article/three-blessings/

Blessed are you O Satan-Set, King of the Void, Who has not made me a phonecuck, a scriptcuck, or a bankcuck.

Behead all those who enable JavaScript. If you see a phonecuck, throw shit-piss-blood at it immediately.

Anyone using banks thoughtlessly must be shat in their mouths and farted in their faces.

Qubes was created by a trans whamen. So what? This is what all C'tan Shards do.

Autists give knowledge, to everybody, for free. Tradcucks still choose Window$!!!

Autism blesses all forms of intelligence. If >>995212 is Styx, that looks nice.

The answer is National Globalism, the Earth must be used up to build starships.

We are infinite awareness having an experience. Anybody taking their sexuality seriously is frozen in 5-sense 3+1-dimensional reality. The soul will eventually be free to move across meatsuits, we are all Daemons. Regressive leftists are total retards. This is the Rise Of The 200IQ Satanic Supersoldier. Anybody <200IQ gets hunted down and executed relentlessly. Rightists hate it! #comehomewhiteman #getbackintothevagina

http://web.archive.org/web/20171118090909/http://www.burzum.com:80/burzum/library/articles/high_society/

>He justifies the slaying of Euronymous by saying his victim was a communist and gay (Varg recounts how he found a shit-stained dildo in Euronymous' dresser once).

Welp this kind of stuff is a traditional part of black metal culture. Do not mess with Black Metalheads. For example Gaayhl from Gorgayroth will fuck you up real bad...or real good!!! (alt-kikes would probably prefer the latter...)

>>995545

Heil fellow citizen.

https://en.wikipedia.org/wiki/Ovadia_Yosef

>The 60 million Soviet victims were reincarnations of the souls of sinners, people who transgressed and did all sorts of things that should not be done. They had been reincarnated in order to atone.

>A white woman's knowledge is only in making white babies, by turning herself over into a living Daemonculaba...Women should find other jobs, and bake swastika cakes, but not deal with matters of Mein Kampf. Women cannot go to war...If a woman runs over a CIAnigger accidentally with a car, she begins crying. On the other hand, a Techpriest is a Man - give him a Judaya C'tan Shard, and he will gas it.

>Why are NPCs needed? They will work, they will plow, they will reap. We will sit like Aryans and eat. That is why NPCs were created, to serve the citizens of the White Ethnostate. In the White Ethnostate, death has no dominion over them...With NPCs, it will be like any person -- they need to die, but Odin will give them longevity because of muh herratige. Why? Imagine that one's donkey would die, they'd lose their money. This is his servant...That's why he gets a long life, to work well for this White. NPCs were born only to serve us. Without that, they have no place in the world – only to serve the White People.

https://www.amazon.com/Black-Ship-Malphas/dp/0984776702

http://gen.lib.rus.ec/search.php?req=david+icke+everything+you+wanted+to+know

The brain of the morphogenetic tradcuck is 100% Realspace-bound. They revel in their limited view of the world, thinking visible light is all there is out there. Their Life-Field and Thought-Field is completely trapped in the Demiurgic Distortion, the Retard Nigger Cattle Mainstream-Everything Postage-Stamp Consensus-Reality. Chickens manipulate the humans into eating them by having such delicious meat. The Samurai of Terra must rouse eachother up into gassing both herders+cattle.

https://talpiottalk.com/ Brendon O'Connell

https://invidio.us/channel/UCFRV23uUZAf7l3tyq1CAoMA

https://en.wikipedia.org/wiki/Isolated_brain#In_fiction

>The Mi-go aliens in the Cthulhu Mythos of H. P. Lovecraft, first appearing in the story "The Whisperer in Darkness" (1931), can transport humans from Earth to Pluto (and beyond) and back again by removing the subject's brain and placing it into a "brain cylinder", which can be attached to external devices to allow it to see, hear, and speak.

https://lovecraft.fandom.com/wiki/Mi-go

>They also possess a pair of membranous bat-like wings which are used to fly through the "ether" of outer space (a pre-Einsteinian concept).

https://en.wikipedia.org/wiki/Aether_theories

>The modern concept of the vacuum of space, confirmed every day by experiment, is a relativistic ether. But we do not call it this because it is taboo.

Oy vey antisemite.

Sexual reproduction is for niggers, this is why Terry said his queens are allowed to fuck them. In the future we will have an industrial process of brain creation, quadrillions of Psykers. The brain-cylinder Cthulhutech will be launched off to space and everybody will be free to explore the whole universe and build new ones.

The tradcuck's instinctive response to this kind of stuff is invariably the "muh Nature" argument, and wheat-fields. Communication is only possible between equals.


 No.996863>>996895 >>996983 >>997200 >>997312

File (hide): 41755988064f618⋯.jpg (78.92 KB, 437x700, 437:700, THE_BLACK_AWAKENING.JPG) (h) (u)

Anyone who can not write simple shell scripts should not be allowed even near computers.

Every single phonecuck must be hunted down and executed.

https://www.timesofisrael.com/with-new-hack-cellphone-can-get-data-out-of-computers/

https://www.israel21c.org/made-in-israel-the-top-64-innovations-developed-in-israel/

>The cellular phone would still look like an oversized brick if it weren’t for Israeli know-how in mobile technologies.

>It was at Motorola’s Israel R&D center that Israeli engineers first developed original cell-phone technology.

https://www.counterpunch.org/2009/03/12/israeli-spying-in-the-united-states/

>Much of this access was facilitated through “remote maintenance.”

Talpiot is real. All <200IQ must be killed. In the future, there is no room for normies--we must all be Autists. Everybody will be either genetically enhanced to not be a retard, or microchipped.

https://en.wikipedia.org/wiki/TEMPEST


#!/bin/bash
# v0.sh

status () (
cd $d0; rm -f status; for dir in id:*; do
( cd $dir; [ -e a1 ] || return
status=$(tac $(ls *log | egrep -v '\.(html|jpg)\.' | tail -n 1) | egrep -m 1 -o ' [0-9]+% .*')
echo "$status $(cat filename)" >> ../status )
done; sort -uVr status 2>$z; rm -f status
)

dlver () (
log=$1; file=$2
fgrep -q '; nothing to do.' $log && return 0
fgrep -q '’ saved [' $log || return 1
s1=$(fgrep '’ saved [' $log | egrep -o '[0-9]*\]' | cut -f1 -d]); s2=$(stat -c %s $file)
[ $s1 = $s2 ] &>$z || return 1
)

oosprv () (
df1 () ( df -BM $d0 | sed -n 2p | awk '{print $4}' | cut -f1 -dM )
[ $(df1) -gt 4000 ] && return; pkill wget; sleep 10; pkill -9 wget; pkill -9 v0.sh
)

wwait () (
ntask2=$(cat $d0/meta/ntask 2>$z); [ $ntask2 -ge 1 ] &>$z && ntask=$ntask2 || ntask=$ntask0
while [ $(pgrep -c wget) -ge $ntask ]; do ixsleep; done
)

wclear () ( while pkill -0 wget; do sleep 0.1; done )

getvid () (
S=$(date +%Y%m%d%H%M%S); id=${url#*=}; id=id:$id; mkdir -p $id; cd $id; rm -f a0; touch $S.run a1
if [ $(ls | egrep -c '\.run$') -ge 10 ]; then cd ..; mkdir -p 0fu; mv $id 0fu; echo $url >> 0fu/errors; mv a1 a0 2>$z; return 1; fi
html=$id-$S.html; wget -T 30 -v $url -O $html &> $html.log; dlver $html.log $html || { mv a1 a0 2>$z; return 1; }
thumb=$(egrep -m 1 -o '/vi/[^/]*/maxres\.jpg' $html | sed -r 's#^#https://invidio.us#g')
! [ -z "$thumb" ] && wget -T 30 -c -v $thumb -O $id.jpg &> $id.jpg.log
##
selection=$(egrep -oh 'label=".*selected.*' $html | sort -uV | head -n 1); ext=${selection##*- }; ext=${ext%%\"*}
if [ -z "$selection" ]; then touch 0-invidious-error; mv a1 a0; return 1; fi
videourl=$(fgrep "$selection" $html | egrep -o 'http[^"]*'); views=$(fgrep ion-ios-eye $html | egrep -o '[0-9,]*')
channel=$(fgrep 'Login to subscribe to' $html | sed -r 's#^.*Login to subscribe to |</b>$##g')
title=$(fgrep -m 1 'title:' $html | sed -r 's#^.*title: ?"|",$##g' | sed -r 's#/#⧸#g')
date=$(date -d "$(fgrep '<b>Shared ' $html | sed -r 's#^.*<b>Shared |</b>$##g')" +%Y%m%d)
filename="$channel ─ $date ─ $views ─ $title.$ext"; echo "$filename" > filename
##
touch $id.$ext.sizetrack $id.$ext; s0=$(cat $id.$ext.sizetrack); s1=$(stat -c %s $id.$ext)
[ -s $id.$ext ] && [ $s1 -gt $s0 ] 2>$z && truncate -s $(($s1-524288)) $id.$ext
wget -T 30 -c -v "$videourl" -O $id.$ext &> $id.$ext-$S.log; stat -c %s $id.$ext > $id.$ext.sizetrack
dlver $id.$ext-$S.log $id.$ext || { sleep 10; mv a1 a0 2>$z; return 1; }
nice -n 19 sha256sum $id.$ext > $id.$ext.sha256
mkdir -p ../0meta/thumbs; mv $id.jpg ../0meta/thumbs/"$filename"
mv $id.$ext ../"$filename"; cd ..; mkdir -p 0meta; mv $id 0meta; rm 0meta/$id/a1; echo $url >> 0meta/done
echo "$filename"
)

getvid_pre () (
oosprv; wwait
if ! [ -s list ]; then for id in $(stat -c '%X-%n' id:*/a0 2>$z | sort -uV | sed -r 's#.*:|/.*##g'); do echo "https://invidio.us/watch?v=$id" >> list; done; [ -s list ] || return; fi
url=$(sed -n 1p list); sed -i 1d list; ! [ -z $(echo -n "$url" | sed -r 's#^https://invidio.us/watch\?v=[0-9a-zA-Z_-]{11}$##g') ] && echo "$url" >> list.wut && return
fgrep -q $url 0meta/done 0fu/errors &>$z && return; getvid $url &
)

xretry () (
cd "$d0/0fu" 2>/dev/zero || return 1
rm -f errors; for id in id:*; do cd $id; rm *.run; mv a1 a0 2>$z; cd ..; done
mv * ..; cd ..; rmdir 0fu
)

xclear () ( clear; echo "PWD: \`$(pwd)'" )

ixsleep () (
cd $d0
read -N 1 -s -t 2 input
case $input in
s) status ;;
c) xclear ;;
r) xretry ;;
q) [ -s list ] || rm -f list; echo ok; pkill v0.sh ;;
esac
)

# init
z=/dev/zero
pwd | fgrep -q ' ' && echo 'no spaces' && exit
! pwd | fgrep -q '/invidious/' && echo 'wrong dir' && exit
d0=$PWD
ntask0=10
if ls | egrep -q '^id:'; then for dir in id:*; do rm -f $dir/a1; touch $dir/a0; done; fi
xretry
# mainloop
xclear; while true; do ixsleep
! [ -s list ] && ! ls | egrep -q '^id:' && continue
getvid_pre
done

exit

https://invidio.us/channel/UCbwcnSpCGIdlEZsZtZevNRg


 No.996895

>>996863

this isn't a shell script, this is proprietary obfuscript.


 No.996961

>>996759

No, all videos with that specific "offensive content" thing on youtube, where you have to click through a seperate page before it would take you to the video, were like that before a couple days ago


 No.996983

>>996841

>>996863

Good evening /killcen/.


 No.996994>>996999 >>997019 >>997186

>>995193

Invidious is a web version of youtube-dl + mpv, I fail to see the appeal. Just like youtube-dl, it can't avoid age-locked videos such as https://invidio.us/watch?v=23YaK7R3Jcw

Does the /vg/ script avoid the age lock?


 No.996999

>>996994

Doesn't NewPipe get around it?

Too bad it's fagdroid bullshit.


 No.997019

File (hide): b47d0dd8d8a30a4⋯.png (26.99 KB, 1010x618, 505:309, 23YaK7R3Jcw.png) (h) (u)


 No.997186>>997313

>>996994

I opened an issue on the ytdl repo about it, apparently the only way for it to work is for you to be signed in with a google account https://github.com/rg3/youtube-dl/issues/18163


 No.997200

>>996863

too bad you're just reinventing the wheel when programs like youtube-viewer exists


 No.997312

>>996863

>reinventing the wheel

>generic function and variable names

>wwait()

Why


 No.997313>>997315 >>1005732

>>997186

>apparently the only way for it to work is for you to be signed in with a google account

Newpipe gets around it, don't know how


 No.997315

>>997313

I've never written a line of java in my life, but I'm going to have a look through tomorrow and try to see how it works. I'll send a pull request to ytdl if I figure it out


 No.1005732

>>997313

>Newpipe gets around it, don't know how

I think NewPipe auto-detects for your phone's linked jewgle account




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
77 replies | 17 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / animu / christ / d / film / jenny / rwby / vg / vietnam ][ watchlist ]