Se

Sed-based YouTube dl

Hacker News

Sed-based YouTube dl

test $# = 1|| exec echo usage: $0 itag-no sed -n ' s/http:/https:/; s/m.youtube/www.youtube/; s/youtu.be/youtube/; s/embed./watch?v=/; #etc.; s/;.*//; w.'"$0"'' read a < .$0; rm .$0; n=0;while true;do curl -so .$0a $a; unset a; # is tr needed probably not tr -cd '\12\40-\176' < .$0a \ |exec sed ' s/https%3A/\ &/g; s/ *//; /https%3A%2F%2F/!d; s/%3A/:/g; s/%2C/,/g; s/%2F/\//g; s/%3D/=/g; s/%3B/;/g; s/%3F/?/g; s/%26/\&/g; s/\\u0026/\&/g; s/%252C/,/g; s/%252F/\//g; s/%22/\"/g; s/%255B/[/g; s/%255D/]/g; ' \ |exec sed ' /itag='"$1"'/!d; #change if dont want mp4 /video.mp4/!d; #change if want webm /webm/d; /ytplayer/d; s/;+codecs.*//; /timedtext/d; ' > .$0b; rm .$0a; read b < .$0b; rm .$0b; test ${#b} = 0||break #number of retries default is 10 test $n -le 9||exit n=$((n+1)); done exec curl -o 1.mp4 $b #unset b

Share card

Actual performance

4points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsMay not resonate with HN audience · Strong signals: ide · Missing: https docs, excited, just released
45%45% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: video · Missing: mobile apps, ios, personal
32%32% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
26%26% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
26%26% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
Product HuntUnlikely to reach the leaderboard · Strong signals: code · Missing: mac, agents, macos
22%22% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
19%19% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
4%4% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Yo
YouTube e-sampler for producers47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

YouTube e-sampler for producers

Hacker News2
Yo
YouTube to iTunes45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

YouTube to iTunes

Hacker News1
SE
SEWY: YouTube roulette with Pusher47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SEWY: YouTube roulette with Pusher

Hacker News1
20
2005 YouTube Modernized47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

2005 YouTube Modernized

Hacker News2
Sa
Sample from YouTube38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sample from YouTube

Hacker News1
Ga
Gamifying YouTube47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Gamifying YouTube

Hacker News1
my
my gamification of YouTube48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

my gamification of YouTube

Hacker News4
My
My Youtube Zapping experiment42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

My Youtube Zapping experiment

Hacker News1
Ju
JukeTube – YouTube in Polymer47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

JukeTube – YouTube in Polymer

Hacker News2
Yo
YouTube Filesystem – YTFS76%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

YouTube Filesystem – YTFS

Hacker News185