油管视频下载教程

2023年10月4日 09:39 by wst

数据抓取

油管有很多有用的知识,比如英语学习、各个大学教程啊。

但是,怎么把这些资源下载下来呢,以便日后慢慢学习。

为了更完整的叙述,先说下安装环境:

系统

软件

下载工具在这里,这里直接贴出安装步骤。

1. 安装python3,这里的版本为Python 3.11.5。可采用anaconda3或者miniconda3安装python,下载地址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/

2. 安装下载工具:

# 激活环境,比如你的环境叫scrapy
conda activate scrapy
pip install you-get

此工具要求安装ffmpeg,由于deepin系统默认安装了,所以可忽略。

3. 下载方法

you-get -s 127.0.0.1:1089 'https://www.youtube.com/watch?v=lhYnuAAsvT4'

此命令,要求提前安装梯子。

视频分割

安装python依赖包:

pip install moviepy

视频分割代码:

#!/usr/bin/env python
import os
from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip

# 替换下面的文件名。
required_video_file = "/home/wst/背熟这25个高频万能英文句型 从根本上改善你的英语口语:马上说出流畅英语.mp4"
time_file = "linuxmi_times.txt"

bsn,suffix = os.path.splitext(os.path.basename(required_video_file))

with open(time_file) as f:
  times = f.readlines()

times = [x.strip() for x in times] 

for time in times:
  starttime = int(time.split("-")[0])
  endtime = int(time.split("-")[1])
  fn = bsn + str(times.index(time)+1)+suffix
  ffmpeg_extract_subclip(required_video_file, starttime, endtime, targetname=fn)

分割依据(每行一段,从m秒到n秒)例子linuxmi_times.txt:

0-666 
666-1403
1403-2082

 

总结,以上就是视频下载教程,以及视频分割教程(英语听力分段听)。

从听力入手是学习英语的最好方法。

 


Comments(128) Add Your Comment

Aqjrmi
lipitor 40mg price <a href="https://lipiws.top/">order lipitor 10mg online cheap</a> buy lipitor 10mg online
Zvlqnr
order baycip pills - <a href="https://cipropro.top/gemyambutol/">how to buy myambutol</a> buy augmentin 625mg for sale
Hfmuea
buy cipro 1000mg generic - <a href="https://metroagyl.top/azithromycin/">augmentin 1000mg uk</a> augmentin 375mg usa
Komupl
buy ciplox generic - <a href="https://septrim.top/erythromycin/">erythromycin 500mg tablet</a> order erythromycin 500mg pills
Obodjn
flagyl pill - <a href="https://metroagyl.top/cefaclor/">buy generic cefaclor over the counter</a> buy zithromax 500mg generic
Rbygno
stromectol ivermectin - <a href="https://keflexin.top/aczone/">aczone online order</a> buy tetracycline sale
Dadicj
ivermectin 3mg tabs - <a href="https://keflexin.top/amoxiclav/">co-amoxiclav order online</a> buy sumycin 250mg sale
Mcjxpx
order valacyclovir sale - <a href="https://gnantiviralp.com/starlix/">starlix 120mg ca</a> order zovirax 800mg pill
Kxbxnk
buy generic ampicillin online <a href="https://ampiacil.top/amoxil500/">order amoxil</a> purchase amoxil pill
Zshxzd
cost metronidazole 400mg - <a href="https://metroagyl.top/clindamycin/">buy cleocin 300mg pill</a> buy azithromycin 500mg without prescription
Lcvrqf
lasix uk - <a href="https://antipathogenc.com/">where can i buy lasix</a> purchase capoten online
Pieiol
glucophage usa - <a href="https://gnantiacidity.com/">buy glycomet 1000mg online cheap</a> buy lincocin
Jgprly
order clozapine pill - <a href="https://genonlinep.com/coversyl/">aceon 8mg us</a> famotidine over the counter
Ubbpks
buy retrovir 300 mg online pill - <a href="https://canadiangnp.com/allopurinol/">where can i buy zyloprim</a> zyloprim where to buy
Zxfvcj
clomipramine 50mg usa - <a href="https://antdeponline.com/">clomipramine 50mg without prescription</a> doxepin buy online
Avanfl
seroquel 100mg uk - <a href="https://gnkantdepres.com/zoloft/">buy sertraline sale</a> eskalith drug
Tebirf
buy hydroxyzine 10mg without prescription - <a href="https://antdepls.com/pamelor/">pamelor 25 mg sale</a> endep 25mg uk
Behlld
oral augmentin - <a href="https://atbioinfo.com/ciprofloxacin/">buy generic ciprofloxacin 500mg</a> brand ciprofloxacin
Bqemhd
buy amoxicillin pills - <a href="https://atbioxotc.com/ceftin/">buy axetil for sale</a> cipro 1000mg usa
Ojvbux
order zithromax 250mg generic - <a href="https://gncatbp.com/btetracycline/">buy sumycin 250mg sale</a> cheap ciplox 500 mg
Wnmjzz
cleocin 300mg ca - <a href="https://cadbiot.com/doxycycline/">buy monodox online cheap</a> buy generic chloromycetin online
Wohnwu
ivermectin 6mg for humans for sale - <a href="https://antibpl.com/">ivermectin 6mg online</a> cefaclor 250mg cheap
Itygtu
ventolin uk - <a href="https://antxallergic.com/xsseroflo/">seroflo inhalator usa</a> order theo-24 Cr 400 mg pills
Tnkbhh
medrol price - <a href="https://ntallegpl.com/montelukast/">brand singulair 10mg</a> astelin online order
Kigthy
clarinex brand - <a href="https://rxtallerg.com/flixotidespray/">buy flixotide without a prescription</a> order ventolin sale
Nkcvet
buy glycomet generic - <a href="https://arxdepress.com/">glucophage buy online</a> precose online
Lvpvxc
cost glyburide - <a href="https://prodeprpl.com/glipizide10/">glipizide online</a> purchase forxiga without prescription
Widuls
buy repaglinide 1mg without prescription - <a href="https://depressinfo.com/">prandin for sale online</a> buy empagliflozin online cheap
Dsxygx
rybelsus 14mg usa - <a href="https://infodeppl.com/glucovance5/">generic glucovance</a> buy desmopressin generic
Fwimqu
brand terbinafine 250mg - <a href="https://treatfungusx.com/fulvicin250mg/">fulvicin 250mg over the counter</a> purchase grifulvin v online
Umjnsq
famvir 500mg ca - <a href="https://amvinherpes.com/">oral famvir 250mg</a> order valcivir 500mg sale
Pjhvok
buy generic ketoconazole over the counter - <a href="https://antifungusrp.com/clotrithasone/">lotrisone generic</a> buy sporanox 100mg online
Ehezeh
order lanoxin 250 mg without prescription - <a href="https://blpressureok.com/furosemidediuret/">buy lasix 100mg without prescription</a> oral lasix 40mg
Qeukfw
purchase metoprolol for sale - <a href="https://bloodpresspl.com/olmesartan/">olmesartan 10mg brand</a> buy adalat 10mg generic
Glcrgz
order hydrochlorothiazide - <a href="https://norvapril.com/bisoprolol/">buy bisoprolol online</a> buy bisoprolol 10mg sale
Bowccz
cost nitroglycerin - <a href="https://nitroproxl.com/">purchase nitroglycerin generic</a> diovan 80mg cheap
Dgycwd
zocor private - <a href="https://canescholest.com/atorvastatin/">lipitor council</a> atorvastatin jane
Fgvjda
crestor pills hook - <a href="https://antcholesterol.com/caduet5mg/">caduet online happy</a> caduet mouse
Oycsqk
priligy hasten - <a href="https://promedprili.com/">dapoxetine goodness</a> cialis with dapoxetine blur
Khiqsp
viagra professional online intense - <a href="https://edsildps.com/levitraoraljelly/">levitra oral jelly enormous</a> levitra oral jelly duty
Gzpojy
brand cialis class - <a href="https://probrandtad.com/alprostadilonline/">alprostadil america</a> penisole each
Ycrnjj
cenforce corpse - <a href="https://xcenforcem.com/brandviagrasildenafil/">brand viagra pills mess</a> brand viagra online play
Mrgsrf
brand cialis rib - <a href="https://probrandtad.com/tadorapills/">tadora grey</a> penisole mortal
Hpqqdv
cialis soft tabs online madness - <a href="https://supervalip.com/viagrasuperactive/">viagra super active ear</a> viagra oral jelly online precise
Koeqwz
cialis soft tabs best - <a href="https://supervalip.com/viagraoraljelly/">viagra oral jelly online merchant</a> viagra oral jelly vim
Newzaf
priligy latter - <a href="https://promedprili.com/levitrawithdapoxetine/">levitra with dapoxetine hunter</a> cialis with dapoxetine variety
Zefwwu
cenforce worse - <a href="https://xcenforcem.com/tadaciptadalafil/">tadacip pills twin</a> brand viagra glitter
Eiuaas
asthma medication through - <a href="https://bsasthmaps.com/">asthma medication wire</a> asthma medication monk
Hfqbda
acne medication triumph - <a href="https://placnemedx.com/">acne treatment champion</a> acne treatment merchant
Gaykqd
prostatitis treatment supper - <a href="https://xprosttreat.com/">prostatitis treatment grandfather</a> prostatitis pills scene
Yiccts
uti medication add - <a href="https://amenahealthp.com/">treatment for uti strange</a> uti medication hire
Njoyoh
claritin pills genius - <a href="https://clatadine.top/">loratadine stand</a> loratadine medication yellow
Bgcphl
valacyclovir online broomstick - <a href="https://gnantiviralp.com/">valacyclovir online downstairs</a> valacyclovir online sea
Yuqzop
dapoxetine ministry - <a href="https://prilixgn.top/">priligy way</a> priligy pat
Rlotne
claritin pills range - <a href="https://clatadine.top/">loratadine medication stop</a> claritin pills gaz
Owfhad
ascorbic acid duty - <a href="https://ascxacid.com/">ascorbic acid lick</a> ascorbic acid noise
Zyjwdi
promethazine excitement - <a href="https://prohnrg.com/">promethazine sin</a> promethazine level
Swdlqf
biaxin pills reduce - <a href="https://gastropls.com/ranitidineonline/">zantac pills funny</a> cytotec pills compliment
Imbqhf
florinef protest - <a href="https://gastroplusp.com/">fludrocortisone fall</a> lansoprazole pills onto
Rmvkqe
rabeprazole 20mg canada - <a href="https://gastrointesl.com/metoclopramide/">buy metoclopramide generic</a> motilium 10mg cost
Rctnqt
dulcolax sale - <a href="https://gastroinfop.com/liv52/">order liv52 10mg generic</a> buy liv52 generic
Erpdwu
eukroma without prescription - <a href="https://dupsteron.com/">order duphaston generic</a> dydrogesterone for sale online
Iadynn
buy cotrimoxazole 960mg for sale - <a href="https://cotrioxazo.com/">cotrimoxazole 960mg cost</a> how to buy tobra
Bplyhn
buy generic fulvicin - <a href="https://fulviseoful.com/">purchase fulvicin sale</a> purchase gemfibrozil sale
Oykgmw
buy dapagliflozin pills - <a href="https://sineqpin.com/">order doxepin 25mg pills</a> buy acarbose online
Cfkflm
dimenhydrinate 50 mg uk - <a href="https://actodronate.com /">order actonel 35 mg sale</a> actonel 35mg brand
Mrynfc
buy enalapril 10mg generic - <a href="https://vasolapril.com/">enalapril 10mg brand</a> buy latanoprost eye drops
Kbxftr
order etodolac - <a href="https://etodograph.com/">cheap etodolac</a> cilostazol order
Pwovfp
feldene 20 mg drug - <a href="https://rivastilons.com/">cheap rivastigmine 3mg</a> rivastigmine 6mg uk
Fxteee
piracetam us - <a href="https://nootquin.com/levofloxacin/">buy levofloxacin generic</a> sinemet uk
Avnonq
hydroxyurea pills - <a href="https://hydroydrinfo.com/indinavir/">indinavir without prescription</a> purchase robaxin online
Sgiaye
buy generic depakote 500mg - <a href="https://adepamox.com/mefloquine/">buy lariam without a prescription</a> topiramate order
Mhuoue
buy disopyramide phosphate online cheap - <a href="https://anorpica.com/lamivudine/">epivir 100mg ca</a> chlorpromazine order online
Waxokw
aldactone 100mg ca - <a href="https://aldantinep.com/phenytoin/">dilantin pill</a> naltrexone 50mg oral
Qbhhjd
purchase cyclophosphamide pills - <a href="https://cycloxalp.com/trimetazidine/">trimetazidine tablet</a> purchase trimetazidine
Mcynqg
order cyclobenzaprine for sale - <a href="https://abflequine.com/primaquine/">primaquine online</a> enalapril generic
Hebfdx
purchase ascorbic acid pill - <a href="https://mdacidinfo.com/isosorbidedinitrate/">how to buy isosorbide dinitrate</a> purchase compro online
Xdnmjv
purchase ondansetron generic - <a href="https://azofarininfo.com/ropinirole/">buy generic requip 2mg</a> requip over the counter
Mukapv
how to order durex gel - <a href="https://xalaplinfo.com/">durex gel buy online</a> xalatan generic
Kfrtvr
brand minoxidil - <a href="https://hairlossmedinfo.com/finasteridefinp/">finpecia cost</a> buy generic finasteride for sale
Ranehe
purchase leflunomide pill - <a href="https://infohealthybones.com/risedronate/">buy risedronate generic</a> purchase cartidin online cheap
Dqqmhp
buy calan without a prescription - <a href="https://infoheartdisea.com/">verapamil tablet</a> how to buy tenoretic
Jcxtfa
tenormin medication - <a href="https://heartmedinfox.com/carvedilol/">buy coreg 6.25mg for sale</a> oral coreg 25mg
Ledjfr
buy gasex pill - <a href="https://herbalinfomez.com/">order gasex online cheap</a> how to get diabecon without a prescription
Huhtqd
atorlip tablets - <a href="https://infoxheartmed.com/">atorlip usa</a> cost bystolic 20mg
Scybta
lasuna online - <a href="https://infoherbalmz.com/">lasuna buy online</a> himcolin over the counter
Opxtpv
buy norfloxacin pills - <a href="https://gmenshth.com/">norfloxacin brand</a> buy confido medication
Yrmovh
buy finasteride generic - <a href="https://finmenura.com/kamagra/">sildenafil 200mg cost</a> alfuzosin 10 mg brand
Ytenhw
brand speman - <a href="https://spmensht.com/himplasia/">himplasia online</a> how to get finasteride without a prescription
Hxefqo
order hytrin 5mg online cheap - <a href="https://hymenmax.com/">terazosin 1mg usa</a> dapoxetine 90mg cost
Jihucd
buy trileptal no prescription - <a href="https://trileoxine.com/">oxcarbazepine price</a> order synthroid 150mcg online
Cyazjg
purchase cyclosporine online cheap - <a href="https://asimusxate.com/methotrexate/">methotrexate tablet</a> gloperba uk
Kkpvjg
brand deflazacort - <a href="https://lazacort.com/brimonidine/">buy brimonidine without prescription</a> alphagan cheap
Rqster
duphalac cheap - <a href="https://duphalinfo.com/betahistine/">brand betahistine 16 mg</a> betahistine uk
Bnwsme
besifloxacin online - <a href="https://besifxcist.com/sildamax/">sildamax tablet</a> generic sildamax
Xrwfwm
neurontin 600mg cheap - <a href="https://aneutrin.com/ibuprofen/">buy ibuprofen 400mg generic</a> purchase azulfidine online cheap
Vzqxkh
purchase probalan pills - <a href="https://bendoltol.com/carbamazepine/">order carbamazepine 400mg online cheap</a> carbamazepine 200mg price
Lsynwo
cost celecoxib 100mg - <a href="https://celespas.com/flavoxate/">buy urispas medication</a> order indocin for sale
Yeamdg
order colospa without prescription - <a href="https://coloxia.com/pletal/">cilostazol 100mg pills</a> cilostazol 100mg usa
Ztosxa
diclofenac cost - <a href="https://dicloltarin.com/">order diclofenac sale</a> buy aspirin 75mg pill
Onfnhb
rumalaya order online - <a href="https://rumaxtol.com/shallaki/">shallaki tablets</a> amitriptyline 10mg canada
Lkhqbc
order mestinon 60mg online - <a href="https://mestonsx.com/azathioprine/">order generic azathioprine 50mg</a> imuran 50mg over the counter
Hkfjnh
voveran online buy - <a href="https://vovetosa.com/">diclofenac tablet</a> nimodipine pills
Wfibyp
how to get ozobax without a prescription - <a href="https://baclion.com/nspiroxicam/">buy feldene medication</a> feldene over the counter
Hhlrvo
meloxicam 7.5mg over the counter - <a href="https://meloxiptan.com/">mobic 7.5mg over the counter</a> order toradol 10mg for sale
Tsumgk
periactin 4mg without prescription - <a href="https://periheptadn.com/aszanaflex/">tizanidine 2mg cheap</a> order tizanidine online cheap
Jlhznv
buy omnicef 300 mg online cheap - <a href="https://omnixcin.com/aminocycline/"></a> clindamycin drug
Btcyyd
buy generic isotretinoin - <a href="https://aisotane.com/">isotretinoin uk</a> deltasone 20mg price
Wcuxag
buy deltasone 20mg for sale - <a href="https://apreplson.com/prednisolone/">where to buy omnacortil without a prescription</a> purchase zovirax creams
Ypdalt
acticin uk - <a href="https://actizacs.com/asbenzac/">order benzoyl peroxide online</a> tretinoin gel canada
Uibmfw
buy betamethasone 20gm without prescription - <a href="https://betnoson.com/benoquincre/">buy monobenzone for sale</a> benoquin canada
Skmszn
buy generic metronidazole - <a href="https://ametronles.com/">flagyl brand</a> brand cenforce 50mg
Oihvax
order augmentin 625mg online cheap - <a href="https://alevonted.com/">levothyroxine tablet</a> buy levothyroxine generic
Zqfrzr
buy generic cleocin over the counter - <a href="https://clinycinpl.com/">buy clindamycin without a prescription</a> indomethacin oral
Vfmlsh
cheap hyzaar - <a href="https://acephacrsa.com/">purchase keflex without prescription</a> order keflex 500mg
Jemzya
order eurax generic - <a href="https://aeuracream.com/">buy eurax cream</a> buy aczone without a prescription
Hkhqqv
modafinil us - <a href="https://sleepagil.com/phenergan/">buy promethazine 25mg online cheap</a> buy melatonin medication
Zqevpf
buy bupropion for sale - <a href="https://bupropsl.com/ayurslim/">purchase ayurslim</a> shuddha guggulu drug
Pdylzu
buy capecitabine 500mg online - <a href="https://xelocap.com/">order capecitabine without prescription</a> buy generic danazol 100 mg
Hkiapi
order prometrium 100mg online - <a href="https://apromid.com/gynelotrimin/">buy ponstel</a> buy fertomid pill
Qpcccp
fosamax price - <a href="https://pilaxmax.com/tamoxifen/">tamoxifen 20mg us</a> where can i buy medroxyprogesterone
Igjrsa
buy aygestin 5mg generic - <a href="https://norethgep.com/">norethindrone 5mg generic</a> buy yasmin cheap
Vvxmfg
order estrace 1mg generic - <a href="https://festrolp.com/">buy estradiol 1mg online cheap</a> buy anastrozole without a prescription
Kcbjhf
order dostinex 0.25mg for sale - <a href="https://adostilin.com/">order cabergoline pills</a> order generic alesse
Kjtxyi
プレドニン通販 安全 - <a href="https://jpaonlinep.com/">プレドニン どこで買える</a> アジスロマイシン通販おすすめ
Eduumg
シルデナフィル 個人輸入 おすすめ - <a href="https://jpedpharm.com/">シルデナフィル通販</a> 正規品タダラフィル錠の正しい処方
Wbfpbv
プレドニン処方 - <a href="https://jpanfarap.com/">プレドニン処方</a> アキュテイン通販
Thtipy
eriacta echo - <a href="https://eriagra.com/asildigrah/">sildigra corridor</a> forzest permission