Youtube 不要砍我影片R
海豹
About me
蛤???
A project that can let you mirror Youtube to your Google Drive from the video list you give.
Why?
“$VIDEO_NAME”The YouTube account associated with this video has been terminated due to multiple third-party notifications of copyright infringement.
This video is no longer available because the YouTube account associated with this video has been terminated.
This video has been removed for violating YouTube’s Community Guidelines.
This video has been removed for violating YouTube’s policy on harmful or dangerous content.
“$VIDEO_NAME” This video is no longer available due to a copyright claim by $COMPANY_NAME.
This video has been removed for violating YouTube’s policy on nudity or sexual content.
Storage?
Shell Script
gdrive mkdir -p \`cat ../index.json | jq -r '."'${line:0:1}'"."'${line:1:1}'"'\` $line | sed -e "s/Directory\ //" -e "s/\ created//"
cat ../index.json | jq -r '."'${line:0:1}'"."'${line:1:1}'"'
awk 'NR==FNR{a[$0]=1;next}!a[$0]' log "$1" > new_query
GitHub: seadog007/Youtube_Cloner
Time Cost: 1 hr
Telegram Bot
How to create a “Bash” Telegram Bot in 2 minutes in 5 lines
海豹
Code
1 while true
2 do
3 who=`who` && [ $? -eq 0 ] && [ "$who" != "$lastwho" ] && curl --data "chat_id=80973595&text=$who" -X GET https://api.telegram.org/bot_token/sendMessage && lastwho=$who
4 sleep 1
5 done
Compressed
while true; do; who=`who` && [ $? -eq 0 ] && [ "$who" != "$lastwho" ] && curl --data "chat_id=80973595&text=$who" -X GET https://api.telegram.org/bot_token/sendMessage && lastwho=$who; sleep 1; done
1. Prepare Bot Token
Telegram: @botfather
Live Demo
2. Get Your User ID
Telegram: @RawDataBot
Live Demo
3. Fetch Your Data
who=`who`
4. Comparing Your Data
[ $? -eq 0 ] && [ "$who" != "$lastwho" ]
5. Send the Message
curl --data "chat_id=id&text=$who" -X GET https://api.telegram.org/bot_token/sendMessage
6. Put it in a Loop
While true�do
done
Time Cost: 1 min
Web Interface
https://seadog007.download/
ETH Address???
Time Cost: 2 hr
分散式架構
55%
Master
100%
Worker
10%
GPG Implentment
Time Cost: > 1 hr