使用bypy在服务器上下载百度云资源

2024年3月1日 16:37 by wst

数据抓取

通过百度网盘传输数据已经成为很常见的方式,但是怎么把网盘数据下载到服务器却成了一个难题,因为不能打开带界面的应用。

还好有个工具解决了这个问题,它就是bypy. 下面详细说下使用步骤:

安装

pip install bypy

认证

这里是通过认证的方式实现的权限管理,首先在命令行中运行:

bypy info

然后会弹出一个提示:

Please visit:
https://openapi.baidu.com/oauth/2.0/authorize?client_id=q8WE4EpCsau1oS0MplgMKNBn&response_type=code&redirect_uri=oob&scope=basic+netdisk
And authorize this app
Paste the Authorization Code here within 10 minutes.
Press [Enter] when you are done
5438f538964e776fa75cdshfkdsh1234fjd
Authorizing, please be patient, it may take upto 300 seconds...
Quota: 12.009TB
Used: 4.415TB

把其中的网址粘贴到浏览器中,根据提示进行操作。

当获得授权码(5438f538964e776fa75cdshfkdsh1234fjd)之后,把授权码粘贴过来,然后摁enter。

如果成功会提示你的网盘用量和总量。

下载数据

在这个过程中碰到一个问题,不知道网盘里的文件路径该怎么写。

经过查询发现:由于百度PCS API权限限制,程序只能存取百度云端/apps/bypy目录下面的文件和目录。通过以下链接可以打开你的bypy默认路径:

https://pan.baidu.com/disk/main?from=homeFlow#/index?category=all&path=%2Fapps%2Fbypy

也就是你想下载的东西,首先要拷贝到这个目录。

以我的为例,要下载的文件夹是 controlnet1.1 ,所以下载命令就是:

# 最后那个点代表的是当前目录
bypy downdir controlnet1.1 .

其他相关命令:

# 从百度网盘下载单个文件
bypy downfile <remotefile> [localpath] 
# 上传文件
bypy upload <upload_file_name>
# 搜索文件
bypy search <search_file_name>

总结

通过bypy工具下载了模型包,完成了stable diffusion的部署。

pyhton的强大,可以看得见!

 


Comments(127) Add Your Comment

Ruwvfm
buy cheap atorvastatin <a href="https://lipiws.top/">atorvastatin 80mg brand</a> brand atorvastatin
Vxfbvf
ciprofloxacin pill - <a href="https://metroagyl.top/cefaclor/">keflex 125mg brand</a> order augmentin 1000mg online cheap
Efxdsf
buy baycip - <a href="https://cipropro.top/keflexcapsule/">buy keflex 250mg for sale</a> clavulanate for sale
Qskemf
generic flagyl - <a href="https://metroagyl.top/oxytetracycline/">how to buy terramycin</a> buy azithromycin 500mg pills
Dlbohy
ciplox 500mg for sale - <a href="https://septrim.top/erythromycin/">buy erythromycin 500mg pills</a> erythromycin drug
Loaqmb
buy valtrex 1000mg - <a href="https://gnantiviralp.com/starlix/">starlix drug</a> buy generic zovirax for sale
Msumny
ivermectin 3mg for humans - <a href="https://keflexin.top/tetracycline/">order tetracycline 250mg for sale</a> generic sumycin 500mg
Srozuy
order flagyl 400mg pills - <a href="https://metroagyl.top/oxytetracycline/">order oxytetracycline 250mg without prescription</a> buy azithromycin sale
Lusbrn
how to get ampicillin without a prescription <a href="https://ampiacil.top/">buy acillin generic</a> buy amoxicillin pills for sale
Artypx
lasix 40mg oral - <a href="https://antipathogenc.com/prograf/">order prograf pills</a> cost captopril
Xynlit
order metformin 1000mg without prescription - <a href="https://gnantiacidity.com/lincocin/">lincocin buy online</a> oral lincocin 500 mg
Sqrpjh
zidovudine uk - <a href="https://canadiangnp.com/epivir/">order lamivudine 100mg sale</a> zyloprim price
Fpwahl
cheap clozaril 100mg - <a href="https://genonlinep.com/amaryl/">order glimepiride 1mg generic</a> buy famotidine 40mg online
Aljjso
buy quetiapine without a prescription - <a href="https://gnkantdepres.com/zoloft/">buy generic zoloft for sale</a> buy eskalith paypal
Nhgtqh
clomipramine 50mg uk - <a href="https://antdeponline.com/paxil/">cheap paroxetine</a> purchase doxepin
Ahsceg
order hydroxyzine 10mg pills - <a href="https://antdepls.com/endep/">order amitriptyline 25mg for sale</a> endep online order
Wtfvce
amoxiclav cost - <a href="https://atbioinfo.com/linezolid/">purchase linezolid generic</a> ciprofloxacin drug
Iwlfaa
amoxil where to buy - <a href="https://atbioxotc.com/">buy amoxil sale</a> purchase cipro generic
Idsjbm
cheap clindamycin - <a href="https://cadbiot.com/oxytetracycline/">order terramycin 250mg pills</a> buy chloramphenicol online
Yctnyh
buy zithromax 250mg without prescription - <a href="https://gncatbp.com/emetronidazole/">flagyl 400mg cheap</a> ciprofloxacin 500mg oral
Tpnsvd
ivermectin dose for covid - <a href="https://antibpl.com/ascefaclor/">cefaclor order</a> cefaclor 250mg generic
Poixuo
purchase albuterol for sale - <a href="https://antxallergic.com/dftheo-24/">theophylline 400mg drug</a> purchase theophylline generic
Tnmsbo
how to buy clarinex - <a href="https://rxtallerg.com/getzaditor/">ketotifen 1mg cost</a> albuterol 2mg tablet
Ftrdyt
methylprednisolone 4 mg online - <a href="https://ntallegpl.com/">buy methylprednisolone online cheap</a> order azelastine 10 ml for sale
Poqdoq
micronase 5mg uk - <a href="https://prodeprpl.com/glipizide10/">glipizide 10mg pills</a> dapagliflozin price
Mwrcmx
buy repaglinide 2mg online - <a href="https://depressinfo.com/">repaglinide 2mg drug</a> brand jardiance 10mg
Gwbybz
buy glucophage generic - <a href="https://arxdepress.com/acarbose50/">precose 50mg ca</a> how to get acarbose without a prescription
Sxcjff
terbinafine 250mg canada - <a href="https://treatfungusx.com/adiflucanv/">buy diflucan 200mg sale</a> buy grifulvin v tablets
Ovmkff
buy rybelsus 14 mg online cheap - <a href="https://infodeppl.com/">order semaglutide 14 mg generic</a> buy generic DDAVP online
Rvuhll
buy generic nizoral - <a href="https://antifungusrp.com/butenafinecream/">butenafine uk</a> sporanox 100mg tablet
Xcwlnr
famciclovir 250mg pill - <a href="https://amvinherpes.com/gnvalaciclovir/">order valcivir 500mg</a> cheap valcivir 1000mg
Dtlgze
buy generic digoxin for sale - <a href="https://blpressureok.com/dipyridamole100/">buy dipyridamole online cheap</a> order generic lasix 40mg
Xxhplz
buy microzide without a prescription - <a href="https://norvapril.com/amlodipine/">generic amlodipine</a> cheap bisoprolol 10mg
Paduyb
lopressor online - <a href="https://bloodpresspl.com/nifedipine/">order adalat pills</a> order adalat without prescription
Eorags
nitroglycerin order - <a href="https://nitroproxl.com/">order nitroglycerin pills</a> buy diovan 160mg
Jlyolv
zocor violent - <a href="https://canescholest.com/gemfibrozil/">lopid annoy</a> lipitor away
Atmmkv
crestor online south - <a href="https://antcholesterol.com/ezetimibe/">zetia online beat</a> caduet online coil
Ytqzcg
buy viagra professional terrify - <a href="https://edsildps.com/cialisprofessional/">cialis professional startle</a> levitra oral jelly intention
Jwstwz
dapoxetine coin - <a href="https://promedprili.com/sildigra/">sildigra name</a> cialis with dapoxetine helm
Faechz
cenforce glint - <a href="https://xcenforcem.com/zenegrasildenafil/">zenegra pills endure</a> brand viagra pills conclude
Scgaju
brand cialis web - <a href="https://probrandtad.com/">brand cialis sweeper</a> penisole bath
Prgoxq
cialis soft tabs online marvel - <a href="https://supervalip.com/viagraoraljelly/">viagra oral jelly online talent</a> viagra oral jelly widow
Cbibdk
brand cialis onto - <a href="https://probrandtad.com/zhewitra/">zhewitra solitary</a> penisole charles
Poxpxs
cialis soft tabs chicken - <a href="https://supervalip.com/cialisoraljelly/">cialis oral jelly online associate</a> viagra oral jelly cost
Foencz
cenforce online thirty - <a href="https://xcenforcem.com/zenegrasildenafil/">zenegra season</a> brand viagra below
Qlqaip
priligy central - <a href="https://promedprili.com/levitrawithdapoxetine/">levitra with dapoxetine consciousness</a> cialis with dapoxetine wild
Zciuzb
acne treatment blink - <a href="https://placnemedx.com/">acne medication action</a> acne treatment sleeve
Oabotd
asthma medication surface - <a href="https://bsasthmaps.com/">asthma treatment kiss</a> asthma treatment george
Kabcff
uti treatment hello - <a href="https://amenahealthp.com/">uti medication frank</a> treatment for uti lett
Jllpaa
prostatitis treatment hell - <a href="https://xprosttreat.com/">prostatitis pills march</a> prostatitis medications gain
Cmadxp
valacyclovir pills wan - <a href="https://gnantiviralp.com/">valtrex pills soup</a> valacyclovir online calm
Ignihc
claritin restless - <a href="https://clatadine.top/">claritin pills explain</a> claritin pills unknown
Ojtpnw
claritin pills preserve - <a href="https://clatadine.top/">claritin pills sail</a> claritin pills warm
Qsojev
priligy charles - <a href="https://prilixgn.top/">priligy damage</a> priligy otherwise
Xjnuso
promethazine rail - <a href="https://prohnrg.com/">promethazine marriage</a> promethazine soup
Nhenqv
ascorbic acid sunlight - <a href="https://ascxacid.com/">ascorbic acid distance</a> ascorbic acid choose
Tcbqcs
biaxin pills favour - <a href="https://gastropls.com/">clarithromycin pills mend</a> cytotec courage
Oldpwa
florinef click - <a href="https://gastroplusp.com/omepprilosec/">prilosec pills swell</a> lansoprazole pills data
Vgaamp
order bisacodyl 5 mg generic - <a href="https://gastroinfop.com/oxybutynin/">cost ditropan 5mg</a> order generic liv52 20mg
Yrlgaj
buy rabeprazole generic - <a href="https://gastrointesl.com/domperidone/">where can i buy motilium</a> domperidone 10mg over the counter
Igdezz
bactrim 480mg drug - <a href="https://cotrioxazo.com/">cotrimoxazole cheap</a> tobra over the counter
Zwmoaf
buy zovirax sale - <a href="https://cerazestrel.com/">desogestrel uk</a> buy duphaston 10 mg
Ytekoi
buy forxiga 10mg for sale - <a href="https://precarbos.com/">precose us</a> how to buy precose
Zoqglw
order griseofulvin 250 mg generic - <a href="https://dipyrilx.com/">order dipyridamole 100mg online cheap</a> buy lopid medication
Kseqlo
enalapril 5mg pill - <a href="https://doxapisin.com/">doxazosin 1mg cost</a> xalatan us
Servvz
order dimenhydrinate sale - <a href="https://actodronate.com/">risedronate order</a> buy actonel cheap
Fukxvn
order etodolac 600mg generic - <a href="https://etodograph.com/">buy etodolac 600 mg online cheap</a> pletal 100mg ca
Osqdyj
order piroxicam 20mg - <a href="https://rivastilons.com/">order rivastigmine online cheap</a> rivastigmine brand
Gueshs
hydroxyurea for sale - <a href="https://hydroydrinfo.com/pentoxifylline/">pentoxifylline medication</a> buy generic robaxin
Enggij
divalproex 500mg without prescription - <a href="https://adepamox.com/">buy depakote 250mg pill</a> topamax 100mg drug
Ksewtl
norpace cheap - <a href="https://anorpica.com/lamivudine/">epivir 100 mg cost</a> how to get chlorpromazine without a prescription
Wnuzib
cytoxan cost - <a href="https://cycloxalp.com/">buy cytoxan generic</a> vastarel sale
Sxhdqz
buy cheap generic spironolactone - <a href="https://aldantinep.com/naltrexone/">buy naltrexone 50mg generic</a> order naltrexone 50mg pills
Rdezra
cheap flexeril 15mg - <a href="https://abflequine.com/enalapril/">enalapril online</a> enalapril usa
Cprzoj
order ondansetron 4mg without prescription - <a href="https://azofarininfo.com/ropinirole/">order requip 1mg online cheap</a> requip 2mg uk
Mqqjxs
buy ascorbic acid without a prescription - <a href="https://mdacidinfo.com/">ascorbic acid 500mg brand</a> order prochlorperazine
Azodsd
durex gel online order - <a href="https://xalaplinfo.com/">durex gel purchase online</a> cost zovirax
Ifxtcx
purchase rogaine generic - <a href="https://hairlossmedinfo.com/">how to get rogaine without a prescription</a> finpecia usa
Jyiesu
leflunomide order online - <a href="https://infohealthybones.com/risedronate/">buy actonel 35mg for sale</a> cartidin online buy
Jmmiup
order generic atenolol 100mg - <a href="https://heartmedinfox.com/sotalol/">purchase sotalol online</a> generic coreg 6.25mg
Ebjxvt
verapamil without prescription - <a href="https://infoheartdisea.com/">buy calan generic</a> cheap tenoretic pill
Brkdwi
cost atorvastatin - <a href="https://infoxheartmed.com/enalapril/">enalapril 5mg price</a> nebivolol price
Cjhcyb
purchase gasex generic - <a href="https://herbalinfomez.com/diabecon/">buy generic diabecon for sale</a> order diabecon pill
Stcgqv
order lasuna pill - <a href="https://infoherbalmz.com/">buy lasuna</a> purchase himcolin sale
Vlalyv
where can i buy noroxin - <a href="https://gmenshth.com/">buy noroxin cheap</a> buy generic confido over the counter
Nstgyr
order speman - <a href="https://spmensht.com/himplasia/">cheap himplasia pill</a> cheap finasteride sale
Fawpbk
buy finax - <a href="https://finmenura.com/alfuzosin/">uroxatral 10 mg brand</a> alfuzosin 10 mg cost
Eqfidx
hytrin 5mg generic - <a href="https://hymenmax.com/dutasteride/">buy cheap dutasteride</a> buy dapoxetine without prescription
Tvrjif
oxcarbazepine 300mg canada - <a href="https://trileoxine.com/levothyroxine/">levothroid brand</a> buy synthroid sale
Eomimx
duphalac price - <a href="https://duphalinfo.com/betahistine/">betahistine 16 mg pills</a> buy betahistine generic
Pjmsvf
cyclosporine cheap - <a href="https://asimusxate.com/gloperba/">gloperba cost</a> colcrys 0.5mg drug
Onkisw
buy calcort cheap - <a href="https://lazacort.com/brimonidine/">buy alphagan</a> how to get brimonidine without a prescription
Gdyzkz
buy besivance no prescription - <a href="https://besifxcist.com/sildamax/">sildamax medication</a> purchase sildamax without prescription
Aqkqef
brand gabapentin - <a href="https://aneutrin.com/sulfasalazine/">buy azulfidine 500 mg sale</a> order generic azulfidine 500mg
Fadsts
order probenecid 500mg online - <a href="https://bendoltol.com/carbamazepine/">how to get tegretol without a prescription</a> order carbamazepine 200mg pill
Uxdavv
buy celebrex 100mg sale - <a href="https://celespas.com/flavoxate/">cost flavoxate</a> indomethacin 75mg drug
Ggxcup
buy mebeverine 135 mg without prescription - <a href="https://coloxia.com/">mebeverine 135mg usa</a> oral cilostazol 100mg
Baxbvr
order voltaren 100mg pill - <a href="https://dicloltarin.com/">diclofenac 50mg ca</a> aspirin oral
Blpnii
buy rumalaya online - <a href="https://rumaxtol.com/amitriptyline/">order amitriptyline for sale</a> brand elavil
Yrmefj
order mestinon 60mg for sale - <a href="https://mestonsx.com/azathioprine/">buy cheap azathioprine</a> azathioprine 50mg canada
Nnrkju
buy diclofenac pills - <a href="https://vovetosa.com/tisosorbide/">order imdur 20mg for sale</a> nimotop where to buy
Ngwmlr
buy ozobax pills - <a href="https://baclion.com/">order lioresal online cheap</a> buy piroxicam no prescription
Gtrumx
meloxicam where to buy - <a href="https://meloxiptan.com/">buy generic mobic 7.5mg</a> ketorolac price
Zaaall
buy periactin 4mg generic - <a href="https://periheptadn.com/aszanaflex/">tizanidine 2mg us</a> buy zanaflex tablets
Umdlgu
cost artane - <a href="https://voltapll.com.com/">artane for sale</a> purchase emulgel sale
Lsynys
buy omnicef 300mg pill - <a href="https://omnixcin.com/">buy omnicef sale</a> buy cleocin sale
Mjtsrb
order accutane 20mg pill - <a href="https://aisotane.com/asavlosulfon/">dapsone 100 mg canada</a> deltasone 40mg ca
Txinvl
order generic deltasone 20mg - <a href="https://apreplson.com/permethrin/">buy permethrin without prescription</a> buy generic elimite
Nktavr
order permethrin sale - <a href="https://actizacs.com/tretinoin/">buy tretinoin gel generic</a> cheap tretinoin
Cjrhen
order betnovate online cheap - <a href="https://betnoson.com/awdifferin/">purchase adapalene</a> buy benoquin no prescription
Ikttzq
metronidazole 400mg ca - <a href="https://ametronles.com/">flagyl 400mg without prescription</a> brand cenforce 100mg
Ysgtxy
generic clavulanate - <a href="https://baugipro.com/">augmentin 625mg cheap</a> purchase levothyroxine online
Njjswq
buy cleocin 150mg for sale - <a href="https://clinycinpl.com/">buy generic cleocin for sale</a> buy generic indocin
Mktlta
losartan sale - <a href="https://cozartan.com/">order cozaar 50mg pill</a> order cephalexin 250mg online
Etbqkj
order crotamiton without prescription - <a href="https://aeuracream.com/abactroban/">how to buy mupirocin</a> order aczone online cheap
Ewkopy
order modafinil 100mg pills - <a href="https://sleepagil.com/phenergan/">how to buy phenergan</a> melatonin 3 mg generic
Evknqp
order zyban 150mg generic - <a href="https://bupropsl.com/">buy bupropion 150 mg sale</a> purchase shuddha guggulu pills
Dbnzoq
xeloda pills - <a href="https://xelocap.com/mefenamicacid/">buy mefenamic acid for sale</a> danocrine 100mg drug
Irfrxo
purchase progesterone pill - <a href="https://apromid.com/clomipheneferto/">buy fertomid cheap</a> buy generic clomiphene for sale
Oprvjf
buy fosamax 70mg pills - <a href="https://pilaxmax.com/tamoxifen/">nolvadex price</a> order medroxyprogesterone 5mg without prescription
Alajjb
order norethindrone 5mg without prescription - <a href="https://norethgep.com/lumigan/">lumigan allergy spray</a> yasmin over the counter
Yuvywl
cabergoline 0.25mg for sale - <a href="https://adostilin.com/cabgolin/">order cabgolin pill</a> order alesse pills
Eoihih
estrace 2mg uk - <a href="https://festrolp.com/anastrozole/">where to buy arimidex without a prescription</a> purchase anastrozole for sale
Wkbicq
バイアグラ通販で買えますか - <a href="https://jpedpharm.com/">バイアグラ 薬局で買える</a> シアリス の購入
Tsnumx
プレドニン 値段 - <a href="https://jpaonlinep.com/">プレドニン おすすめ</a> アジスロマイシン 飲み方
Aeqtja
プレドニン 個人輸入 おすすめ - <a href="https://jpanfarap.com/jpadoxycycline/">ドキシサイクリン 市販 おすすめ</a> アキュテイン通販
Sfiubv
eriacta patient - <a href="https://eriagra.com/dapcalisb/">apcalis grip</a> forzest bronze