Nzira yekuodha mavhidhiyo eYouTube kuti udzidze

Sekutaura kwemusoro wenyaya iyi, iyi nzira yekurodha pasi mavhidhiyo eYouTube haisi imwe yeakanakisa, asi inzira yekudzidza mashandiro emapurogiramu echinangwa ichi seaya ataona pano (youtube-dl, iri Chokwadi, vane mikana yakawanda uye yakanaka kwazvo, ndinoikurudzira).

Iyo nzira ndeye kushandisa yakajairwa mirairo kubva GNU / Linux nekuda kwechikonzero ichi, sezvavari curl they uye zvakawanda zvinoshandiswa kubva ku Bash y python iyo inogona kushandiswa kugadzira zvinyorwa. Izvo zvinofanirwa kucherechedzwa kuti nzira yacho haina otomatiki asi inoda kuti mushandisi apindire.

Kutanga, takawana vhidhiyo yekuita iyo "test."

vhidhiyo_target

Ipapo isu tinowana izvo zvirimo zve peji kuburikidza nescripture iyo yatinochengeta uye nekuzviita zvinotevera:

"nombre del script" "url de youtube"
Muenzaniso:
./script_url https://www.youtube.com/watch?v=1r-bWx3WZfQ

#!/bin/bash
ip=$(curl ifconfig.me)
for ((i=0;i<=10;i++))
do
curl -s $1 | grep "r$i---" | grep "expire" | grep "$ip" | grep "http" | grep "ratebypass" | grep "itag"
done

Tsananguro yeMagwaro:

Musiyano unogadzirirwa iyo ip ichazoshandiswa munguva pfupi inotevera, ichiteverwa nechitupa kuyedza manhamba akasiyana muiyo musiyano "$ i", wobva waita mutsetse unotevera kutora izvo zvirimo uye mafirita ezwi ku "gonesa" nzvimbo ye batanidza izvo zvinotifadza.

Patinoita script yapfuura, inodzosera chakabuda seichi:

kodhi_iwanikwa

Zvakanaka, vanogona kufunga kuti izvi hazviite zvine musoro, asi zviri nyore kupfuura zvazvinonzwika. Kubva pane zvavakawana, isu tinotsvaga, sarudza uye tinoteedzera chinofungidzirwa chinongedzo chakavigwa mune zvemukati, chinowanzove neichi fomu:

http%3A%2F%2Fr2---sn-j5caxvoq5-2ute.googlevideo.com%2Fvideoplayback%3Fitag%3D5%26sver%3D3%26source%3Dyoutube%26mv%3Dm%26id%3Dd6bf9b5b1dd665f4%26ip%3D190.XXX.XX.XX%26key%3Dyt5%26upn%3DOPyez7xDXx0%26expire%3D1394709761%26sparams%3Did%252Cip%252Cipbits%252Citag%252Csource%252Cupn%252Cexpire%26ms%3Dau%26fexp%3D935640%252C927904%252C932250%252C910207%252C927860%252C916611%252C937417%252C913434%252C936910%252C936913%252C902907%252C934022%26mt%3D1394685288%26signature%3D0A96F682936F3E20015E95DC15AC3D291372CDD5.BF5B9EFF421155747A2267148C8F35B018D4A689%26ipbits%3D0

Chaizvoizvo akawanda ma link akadaro, asi kwete ese anoshanda. Zvinogona kunge zvine hunyengeri kuzvitsvaga, saka pabasa iri tinofanirwa kutsvaga mazwi http:, ipbits, upn, siginicha uye inopera nemavara akati wandei uye nhamba dzechimiro BF5B9EFF421155747A2267148C8F35B018D4A689; tatova nezvinhu izvi mune zvinofungidzirwa kubatana, tinozviteedzera.

Izvo zvinofanirwa kucherechedzwa kuti nguva zhinji chinongedzo chingave chisina kunaka, zvirinani kwandiri ini ndaifanira kuzviita nemabatiro matatu akasiyana, zvisinei, zvinoshanda.

Iyo kodhi iyo yatakateedzera ndeyechokwadi kero kune zviwanikwa (ino mune ino vhidhiyo), zvisinei, yakanyorwa muchimiro chemavara anoshandiswa nemutauro weHTML, senge nhamba dzinotanga ne muzana chiratidzo (%).

Sezvo zvatiri kuda iri kero iyo "inoverengwa" mhando "http: //", isu tinofanirwa kushandura aya makodhi kuita mavara, saka tichazviita nechinyorwa chakagadzirwa mu python:

#!/usr/bin/python
def parse_conv(dvar):
df=""
count=0
global chain
chain=""
for dc in dvar:
if dc=="%" and count==0:
count=1
elif count==1 or count==2:
df=df+dc
if count==1:
count=2
else:
count=0
chf=chr(int(df,16))
chain+=chf
df=""
else:
chain+=dc
dvar=input("Código a convertir: ")
parse_conv(dvar)
parse_conv(chain)
print(chain)

Sezvimwe nechimwe chinyorwa, vanoichengeta uye vanomhanya nayo. Chinhu chakadai chichaonekwa, ipapo ipapo vanonamira kero yapfuura uye vopa iyo kupinda; Kero yakaita "http: //" ichaonekwa:

inoverengwa_kero

Neizvi isu tichashandisa wget kurodha vhidhiyo, seinotevera:

wget -c "http://r2---sn-j5caxvoq5-2ute.googlevideo.com/videoplayback?itag=5&sver=3&source=youtube&mv=m&id=d6bf9b5b1dd665f4&ip=190.XXX.XX.XX&key=yt5&upn=OPyez7xDXx0&expire=1394709761&sparams=id,ip,ipbits,itag,source,upn,expire&ms=au&fexp=935640,927904,932250,910207,927860,916611,937417,913434,936910,936913,902907,934022&mt=1394685288&signature=0A96F682936F3E20015E95DC15AC3D291372CDD5.BF5B9EFF421155747A2267148C8F35B018D4A689&ipbits=0"

decarga_wget

Isu tinovimba inopera uye tichava nevhidhiyo yedu yakadzvanywa kubva kuYouTube ine zita risinganzwisisike:

video_rare

Isu tinoitumidza zita uye tione kuti iiyo yakafanana vhidhiyo seiyo iri muiyi link, saka, isu tatoona kare kuti iyi yakaoma asi inobatsira nzira kana iwe uchida kuziva kuti rudzi urwu rwechirongwa runoshanda sei.

vhidhiyo_yedza

Ndinovimba zvinokubatsira.


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Makomendi gumi, siya zvako

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa. Raida minda anozivikanwa ne *

*

*

  1. Inotarisira iyo data: Miguel Ángel Gatón
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako

  1.   Himekisan akadaro

    Zvakanaka kutumira, ini ndinosarudza nzira yakapusa, ndinotsvaga vhidhiyo mubrowser uye ndobva ndazviburitsa mune terminal:
    #lsof | grep Flash
    ipapo ini ndinoteedzera maitiro uye zvinondipa iyo flv
    cp / proc / xxxxx / fd / xx / nzira / ku / kuchengetedza.flv

    1.    @nyika akadaro

      Izvo hazvina kundishandira, ini ndinowana plugin-co 25074 kwandiri mem, iyo mem inofanira kunge iri dudziro yefaira.
      zvakadaro uchishandisa du -hL / proc / 25074 / fd / * hapana ane saizi yekuve vhidhiyo yeYouTube, pane chero munhu anoziva nei FD isingabude?

    2.    Anonymous akadaro

      Ndanga ndichishandisa jdownloader kwehafu yegumi kurodha pasi zviuru zvemavhidhiyo uye mabhaisikopo ini ndichifunda. Ehe, kune avo vanosarudza kushandisa iyo terminal hachisi chinhu chakakodzera chishandiso, pamusoro pekusave chakareruka (zvinoda nezve zana mb yegondohwe nezvose uye system).

  2.   Blackneto akadaro

    Haisi iyo yakanyanya kunaka, asi pane kuwedzera kweFirefox inonzi Easy Youtube Vhidhiyo Downloader Express ...

    Ini ndasiya ligi: https://addons.mozilla.org/es/firefox/addon/easy-youtube-video-download/

    Akatondiburitsa nekukurumidza ... Kwaziso kubva kuMexico

  3.   Marcos akadaro

    Ndakagara ndichifarira "kupatsanura" mapeji ewebhu, hazvirambike kuti iyi zivo yekuparadzanisa (webs) + linux inobvumidza kufungidzira zvidiki zvinyorwa zvinoita zvinhu zvine simba 😀 (bot isina-yakaipa zvinangwa)

    pawebhusaiti yangu ndakaisa iyi diki script mu php iyo "inongoratidzira chete" yemahara vpn password ye "vpnbook" iyo inoshanduka nguva zhinji, izvo zvandino tarisira kuita mumashure kuzvitumira kufoni yangu mazuva ese na7am, kana ne sms kuburikidza neye movistar peji (kuburikidza neimwe bot): D.

    pagina
    http://rojosbar.com/AL/1.php

    Code
    http://paste.desdelinux.net/4940

    iwe unogona zvakare kumhanyisa iyo script kubva pakombuta yako nemirairo

    php SCRIPT

    uko SCRIPT.php inomiririra zita refaira neiyo php kodhi

    -----
    chimwe chinyorwa (chakasvibira kwazvo) chandakaita kurodha ISSUU «mapeji emagazini» uye ndovachengeta muPDF (nekuti ini handidi Flash vhezheni yavanoratidza pawebhusaiti yavo)

    Ona iyo vhidhiyo yeiyo inomhanya php script
    https://www.youtube.com/watch?v=h82r41UOWLQ

    kodhi
    http://paste.desdelinux.net/4941

  4.   Mutengo Granda akadaro

    youtube-dl [vhidhiyo]
    ndezvipi zvimwe? yakapusa uye inoshanda 🙂
    Asi ndinokukorokotedzai nesimba iri

  5.   hola akadaro

    ini ndinoshandisa jdownloader

  6.   c4 zvinoputika akadaro

    Pano ini ndinosiya iyo python script zvakare, nekuti ini ndakaona kuti iyo yandinoisa haina matabhu.

    http://paste.desdelinux.net/4942

  7.   Juan akadaro

    Nzira iri nyore uye isina zvirongwa.

    1) Kurudyi tinya pavhidhiyo.
    2) Enda ku "Wongorora chinhu"
    3) Zviwani iwe muVhidhiyo Tag
    4) Enda kune iyo SRC chivakwa uye teedzera icho chinongedzo (kana iwe uchida kusvetuka nhanho 5 ne6, ingo enda kukoni uye nyora wget uye chinongedzo chakateedzerwa)
    5) Vhura iyo link mune imwe tebhu
    6) Kurudyi tinya -> Sevha vhidhiyo se ...> zvaitwa, nakidzwa.

  8.   Dernalis akadaro

    Yakakura posvo, kunyangwe ichiratidzika kwandiri kunge inogona kuvhiringidza vateereri vanogona kuitora.
    Nechekare mupositi zviri pachena kuti pane nzira dziri nani dzekurodha YouTube mavhidhiyo. Chavanofunga kuratidza mikana ye linux kuwana data kubva pawebhu.

    Muenzaniso mudiki semupiro:
    curl -s http://rss.thepiratebay.se/101 | magrep magineti | grep chinongedzo | sed -r "s / ^.* (. +) $ / \ 1 / g" | paunenge uchiverenga mutsetse; ita echo kufambisa-kure -a $ mutsetse; zvaitwa

    Inobvisa kubva kune thepiratebay rss feed ese emumhanzi magineti zvinongedzo, makumi matanhatu ekupedzisira, uye inoratidza rairo yekuvawedzera mukutapurirana. kana tikabvisa "echo" inovawedzera ivo zvakananga, chenjera.
    Ndinoziva kuti zvinogona kuitwa neFlexget kana zvakafanana, asi hazvisi izvo, ndezvekugadzirisa ruzivo urwo iwe rwaunoda kuwana kubva pawebhu uye kutsvaga nzira yekuzvitsaura nemidziyo yatinayo muLinux.

    Ndinovimba handina kutambanudza kana kupindira zvakanyanya.

  9.   nsz akadaro

    Uye zvingave zvisiri nyore kushandisa Youtube-DL?

    Kuti utore vhidhiyo:
    Youtube-dl [vhidhiyo URL]

    Kuti utore chete odhiyo yacho:
    youtube-dl -x -audio-fomati mp3 [vhidhiyo URL]

  10.   @nyika akadaro

    Chinyorwa chakanaka, icho chinotibatsira kuti tinzwisise zvirinani.

  11.   guilds akadaro

    Ini ndinoshandisa CLIPGRAB uye kana iri console ini ndinoshandisa iyo clive kana cclive raira. Ini handidi chero script 🙂

  12.   kid_goth akadaro

    Mazhinji acho anofinha uu, ehe, atovepo akawanda magwaro uye software inozadzisa basa asi zvirinani kuti wakambozvibvunza kuti vanozviita sei? uu ...

    Zvakanaka, ini ndanga ndisingazive nenzira iyi, ini ndiri kuenda kunoiyedza uye zvakadaro mukushanya kwangu kuYouTube nechishandiso Chishandiso ini ndaona kuti vane api (REST ndinofunga) inokupa ruzivo rwakawanda nezve vhidhiyo uyezve chinongedzo kune cdn yacho.

    Ini ndichaedza izvi uye ndirambe ndichienderera neyangu yekurodha script nechimwe chinhu chakaitwa uye chakanzwisiswa neni hehe. Kwaziso uye chinyorwa chakanaka