index
int64 0
731k
| package
stringlengths 2
98
⌀ | name
stringlengths 1
76
| docstring
stringlengths 0
281k
⌀ | code
stringlengths 4
8.19k
| signature
stringlengths 2
42.8k
⌀ | embed_func_code
listlengths 768
768
|
|---|---|---|---|---|---|---|
710,703
|
yt_dlp.postprocessor.ffmpeg
|
_fixup_chapters
| null |
def _fixup_chapters(self, info):
last_chapter = traverse_obj(info, ('chapters', -1))
if last_chapter and not last_chapter.get('end_time'):
last_chapter['end_time'] = self._get_real_video_duration(info['filepath'])
|
(self, info)
|
[
-0.023317987099289894,
0.10792199522256851,
-0.07220379263162613,
-0.00782643724232912,
-0.042554888874292374,
-0.03467177227139473,
0.018486959859728813,
0.09403932839632034,
-0.026003828272223473,
0.010577680543065071,
0.004122504964470863,
0.0006300390814431012,
0.028986159712076187,
-0.004678421653807163,
-0.00530192069709301,
0.03665999323129654,
0.035439155995845795,
0.01412682794034481,
-0.012304292991757393,
-0.02630031667649746,
0.02956169657409191,
-0.07478498667478561,
-0.03924119099974632,
0.02234131656587124,
-0.03669487312436104,
0.0076520321890711784,
-0.016289453953504562,
0.021347207948565483,
-0.017553891986608505,
-0.03402647003531456,
-0.019585713744163513,
0.019167141988873482,
0.0376017801463604,
0.023527273908257484,
-0.005982101429253817,
0.0021092139650136232,
-0.02560269646346569,
-0.04740335792303085,
-0.05385635420680046,
0.0860864520072937,
-0.0020045707933604717,
0.02736418880522251,
-0.04921717196702957,
-0.006213188171386719,
0.011754916049540043,
-0.017344605177640915,
0.012321733869612217,
0.006810526363551617,
-0.009121396578848362,
-0.012862389907240868,
-0.0024024327285587788,
-0.06895985454320908,
0.04893812537193298,
-0.01832999661564827,
0.009792856872081757,
0.016742907464504242,
-0.021783219650387764,
0.046042997390031815,
0.019568273797631264,
0.022428520023822784,
0.03228241950273514,
-0.031270869076251984,
-0.01293215248733759,
0.00783079769462347,
0.04349667951464653,
-0.010089346207678318,
0.09550433605909348,
-0.04886836186051369,
-0.03264867141842842,
0.03137551248073578,
0.012234531342983246,
-0.0034706653095781803,
0.007390424143522978,
0.03172432258725166,
-0.013028074987232685,
-0.04834514483809471,
-0.08490049093961716,
0.03899702429771423,
0.04569418728351593,
-0.003634170163422823,
-0.0006371242925524712,
-0.006723323836922646,
0.03638094291090965,
-0.017841661348938942,
0.03284051641821861,
0.03774130344390869,
0.06334400177001953,
-0.07185497879981995,
-0.03791571035981178,
0.0552864745259285,
-0.029212886467576027,
-0.04067131504416466,
-0.007534308359026909,
-0.04395013302564621,
0.016210971400141716,
0.023021498695015907,
-0.03048604354262352,
-0.0298233050853014,
-0.03686927631497383,
-0.0641462653875351,
-0.0008322402136400342,
-0.021050717681646347,
0.016882432624697685,
-0.016681866720318794,
0.0017636734992265701,
-0.054867904633283615,
-0.014868050813674927,
-0.04656621068716049,
0.013542570173740387,
0.008218849077820778,
-0.044019896537065506,
-0.0053542423993349075,
-0.05811184272170067,
-0.030102353543043137,
0.03271843120455742,
-0.061076730489730835,
0.005053393077105284,
-0.042973462492227554,
-0.002589918440207839,
-0.0030935138929635286,
0.06864592432975769,
-0.0816216766834259,
-0.04499656334519386,
-0.045833710581064224,
-0.06369280815124512,
-0.07478498667478561,
-0.02073678933084011,
0.045589543879032135,
0.008340933360159397,
-0.01444947812706232,
-0.013934982940554619,
-0.0051536764949560165,
-0.014231471344828606,
-0.02868966944515705,
0.013577451929450035,
-0.00328317959792912,
-0.013830339536070824,
0.020004287362098694,
-0.03467177227139473,
-0.04224096238613129,
-0.0419619120657444,
0.007355542853474617,
0.041194528341293335,
-0.03571820259094238,
0.0038260160945355892,
0.01792886294424534,
-0.006527117919176817,
-0.009548689238727093,
-0.062158044427633286,
0.009880059398710728,
-0.0088336281478405,
-0.0088249072432518,
0.005437084939330816,
0.00807932484894991,
0.030608128756284714,
-0.08817931264638901,
-0.03815987706184387,
0.010002143681049347,
-0.02520156465470791,
0.010874169878661633,
0.03889238089323044,
-0.05992565676569939,
-0.02010892890393734,
0.006317831575870514,
-0.02056238427758217,
-0.010185268707573414,
0.0115805109962821,
-0.0286722294986248,
0.01962059549987316,
0.06309983134269714,
0.058844342827796936,
0.07918000221252441,
-0.02781764417886734,
-0.0077871959656476974,
0.0573793388903141,
0.031270869076251984,
0.022602925077080727,
-0.04771728813648224,
0.042764175683259964,
0.02075422927737236,
-0.016952194273471832,
0.006051863543689251,
0.012513579800724983,
0.03704368323087692,
0.031480155885219574,
0.012217090465128422,
0.006675362586975098,
-0.010438156314194202,
-0.01117065828293562,
-0.027067700400948524,
-0.009444046765565872,
0.008332212455570698,
-0.0011870459420606494,
-0.004722023382782936,
0.046077877283096313,
0.041822388768196106,
0.038752853870391846,
0.028829194605350494,
0.036346063017845154,
-0.014048346318304539,
-0.04067131504416466,
-0.02338774874806404,
0.00025057134917005897,
-0.060832563787698746,
0.021260004490613937,
0.08587716519832611,
-0.0003043917240574956,
0.016080167144536972,
-0.08748169243335724,
0.04551978036761284,
-0.016228411346673965,
-0.007250899914652109,
0.04258977249264717,
-0.08406335115432739,
-0.012295573018491268,
-0.037008803337812424,
-0.032788194715976715,
-0.006213188171386719,
0.00322649790905416,
0.028114132583141327,
-0.03182896599173546,
0.024870194494724274,
0.013725696131587029,
-0.0010262661380693316,
0.01792886294424534,
-0.041822388768196106,
0.00048533722292631865,
0.009103955700993538,
-0.028654789552092552,
-0.0014355735620483756,
-0.047821931540966034,
-0.011972922831773758,
-0.10771270841360092,
0.010961372405290604,
-0.005424004513770342,
0.04234560579061508,
-0.040078334510326385,
0.0008453206392005086,
0.01281006820499897,
-0.0010622371919453144,
0.02012637071311474,
0.028445502743124962,
-0.05260063335299492,
0.02582942321896553,
-0.03952023759484291,
-0.03693903982639313,
0.05144955962896347,
-0.00420098751783371,
-0.029927946627140045,
0.05127515643835068,
0.06257661432027817,
-0.01478956826031208,
-0.014519240707159042,
0.016899872571229935,
0.008689743466675282,
-0.051379796117544174,
-0.055984098464250565,
-0.020265894010663033,
-0.01678650826215744,
-0.009548689238727093,
-0.016603384166955948,
-0.015940643846988678,
-0.01836487650871277,
0.04234560579061508,
-0.000931433227378875,
0.03268355131149292,
0.03357301652431488,
-0.03582284599542618,
-0.10268983244895935,
0.013961142860352993,
-0.04485704004764557,
-0.09124884754419327,
-0.04876371845602989,
-0.004783065058290958,
0.0029147483874112368,
0.06316959857940674,
-0.0019936703611165285,
-0.08517954498529434,
-0.054693497717380524,
0.05392611399292946,
0.003006311133503914,
-0.00022195797646418214,
0.027433952316641808,
-0.011205540038645267,
0.04722895100712776,
-0.017048116773366928,
-0.0009183528600260615,
0.03683439642190933,
-0.019167141988873482,
0.031201105564832687,
-0.028114132583141327,
-0.008441216312348843,
0.004909508861601353,
0.014327394776046276,
0.018661364912986755,
-0.012347894720733166,
-0.03352069482207298,
-0.0028428062796592712,
-0.0017244323389604688,
-0.04510120674967766,
-0.041857268661260605,
0.005162396468222141,
0.000566817179787904,
0.004953110124915838,
-0.06711115688085556,
0.021713458001613617,
-0.008872869424521923,
0.0032570187468081713,
0.07380831986665726,
-0.059088513255119324,
0.017606213688850403,
-0.023684239014983177,
-0.006317831575870514,
0.06480900198221207,
-0.027869965881109238,
0.014048346318304539,
-0.0016906412784010172,
0.059053629636764526,
-0.023021498695015907,
0.06135578081011772,
-0.05849553272128105,
0.04461287334561348,
0.009679493494331837,
0.007154976949095726,
0.0860864520072937,
-0.05835600942373276,
0.017981184646487236,
0.030782533809542656,
-0.0025855584535747766,
-0.009784136898815632,
-0.020911194384098053,
0.035212427377700806,
-0.013708255253732204,
-0.0036799516528844833,
-0.023788880556821823,
-0.014187870547175407,
-0.052705276757478714,
0.0035251667723059654,
0.06114649400115013,
0.02364935725927353,
0.029021039605140686,
-0.012007803656160831,
0.004691502079367638,
0.003036831971257925,
0.10010863840579987,
0.006535838358104229,
0.04967062547802925,
0.00312403473071754,
-0.011632832698523998,
-0.007752315141260624,
-0.037880826741456985,
-0.051100749522447586,
0.013996024616062641,
0.04904276877641678,
-0.03770642355084419,
-0.02823621593415737,
0.024660907685756683,
-0.08755145221948624,
-0.0110572949051857,
-0.01834743656218052,
0.010202709585428238,
0.05141467973589897,
-0.011789797805249691,
0.020719347521662712,
0.017344605177640915,
0.0032679191790521145,
0.00447349576279521,
0.020911194384098053,
0.016952194273471832,
-0.009548689238727093,
-0.03617165610194206,
0.005502487067133188,
0.09634148329496384,
-0.00872026477009058,
0.034793853759765625,
-0.025951506569981575,
0.03364278003573418,
0.07119224220514297,
-0.006618680898100138,
0.00041121497633866966,
-0.014745967462658882,
0.045380257070064545,
-0.04942645877599716,
0.00713317608460784,
-0.04454310983419418,
-0.022463401779532433,
0.03641582280397415,
-0.005140596069395542,
0.0009984702337533236,
0.004940029699355364,
-0.016516180709004402,
0.043392036110162735,
-0.03683439642190933,
-0.02253316342830658,
0.028637347742915154,
0.011196819134056568,
0.006056223530322313,
-0.023352868854999542,
0.03627629950642586,
0.013498969376087189,
0.05005431920289993,
-0.016289453953504562,
-0.025968946516513824,
0.04719407111406326,
-0.0006671002483926713,
0.003333321074023843,
0.07590118050575256,
0.0352996289730072,
0.007202938199043274,
-0.008554579690098763,
-0.021382087841629982,
-0.06247197464108467,
0.01293215248733759,
0.0463569238781929,
-0.0048048654571175575,
0.009348123334348202,
0.003634170163422823,
-0.04750800132751465,
-0.015373826026916504,
0.01588832214474678,
0.03514266386628151,
0.05483302101492882,
-0.005437084939330816,
0.045624423772096634,
0.050926342606544495,
-0.009182438254356384,
-0.005110074765980244,
-0.008698463439941406,
0.007490707095712423,
-0.04021785780787468,
0.05560040473937988,
-0.05430980771780014,
-0.01834743656218052,
-0.03718320652842522,
0.02514924295246601,
0.06303007155656815,
0.030294198542833328,
0.0020492621697485447,
-0.035020582377910614,
0.054658617824316025,
-0.02518412284553051,
0.025951506569981575,
-0.0165685024112463,
-0.004778705071657896,
0.08141238987445831,
-0.010821848176419735,
0.02914312295615673,
-0.04754288122057915,
-0.028166454285383224,
-0.0037409933283925056,
-0.04918229207396507,
0.020039167255163193,
-0.04597323387861252,
-0.04733359441161156,
0.01572263613343239,
-0.00926092080771923,
0.030834855511784554,
0.07105271518230438,
-0.027433952316641808,
-0.014083227142691612,
-0.028131572529673576,
0.05054265260696411,
0.060169823467731476,
-0.008707184344530106,
0.0574142225086689,
0.004281649831682444,
-0.010411995463073254,
-0.03418343514204025,
-0.10457341372966766,
-0.020649585872888565,
0.01369953528046608,
-0.0026640407741069794,
0.04157822206616402,
0.03889238089323044,
-0.022184353321790695,
-0.04133405163884163,
0.023771440610289574,
-0.011763636954128742,
0.03899702429771423,
0.02012637071311474,
0.08224953711032867,
-0.007442745845764875,
-0.014196590520441532,
-0.02251572348177433,
0.009426605887711048,
0.004044022411108017,
-0.03868309408426285,
-0.004682782106101513,
-0.017824219539761543,
-0.04000857472419739,
-0.004778705071657896,
-0.016708025708794594,
-0.05800719931721687,
-0.0021746158599853516,
0.04663597419857979,
0.0058294967748224735,
0.05235646665096283,
0.03575308248400688,
0.019254343584179878,
-0.03371254354715347,
0.012775187380611897,
-0.013996024616062641,
0.03913654759526253,
-0.08510977774858475,
-0.052670396864414215,
0.02007404901087284,
-0.02295173518359661,
0.010865449905395508,
-0.04778704792261124,
0.0297709833830595,
0.03245682269334793,
-0.005955940578132868,
-0.026666568592190742,
0.0005425639683380723,
-0.010891609825193882,
0.050228722393512726,
-0.07855214178562164,
-0.002690201625227928,
0.09320218861103058,
0.01587960124015808,
-0.020701907575130463,
-0.02961401827633381,
0.06596007943153381,
-0.027311868965625763,
0.006117265671491623,
-0.005777175072580576,
-0.04398501291871071,
0.008218849077820778,
0.026893295347690582,
-0.033014919608831406,
-0.00350990635342896,
-0.03659022971987724,
0.04838002845644951,
0.005057753529399633,
0.005519927479326725,
-0.0047917854972183704,
0.014057066291570663,
-0.03564843907952309,
0.031096462160348892,
-0.0041944473050534725,
0.03463688865303993,
-0.053333137184381485,
0.011188099160790443,
-0.017719577997922897,
0.0331021249294281,
-0.016899872571229935,
-0.0018922974122688174,
0.008999313227832317,
0.04946133866906166,
0.07380831986665726,
-0.09682981669902802,
0.015757517889142036,
0.03777618706226349,
0.04147357866168022,
-0.025899184867739677,
0.003492465941235423,
-0.008981872349977493,
-0.07227355241775513,
0.06721580028533936,
-0.00906035490334034,
0.025131801143288612,
0.020719347521662712,
0.024870194494724274,
-0.02099839597940445,
0.010909050703048706,
0.0464266873896122,
0.0019010176183655858,
0.039415594190359116,
0.0298233050853014,
0.0419270321726799,
0.01789398305118084,
0.02338774874806404,
-0.07583142071962357,
-0.031916167587041855,
-0.03847380727529526,
-0.012714145705103874,
-0.02075422927737236,
0.017623653635382652,
0.06278590112924576,
-0.017728297039866447,
0.035404272377491,
-0.013734416104853153,
0.07904047518968582,
0.0002760508796200156,
0.015295343473553658,
-0.06446019560098648,
0.03679951652884483,
0.02078911103308201,
0.0772964209318161,
0.018853211775422096,
-0.05675148218870163,
-0.030608128756284714,
0.011013694107532501,
-0.05563528835773468,
0.05033336579799652,
-0.023562153801321983,
0.01789398305118084,
-0.02493995614349842,
-0.08043571561574936,
-0.009365564212203026,
0.016742907464504242,
-0.011624112725257874,
-0.03777618706226349,
0.04792657494544983,
-0.04241536557674408,
0.015609273687005043,
0.0008900119573809206,
-0.0035862086806446314,
-0.03428807854652405,
0.018016066402196884,
0.005454525351524353,
0.026247994974255562,
0.029317529872059822,
-0.006418114528059959,
-0.03264867141842842,
0.002260728506371379,
0.003972080536186695,
-0.03924119099974632,
0.0029191086068749428,
0.03374742344021797,
-0.05437956750392914,
-0.015295343473553658,
-0.039694644510746,
0.010673603974282742,
-0.08455168455839157,
0.0009434235980734229,
0.02938729152083397,
0.009121396578848362,
-0.013342004269361496,
-0.056891005486249924,
0.03517754748463631,
-0.04377572610974312,
-0.008266810327768326,
0.04942645877599716,
-0.06010006368160248,
0.02405048906803131,
-0.029858184978365898,
-0.041647981852293015,
0.06529734283685684,
0.04374084621667862,
0.041857268661260605,
-0.038508687168359756,
-0.017144039273262024,
0.044752396643161774,
-0.07185497879981995,
0.054902784526348114,
0.0464615672826767,
-0.02007404901087284,
-0.035683322697877884,
0.04876371845602989,
0.05117051303386688,
0.009112676605582237,
0.0054196445271372795,
-0.009138837456703186,
-0.02516668289899826,
-0.0018443359294906259,
0.04967062547802925,
0.013333284296095371,
-0.04084571823477745,
0.04025274142622948,
0.03707856312394142,
-0.02232387661933899,
-0.011885720305144787,
-0.062192924320697784,
0.07918000221252441,
-0.0017386027611792088,
-0.005315001122653484,
0.010970092378556728,
-0.005698692984879017,
-0.012190929614007473,
0.006889008916914463,
-0.016646984964609146,
-0.0010764076141640544,
-0.01697835512459278,
-0.003017211565747857,
0.008981872349977493,
-0.02560269646346569,
0.03777618706226349,
0.054414451122283936,
0.022166911512613297,
0.00301067135296762,
0.033032361418008804,
0.00650967750698328,
0.008803106844425201,
0.031462714076042175,
0.07408736646175385,
-0.01725740358233452,
0.037671543657779694,
0.015234301798045635,
-0.04213631898164749,
0.020213572308421135,
0.0029125683940947056,
-0.0772964209318161,
0.0017200721194967628,
0.008803106844425201,
-0.043426916003227234,
-0.004900788422673941,
-0.006553278770297766,
0.025724779814481735,
-0.03556123748421669,
0.06491364538669586,
0.022794771939516068,
0.015408706851303577,
-0.03924119099974632,
-0.017126599326729774,
-0.03486361727118492,
0.03868309408426285,
-0.0014759047189727426,
-0.03662510961294174,
0.013394325971603394,
0.015120938420295715,
0.07841261476278305,
-0.014658764936029911,
-0.01304551586508751,
-0.03725297003984451,
0.03154991567134857,
0.044089656323194504,
0.005541727878153324,
0.045833710581064224,
-0.016228411346673965,
0.01923690363764763,
-0.00312403473071754,
-0.004105064552277327,
0.05919315665960312,
-0.038543567061424255,
0.012417656369507313,
0.004979270976036787,
-0.008650502189993858,
0.013158879242837429,
-0.017318444326519966,
-0.05033336579799652,
-0.07331998646259308,
0.011414825916290283,
0.009164998307824135,
-0.02851526439189911,
0.0221145898103714,
-0.015408706851303577,
0.014196590520441532,
0.03505546227097511,
-0.016873711720108986,
-0.07126200199127197,
0.0507170595228672,
0.02319590374827385,
0.061041850596666336,
-0.012731585651636124,
-0.057553745806217194,
0.0220622681081295,
0.001316759968176484,
0.021521613001823425,
0.0034968259278684855,
0.03383462503552437,
0.014283793047070503,
-0.05699564889073372,
0.022602925077080727,
-0.02120768278837204,
-0.029701219871640205,
0.0014148629270493984,
0.017362046986818314,
0.01592320203781128,
0.03111390396952629,
0.012757746502757072,
-0.017065556719899178,
0.04356643930077553,
0.041438695043325424,
0.01747540943324566,
0.02054494246840477,
0.042973462492227554,
0.030102353543043137
] |
710,714
|
yt_dlp.postprocessor.ffmpeg
|
concat_files
|
Use concat demuxer to concatenate multiple files having identical streams.
Only inpoint, outpoint, and duration concat options are supported.
See https://ffmpeg.org/ffmpeg-formats.html#concat-1 for details
|
def concat_files(self, in_files, out_file, concat_opts=None):
"""
Use concat demuxer to concatenate multiple files having identical streams.
Only inpoint, outpoint, and duration concat options are supported.
See https://ffmpeg.org/ffmpeg-formats.html#concat-1 for details
"""
concat_file = f'{out_file}.concat'
self.write_debug(f'Writing concat spec to {concat_file}')
with open(concat_file, 'w', encoding='utf-8') as f:
f.writelines(self._concat_spec(in_files, concat_opts))
out_flags = list(self.stream_copy_opts(ext=determine_ext(out_file)))
self.real_run_ffmpeg(
[(concat_file, ['-hide_banner', '-nostdin', '-f', 'concat', '-safe', '0'])],
[(out_file, out_flags)])
self._delete_downloaded_files(concat_file)
|
(self, in_files, out_file, concat_opts=None)
|
[
-0.09047721326351166,
-0.013968131504952908,
-0.08066128939390182,
0.01668884977698326,
-0.024575375020503998,
0.04420722275972366,
0.0068284692242741585,
-0.00502799404785037,
-0.030941501259803772,
0.0239174235612154,
0.0022016922011971474,
-0.007575333118438721,
0.017826927825808525,
0.048795100301504135,
0.03131493180990219,
0.00022464263020083308,
0.06515497714281082,
-0.049790918827056885,
0.011087371036410332,
0.016013115644454956,
-0.016804436221718788,
0.03467581793665886,
-0.05224490165710449,
-0.013985914178192616,
-0.01840485818684101,
0.01706228218972683,
-0.019116157665848732,
-0.027313876897096634,
-0.07016963511705399,
0.03481807932257652,
-0.010011531412601471,
-0.008900127373635769,
0.013319071382284164,
-0.06839138269424438,
-0.07244578748941422,
-0.014955058693885803,
-0.0016170934541150928,
0.03584946319460869,
-0.07433073222637177,
0.03933482617139816,
0.04659007489681244,
-0.05921563133597374,
0.010189356282353401,
-0.0041610985063016415,
0.04530973732471466,
0.06117170304059982,
-0.04232228174805641,
0.02528667449951172,
-0.02896764688193798,
-0.008286631666123867,
0.03625845909118652,
-0.027331659570336342,
-0.0077753858640789986,
0.02471763640642166,
-0.01038496382534504,
0.0666487067937851,
-0.00366763467900455,
0.036703020334243774,
-0.011780887842178345,
0.0244686808437109,
-0.05377419292926788,
-0.03104819543659687,
0.05793529376387596,
0.017302345484495163,
0.011202957481145859,
-0.006112724542617798,
-0.0334310457110405,
-0.037414319813251495,
-0.08073242008686066,
-0.005881552584469318,
-0.0021861325949430466,
-0.0259090606123209,
-0.030763676390051842,
0.013479113578796387,
-0.01569303125143051,
0.01100734993815422,
-0.023152777925133705,
0.017311235889792442,
0.019827455282211304,
-0.008477793075144291,
0.010180464945733547,
-0.014110391028225422,
-0.02861199714243412,
0.022512609139084816,
0.059180065989494324,
-0.04719467833638191,
0.01340798381716013,
-0.07546880841255188,
-0.04221558943390846,
0.012261014431715012,
-0.027207180857658386,
0.01931176334619522,
0.04072185978293419,
-0.002902988577261567,
0.022797128185629845,
-0.03104819543659687,
-0.056726083159446716,
0.004578986670821905,
-0.0343201719224453,
-0.012154319323599339,
-0.02500215545296669,
-0.029838986694812775,
-0.0007396396831609309,
-0.02916325256228447,
0.0644436776638031,
-0.020005280151963234,
-0.0360984168946743,
-0.02654922939836979,
-0.025233326479792595,
0.013399092480540276,
0.020200887694954872,
-0.04424278810620308,
0.06583070755004883,
-0.07354830205440521,
0.04267793148756027,
-0.04267793148756027,
0.030621416866779327,
0.03691641241312027,
-0.013301288709044456,
-0.013301288709044456,
0.051391344517469406,
0.021374531090259552,
-0.004303358029574156,
-0.05839763581752777,
-0.0013325739419087768,
-0.06113613769412041,
0.05146247148513794,
0.007717592641711235,
0.006486156489700079,
0.020165322348475456,
-0.016208723187446594,
-0.009335797280073166,
0.003045248333364725,
-0.0015837514074519277,
0.0019694087095558643,
-0.006784013006836176,
0.026513665914535522,
0.01258999016135931,
-0.023241691291332245,
0.014866146259009838,
-0.0006735111237503588,
0.005041330587118864,
-0.005628152284771204,
0.0411842055618763,
0.002771842759102583,
-0.005179144907742739,
-0.006468373816460371,
-0.05000431090593338,
-0.002402856480330229,
0.050680045038461685,
0.0003331434854771942,
0.03179505839943886,
-0.066862091422081,
0.02471763640642166,
0.06174074113368988,
-0.026691490784287453,
-0.023881860077381134,
0.018031425774097443,
-0.07553993910551071,
-0.029358860105276108,
0.026015756651759148,
0.030283549800515175,
-0.009202429093420506,
0.026780402287840843,
-0.034071214497089386,
-0.012349926866590977,
-0.006921826861798763,
0.08941026777029037,
0.012536642141640186,
0.03186618909239769,
0.0682135596871376,
0.029109906405210495,
0.04061516374349594,
-0.03243522718548775,
0.0065261670388281345,
0.021587921306490898,
-0.025233326479792595,
-0.007842070423066616,
0.018280381336808205,
-0.020876621827483177,
-0.08130145817995071,
0.006730665452778339,
0.023437296971678734,
-0.020805491134524345,
0.01246551238000393,
0.042820192873477936,
0.024148596450686455,
-0.011362999677658081,
0.0739750787615776,
-0.08699185401201248,
0.016022006049752235,
0.016377655789256096,
-0.006375016178935766,
0.019454024732112885,
-0.01788027584552765,
-0.05075117573142052,
-0.01716008596122265,
-0.021961351856589317,
0.06913825124502182,
-0.005250274669378996,
-0.07159223407506943,
0.030301332473754883,
0.052316032350063324,
-0.05982023477554321,
0.06174074113368988,
0.02852308377623558,
-0.0024984371848404408,
0.06611523032188416,
-0.04314027726650238,
0.04036621004343033,
0.03394673764705658,
-0.04541643336415291,
0.025393368676304817,
-0.028914298862218857,
0.00537475198507309,
0.009593643248081207,
-0.025215545669198036,
-0.003676526015624404,
-0.030923718586564064,
0.01182534359395504,
0.03348439559340477,
-0.006957392208278179,
-0.03332435339689255,
0.07244578748941422,
0.0036365154664963484,
0.019987497478723526,
0.07006293535232544,
0.04349592700600624,
-0.021072229370474815,
-0.00975368544459343,
0.03880135342478752,
-0.0014792793663218617,
-0.00015101207827683538,
-0.0031052641570568085,
-0.03933482617139816,
0.03901474177837372,
0.04669677093625069,
-0.001193648437038064,
-0.008744530379772186,
-0.029394425451755524,
-0.0369875393807888,
0.0033097625710070133,
-0.01924063451588154,
-0.01924063451588154,
0.0224770437926054,
-0.05633487179875374,
-0.012154319323599339,
0.0028652006294578314,
-0.042108893394470215,
0.0978747233748436,
0.07066754251718521,
0.029590032994747162,
0.00938914529979229,
-0.018724942579865456,
0.011896473355591297,
-0.013754742220044136,
-0.08628055453300476,
-0.09695003181695938,
0.025019938126206398,
-0.022583739832043648,
0.03565385565161705,
-0.005365860648453236,
0.0034564679954200983,
0.013985914178192616,
-0.07166335731744766,
-0.023081647232174873,
0.005774857476353645,
-0.03485364466905594,
-0.08805879950523376,
-0.008655617944896221,
0.06632862240076065,
0.009887054562568665,
-0.054556623101234436,
0.02032536454498768,
-0.008437782526016235,
0.018209250643849373,
0.009682555682957172,
0.022548174485564232,
0.04883066564798355,
-0.01038496382534504,
0.03529820591211319,
0.0025806811172515154,
-0.011887582018971443,
-0.02870090864598751,
0.0323285348713398,
0.011345217004418373,
-0.01106069702655077,
-0.053667500615119934,
-0.017133411020040512,
-0.014421584084630013,
0.029003210365772247,
-0.00668176356703043,
0.015319598838686943,
-0.04221558943390846,
-0.0708809345960617,
0.017186759039759636,
0.006623970810323954,
-0.02050318941473961,
-0.03848126903176308,
-0.009011267684400082,
-0.08635168522596359,
0.036703020334243774,
-0.0210366640239954,
0.026229145005345345,
-0.06504828482866287,
0.0005690390826202929,
-0.01842264086008072,
-0.03513816371560097,
0.020183105021715164,
0.010367181152105331,
-0.01258999016135931,
-0.010767286643385887,
-0.04104194417595863,
0.012581098824739456,
0.0015415180241689086,
0.04566538706421852,
0.03323543816804886,
0.07518429309129715,
-0.012803379446268082,
-0.029358860105276108,
-0.030105724930763245,
0.0597846694290638,
-0.03140384331345558,
0.06967172026634216,
0.04214445874094963,
0.021552355960011482,
0.023775164037942886,
0.01069615688174963,
0.010402745567262173,
-0.03848126903176308,
-0.027776220813393593,
0.007370834704488516,
-0.042642366141080856,
0.0640169009566307,
-0.014732778072357178,
-0.008015449158847332,
0.031012630090117455,
-0.018653811886906624,
0.08336422592401505,
0.02473541721701622,
0.011558606289327145,
0.009424709714949131,
-0.042286716401576996,
-0.0018404858419671655,
-0.04065072908997536,
-0.021694615483283997,
-0.00632166862487793,
0.03241744637489319,
-0.049044057726860046,
-0.04438504949212074,
0.034995902329683304,
0.012981204316020012,
-0.008366652764379978,
0.05007544159889221,
0.08379100263118744,
0.076606884598732,
-0.027064921334385872,
0.018724942579865456,
0.017657995223999023,
0.009504730813205242,
0.04143315926194191,
0.030923718586564064,
0.04250010848045349,
-0.038587965071201324,
-0.007979883812367916,
0.004587877541780472,
0.049150750041007996,
-0.02445089817047119,
-0.04936414211988449,
-0.022886041551828384,
-0.00993151031434536,
0.037236496806144714,
0.041753243654966354,
-0.029838986694812775,
-0.04100637882947922,
0.03666745498776436,
-0.01587085612118244,
0.01966741308569908,
-0.00952251348644495,
0.05587252601981163,
-0.046341121196746826,
0.05576582998037338,
-0.02192578837275505,
0.013621373102068901,
0.005805977154523134,
0.03131493180990219,
0.0005957128014415503,
-0.024219727143645287,
-0.022405914962291718,
0.014279324561357498,
0.0420733280479908,
0.03929926082491875,
-0.03600950539112091,
-0.014768342487514019,
-0.042393412441015244,
-0.06330560147762299,
-0.013496896252036095,
0.015906421467661858,
-0.04225115105509758,
0.0006340562249533832,
0.03078145906329155,
-0.02429085597395897,
-0.0005290285334922373,
0.06693322211503983,
0.008975702337920666,
-0.02311721257865429,
0.04335366562008858,
0.00045789865544065833,
0.029714509844779968,
0.03131493180990219,
-0.05256498605012894,
-0.02907434105873108,
0.0050191027112305164,
0.05569469928741455,
-0.04723024368286133,
0.023223908618092537,
-0.09033495932817459,
-0.072623610496521,
0.028843168169260025,
0.05256498605012894,
0.0012692238669842482,
0.027420571073889732,
0.005490337964147329,
0.03844570368528366,
0.05839763581752777,
-0.05370306596159935,
0.01759575493633747,
-0.003087481716647744,
-0.0184937696903944,
-0.06085161864757538,
-0.011727539822459221,
0.06771565228700638,
-0.0244686808437109,
-0.02393520623445511,
0.06938720494508743,
0.014830580912530422,
0.009851489216089249,
-0.029020993039011955,
0.030639197677373886,
0.053667500615119934,
-0.015728596597909927,
-0.02453981153666973,
0.025677889585494995,
-0.01024270337074995,
-0.030568068847060204,
-0.01948958821594715,
-0.048688407987356186,
0.013194593600928783,
-0.05188925191760063,
0.018280381336808205,
0.01187869068235159,
-0.0002092218928737566,
-0.0360984168946743,
-0.07120101898908615,
0.09652325510978699,
-0.015773052349686623,
0.054200973361730576,
-0.000021898140403209254,
-0.10214252024888992,
-0.03816118463873863,
-0.010891763493418694,
0.037414319813251495,
0.06472819298505783,
0.00144927145447582,
0.02338395081460476,
0.029269948601722717,
0.030123507604002953,
0.01725788787007332,
-0.07589558511972427,
-0.001117517240345478,
0.009149082005023956,
-0.002578458283096552,
-0.026744836941361427,
0.004498965106904507,
0.025233326479792595,
-0.017675776034593582,
-0.03337769955396652,
0.019827455282211304,
0.016573263332247734,
0.005250274669378996,
0.00027993498952127993,
-0.031919535249471664,
0.005792640149593353,
0.01660882867872715,
0.02807852253317833,
0.08492908626794815,
0.06807129830121994,
-0.0357605516910553,
0.0019738543778657913,
-0.007081869523972273,
0.00467234430834651,
-0.015506315045058727,
-0.06273656338453293,
-0.043567053973674774,
-0.009380253963172436,
0.015408511273562908,
-0.03113710694015026,
-0.007361943367868662,
-0.007290813140571117,
0.008028785698115826,
0.02546449936926365,
-0.027118269354104996,
0.0017415707698091865,
-0.026122450828552246,
0.01443936675786972,
0.03801892325282097,
-0.003320876508951187,
-0.025215545669198036,
-0.09695003181695938,
0.0016604382544755936,
-0.01769355870783329,
-0.008135480806231499,
-0.029198817908763885,
0.04260680079460144,
0.028185216709971428,
-0.01169197540730238,
-0.012243231758475304,
0.00295633589848876,
0.057010602205991745,
0.04072185978293419,
-0.03275531157851219,
-0.0184937696903944,
-0.016368765383958817,
0.013399092480540276,
-0.061883002519607544,
-0.03311096131801605,
-0.01635098271071911,
-0.005459218751639128,
-0.03140384331345558,
-0.019525153562426567,
-0.045807648450136185,
0.03613398224115372,
0.0006529501406475902,
-0.01897389627993107,
0.03691641241312027,
-0.03766327351331711,
-0.010865090414881706,
-0.015266251750290394,
0.02221030741930008,
-0.019027244299650192,
0.025571193546056747,
0.021232271566987038,
0.06679096072912216,
-0.003996610641479492,
-0.0447406992316246,
-0.0011914256028831005,
-0.005490337964147329,
0.0606737919151783,
0.14453592896461487,
-0.0021016658283770084,
-0.02526889182627201,
-0.04132646322250366,
0.01948958821594715,
0.03629402443766594,
-0.03517372906208038,
-0.01975632645189762,
0.01984523795545101,
-0.0346580371260643,
-0.004943527281284332,
0.014723886735737324,
0.0507156103849411,
0.07447299361228943,
0.008259957656264305,
-0.05950015038251877,
-0.01804920844733715,
0.0008657840662635863,
-0.026673708111047745,
0.012598881497979164,
0.00502799404785037,
-0.029927900061011314,
-0.005881552584469318,
0.029625598341226578,
-0.08869896829128265,
-0.061527352780103683,
0.006352787837386131,
-0.03937039151787758,
-0.00962031725794077,
0.05697504058480263,
-0.01034050714224577,
-0.011620845645666122,
-0.02916325256228447,
0.025695672258734703,
0.022139176726341248,
0.0056814998388290405,
0.01768466830253601,
0.0008707853849045932,
-0.01331018004566431,
-0.05523235723376274,
0.02121448889374733,
-0.0011197399580851197,
-0.03540490195155144,
-0.002947444561868906,
0.018004752695560455,
0.0006079382728785276,
0.008544477634131908,
-0.030621416866779327,
-0.04630555585026741,
-0.017844710499048233,
-0.018938332796096802,
-0.013194593600928783,
0.023864077404141426,
-0.005370306316763163,
0.023508427664637566,
0.009273558855056763,
-0.018280381336808205,
-0.012785596773028374,
-0.03312874585390091,
-0.009709229692816734,
-0.03983273729681969,
0.04747919738292694,
-0.015755269676446915,
0.08208388835191727,
0.003056362271308899,
-0.022903824225068092,
-0.00005234020500211045,
-0.021605702117085457,
-0.06824912875890732,
0.013336854055523872,
0.03234631568193436,
0.05661939084529877,
-0.009020159021019936,
0.03204401209950447,
-0.06277212500572205,
0.03997499495744705,
-0.015728596597909927,
0.02455759420990944,
-0.031190454959869385,
0.03239966183900833,
-0.03645406663417816,
0.015426293946802616,
0.02573123574256897,
-0.014599408954381943,
0.04388713836669922,
0.0029274392873048782,
0.038587965071201324,
-0.0785985216498375,
-0.03384004533290863,
-0.012732249684631824,
0.0041655441746115685,
-0.009602534584701061,
0.06270099431276321,
-0.07760270684957504,
-0.028665345162153244,
-0.07180561870336533,
-0.01995193399488926,
-0.020520972087979317,
-0.009993748739361763,
-0.03549381345510483,
-0.005614815279841423,
-0.019293982535600662,
0.09951071441173553,
0.015035079792141914,
-0.032364096492528915,
0.01840485818684101,
0.032168492674827576,
-0.024806547909975052,
0.03638293594121933,
0.003965490963310003,
0.02309942990541458,
0.03485364466905594,
0.051675863564014435,
-0.045629821717739105,
0.07610897719860077,
0.010082661174237728,
0.0033519959542900324,
-0.02318834327161312,
-0.017809145152568817,
-0.008780095726251602,
-0.025855714455246925,
0.010527223348617554,
-0.028220782056450844,
-0.010002640075981617,
-0.05850433185696602,
0.015639683231711388,
-0.00638835271820426,
-0.01950737088918686,
0.02157013863325119,
-0.0013725844910368323,
-0.0001485114189563319,
-0.06814242899417877,
0.022601520642638206,
0.006294995080679655,
0.052493855357170105,
-0.01795140467584133,
-0.05416540801525116,
-0.04086412116885185,
0.03577833250164986,
-0.0157197043299675,
-0.002420638920739293,
-0.03238188102841377,
-0.004014392849057913,
0.08805879950523376,
-0.00289854290895164,
-0.027562830597162247,
-0.01614648476243019,
0.04666120558977127,
0.023686252534389496,
-0.05064447969198227,
-0.023704035207629204,
-0.01895611546933651,
0.018884984776377678,
-0.004098859615623951,
0.013674721121788025,
-0.007126325275748968,
-0.02176574617624283,
0.047336939722299576,
0.01986302062869072,
0.003367555560544133,
-0.026655925437808037,
-0.01354135200381279,
-0.00929134152829647,
0.0507156103849411,
-0.011327434331178665,
0.06728887557983398,
-0.025873495265841484,
-0.06405246257781982,
0.04964866116642952,
0.016902239993214607,
0.0779583528637886,
0.005023548379540443,
-0.012225449085235596,
0.009584751911461353,
0.025340022519230843,
0.06191856786608696,
-0.0031386062037199736,
-0.033626653254032135,
-0.022708216682076454,
-0.021338965743780136,
0.029821204021573067,
-0.006561731919646263,
0.037343189120292664,
0.03337769955396652,
0.02347286231815815,
0.07180561870336533,
0.015150666236877441,
-0.02229921892285347,
0.022174742072820663,
-0.0012025396572425961,
-0.0029341077897697687,
-0.027100486680865288,
0.021908005699515343,
-0.030817022547125816,
0.04523860663175583,
0.022459261119365692,
-0.0036587435752153397,
-0.0402950793504715,
0.09218433499336243,
0.010224921628832817,
-0.027313876897096634,
0.01069615688174963,
-0.0012392159551382065,
-0.016128702089190483,
-0.04666120558977127,
0.038410138338804245,
0.04943527281284332,
0.02130340039730072,
-0.009744794107973576,
-0.008179936558008194,
-0.026567012071609497,
-0.05035996064543724,
-0.01016268227249384,
0.018369292840361595,
0.012838944792747498,
0.00502799404785037,
0.04552312567830086,
0.059180065989494324,
-0.016813326627016068,
0.031101543456315994
] |
710,726
|
yt_dlp.postprocessor.common
|
report_progress
| null |
def report_progress(self, s):
s['_default_template'] = '%(postprocessor)s %(status)s' % s
if not self._downloader:
return
progress_dict = s.copy()
progress_dict.pop('info_dict')
progress_dict = {'info': s['info_dict'], 'progress': progress_dict}
progress_template = self.get_param('progress_template', {})
tmpl = progress_template.get('postprocess')
if tmpl:
self._downloader.to_screen(
self._downloader.evaluate_outtmpl(tmpl, progress_dict), quiet=False)
self._downloader.to_console_title(self._downloader.evaluate_outtmpl(
progress_template.get('postprocess-title') or 'yt-dlp %(progress._default_template)s',
progress_dict))
|
(self, s)
|
[
-0.018478285521268845,
0.028523527085781097,
-0.0965193659067154,
0.031163282692432404,
0.051306914538145065,
-0.0014682529726997018,
0.011241104453802109,
0.016874942928552628,
-0.017743051052093506,
-0.01112594734877348,
0.030490055680274963,
0.0283995121717453,
0.003924199379980564,
-0.03548610210418701,
-0.026946760714054108,
-0.008720935322344303,
0.03151760995388031,
0.01052358653396368,
-0.033785320818424225,
-0.008428613655269146,
0.0028656399808824062,
0.033519573509693146,
0.00771995447576046,
0.04003923758864403,
-0.0418817512691021,
-0.046913228929042816,
0.030153442174196243,
-0.04471638798713684,
-0.04974786564707756,
0.008756368421018124,
0.0470549613237381,
-0.045602209866046906,
-0.05686989054083824,
0.04326363652944565,
-0.00011619517317740247,
0.04290930554270744,
-0.035167206078767776,
0.04028726741671562,
-0.1316688507795334,
-0.023438898846507072,
-0.03755892813205719,
0.05279510095715523,
-0.05148408189415932,
-0.022570790722966194,
0.04085419327020645,
0.018008798360824585,
-0.03801955655217171,
0.016706638038158417,
0.034015633165836334,
-0.06374388188123703,
0.006289348937571049,
0.02829321287572384,
-0.040499866008758545,
-0.03748806565999985,
0.06349585205316544,
0.058854132890701294,
0.01255212351679802,
0.04786992073059082,
-0.031606193631887436,
-0.05357462540268898,
-0.0030250882264226675,
-0.0006023601745255291,
0.031110132113099098,
0.02816919796168804,
0.014872982166707516,
-0.010381855070590973,
0.06937772035598755,
-0.01902749575674534,
-0.06232656538486481,
-0.031039265915751457,
0.02862982638180256,
-0.028151480481028557,
-0.046842362731695175,
-0.015519632957875729,
-0.008720935322344303,
0.043086469173431396,
0.028452660888433456,
-0.057755712419748306,
0.03328925743699074,
0.048826608806848526,
-0.018779464066028595,
-0.04223607853055,
-0.008614636957645416,
-0.06640135496854782,
-0.05853523686528206,
-0.01966528780758381,
0.06193679943680763,
-0.025972355157136917,
-0.06689741462469101,
0.07285015285015106,
-0.01371255237609148,
-0.01397829968482256,
0.03738176450133324,
-0.028381794691085815,
-0.006550667341798544,
-0.01260527316480875,
-0.04035813361406326,
0.00778639130294323,
-0.04974786564707756,
0.00007660991832381114,
-0.017362147569656372,
-0.023474331945180893,
-0.0006732260808348656,
-0.043688829988241196,
-0.009389732033014297,
-0.08404696732759476,
0.012729288078844547,
0.004743586760014296,
-0.005616122856736183,
0.02127748727798462,
0.0036053028889000416,
-0.049428969621658325,
-0.08539341390132904,
-0.07986587285995483,
0.015280460938811302,
-0.013942866586148739,
-0.028116047382354736,
-0.04287387430667877,
0.03328925743699074,
-0.017043249681591988,
-0.00785725750029087,
0.015209594741463661,
-0.019328676164150238,
-0.006488659419119358,
-0.07717297226190567,
-0.0038134714122861624,
-0.007467494811862707,
0.03940144181251526,
0.014642667956650257,
0.05081085488200188,
-0.00396184716373682,
-0.008229303173720837,
0.012392675504088402,
0.031110132113099098,
0.05502737686038017,
-0.022198744118213654,
-0.074125736951828,
0.05049195885658264,
0.0105590196326375,
0.004712582565844059,
0.008729794062674046,
-0.0841178297996521,
-0.05095258727669716,
-0.04602740705013275,
0.09368472546339035,
0.01631687395274639,
0.007334621157497168,
0.009256859309971333,
-0.012977318838238716,
0.05857067182660103,
-0.0005500412080436945,
0.0002726676466409117,
-0.01399601623415947,
0.009938943199813366,
-0.016157425940036774,
0.00636021513491869,
0.01869088225066662,
0.02986997924745083,
-0.01581195555627346,
0.0007213927456177771,
0.04670063033699989,
-0.05970452353358269,
0.0010807050857692957,
-0.03403335064649582,
-0.01819482073187828,
0.02131292037665844,
-0.026060936972498894,
0.05052739009261131,
0.008508337661623955,
0.027442822232842445,
0.02030308172106743,
0.01416432298719883,
-0.013207633048295975,
0.020604262128472328,
0.028381794691085815,
0.03380303829908371,
0.05077541992068291,
0.016936952248215675,
0.03256288170814514,
-0.020356230437755585,
-0.03968490660190582,
-0.028240064159035683,
-0.04641716927289963,
0.0011548928450793028,
0.002856781706213951,
-0.015369042754173279,
0.0007800785824656487,
0.026698729023337364,
-0.045673076063394547,
-0.01977158710360527,
0.008326743729412556,
-0.022765671834349632,
0.0280983317643404,
-0.0045752800069749355,
0.034157365560531616,
0.025759756565093994,
0.003957417793571949,
-0.07717297226190567,
0.07674777507781982,
0.035326652228832245,
-0.017273563891649246,
0.02866525948047638,
0.013508813455700874,
0.020356230437755585,
-0.005226360633969307,
0.022801104933023453,
-0.011586575768887997,
0.024661334231495857,
-0.013136766850948334,
-0.017362147569656372,
-0.00030782376416027546,
0.007790820673108101,
-0.014748966321349144,
0.0018923410680145025,
-0.03809042274951935,
-0.024484170600771904,
0.04698409512639046,
0.025618024170398712,
0.009708628989756107,
-0.03440539538860321,
-0.00923028402030468,
0.010833625681698322,
-0.006860705558210611,
0.018549149855971336,
-0.02919675223529339,
-0.013464521616697311,
0.01980702020227909,
-0.033856187015771866,
-0.00904869008809328,
-0.04018096998333931,
-0.007498498540371656,
-0.0021182261407375336,
0.015723371878266335,
0.09559810906648636,
0.03343098983168602,
-0.03165934234857559,
-0.0825587809085846,
0.019328676164150238,
-0.03173020854592323,
0.0071530272252857685,
-0.020320799201726913,
0.031535327434539795,
-0.017202697694301605,
0.011311969719827175,
-0.006369073409587145,
-0.0723186582326889,
-0.01856686733663082,
0.023988109081983566,
-0.01065646018832922,
0.01069189328700304,
0.07384227216243744,
-0.0332183912396431,
-0.0486140102148056,
-0.06186593696475029,
-0.003851118963211775,
0.006041318643838167,
0.023616062477231026,
-0.00939859077334404,
0.010089533403515816,
0.021206622943282127,
-0.02712392434477806,
-0.03964947536587715,
-0.05935019627213478,
0.038551051169633865,
0.02866525948047638,
-0.043724264949560165,
-0.03447626158595085,
-0.04142112284898758,
-0.02873612381517887,
0.03422823175787926,
0.02175583317875862,
0.02986997924745083,
0.009752919897437096,
-0.01198519580066204,
-0.0283995121717453,
0.024732200428843498,
0.041704583913087845,
0.02352748066186905,
0.04662976413965225,
-0.04319277033209801,
0.07433833181858063,
-0.027212508022785187,
0.05973995849490166,
-0.05105888471007347,
0.07238952070474625,
0.012543264776468277,
0.02806289866566658,
0.0353798046708107,
-0.02370464615523815,
-0.03064950369298458,
-0.0023740078322589397,
0.07217692583799362,
0.03628334403038025,
-0.021844414994120598,
-0.002049574861302972,
0.04786992073059082,
-0.041775450110435486,
-0.002243348862975836,
-0.02108260616660118,
0.015732230618596077,
-0.011019648052752018,
-0.07203519344329834,
-0.014810973778367043,
0.0061564757488667965,
-0.07540132105350494,
0.023421181365847588,
0.04974786564707756,
-0.019186943769454956,
-0.008154008537530899,
-0.05995255708694458,
0.008016705513000488,
0.05424784868955612,
0.013322790153324604,
0.04478725045919418,
-0.010532445274293423,
0.005434528924524784,
-0.017875924706459045,
0.0006333640194498003,
-0.024625902995467186,
0.019381824880838394,
-0.015989119186997414,
0.022429058328270912,
0.03057863749563694,
-0.000862570945173502,
0.016263725236058235,
0.02618495188653469,
0.030702654272317886,
0.03809042274951935,
0.01838970184326172,
-0.015865104272961617,
0.020657410845160484,
-0.002661900594830513,
-0.0015767663717269897,
-0.03336012363433838,
0.0053592342883348465,
0.006559525150805712,
-0.006723402533680201,
-0.014004874974489212,
0.048117950558662415,
-0.026769595220685005,
0.007060016039758921,
0.01590939611196518,
0.012915311381220818,
0.037842392921447754,
0.006674682255834341,
-0.0035300080198794603,
0.003804613370448351,
-0.013021609745919704,
0.06711000949144363,
-0.04135025665163994,
-0.0007097663474269211,
0.01256984006613493,
-0.03174792602658272,
-0.00133648666087538,
0.030932968482375145,
-0.021808981895446777,
0.06806670129299164,
-0.04786992073059082,
-0.027442822232842445,
-0.02604321949183941,
-0.09538550674915314,
0.08284224569797516,
-0.002741624601185322,
0.020994024351239204,
0.031234147027134895,
-0.019541272893548012,
0.044893551617860794,
-0.011737165972590446,
0.020427096635103226,
0.022163311019539833,
-0.006608245894312859,
-0.0006604923983104527,
-0.007015724666416645,
0.002230061450973153,
-0.03614161163568497,
0.04762188717722893,
-0.015865104272961617,
-0.03380303829908371,
-0.01598026230931282,
-0.0625745952129364,
0.032545167952775955,
-0.053220294415950775,
-0.04599197208881378,
0.02457275241613388,
0.052617933601140976,
-0.01684836857020855,
-0.001681957975961268,
0.0031336017418652773,
0.019257809966802597,
0.008543770760297775,
0.0014483219711109996,
-0.05020849406719208,
0.026326684281229973,
0.003093739738687873,
0.03901167958974838,
-0.07469266653060913,
0.005314942914992571,
0.008539341390132904,
-0.03461799398064613,
0.010594452731311321,
0.06540922820568085,
-0.03392705321311951,
-0.026273533701896667,
0.02359834685921669,
-0.008455188013613224,
-0.04028726741671562,
0.026769595220685005,
-0.016688920557498932,
0.007547218818217516,
0.02862982638180256,
0.019629856571555138,
0.018035372719168663,
-0.029462499544024467,
0.007848398759961128,
-0.060236018151044846,
-0.025015665218234062,
-0.05226360633969307,
-0.05825177580118179,
-0.053787220269441605,
0.0037138164043426514,
0.01644974760711193,
0.021897565573453903,
0.07405487447977066,
0.01631687395274639,
0.00773767102509737,
-0.02524597942829132,
0.04138568788766861,
0.005283939186483622,
0.03204910457134247,
-0.007879402488470078,
-0.010186973959207535,
0.01408459898084402,
-0.0312872976064682,
0.050598256289958954,
0.013278499245643616,
-0.01114366389811039,
0.01660919561982155,
0.01272043026983738,
-0.03155304491519928,
0.027194790542125702,
0.004227594006806612,
-0.017805058509111404,
0.021826699376106262,
0.03954317420721054,
0.06728717684745789,
0.06480687111616135,
-0.02611408568918705,
-0.07440920174121857,
-0.035698700696229935,
0.005213072989135981,
-0.06296435743570328,
-0.002048467518761754,
0.01984245330095291,
-0.005399096291512251,
-0.03809042274951935,
-0.0074099162593483925,
0.04216521233320236,
-0.040428999811410904,
-0.06551553308963776,
-0.013756844215095043,
-0.013739127665758133,
0.008720935322344303,
-0.024484170600771904,
0.039897505193948746,
0.0026353257708251476,
-0.05226360633969307,
0.03444083034992218,
0.01748616248369217,
-0.00715745659545064,
-0.01970072090625763,
0.04329906776547432,
0.04528331384062767,
-0.012020628899335861,
0.014988139271736145,
-0.02097630873322487,
0.013854284770786762,
-0.0382675901055336,
-0.013269640505313873,
0.03770066052675247,
0.013287357054650784,
0.011923188343644142,
0.015351327136158943,
0.048011649399995804,
-0.018478285521268845,
0.004770161118358374,
-0.033484138548374176,
0.05219274014234543,
0.009185993112623692,
0.0749761313199997,
0.012312951497733593,
-0.005297226365655661,
-0.003782467683777213,
-0.012312951497733593,
-0.028470376506447792,
-0.05148408189415932,
-0.0042918166145682335,
-0.01431491319090128,
0.05286596715450287,
0.016706638038158417,
-0.06509033590555191,
0.03584043309092522,
-0.044893551617860794,
0.07348794490098953,
0.0009184885420836508,
0.0022599580697715282,
0.03511405736207962,
0.06275176256895065,
0.08581861108541489,
-0.005846437066793442,
0.045673076063394547,
-0.005819862242788076,
0.010284414514899254,
-0.03748806565999985,
0.02940935082733631,
0.017601318657398224,
-0.0516258105635643,
-0.021738115698099136,
-0.030454622581601143,
0.0353798046708107,
-0.0729210153222084,
0.008198299445211887,
0.027070775628089905,
0.01382770948112011,
-0.0673934742808342,
-0.02558259107172489,
0.008264736272394657,
0.034086499363183975,
0.04223607853055,
-0.007184030953794718,
0.013907433487474918,
0.019417257979512215,
0.012791295535862446,
0.047515589743852615,
-0.07370053976774216,
0.060873813927173615,
0.09304693341255188,
-0.033484138548374176,
-0.020870009437203407,
0.025618024170398712,
-0.02071056142449379,
0.04779905453324318,
-0.03118099831044674,
0.006936000660061836,
-0.04957070201635361,
0.021188905462622643,
0.007529502268880606,
0.004517701454460621,
0.006559525150805712,
-0.006541809067130089,
-0.014093456789851189,
-0.02678731270134449,
-0.055169105529785156,
-0.05871240422129631,
-0.03911798074841499,
-0.041669152677059174,
0.06572812795639038,
-0.03380303829908371,
0.03272233158349991,
0.07632257789373398,
0.021932996809482574,
0.008747510612010956,
-0.013198775239288807,
0.04393685981631279,
0.0015324752312153578,
0.0031358161941170692,
0.026840461418032646,
0.04662976413965225,
0.00808757171034813,
-0.0689525231719017,
-0.057684846222400665,
0.06675568222999573,
0.018708599731326103,
-0.049925029277801514,
-0.03155304491519928,
0.03911798074841499,
-0.039259713143110275,
0.034688860177993774,
-0.011524567380547523,
0.020320799201726913,
0.07639344781637192,
-0.008433043025434017,
-0.004289601929485798,
0.06236199662089348,
-0.011586575768887997,
-0.04588567465543747,
0.006010314449667931,
0.0024958085268735886,
-0.02829321287572384,
-0.0036208047531545162,
0.026131803169846535,
-0.05460217967629433,
-0.005970452446490526,
-0.010107249952852726,
-0.0355038195848465,
-0.009327724575996399,
0.027371956035494804,
0.04911007359623909,
-0.056302960962057114,
0.017805058509111404,
-0.00780410785228014,
-0.013012751936912537,
0.06051948294043541,
-0.06700371205806732,
0.060838378965854645,
0.03954317420721054,
-0.010931066237390041,
0.02255307510495186,
0.0646297037601471,
-0.005443387199193239,
-0.005434528924524784,
0.021100323647260666,
-0.02648613229393959,
0.03748806565999985,
0.03155304491519928,
-0.05690532177686691,
0.0006671360461041331,
0.010629885829985142,
-0.03964947536587715,
-0.007458636537194252,
0.0329703614115715,
-0.0158828217536211,
0.06962575018405914,
0.010080674663186073,
0.028116047382354736,
-0.03431681543588638,
0.06757064163684845,
0.00907969381660223,
0.0077775330282747746,
0.02986997924745083,
-0.056302960962057114,
-0.06115727499127388,
0.07540132105350494,
0.007759816478937864,
0.04762188717722893,
-0.0007568257278762758,
-0.026982193812727928,
-0.02191528119146824,
0.02030308172106743,
-0.006249486934393644,
-0.00953146442770958,
0.016458606347441673,
0.01677750237286091,
-0.009221426211297512,
-0.007210605777800083,
0.011506851762533188,
0.014917273074388504,
-0.019913319498300552,
-0.01939954236149788,
0.023314882069826126,
0.040428999811410904,
-0.0010690785711631179,
-0.02235819399356842,
0.00033190709655173123,
0.027531404048204422,
-0.045602209866046906,
0.1232358068227768,
0.016998959705233574,
-0.04964156821370125,
0.02513968013226986,
0.0179290734231472,
-0.0277971513569355,
-0.06579899042844772,
-0.0029055022168904543,
0.015245027840137482,
0.009903510101139545,
0.015218453481793404,
-0.02816919796168804,
-0.05414155125617981,
-0.010124966502189636,
-0.12982633709907532,
0.01947040669620037,
0.03883451595902443,
0.015094437636435032,
-0.060838378965854645,
-0.04443292319774628,
0.011560000479221344,
0.005248506087809801,
-0.009930085390806198,
0.01977158710360527,
-0.012773578986525536,
0.007711096201092005,
-0.06668481975793839,
0.00958461407572031,
-0.03911798074841499,
-0.002564460039138794,
0.029249902814626694,
0.02292511984705925,
-0.06803126633167267,
-0.07033441215753555,
0.029108170419931412,
-0.028913289308547974,
0.03523807227611542,
-0.025600308552384377,
-0.027637703344225883,
0.027336522936820984,
-0.056302960962057114,
0.043547097593545914,
-0.049925029277801514,
0.05399981886148453,
-0.07455093413591385,
0.01943497359752655,
-0.02701762691140175,
0.05219274014234543,
0.011001931503415108,
-0.025724323466420174,
0.012614130973815918,
0.0024094406981021166,
-0.04606283828616142,
0.0001886527898022905,
-0.03564555197954178,
0.01211806945502758,
-0.021188905462622643,
0.033112093806266785,
0.06491316854953766,
-0.07036984711885452,
0.00004096935299457982,
-0.023810943588614464,
-0.035627834498882294,
-0.0006998007884249091,
0.027938883751630783,
0.0019753871019929647,
-0.005864153616130352,
-0.02191528119146824,
0.03458256274461746,
0.024413304403424263,
0.004307318478822708,
0.01644974760711193,
0.01532475184649229,
0.08355090022087097,
0.0024315863847732544,
-0.015767663717269897,
-0.016706638038158417,
-0.046098269522190094,
-0.05849980562925339,
0.021702682599425316,
-0.005748996511101723,
0.04025183245539665,
0.019452691078186035,
0.03968490660190582,
-0.014970422722399235,
-0.015794238075613976,
-0.02584833838045597,
-0.004947326146066189,
-0.01718498207628727,
-0.006825272459536791,
0.014775541611015797,
0.012428107671439648,
0.02235819399356842,
-0.0018236897885799408,
0.0011272107949480414,
0.10119651257991791,
-0.030419189482927322,
-0.05651555955410004,
0.04276757314801216,
0.027584552764892578,
-0.0006389004411175847,
0.05353919044137001,
0.01819482073187828,
0.005713563412427902,
0.030490055680274963,
-0.004001709166914225,
-0.07540132105350494,
0.014731249772012234,
0.03954317420721054,
0.030932968482375145,
0.04407859221100807,
-0.018283404409885406,
0.024094408378005028
] |
710,728
|
yt_dlp.postprocessor.ffmpeg
|
run
| null |
import collections
import contextvars
import itertools
import json
import os
import re
import subprocess
import time
from .common import PostProcessor
from ..compat import functools, imghdr
from ..utils import (
MEDIA_EXTENSIONS,
ISO639Utils,
Popen,
PostProcessingError,
_get_exe_version_output,
deprecation_warning,
detect_exe_version,
determine_ext,
dfxp2srt,
encodeArgument,
encodeFilename,
filter_dict,
float_or_none,
is_outdated_version,
orderedSet,
prepend_extension,
replace_extension,
shell_quote,
traverse_obj,
variadic,
write_json_file,
)
EXT_TO_OUT_FORMATS = {
'aac': 'adts',
'flac': 'flac',
'm4a': 'ipod',
'mka': 'matroska',
'mkv': 'matroska',
'mpg': 'mpeg',
'ogv': 'ogg',
'ts': 'mpegts',
'wma': 'asf',
'wmv': 'asf',
'weba': 'webm',
'vtt': 'webvtt',
}
ACODECS = {
# name: (ext, encoder, opts)
'mp3': ('mp3', 'libmp3lame', ()),
'aac': ('m4a', 'aac', ('-f', 'adts')),
'm4a': ('m4a', 'aac', ('-bsf:a', 'aac_adtstoasc')),
'opus': ('opus', 'libopus', ()),
'vorbis': ('ogg', 'libvorbis', ()),
'flac': ('flac', 'flac', ()),
'alac': ('m4a', None, ('-acodec', 'alac')),
'wav': ('wav', None, ('-f', 'wav')),
}
def create_mapping_re(supported):
return re.compile(r'{0}(?:/{0})*$'.format(r'(?:\s*\w+\s*>)?\s*(?:%s)\s*' % '|'.join(supported)))
|
(self, information)
|
[
0.004139119293540716,
-0.03817291185259819,
-0.08907013386487961,
0.019365498796105385,
0.031271278858184814,
-0.019067853689193726,
-0.019625937566161156,
0.005064608063548803,
0.017895879223942757,
-0.03651726618409157,
0.06187285855412483,
0.07753640413284302,
-0.03638704493641853,
0.0407773032784462,
-0.0025671841576695442,
-0.008413108997046947,
0.0037577624898403883,
0.07478319108486176,
0.033801257610321045,
0.014175321906805038,
0.004257712047547102,
0.03932628408074379,
-0.001712618861347437,
0.021021146327257156,
0.016258833929896355,
0.04040524736046791,
0.02652757056057453,
-0.008171272464096546,
-0.06637473404407501,
-0.017188971862196922,
0.012594085186719894,
-0.02321627549827099,
0.039140257984399796,
0.014528774656355381,
-0.027606531977653503,
-0.010845422744750977,
-0.022509368136525154,
0.03932628408074379,
-0.1423484981060028,
-0.05993817001581192,
-0.03644285351037979,
-0.03951231390237808,
-0.013738156296312809,
-0.01301264762878418,
-0.018584180623292923,
0.02319767139852047,
-0.0841589942574501,
-0.006548179779201746,
0.026136912405490875,
-0.024258030578494072,
0.03677770495414734,
-0.05175294727087021,
0.01315216813236475,
0.006655145902186632,
-0.050227515399456024,
0.07035572826862335,
-0.03086201846599579,
0.042860813438892365,
0.008022450841963291,
-0.011198876425623894,
-0.031773556023836136,
-0.013226579874753952,
0.0021660616621375084,
-0.022100107744336128,
-0.02628573402762413,
-0.02228613570332527,
-0.011794164776802063,
-0.03372684866189957,
-0.06938838213682175,
0.022193120792508125,
0.006780714727938175,
-0.05279470235109329,
-0.0012533626286312938,
-0.027569325640797615,
0.004141444806009531,
0.040256425738334656,
-0.058412741869688034,
0.008031751960515976,
0.01693783514201641,
0.04379095509648323,
0.03739159554243088,
-0.012808016501367092,
0.009296741336584091,
-0.01839815266430378,
0.04475829750299454,
-0.0018684171373024583,
0.04613490402698517,
-0.008441013284027576,
-0.06127757206559181,
-0.007296942174434662,
-0.032964132726192474,
0.031550321727991104,
0.013505620881915092,
0.06451445817947388,
-0.024760305881500244,
-0.030955033376812935,
-0.01610071025788784,
-0.004371654242277145,
-0.026918228715658188,
-0.023346494883298874,
-0.0333733931183815,
0.005264587700366974,
-0.031550321727991104,
-0.02660198137164116,
0.05346440151333809,
0.009250234812498093,
-0.024499867111444473,
0.05000428482890129,
-0.032424651086330414,
-0.040851712226867676,
-0.016770409420132637,
-0.09658565372228622,
0.006255186162889004,
-0.08423340320587158,
0.07333217561244965,
-0.040033191442489624,
0.001938177621923387,
-0.008454965427517891,
0.06440284103155136,
-0.0062923915684223175,
-0.022565176710486412,
0.0019300389103591442,
0.0005002404795959592,
-0.004608839750289917,
-0.013617238029837608,
-0.06574223935604095,
0.04580005630850792,
0.03791247308254242,
-0.017300589010119438,
0.0027485613245517015,
-0.030192319303750992,
0.05856156349182129,
-0.018230728805065155,
0.017086656764149666,
0.0028229726012796164,
-0.05093442276120186,
-0.05599438026547432,
-0.013142867013812065,
-0.018249331042170525,
-0.002035842277109623,
0.0011487219016999006,
-0.05960331857204437,
0.014454362913966179,
-0.026415953412652016,
-0.038619380444288254,
-0.03761482983827591,
0.047660332173109055,
-0.03854496777057648,
-0.027364695444703102,
-0.004725106991827488,
0.0223605465143919,
0.006492371670901775,
-0.06105433776974678,
0.022825615480542183,
0.05941729247570038,
-0.054134100675582886,
0.004869278520345688,
-0.007715504616498947,
-0.05316675826907158,
0.05398527905344963,
-0.0022044298239052296,
0.0037856665439903736,
-0.0259694866836071,
-0.025616033002734184,
0.015514722093939781,
-0.028778506442904472,
0.01387767679989338,
0.0015324043342843652,
0.033540818840265274,
0.03341060131788254,
0.06630032509565353,
0.030620181933045387,
-0.052683085203170776,
-0.018147015944123268,
0.06871868669986725,
0.07392746210098267,
0.006055206060409546,
0.020165417343378067,
-0.020184021443128586,
0.023644138127565384,
-0.016268134117126465,
0.004220506642013788,
-0.030731799080967903,
0.03274089843034744,
0.024462660774588585,
0.009692050516605377,
0.04464668035507202,
0.014342746697366238,
0.03733578696846962,
-0.022174518555402756,
-0.008473568595945835,
0.000029702687243116088,
0.018779510632157326,
-0.022007092833518982,
0.006622591055929661,
-0.00010238798131467775,
0.006780714727938175,
-0.03307574987411499,
0.013217277824878693,
-0.04100053757429123,
-0.05882200226187706,
-0.005204129032790661,
0.03287111967802048,
-0.013021948747336864,
-0.045390792191028595,
-0.038321733474731445,
0.016575081273913383,
0.007036502938717604,
-0.04527917504310608,
0.02182106487452984,
0.004492572508752346,
-0.04855326563119888,
0.013952088542282581,
-0.015431009232997894,
0.01807260513305664,
-0.04271199181675911,
0.01608210615813732,
0.08162901550531387,
-0.015598434023559093,
0.006497022230178118,
-0.045353587716817856,
0.04074009880423546,
-0.00889213103801012,
0.03757762536406517,
0.03947510942816734,
-0.008761911652982235,
0.043976981192827225,
0.06704443693161011,
-0.007515524979680777,
0.015356598421931267,
-0.017700549215078354,
-0.04699063301086426,
0.006785365287214518,
0.04501873627305031,
0.004304219037294388,
0.021616434678435326,
0.06388196349143982,
-0.03372684866189957,
0.004613490309566259,
-0.028666891157627106,
0.04974384605884552,
-0.018844619393348694,
-0.0002071013004751876,
0.013254483230412006,
-0.04100053757429123,
-0.039437901228666306,
0.04609769955277443,
-0.007715504616498947,
-0.011552329175174236,
0.014110212214291096,
0.07947109639644623,
0.00807360839098692,
-0.01583096943795681,
0.012947537936270237,
-0.0263043362647295,
-0.011682548560202122,
-0.0005769769777543843,
-0.08601927012205124,
0.0333733931183815,
-0.01527288556098938,
0.0007272525690495968,
-0.01607280597090721,
-0.010268736630678177,
0.013645142316818237,
-0.02708565443754196,
-0.035456907004117966,
0.03679630532860756,
-0.0058970823884010315,
-0.07046734541654587,
0.006441214121878147,
-0.03571734577417374,
0.015012446790933609,
-0.06172403693199158,
-0.000629006652161479,
-0.0491485558450222,
0.05138089135289192,
0.028387848287820816,
-0.017691247165203094,
0.025374198332428932,
0.01839815266430378,
0.02124437876045704,
0.00905490480363369,
0.014770610257983208,
0.0015754232881590724,
0.07895021885633469,
0.0011277938028797507,
-0.007310894317924976,
-0.030657388269901276,
-0.006245884578675032,
-0.0231790691614151,
0.0011103536235168576,
0.05718495696783066,
0.017430808395147324,
-0.021969888359308243,
-0.013477717526257038,
0.024165015667676926,
-0.02405340038239956,
-0.09762740880250931,
0.05335278436541557,
-0.05517585948109627,
-0.012854523956775665,
0.06711884588003159,
0.09152569621801376,
-0.000035334389394847676,
-0.11295610666275024,
0.050450749695301056,
-0.04066568613052368,
-0.06901632994413376,
-0.023848768323659897,
-0.011691849678754807,
-0.006352850701659918,
0.002307907911017537,
0.0254858136177063,
0.025113757699728012,
-0.007524826098233461,
0.050785601139068604,
0.03696373105049133,
0.043418899178504944,
0.0452047660946846,
0.03737299516797066,
-0.015337995253503323,
0.04833003133535385,
0.026657789945602417,
0.020760707557201385,
0.08036402612924576,
-0.09658565372228622,
0.02766234055161476,
0.0028276231605559587,
0.06272859126329422,
-0.07102543115615845,
-0.0718439519405365,
0.03588477149605751,
-0.01384977251291275,
0.050785601139068604,
0.028071600943803787,
-0.0023148839827626944,
-0.03147590905427933,
-0.061500802636146545,
0.016556477174162865,
-0.019644539803266525,
-0.006478419527411461,
0.020816516131162643,
-0.03727997839450836,
0.028090203180909157,
-0.019681746140122414,
-0.018258633092045784,
0.04580005630850792,
-0.005218081176280975,
-0.032313037663698196,
-0.08728425949811935,
-0.007055106107145548,
-0.027215873822569847,
-0.01513336505740881,
0.04658137261867523,
0.013626539148390293,
-0.036610279232263565,
-0.03195958212018013,
-0.062021683901548386,
-0.017933083698153496,
0.029187768697738647,
0.053836457431316376,
0.02520677261054516,
-0.02090952917933464,
0.022527972236275673,
0.01975615695118904,
-0.06756531447172165,
0.07887580245733261,
0.014938035979866982,
0.03824732452630997,
-0.027792559936642647,
0.004215856082737446,
0.030471360310912132,
0.0004967524437233806,
-0.039400696754455566,
-0.0200538020581007,
0.011570931412279606,
0.01426833588629961,
-0.024202222004532814,
-0.041967879980802536,
0.010529175400733948,
0.028759904205799103,
0.09249304234981537,
-0.05372484028339386,
-0.0018730678129941225,
0.015951886773109436,
-0.03528948128223419,
0.02489052526652813,
0.003202004125341773,
-0.0032438605558127165,
-0.016026299446821213,
-0.0006069158553145826,
0.042563170194625854,
0.015486817806959152,
0.0023044198751449585,
0.020704898983240128,
-0.008027100935578346,
-0.05737098678946495,
0.04829282686114311,
-0.04446065425872803,
0.03355942294001579,
-0.04044245183467865,
-0.0178400706499815,
0.009422309696674347,
0.022267533466219902,
-0.009952489286661148,
-0.05484100803732872,
0.0708766058087349,
0.07132307440042496,
0.02064909040927887,
0.030489962548017502,
-0.027904177084565163,
-0.038842614740133286,
-0.03869378939270973,
-0.05562232434749603,
-0.077908456325531,
0.021932682022452354,
-0.02321627549827099,
-0.06540738791227341,
-0.03696373105049133,
0.016909930855035782,
0.02040725387632847,
0.0644400417804718,
-0.021672243252396584,
0.0672304630279541,
0.02714146114885807,
-0.05632923170924187,
-0.0013382377801463008,
-0.0003240953665226698,
-0.03110385499894619,
-0.003481046063825488,
0.015951886773109436,
0.041149359196424484,
-0.011357000097632408,
-0.05201338604092598,
0.03341060131788254,
-0.003876355243846774,
0.009599036537110806,
-0.008510774001479149,
0.027792559936642647,
0.03977275267243385,
-0.02007240429520607,
0.00821777991950512,
-0.029559824615716934,
0.009092111140489578,
0.05435733497142792,
-0.00052116863662377,
-0.04345610365271568,
0.036907922476530075,
-0.014445061795413494,
0.015970490872859955,
-0.021616434678435326,
0.029801659286022186,
0.023551125079393387,
-0.082521952688694,
0.05685010924935341,
0.004911134950816631,
0.04606049507856369,
0.023923180997371674,
-0.06380754709243774,
-0.0509716272354126,
0.009138617664575577,
0.03168054297566414,
0.10209207981824875,
0.010240832343697548,
0.000456930894870311,
0.0509716272354126,
0.049074143171310425,
0.021076954901218414,
-0.0688675045967102,
0.006045904941856861,
0.034638382494449615,
0.06079389899969101,
0.03359662741422653,
0.033187367022037506,
0.01975615695118904,
-0.010073407553136349,
-0.028090203180909157,
-0.018249331042170525,
-0.0006493534310720861,
-0.016621587797999382,
0.04955781623721123,
-0.05417130887508392,
0.03143870458006859,
0.038619380444288254,
-0.01607280597090721,
0.0001639370311750099,
0.062356531620025635,
-0.03954951837658882,
0.016733204945921898,
-0.0002967725449707359,
-0.012194124981760979,
0.01542170811444521,
-0.028759904205799103,
0.0530923455953598,
0.0245742779225111,
-0.025950884446501732,
0.0051715741865336895,
-0.0026276432909071445,
0.026806611567735672,
-0.06648635119199753,
0.02799719013273716,
-0.031159663572907448,
-0.04155861958861351,
-0.06652355939149857,
0.03409890457987785,
0.04721386730670929,
-0.021132763475179672,
-0.0020963011775165796,
-0.051566917449235916,
0.028127409517765045,
-0.05971493571996689,
-0.031773556023836136,
-0.008003847673535347,
-0.054952625185251236,
-0.008138718083500862,
0.047660332173109055,
0.014324143528938293,
0.021021146327257156,
-0.015040351077914238,
0.01580306515097618,
-0.017728453502058983,
-0.031196868047118187,
0.021058350801467896,
-0.05900803208351135,
0.017105260863900185,
0.004134468734264374,
-0.030694594606757164,
0.035177864134311676,
0.026397351175546646,
0.003453141776844859,
-0.01700294390320778,
0.0235139187425375,
0.014993843622505665,
-0.03765203431248665,
0.024797510355710983,
-0.009240932762622833,
0.0327967070043087,
0.019644539803266525,
0.026657789945602417,
-0.00444606551900506,
0.029243577271699905,
0.024406852200627327,
-0.030973635613918304,
-0.03936349228024483,
0.02265819162130356,
0.008352650329470634,
0.0317363515496254,
0.012621989473700523,
0.06112875044345856,
-0.019086455926299095,
-0.01354282721877098,
-0.019867774099111557,
0.02349531650543213,
0.06488651037216187,
-0.03793107718229294,
-0.01724478043615818,
0.0549154169857502,
-0.05368763580918312,
-0.017663342878222466,
-0.016035599634051323,
0.016193723306059837,
0.05930567532777786,
-0.08981423825025558,
-0.06045904755592346,
-0.06760251522064209,
0.024927731603384018,
-0.00903165154159069,
0.09219539910554886,
-0.004532103426754475,
0.009915283881127834,
0.04185626283288002,
0.03612660616636276,
0.045130353420972824,
-0.07582494616508484,
-0.044535066932439804,
-0.0052971430122852325,
0.0234209056943655,
-0.00416934909299016,
0.05651525780558586,
-0.01983056776225567,
0.04576284810900688,
0.014872926287353039,
0.032703693956136703,
-0.043679337948560715,
0.02998768724501133,
-0.019979389384388924,
0.05324116721749306,
0.026081103831529617,
0.015440311282873154,
0.0003848451015073806,
-0.10893790423870087,
0.006427261978387833,
0.056366436183452606,
-0.0235139187425375,
0.001052801264449954,
0.007985245436429977,
0.010817519389092922,
0.009980393573641777,
0.006185425911098719,
-0.03566153720021248,
-0.012612687423825264,
-0.024090604856610298,
-0.01584957167506218,
-0.008347999304533005,
0.04899973422288895,
-0.029615633189678192,
0.008282889612019062,
-0.0184167567640543,
-0.020425856113433838,
0.03229443356394768,
-0.0010144331026822329,
0.020481664687395096,
-0.001953292405232787,
-0.007003948092460632,
0.03393147885799408,
0.02403479628264904,
-0.047920770943164825,
0.031513117253780365,
0.054134100675582886,
0.022974438965320587,
0.014193924143910408,
0.036294031888246536,
-0.07426231354475021,
-0.010817519389092922,
0.010677997954189777,
-0.009292090311646461,
-0.02795998379588127,
0.031550321727991104,
-0.017430808395147324,
-0.032703693956136703,
0.06027302145957947,
-0.0040391297079622746,
0.08378694206476212,
-0.012082507833838463,
0.02658337913453579,
-0.004608839750289917,
-0.028927329927682877,
-0.006394707132130861,
-0.0034112855792045593,
0.029224973171949387,
0.038042694330215454,
-0.04007039591670036,
-0.014184623025357723,
-0.05089721828699112,
-0.012389454059302807,
0.05290631949901581,
-0.003529878333210945,
-0.011766261421144009,
0.024964936077594757,
-0.005915685556828976,
0.050450749695301056,
0.008445664308965206,
-0.008450314402580261,
0.023011643439531326,
0.012817318551242352,
0.042860813438892365,
0.002348601585254073,
-0.01132909581065178,
-0.0046227918937802315,
0.016528572887182236,
0.02010960876941681,
0.00018980653840117157,
0.033001337200403214,
0.004799518268555403,
0.0071109142154455185,
-0.0725136548280716,
0.02345811016857624,
-0.029020342975854874,
0.03977275267243385,
-0.0015335669741034508,
0.026415953412652016,
-0.04044245183467865,
0.003927513025701046,
0.015654243528842926,
-0.008668897673487663,
0.01525428332388401,
0.0217838604003191,
0.04996707662940025,
0.04438624158501625,
0.01585887372493744,
-0.017951685935258865,
-0.002175363013520837,
-0.00606915820389986,
0.03995877876877785,
-0.025057950988411903,
-0.015124063938856125,
0.02377435751259327,
0.020518871024250984,
-0.003378730732947588,
-0.016798313707113266,
-0.005292491987347603,
0.013673046603798866,
-0.020779309794306755,
-0.0373171865940094,
-0.01698434166610241,
-0.028927329927682877,
0.024983538314700127,
-0.008529376238584518,
0.0007051617722027004,
-0.05316675826907158,
0.03636844456195831,
-0.03608940169215202,
0.020481664687395096,
-0.05517585948109627,
-0.0019811964593827724,
0.014807816594839096,
-0.03954951837658882,
0.007241133600473404,
0.007078359369188547,
-0.0034856966231018305,
-0.018881825730204582,
0.02373715303838253,
0.02459288015961647,
0.040554068982601166,
-0.02916916459798813,
-0.015468214638531208,
-0.05379925295710564,
0.07850375026464462,
0.045390792191028595,
-0.04074009880423546,
-0.021281585097312927,
0.05484100803732872,
0.034359343349933624,
0.04494432732462883,
0.009692050516605377,
-0.01002690102905035,
-0.016314642503857613,
-0.008441013284027576,
0.06804898381233215,
-0.023346494883298874,
-0.01917947083711624,
-0.02206290140748024,
-0.03601498901844025,
-0.03824732452630997,
-0.022100107744336128,
-0.028704095631837845,
0.023960385471582413,
-0.06964882463216782,
-0.004194927867501974,
-0.0037786904722452164,
-0.026676392182707787,
0.022118709981441498,
-0.07109984010457993,
0.01515196729451418,
0.017161067575216293,
0.02944820746779442,
0.06019860878586769,
-0.03078760765492916,
0.002955517265945673,
0.015384502708911896,
0.03876820206642151,
-0.03400588780641556,
-0.08051285147666931,
0.04334448650479317,
0.02972724847495556,
-0.0004310614021960646,
0.039400696754455566,
0.016193723306059837,
0.004027502611279488,
-0.03554992005228996,
-0.06019860878586769,
0.001430089003406465,
0.011487219482660294,
-0.01612861454486847,
-0.005641294177621603,
0.030582977458834648,
-0.030880622565746307,
-0.03439654782414436
] |
710,778
|
yt_dlp.postprocessor.ffmpeg
|
FFmpegPostProcessor
| null |
class FFmpegPostProcessor(PostProcessor):
_ffmpeg_location = contextvars.ContextVar('ffmpeg_location', default=None)
def __init__(self, downloader=None):
PostProcessor.__init__(self, downloader)
self._prefer_ffmpeg = self.get_param('prefer_ffmpeg', True)
self._paths = self._determine_executables()
@staticmethod
def get_versions_and_features(downloader=None):
pp = FFmpegPostProcessor(downloader)
return pp._versions, pp._features
@staticmethod
def get_versions(downloader=None):
return FFmpegPostProcessor.get_versions_and_features(downloader)[0]
_ffmpeg_to_avconv = {'ffmpeg': 'avconv', 'ffprobe': 'avprobe'}
def _determine_executables(self):
programs = [*self._ffmpeg_to_avconv.keys(), *self._ffmpeg_to_avconv.values()]
location = self.get_param('ffmpeg_location', self._ffmpeg_location.get())
if location is None:
return {p: p for p in programs}
if not os.path.exists(location):
self.report_warning(
f'ffmpeg-location {location} does not exist! Continuing without ffmpeg', only_once=True)
return {}
elif os.path.isdir(location):
dirname, basename, filename = location, None, None
else:
filename = os.path.basename(location)
basename = next((p for p in programs if p in filename), 'ffmpeg')
dirname = os.path.dirname(os.path.abspath(location))
if basename in self._ffmpeg_to_avconv.keys():
self._prefer_ffmpeg = True
paths = {p: os.path.join(dirname, p) for p in programs}
if basename and basename in filename:
for p in programs:
path = os.path.join(dirname, filename.replace(basename, p))
if os.path.exists(path):
paths[p] = path
if basename:
paths[basename] = location
return paths
_version_cache, _features_cache = {None: None}, {}
def _get_ffmpeg_version(self, prog):
path = self._paths.get(prog)
if path in self._version_cache:
return self._version_cache[path], self._features_cache.get(path, {})
out = _get_exe_version_output(path, ['-bsfs'])
ver = detect_exe_version(out) if out else False
if ver:
regexs = [
r'(?:\d+:)?([0-9.]+)-[0-9]+ubuntu[0-9.]+$', # Ubuntu, see [1]
r'n([0-9.]+)$', # Arch Linux
# 1. http://www.ducea.com/2006/06/17/ubuntu-package-version-naming-explanation/
]
for regex in regexs:
mobj = re.match(regex, ver)
if mobj:
ver = mobj.group(1)
self._version_cache[path] = ver
if prog != 'ffmpeg' or not out:
return ver, {}
mobj = re.search(r'(?m)^\s+libavformat\s+(?:[0-9. ]+)\s+/\s+(?P<runtime>[0-9. ]+)', out)
lavf_runtime_version = mobj.group('runtime').replace(' ', '') if mobj else None
self._features_cache[path] = features = {
'fdk': '--enable-libfdk-aac' in out,
'setts': 'setts' in out.splitlines(),
'needs_adtstoasc': is_outdated_version(lavf_runtime_version, '57.56.100', False),
}
return ver, features
@property
def _versions(self):
return filter_dict({self.basename: self._version, self.probe_basename: self._probe_version})
@functools.cached_property
def basename(self):
self._version # run property
return self.basename
@functools.cached_property
def probe_basename(self):
self._probe_version # run property
return self.probe_basename
def _get_version(self, kind):
executables = (kind, )
if not self._prefer_ffmpeg:
executables = (kind, self._ffmpeg_to_avconv[kind])
basename, version, features = next(filter(
lambda x: x[1], ((p, *self._get_ffmpeg_version(p)) for p in executables)), (None, None, {}))
if kind == 'ffmpeg':
self.basename, self._features = basename, features
else:
self.probe_basename = basename
if basename == self._ffmpeg_to_avconv[kind]:
self.deprecated_feature(f'Support for {self._ffmpeg_to_avconv[kind]} is deprecated and '
f'may be removed in a future version. Use {kind} instead')
return version
@functools.cached_property
def _version(self):
return self._get_version('ffmpeg')
@functools.cached_property
def _probe_version(self):
return self._get_version('ffprobe')
@property
def available(self):
return self.basename is not None
@property
def executable(self):
return self._paths.get(self.basename)
@property
def probe_available(self):
return self.probe_basename is not None
@property
def probe_executable(self):
return self._paths.get(self.probe_basename)
@staticmethod
def stream_copy_opts(copy=True, *, ext=None):
yield from ('-map', '0')
# Don't copy Apple TV chapters track, bin_data
# See https://github.com/yt-dlp/yt-dlp/issues/2, #19042, #19024, https://trac.ffmpeg.org/ticket/6016
yield from ('-dn', '-ignore_unknown')
if copy:
yield from ('-c', 'copy')
if ext in ('mp4', 'mov', 'm4a'):
yield from ('-c:s', 'mov_text')
def check_version(self):
if not self.available:
raise FFmpegPostProcessorError('ffmpeg not found. Please install or provide the path using --ffmpeg-location')
required_version = '10-0' if self.basename == 'avconv' else '1.0'
if is_outdated_version(self._version, required_version):
self.report_warning(f'Your copy of {self.basename} is outdated, update {self.basename} '
f'to version {required_version} or newer if you encounter any errors')
def get_audio_codec(self, path):
if not self.probe_available and not self.available:
raise PostProcessingError('ffprobe and ffmpeg not found. Please install or provide the path using --ffmpeg-location')
try:
if self.probe_available:
cmd = [
encodeFilename(self.probe_executable, True),
encodeArgument('-show_streams')]
else:
cmd = [
encodeFilename(self.executable, True),
encodeArgument('-i')]
cmd.append(encodeFilename(self._ffmpeg_filename_argument(path), True))
self.write_debug(f'{self.basename} command line: {shell_quote(cmd)}')
stdout, stderr, returncode = Popen.run(
cmd, text=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if returncode != (0 if self.probe_available else 1):
return None
except OSError:
return None
output = stdout if self.probe_available else stderr
if self.probe_available:
audio_codec = None
for line in output.split('\n'):
if line.startswith('codec_name='):
audio_codec = line.split('=')[1].strip()
elif line.strip() == 'codec_type=audio' and audio_codec is not None:
return audio_codec
else:
# Stream #FILE_INDEX:STREAM_INDEX[STREAM_ID](LANGUAGE): CODEC_TYPE: CODEC_NAME
mobj = re.search(
r'Stream\s*#\d+:\d+(?:\[0x[0-9a-f]+\])?(?:\([a-z]{3}\))?:\s*Audio:\s*([0-9a-z]+)',
output)
if mobj:
return mobj.group(1)
return None
def get_metadata_object(self, path, opts=[]):
if self.probe_basename != 'ffprobe':
if self.probe_available:
self.report_warning('Only ffprobe is supported for metadata extraction')
raise PostProcessingError('ffprobe not found. Please install or provide the path using --ffmpeg-location')
self.check_version()
cmd = [
encodeFilename(self
|
(downloader=None)
|
[
0.08129067718982697,
-0.031739555299282074,
-0.1116679310798645,
0.0225694477558136,
0.0010045691160485148,
-0.013897493481636047,
0.02999093197286129,
0.024196075275540352,
-0.014842970296740532,
0.018848538398742676,
0.024846725165843964,
0.002645810367539525,
0.011782878078520298,
0.05001877620816231,
0.029096288606524467,
0.04208897054195404,
0.027144335210323334,
0.02986893616616726,
0.04668419063091278,
0.015463121235370636,
-0.018655376508831978,
0.009988505393266678,
-0.036538105458021164,
0.00256447889842093,
0.0052865371108055115,
0.032674867659807205,
0.021064817905426025,
-0.043959591537714005,
-0.035216473042964935,
0.0237894169986248,
0.03188188746571541,
0.002043450018391013,
-0.000705295242369175,
0.0027144334744662046,
-0.039323706179857254,
0.02814064547419548,
-0.03405750170350075,
0.01191504206508398,
-0.08946447819471359,
-0.004704509861767292,
-0.0016380640445277095,
-0.053638022392988205,
0.0007656583329662681,
0.016337433829903603,
0.009475101716816425,
0.018879037350416183,
-0.09361237287521362,
0.00048099865671247244,
0.002506022108718753,
0.014253318309783936,
0.03371184319257736,
0.00830596312880516,
0.02805931307375431,
0.02938094735145569,
-0.04294294863939285,
0.05973787233233452,
0.004125024192035198,
0.03877471759915352,
0.01640859805047512,
0.049002133309841156,
0.02059716358780861,
-0.021105483174324036,
0.002678851131349802,
0.03641610965132713,
-0.018360551446676254,
-0.05900589004158974,
0.024643396958708763,
-0.043878260999917984,
-0.08678054064512253,
0.01503613218665123,
-0.008697370067238808,
-0.04172297939658165,
0.02128847874701023,
-0.024338403716683388,
0.027713654562830925,
-0.016428930684924126,
-0.049042798578739166,
-0.019092533737421036,
0.04530155658721924,
0.04298361390829086,
0.062218476086854935,
0.019682185724377632,
-0.0511980801820755,
-0.08230731636285782,
0.0556306391954422,
0.015412289649248123,
0.0556306391954422,
-0.039689697325229645,
-0.024053744971752167,
0.014080489054322243,
-0.024135075509548187,
0.04578954726457596,
0.07165291160345078,
0.0790133997797966,
-0.004269895609468222,
-0.036294110119342804,
0.004605387337505817,
-0.02313876710832119,
-0.011864209547638893,
-0.012230200693011284,
-0.024379070848226547,
0.02624969184398651,
-0.03462681919336319,
-0.020007509738206863,
0.06705769151449203,
0.011437220498919487,
-0.04627753421664238,
0.0001825189683586359,
0.002377670956775546,
-0.029319949448108673,
0.0025428752414882183,
-0.06494307518005371,
-0.0007936159963719547,
-0.028811627998948097,
0.021654469892382622,
-0.039649028331041336,
-0.017913227900862694,
0.01277918741106987,
0.019885513931512833,
0.011762545444071293,
-0.03535880148410797,
0.04225163161754608,
-0.03208521381020546,
-0.04961211979389191,
-0.007253739051520824,
-0.049164798110723495,
0.04652152955532074,
0.002716975286602974,
0.03383383899927139,
0.036904096603393555,
0.022366119548678398,
0.03011292964220047,
-0.02523304894566536,
0.005484782624989748,
0.02728666551411152,
-0.07083959877490997,
-0.012138702906668186,
0.0322478786110878,
-0.03647710755467415,
-0.01854354701936245,
-0.007706144824624062,
-0.016835588961839676,
0.0338541716337204,
-0.04969345033168793,
-0.0556306391954422,
-0.004793466068804264,
0.04961211979389191,
-0.057785920798778534,
-0.004122482612729073,
0.008915948681533337,
0.0673423558473587,
-0.02383008413016796,
-0.058883894234895706,
0.01778106577694416,
0.07242555916309357,
-0.039039045572280884,
-0.021654469892382622,
-0.0215731393545866,
-0.02870996482670307,
0.03491147980093956,
0.009500517509877682,
-0.0070910765789449215,
-0.02732733078300953,
-0.031780220568180084,
0.0002709985710680485,
0.010135918855667114,
0.02293543890118599,
0.04217030107975006,
0.05107608437538147,
0.073360875248909,
0.06978229433298111,
0.03430149331688881,
-0.05144207552075386,
0.009703845717012882,
0.05221472308039665,
0.09385637193918228,
0.013419671915471554,
-0.012647023424506187,
0.02777465432882309,
-0.004389350768178701,
-0.023403093218803406,
0.012799520045518875,
-0.04200764000415802,
-0.03088557720184326,
0.04570821672677994,
0.05587463453412056,
0.016479764133691788,
0.026758011430501938,
0.03572479262948036,
0.009200608357787132,
-0.006633587647229433,
-0.057623255997896194,
0.03769707679748535,
0.03560279682278633,
-0.014680307358503342,
-0.039405036717653275,
0.0001490809809183702,
-0.00985634233802557,
0.03232920914888382,
-0.0007612105691805482,
0.019275527447462082,
0.011518551036715508,
0.014385481365025043,
-0.007995887659490108,
-0.08080268651247025,
-0.000055478460126323625,
-0.0179437268525362,
0.08108735084533691,
-0.05510198324918747,
0.021776467561721802,
-0.018441881984472275,
-0.06120183691382408,
0.026941007003188133,
-0.004030984826385975,
0.024399403482675552,
-0.06705769151449203,
0.018147055059671402,
0.022874440997838974,
-0.011040729470551014,
0.025375379249453545,
0.012403029948472977,
0.0048417565412819386,
-0.04749750345945358,
0.09588965028524399,
0.043756261467933655,
-0.00036217863089405,
0.05005944147706032,
0.028913293033838272,
-0.005139124114066362,
-0.0056220293045043945,
0.03859172388911247,
-0.017038917168974876,
0.024562066420912743,
0.007289321627467871,
0.002315401565283537,
0.04989678040146828,
0.06486174464225769,
0.07604480534791946,
-0.05746059492230415,
-0.05030343681573868,
0.06193381920456886,
-0.02289477363228798,
0.024257073178887367,
-0.010176584124565125,
-0.024114742875099182,
-0.04074700176715851,
0.03737175092101097,
0.016022274270653725,
-0.0009295918280258775,
0.03141423314809799,
0.04253629222512245,
0.019275527447462082,
-0.012972349300980568,
-0.003710742574185133,
-0.033366184681653976,
-0.05546797439455986,
-0.03161755949258804,
-0.0661223828792572,
0.06351977586746216,
0.009348020888864994,
-0.03285786136984825,
0.011030563153326511,
-0.013816162012517452,
0.007329987362027168,
-0.058558568358421326,
-0.029136953875422478,
0.02736799791455269,
-0.0025238131638616323,
-0.07726477831602097,
0.008351712487637997,
0.04056400805711746,
-0.028628632426261902,
-0.07714278250932693,
0.02354542352259159,
-0.05156407132744789,
-0.008854949846863747,
-0.00959201529622078,
-0.026554683223366737,
0.06518707424402237,
0.01995667815208435,
0.02592436596751213,
0.01556478627026081,
-0.01983468048274517,
-0.027144335210323334,
0.0612831674516201,
-0.004691801965236664,
-0.004076733719557524,
-0.04143831878900528,
0.010928899049758911,
0.0068674152716994286,
-0.0034514989238232374,
-0.01765906810760498,
0.032390207052230835,
-0.02039383351802826,
0.024257073178887367,
0.053353361785411835,
-0.010634073056280613,
-0.05115741491317749,
0.017801398411393166,
-0.058436568826436996,
-0.04097066447138786,
0.04774149879813194,
0.018533380702137947,
0.048148155212402344,
-0.09377504140138626,
0.05636262148618698,
0.012199701741337776,
-0.06107983738183975,
0.03541979938745499,
-0.047863494604825974,
0.033122189342975616,
-0.008778701536357403,
0.029035288840532303,
0.06160849332809448,
-0.0029457195196300745,
0.04184497520327568,
0.04005568474531174,
0.04546422138810158,
0.019743183627724648,
0.017587903887033463,
-0.014385481365025043,
0.08169733732938766,
0.03281719610095024,
0.07929805666208267,
0.04212963581085205,
-0.021695135161280632,
0.02391141466796398,
-0.026758011430501938,
0.010268081910908222,
-0.05701327323913574,
-0.040096353739500046,
0.03885604813694954,
-0.007670562248677015,
0.07234422862529755,
0.03564346209168434,
0.013612833805382252,
-0.03865272179245949,
-0.018716376274824142,
0.024175742641091347,
-0.011772711761295795,
0.044284917414188385,
0.016977917402982712,
-0.043349605053663254,
0.010979731567203999,
0.008712620474398136,
-0.034931812435388565,
0.011803211644291878,
0.024684062227606773,
-0.012281033210456371,
-0.10646273195743561,
0.031210903078317642,
-0.032959528267383575,
-0.048148155212402344,
0.0653090700507164,
0.023321762681007385,
-0.034321825951337814,
-0.025619372725486755,
-0.037026092410087585,
-0.010176584124565125,
0.006104934029281139,
0.011538884602487087,
0.06978229433298111,
-0.034443825483322144,
-0.00017918311641551554,
-0.01789289526641369,
-0.05030343681573868,
0.03554179519414902,
0.011864209547638893,
-0.014253318309783936,
-0.036294110119342804,
0.00048131635412573814,
0.053719352930784225,
0.008183966390788555,
-0.07307621091604233,
0.013856827281415462,
0.004643511492758989,
0.010532408952713013,
0.01251486036926508,
-0.007396068889647722,
0.0374937504529953,
0.0235860887914896,
0.06339778006076813,
-0.11524651199579239,
-0.024887390434741974,
-0.01471080631017685,
0.020983487367630005,
0.0019646603614091873,
-0.013978824950754642,
0.04526089131832123,
-0.008514375425875187,
-0.014548144303262234,
0.06835899502038956,
-0.014822637662291527,
-0.03220721334218979,
0.053434692323207855,
-0.001723207882605493,
-0.05087275430560112,
0.056443952023983,
0.002755099209025502,
-0.020536163821816444,
-0.014639642089605331,
-0.04509823024272919,
0.022711778059601784,
0.05977853760123253,
0.004356310237199068,
-0.023281097412109375,
0.07234422862529755,
0.08661787956953049,
-0.018848538398742676,
0.0511980801820755,
-0.03600945323705673,
-0.06421109288930893,
-0.08165667206048965,
-0.02330143004655838,
-0.07734610885381699,
0.029258951544761658,
0.0007612105691805482,
-0.03765641152858734,
0.032512202858924866,
0.035257138311862946,
-0.01556478627026081,
0.04725351184606552,
0.0012040850706398487,
0.014080489054322243,
0.022183123975992203,
0.0031490479595959187,
-0.003217671299353242,
0.036538105458021164,
-0.04196697473526001,
-0.03773774206638336,
0.0367007702589035,
0.03356951102614403,
-0.02797798253595829,
-0.04664352536201477,
0.00793997198343277,
0.011416886933147907,
-0.00753839872777462,
-0.014741306193172932,
0.01624593511223793,
0.02716466784477234,
-0.02024133875966072,
-0.010939065366983414,
0.024765394628047943,
0.0280186478048563,
0.0007008474203757942,
0.015554619021713734,
-0.030580585822463036,
0.03552146255970001,
-0.0604698546230793,
-0.021593471989035606,
-0.06636637449264526,
-0.0031871721148490906,
-0.012403029948472977,
-0.03765641152858734,
0.06116117164492607,
-0.007970471866428852,
-0.024785727262496948,
0.008036552928388119,
-0.054044678807258606,
-0.044406913220882416,
-0.015727449208498,
0.03741241618990898,
0.039811693131923676,
0.004455432761460543,
-0.00227346527390182,
0.033122189342975616,
0.07718344777822495,
0.004091983195394278,
-0.10605607181787491,
0.004877339117228985,
0.02313876710832119,
0.02950294502079487,
0.024968722835183144,
0.01493446808308363,
0.02486705780029297,
-0.04225163161754608,
-0.05514265224337578,
-0.052743375301361084,
-0.009922424331307411,
-0.02724600024521351,
0.026392020285129547,
0.0032075047492980957,
0.009210774675011635,
0.05961587280035019,
-0.0061557660810649395,
-0.03208521381020546,
0.08865116536617279,
-0.066935695707798,
-0.005774525459855795,
0.005581363569945097,
-0.028913293033838272,
0.018696041777729988,
0.022305121645331383,
-0.0061252666637301445,
-0.015219127759337425,
-0.0358671210706234,
0.027550991624593735,
0.039120376110076904,
0.06107983738183975,
-0.02092248760163784,
0.02039383351802826,
-0.04639953002333641,
-0.04176364466547966,
-0.024480734020471573,
0.014944634400308132,
0.03135323151946068,
-0.05595596507191658,
-0.02470439486205578,
-0.048880137503147125,
0.049205463379621506,
-0.020495498552918434,
-0.03389483690261841,
-0.01564611680805683,
-0.04245496168732643,
0.009348020888864994,
0.011294890195131302,
-0.0042266882956027985,
0.027794986963272095,
0.002052345545962453,
0.017547236755490303,
-0.005464449524879456,
-0.008270381018519402,
0.0370870940387249,
-0.09320572018623352,
-0.024074077606201172,
-0.003588745603337884,
-0.039201706647872925,
-0.01201670616865158,
0.04318694397807121,
-0.04302427917718887,
-0.032878194004297256,
-0.01374499686062336,
-0.005576280411332846,
0.015351290814578533,
0.06945696473121643,
-0.022467782720923424,
0.0274086631834507,
0.015625784173607826,
-0.037066761404275894,
-0.05123874545097351,
0.05026277154684067,
0.008641455322504044,
-0.016754256561398506,
-0.0029253866523504257,
0.026371687650680542,
-0.020983487367630005,
0.009922424331307411,
0.04774149879813194,
0.04542355611920357,
-0.0318412221968174,
-0.03568412736058235,
0.005571196787059307,
0.022711778059601784,
0.02789665013551712,
-0.013562001287937164,
-0.01247419510036707,
0.08051802963018417,
-0.02724600024521351,
0.031088905408978462,
0.002525083953514695,
-0.011925208382308483,
0.03365084156394005,
-0.04989678040146828,
-0.08027403801679611,
-0.03729042038321495,
-0.0002752875443547964,
0.006181181874126196,
0.034484490752220154,
-0.021349478513002396,
-0.0520113930106163,
0.018452048301696777,
0.032064881175756454,
-0.02773398719727993,
-0.044406913220882416,
-0.043593600392341614,
-0.024318071082234383,
0.010141002014279366,
0.020414168015122414,
0.04160098358988762,
-0.0007783663459122181,
-0.008549957536160946,
-0.0016698341351002455,
0.024846725165843964,
0.011843876913189888,
-0.03257320448756218,
-0.01898070238530636,
0.03987269103527069,
0.011000064201653004,
0.003082966199144721,
0.013389172032475471,
-0.08686187118291855,
-0.029482612386345863,
0.005408534314483404,
-0.02016000635921955,
-0.00652175722643733,
-0.035623129457235336,
-0.017160912975668907,
-0.00018267781706526875,
0.02020067162811756,
-0.006948746740818024,
-0.019539855420589447,
-0.02036333456635475,
0.05632195621728897,
-0.03003159910440445,
0.02858796715736389,
-0.021430809050798416,
-0.0225694477558136,
0.016622092574834824,
-0.02608702890574932,
0.007467234041541815,
-0.05977853760123253,
0.049530789256095886,
-0.00035423613735474646,
-0.013277341611683369,
0.016988083720207214,
-0.022040793672204018,
-0.043430935591459274,
0.02970627322793007,
0.03273586556315422,
0.013470503501594067,
-0.0023217557463794947,
0.03139389678835869,
-0.04631819948554039,
0.03208521381020546,
-0.009988505393266678,
-0.0068979146890342236,
-0.007162241265177727,
-0.03987269103527069,
-0.03676176816225052,
-0.04546422138810158,
0.06022585928440094,
0.002429773798212409,
0.07291354984045029,
-0.001188835478387773,
0.011488052085042,
-0.06002253293991089,
0.02108515053987503,
-0.027713654562830925,
0.014456646516919136,
0.026351355016231537,
-0.012789353728294373,
-0.01862487755715847,
-0.0018172472482547164,
-0.025172051042318344,
-0.001762602711096406,
-0.008773618377745152,
-0.003390500321984291,
-0.024928057566285133,
0.07433684915304184,
-0.01579861342906952,
0.06120183691382408,
-0.03354917839169502,
-0.03413883224129677,
0.052662044763565063,
0.021471474319696426,
0.014090655371546745,
0.02523304894566536,
0.004709593020379543,
-0.014781971462070942,
0.010451077483594418,
-0.00039966730400919914,
-0.018035225570201874,
0.04668419063091278,
0.00708599342033267,
-0.01926536113023758,
-0.0427396222949028,
0.01257585920393467,
-0.017791232094168663,
0.013236676342785358,
-0.013694165274500847,
0.0318615548312664,
0.007762060035020113,
-0.05127941071987152,
-0.018126722425222397,
-0.031088905408978462,
-0.0402996800839901,
0.012799520045518875,
0.024663729593157768,
0.01789289526641369,
-0.036985427141189575,
0.040177684277296066,
0.02039383351802826,
-0.013297674246132374,
0.0014665058115497231,
-0.03031625784933567,
-0.02080049179494381,
0.02696133963763714,
-0.02244745008647442,
0.05083208903670311,
-0.07754943519830704,
-0.049002133309841156,
0.03806306794285774,
0.023443760350346565,
-0.03379317373037338,
-0.05046609789133072,
-0.015381790697574615,
-0.014344816096127033,
-0.057623255997896194,
0.031149905174970627,
-0.0568506084382534,
-0.0025848117657005787,
-0.019163697957992554,
-0.023525090888142586,
-0.021918797865509987,
-0.014985299669206142,
0.022345786914229393,
-0.0552239827811718,
-0.007030078209936619,
-0.022264454513788223,
-0.016256101429462433,
-0.007909473031759262,
0.004747717175632715,
-0.007243572734296322,
-0.024358738213777542,
-0.008097551763057709,
-0.011071229353547096,
-0.02830330654978752,
0.011935374699532986,
0.03794107213616371,
0.004036067984998226,
0.0051238746382296085,
0.02322009764611721,
0.044691573828458786,
0.08564190566539764,
-0.0004314373654779047,
-0.0346674844622612,
-0.013785663060843945,
-0.034484490752220154,
0.04530155658721924,
0.013013014569878578,
0.023891082033514977,
0.0035480798687785864,
-0.02954361028969288,
-0.0009156130254268646,
-0.01370433159172535,
-0.05123874545097351,
0.04099099710583687,
-0.04221096634864807,
0.01708974875509739,
-0.007207990158349276,
0.004137732088565826,
0.003428624477237463,
-0.047863494604825974,
0.06002253293991089,
0.03352884575724602,
0.007985721342265606,
0.058070577681064606,
-0.03344751521945,
0.015473288483917713,
-0.04558621719479561,
-0.0002938730176538229,
-0.04969345033168793,
-0.07998937368392944,
0.03804273530840874,
-0.0014474437339231372,
-0.010151168331503868,
0.013501003384590149,
0.021817132830619812,
-0.027388330549001694,
-0.048473481088876724,
-0.053638022392988205,
0.02059716358780861,
0.04147898405790329,
-0.0018502880120649934,
0.0233827605843544,
0.030295925214886665,
-0.03133289888501167,
0.018004726618528366
] |
710,819
|
yt_dlp.postprocessor.ffmpeg
|
FFmpegSubtitlesConvertorPP
| null |
class FFmpegSubtitlesConvertorPP(FFmpegPostProcessor):
SUPPORTED_EXTS = MEDIA_EXTENSIONS.subtitles
def __init__(self, downloader=None, format=None):
super().__init__(downloader)
self.format = format
def run(self, info):
subs = info.get('requested_subtitles')
new_ext = self.format
new_format = new_ext
if new_format == 'vtt':
new_format = 'webvtt'
if subs is None:
self.to_screen('There aren\'t any subtitles to convert')
return [], info
self.to_screen('Converting subtitles')
sub_filenames = []
for lang, sub in subs.items():
if not os.path.exists(sub.get('filepath', '')):
self.report_warning(f'Skipping embedding {lang} subtitle because the file is missing')
continue
ext = sub['ext']
if ext == new_ext:
self.to_screen('Subtitle file for %s is already in the requested format' % new_ext)
continue
elif ext == 'json':
self.to_screen(
'You have requested to convert json subtitles into another format, '
'which is currently not possible')
continue
old_file = sub['filepath']
sub_filenames.append(old_file)
new_file = replace_extension(old_file, new_ext)
if ext in ('dfxp', 'ttml', 'tt'):
self.report_warning(
'You have requested to convert dfxp (TTML) subtitles into another format, '
'which results in style information loss')
dfxp_file = old_file
srt_file = replace_extension(old_file, 'srt')
with open(dfxp_file, 'rb') as f:
srt_data = dfxp2srt(f.read())
with open(srt_file, 'w', encoding='utf-8') as f:
f.write(srt_data)
old_file = srt_file
subs[lang] = {
'ext': 'srt',
'data': srt_data,
'filepath': srt_file,
}
if new_ext == 'srt':
continue
else:
sub_filenames.append(srt_file)
self.run_ffmpeg(old_file, new_file, ['-f', new_format])
with open(new_file, encoding='utf-8') as f:
subs[lang] = {
'ext': new_ext,
'data': f.read(),
'filepath': new_file,
}
info['__files_to_move'][new_file] = replace_extension(
info['__files_to_move'][sub['filepath']], new_ext)
return sub_filenames, info
|
(downloader=None, format=None)
|
[
0.003951613325625658,
-0.016669314354658127,
-0.09679201245307922,
-0.004686466418206692,
-0.026606423780322075,
-0.0035035901237279177,
0.01864156499505043,
0.037586551159620285,
0.040355291217565536,
-0.008732900023460388,
0.03223871812224388,
-0.004814473446458578,
0.007301121484488249,
0.026871919631958008,
-0.014507423155009747,
0.03460921347141266,
0.01180506031960249,
0.047068528831005096,
0.011349924840033054,
0.014289338141679764,
-0.006357664708048105,
-0.01436519343405962,
-0.01226967666298151,
0.011226659640669823,
0.01717185787856579,
-0.0017612770898267627,
0.02277570590376854,
-0.05180951580405235,
-0.05920545756816864,
0.007244229782372713,
0.04835807904601097,
0.024861741811037064,
-0.02785804495215416,
0.041037991642951965,
-0.060419149696826935,
0.041948262602090836,
-0.07896589487791061,
0.016735687851905823,
-0.07934517413377762,
0.03214389830827713,
0.008263542316854,
-0.044223934412002563,
0.025828901678323746,
0.009975038468837738,
0.010980128310620785,
0.005698667373508215,
-0.07521103322505951,
-0.005437913350760937,
-0.005343093536794186,
-0.02548755146563053,
0.031688764691352844,
-0.05472996458411217,
0.007675659377127886,
0.035178132355213165,
-0.03963465988636017,
0.0476374477148056,
-0.024311786517500877,
0.08359310030937195,
0.014867737889289856,
-0.002446349710226059,
0.05055789649486542,
-0.022623995319008827,
0.0051202671602368355,
0.058864105492830276,
0.012317086569964886,
-0.024691065773367882,
0.03538673371076584,
-0.05518509820103645,
-0.09603345394134521,
0.004883217625319958,
0.004186292178928852,
-0.05245429277420044,
-0.017096003517508507,
-0.010762042365968227,
0.03955880180001259,
0.049609698355197906,
-0.03269385173916817,
-0.012411906383931637,
0.025203092023730278,
0.06314995884895325,
0.05135438218712807,
0.016271071508526802,
-0.012061073444783688,
0.006409815512597561,
0.06242933124303818,
-0.036922816187143326,
0.07748670876026154,
-0.04118970409035683,
-0.08412408828735352,
0.030645746737718582,
-0.006371887866407633,
-0.03275074437260628,
0.041948262602090836,
-0.007381718140095472,
-0.0236290842294693,
-0.043503306806087494,
-0.009287595748901367,
-0.04126555845141411,
-0.07502139359712601,
-0.057005640119314194,
-0.008604893460869789,
0.021334445104002953,
-0.03625907748937607,
-0.03208700567483902,
0.08556535094976425,
-0.0018169836839661002,
-0.012051591649651527,
0.035083312541246414,
-0.026701243594288826,
-0.004487344995141029,
0.008960466831922531,
-0.04847186058759689,
-0.02205507643520832,
-0.020120752975344658,
0.022984309121966362,
-0.10589470714330673,
-0.014924630522727966,
0.035121239721775055,
-0.026720209047198296,
0.015626296401023865,
-0.010430173948407173,
0.03189736604690552,
-0.033054169267416,
-0.037586551159620285,
-0.05837104469537735,
-0.07790391147136688,
0.0625431165099144,
0.010126749984920025,
0.040127720683813095,
-0.0022401167079806328,
-0.030797457322478294,
0.01810109242796898,
-0.05336456000804901,
0.0009007877088151872,
0.023041201755404472,
-0.06739788502454758,
0.02787700854241848,
0.025866830721497536,
-0.03637285903096199,
-0.050406184047460556,
0.020632779225707054,
-0.0015668965643271804,
0.02626507356762886,
-0.00884668342769146,
-0.04175862297415733,
-0.02213093265891075,
0.012601546011865139,
-0.0035960394889116287,
-0.016527084633708,
0.05689185485243797,
-0.028066648170351982,
-0.004916404373943806,
-0.04111384600400925,
0.013966950587928295,
0.08685489743947983,
-0.05761248618364334,
-0.00029245970654301345,
0.009605241939425468,
-0.01573059894144535,
0.05647464841604233,
0.027270162478089333,
0.007429128047078848,
-0.03971051424741745,
0.0002200114686274901,
0.0007561875972896814,
-0.02279466949403286,
0.032466284930706024,
0.015114269219338894,
0.02205507643520832,
0.06705653667449951,
0.07634887099266052,
0.02884417027235031,
-0.0647050067782402,
-0.006812799721956253,
0.0557919479906559,
0.03449542820453644,
0.0380227230489254,
0.008694971911609173,
0.027308091521263123,
0.027516694739460945,
-0.016403818503022194,
0.0054047261364758015,
-0.01951390691101551,
-0.00885616522282362,
0.04046907275915146,
0.08988913148641586,
0.00805967953056097,
0.05086131766438484,
-0.023458408191800117,
-0.03570912033319473,
0.0341351144015789,
-0.053857624530792236,
0.003029491286724806,
0.014668616466224194,
-0.0018762459512799978,
0.01349285151809454,
-0.024387642741203308,
-0.012174856849014759,
0.014279855415225029,
-0.00805019773542881,
0.009766435250639915,
0.011700758710503578,
0.07028040289878845,
-0.010240534320473671,
-0.06189833953976631,
0.019817329943180084,
-0.018878614529967308,
0.05507131665945053,
-0.09899182617664337,
-0.007998046465218067,
0.006684793159365654,
-0.031669799238443375,
0.06728409975767136,
-0.031669799238443375,
0.02122066169977188,
-0.05818140506744385,
0.002908596070483327,
0.0312715582549572,
-0.015740079805254936,
0.0007064071833156049,
0.02268088608980179,
0.02785804495215416,
-0.06872536242008209,
0.05981230363249779,
0.05742284655570984,
-0.0033115800470113754,
0.031043989583849907,
0.047827087342739105,
-0.008875129744410515,
-0.018726902082562447,
0.0028161469381302595,
-0.026796063408255577,
-0.005333611276000738,
0.01399539690464735,
0.019219964742660522,
0.033528268337249756,
0.035083312541246414,
-0.021751653403043747,
-0.035178132355213165,
0.024141110479831696,
0.040924206376075745,
0.002314787358045578,
-0.01953287050127983,
-0.04843393340706825,
-0.022036112844944,
-0.019191518425941467,
0.04202411696314812,
0.009221221320331097,
-0.012231748551130295,
0.04896492511034012,
0.08025544136762619,
0.001993585377931595,
-0.022472282871603966,
0.036069437861442566,
-0.013170464895665646,
-0.02207404002547264,
-0.04809258133172989,
-0.06398437172174454,
0.031062953174114227,
0.001742313033901155,
-0.014867737889289856,
0.012061073444783688,
-0.018565708771348,
0.04062078520655632,
-0.027573585510253906,
-0.035178132355213165,
-0.039331234991550446,
0.001487485016696155,
-0.05981230363249779,
0.009372932836413383,
0.02110687829554081,
-0.02182750776410103,
-0.03542466089129448,
0.02182750776410103,
-0.012032627128064632,
0.03132844716310501,
-0.026833992451429367,
0.011852470226585865,
0.07805562764406204,
-0.005532733164727688,
0.04797879979014397,
-0.016925327479839325,
0.019191518425941467,
-0.06303617358207703,
0.13244423270225525,
-0.028445927426218987,
-0.010695668868720531,
-0.027289126068353653,
-0.0035201834980398417,
-0.0034443277399986982,
-0.024691065773367882,
0.005637034773826599,
0.038439929485321045,
0.012592064216732979,
-0.035955652594566345,
0.048775285482406616,
-0.02709948644042015,
-0.06333959847688675,
0.04137934371829033,
-0.03548155352473259,
-0.05605744197964668,
0.02971651218831539,
0.007789443247020245,
0.009908664971590042,
-0.09982624650001526,
0.062201760709285736,
-0.011311997659504414,
-0.0172287505120039,
0.037586551159620285,
-0.06019158288836479,
0.01233605109155178,
-0.015664223581552505,
0.0018075016560032964,
0.02702363207936287,
-0.009994002990424633,
0.03646767884492874,
0.03148015961050987,
0.03952087461948395,
-0.0007864114013500512,
0.0019035066943615675,
-0.05674014240503311,
0.03817443549633026,
0.023117057979106903,
0.06754959374666214,
0.09815741330385208,
-0.039407093077898026,
-0.005679703783243895,
-0.014621206559240818,
0.050254471600055695,
-0.027725297957658768,
-0.0016664572758600116,
0.024160074070096016,
-0.012648955918848515,
0.01521857175976038,
-0.0009167885291390121,
-0.040924206376075745,
-0.023325661197304726,
0.007595062721520662,
0.07430076599121094,
-0.04293438792228699,
0.00651885848492384,
0.013597153127193451,
-0.029394125565886497,
0.02025349996984005,
0.031119845807552338,
0.0032855046447366476,
-0.033471375703811646,
0.004058285616338253,
0.040355291217565536,
-0.06159491464495659,
0.009994002990424633,
-0.030892277136445045,
-0.008405772037804127,
0.05526095628738403,
-0.011245623230934143,
-0.06735995411872864,
0.015085823833942413,
-0.06242933124303818,
0.009861255064606667,
-0.04797879979014397,
-0.0036410787142813206,
0.04539969936013222,
-0.026435749605298042,
0.03218182548880577,
0.009666874073445797,
-0.029299305751919746,
-0.0012421387946233153,
0.013739382848143578,
-0.024842776358127594,
0.005480581894516945,
0.010098304599523544,
0.025203092023730278,
-0.0004136511997785419,
-0.036012545228004456,
-0.01682102493941784,
0.013966950587928295,
-0.0068554687313735485,
0.015057377517223358,
0.0010216828668490052,
-0.0054948050528764725,
0.04668924957513809,
0.024918632581830025,
-0.08503436297178268,
0.012923933565616608,
0.024216966703534126,
-0.01769336685538292,
0.009657392278313637,
0.0027284384705126286,
0.05499546229839325,
-0.019817329943180084,
-0.01949494332075119,
0.058939963579177856,
0.015123751945793629,
-0.053857624530792236,
0.028578676283359528,
-0.009339746087789536,
-0.07100103795528412,
0.03622114658355713,
0.02544962428510189,
0.024084219709038734,
0.006035277619957924,
-0.029052773490548134,
0.0091548478230834,
0.05328870564699173,
0.005091821309179068,
-0.004973296541720629,
0.088144451379776,
0.07790391147136688,
0.00017349052359350026,
0.0575745590031147,
0.023079128935933113,
-0.015408210456371307,
-0.03703659772872925,
-0.0152375353500247,
-0.09315092861652374,
0.05245429277420044,
-0.04574105143547058,
0.019627690315246582,
-0.03318691626191139,
0.01769336685538292,
0.0042289611883461475,
0.07100103795528412,
0.034969527274370193,
0.01940012350678444,
0.04911663383245468,
-0.03470403328537941,
-0.000695147376973182,
0.013388549908995628,
-0.04467907175421715,
-0.0126110278069973,
0.00828250590711832,
-0.031062953174114227,
-0.03948294743895531,
-0.008088125847280025,
0.04748573526740074,
0.0015799342654645443,
0.012743775732815266,
0.013464406132698059,
-0.012876523658633232,
0.05431275814771652,
0.01724771410226822,
0.01357818953692913,
0.03271281719207764,
-0.012317086569964886,
0.05086131766438484,
-0.01226967666298151,
-0.06584284454584122,
-0.0190113615244627,
-0.07672815024852753,
-0.01949494332075119,
-0.047827087342739105,
0.06811851263046265,
0.028332144021987915,
-0.016944291070103645,
0.03555741161108017,
-0.04319988191127777,
0.033528268337249756,
-0.001725719659589231,
-0.05507131665945053,
-0.043617088347673416,
-0.01445053145289421,
0.03641078621149063,
0.03978637233376503,
0.044072225689888,
0.0119093619287014,
-0.03239043056964874,
0.016659831628203392,
-0.02609439752995968,
-0.08359310030937195,
-0.0026146548334509134,
0.017645956948399544,
0.013322176411747932,
0.03658146411180496,
-0.008666525594890118,
0.022984309121966362,
0.022111967206001282,
-0.03895195573568344,
-0.06724617630243301,
-0.009927628561854362,
0.011643866077065468,
0.06781509518623352,
-0.029299305751919746,
0.005115525797009468,
0.03734002262353897,
0.0049069225788116455,
-0.02960272878408432,
0.060381222516298294,
-0.016015056520700455,
-0.01717185787856579,
-0.006338701117783785,
-0.01610039547085762,
-0.019684582948684692,
-0.006077946629375219,
0.01955183409154415,
-0.05749870091676712,
-0.06333959847688675,
-0.009519903920590878,
0.02205507643520832,
0.028294216841459274,
-0.061329420655965805,
0.05271978676319122,
-0.019257893785834312,
0.007414905354380608,
-0.04574105143547058,
0.0405069999396801,
0.04505835101008415,
-0.020462103188037872,
0.056398794054985046,
-0.06963562965393066,
0.05188537389039993,
-0.07486968487501144,
-0.017152894288301468,
-0.011681794188916683,
-0.020462103188037872,
0.03734002262353897,
0.01934323087334633,
-0.020101789385080338,
0.04505835101008415,
0.01102753821760416,
0.005471100099384785,
-0.005172417964786291,
-0.042744748294353485,
0.013644563034176826,
-0.02721327170729637,
0.008548001758754253,
0.0341351144015789,
-0.07684193551540375,
0.022301606833934784,
0.0366193912923336,
-0.014943594112992287,
-0.02275674231350422,
-0.007893744856119156,
0.044451504945755005,
-0.04467907175421715,
0.025961650535464287,
-0.026435749605298042,
-0.014061770401895046,
-0.0026099139358848333,
0.02031039260327816,
-0.014497941359877586,
0.010837898589670658,
0.02956480160355568,
-0.03578497841954231,
-0.03631596639752388,
-0.004449417348951101,
0.001147319097071886,
0.0030437142122536898,
0.054654110223054886,
0.03745380416512489,
0.01940012350678444,
-0.017427871003746986,
-0.022586066275835037,
0.025715118274092674,
0.060457076877355576,
-0.029944080859422684,
0.019627690315246582,
-0.0016972736921161413,
-0.005551696754992008,
0.05051996931433678,
0.016299515962600708,
0.0003798716643359512,
0.02628403715789318,
-0.007059331052005291,
-0.048623573035001755,
-0.03627803921699524,
0.046765103936195374,
-0.027478765696287155,
0.040355291217565536,
-0.04551348462700844,
-0.00006226250843610615,
0.05651257559657097,
-0.006931324489414692,
-0.03208700567483902,
-0.062239691615104675,
-0.02618921734392643,
-0.039407093077898026,
0.01436519343405962,
-0.01871742121875286,
0.013824720866978168,
0.012307604774832726,
-0.0038615346420556307,
0.0005490656476467848,
0.04657546430826187,
-0.023117057979106903,
0.0008877500076778233,
-0.025013452395796776,
0.0252220556139946,
-0.00885616522282362,
0.05127852410078049,
0.015180643647909164,
-0.08556535094976425,
0.04062078520655632,
0.05408519133925438,
-0.009766435250639915,
-0.015076342038810253,
-0.007504983805119991,
0.031669799238443375,
0.006258103996515274,
0.015123751945793629,
-0.034154076129198074,
-0.03036128729581833,
0.01433674804866314,
-0.002349159447476268,
-0.0101741598919034,
0.050292398780584335,
-0.06163284182548523,
0.0011200583539903164,
-0.026037506759166718,
-0.014460013248026371,
0.018565708771348,
-0.008268282748758793,
0.009681097231805325,
0.027649441733956337,
-0.03481781482696533,
0.04668924957513809,
-0.02975444123148918,
-0.03295934945344925,
-0.0066753108985722065,
0.036733176559209824,
-0.031821511685848236,
-0.02808561362326145,
0.05977437645196915,
-0.06481878459453583,
0.043692946434020996,
-0.011207695119082928,
0.041075918823480606,
-0.003816495416685939,
-0.04509627819061279,
-0.04323780909180641,
-0.06652554124593735,
0.04498249292373657,
-0.024065254256129265,
0.06409815698862076,
0.001168653485365212,
-0.0025909498799592257,
-0.006561527494341135,
-0.01683998852968216,
-0.01928633823990822,
0.01769336685538292,
0.012373978272080421,
0.01181454211473465,
-0.06436365097761154,
-0.001495781703852117,
-0.032561104744672775,
-0.01478240080177784,
-0.0059262351132929325,
-0.001976992003619671,
-0.056209154427051544,
0.015891792252659798,
0.032561104744672775,
0.06015365570783615,
0.006262844894081354,
-0.04710645601153374,
0.0474478080868721,
-0.018831204622983932,
0.07183545082807541,
0.060495007783174515,
-0.037719301879405975,
0.015284945257008076,
0.012810149230062962,
0.01810109242796898,
-0.025715118274092674,
0.01093271840363741,
-0.001040054252371192,
0.036865923553705215,
-0.030607817694544792,
0.012136929668486118,
0.025601334869861603,
0.01958976313471794,
-0.04225168377161026,
0.00904106441885233,
-0.01728564128279686,
-0.0677013099193573,
0.008860906586050987,
0.01871742121875286,
-0.019950076937675476,
-0.006016313564032316,
-0.020518995821475983,
0.03718831017613411,
-0.01436519343405962,
-0.021543050184845924,
0.02448246255517006,
-0.014298819936811924,
0.003219130914658308,
-0.03328173607587814,
-0.021618904545903206,
0.040203578770160675,
-0.00947723537683487,
-0.0001356366992695257,
-0.03990015387535095,
-0.00017319421749562025,
0.07532481849193573,
-0.04122763127088547,
-0.05014069005846977,
-0.00574133638292551,
-0.023079128935933113,
0.002001882065087557,
-0.07896589487791061,
-0.022244716063141823,
-0.044451504945755005,
-0.02795286476612091,
-0.0420999750494957,
0.014640171080827713,
-0.021599940955638885,
-0.009396637789905071,
0.03971051424741745,
-0.06091221421957016,
-0.022623995319008827,
0.002780589507892728,
-0.02791493758559227,
-0.030133720487356186,
-0.014659134671092033,
0.02442556992173195,
0.029166558757424355,
-0.05818140506744385,
-0.028957953676581383,
0.005542214959859848,
0.049609698355197906,
0.03620218485593796,
0.009576795622706413,
0.015446138568222523,
0.02025349996984005,
0.030949169769883156,
0.07198715955018997,
0.009216480888426304,
-0.02715637907385826,
0.014042806811630726,
-0.03569015860557556,
0.054540324956178665,
-0.020101789385080338,
0.021789580583572388,
0.009064769372344017,
-0.04665132239460945,
-0.046120330691337585,
-0.019627690315246582,
-0.04471699893474579,
0.034969527274370193,
-0.005191382020711899,
0.011738685891032219,
-0.018034718930721283,
-0.019798366352915764,
-0.022263679653406143,
-0.01869845576584339,
0.011150803416967392,
-0.019817329943180084,
0.03658146411180496,
0.08040715754032135,
-0.02793390117585659,
-0.002754514105618,
0.00841051246970892,
0.02789597399532795,
-0.021713724359869957,
-0.06925635039806366,
0.025961650535464287,
0.007059331052005291,
0.018651045858860016,
0.04046907275915146,
-0.018926024436950684,
-0.073883555829525,
-0.02958376519382,
-0.013606635853648186,
0.002778219059109688,
0.04680303484201431,
0.032561104744672775,
0.04854771867394447,
0.02878727950155735,
-0.0014732619747519493,
0.03398340195417404
] |
710,904
|
yt_dlp.postprocessor.ffmpeg
|
FFmpegVideoConvertorPP
| null |
class FFmpegVideoConvertorPP(FFmpegPostProcessor):
SUPPORTED_EXTS = (
*sorted((*MEDIA_EXTENSIONS.common_video, 'gif')),
*sorted((*MEDIA_EXTENSIONS.common_audio, 'aac', 'vorbis')),
)
FORMAT_RE = create_mapping_re(SUPPORTED_EXTS)
_ACTION = 'converting'
def __init__(self, downloader=None, preferedformat=None):
super().__init__(downloader)
self.mapping = preferedformat
@staticmethod
def _options(target_ext):
yield from FFmpegPostProcessor.stream_copy_opts(False)
if target_ext == 'avi':
yield from ('-c:v', 'libxvid', '-vtag', 'XVID')
@PostProcessor._restrict_to(images=False)
def run(self, info):
filename, source_ext = info['filepath'], info['ext'].lower()
target_ext, _skip_msg = resolve_mapping(source_ext, self.mapping)
if _skip_msg:
self.to_screen(f'Not {self._ACTION} media file "{filename}"; {_skip_msg}')
return [], info
outpath = replace_extension(filename, target_ext, source_ext)
self.to_screen(f'{self._ACTION.title()} video from {source_ext} to {target_ext}; Destination: {outpath}')
self.run_ffmpeg(filename, outpath, self._options(target_ext))
info['filepath'] = outpath
info['format'] = info['ext'] = target_ext
return [filename], info
|
(downloader=None, preferedformat=None)
|
[
0.06248171254992485,
-0.026343239471316338,
-0.11694914102554321,
0.011381392367184162,
-0.017781686037778854,
-0.011770975776016712,
0.052315447479486465,
0.04059084877371788,
0.01949770748615265,
0.019386397674679756,
0.04786306992173195,
0.001520069781690836,
-0.01342206634581089,
0.05094262957572937,
0.02493331953883171,
0.023504847660660744,
0.028161292895674706,
0.049235884100198746,
0.03932934254407883,
0.035396408289670944,
0.0030818807426840067,
0.007800938095897436,
-0.03647239878773689,
-0.012123455293476582,
0.01953481137752533,
0.06003290414810181,
0.011047463864088058,
-0.052278343588113785,
-0.05216703563928604,
0.029997900128364563,
0.043150968849658966,
0.011743147857487202,
-0.022354649379849434,
0.020814869552850723,
-0.04797437787055969,
0.04812278971076012,
-0.05643389746546745,
0.06693408638238907,
-0.10767335444688797,
-0.016696419566869736,
0.0027317197527736425,
-0.08192376047372818,
0.000021323443434084766,
0.03266932815313339,
-0.002699254546314478,
-0.021223004907369614,
-0.06945710629224777,
-0.031166648492217064,
-0.010101333260536194,
-0.04322517290711403,
0.04589660093188286,
-0.023987188935279846,
0.03407924622297287,
0.05086842551827431,
-0.029033217579126358,
0.05105394124984741,
-0.023504847660660744,
0.0789555087685585,
0.03218698501586914,
0.03300325572490692,
-0.02790157124400139,
-0.023208022117614746,
0.004088303539901972,
0.031203752383589745,
0.023189472034573555,
-0.03452448546886444,
-0.008960411883890629,
-0.027122406288981438,
-0.0904574915766716,
0.047306522727012634,
-0.018625782802700996,
-0.07888130843639374,
0.01191011257469654,
0.00935463234782219,
0.024284014478325844,
0.0067991530522704124,
-0.030461689457297325,
0.019293639808893204,
0.06908607482910156,
0.05658230930566788,
0.06641464680433273,
0.03333718329668045,
-0.03910672292113304,
-0.023912983015179634,
0.05658230930566788,
-0.03944065421819687,
0.020610801875591278,
-0.059624768793582916,
-0.06055234745144844,
-0.00957261398434639,
-0.02803143300116062,
-0.012188386172056198,
0.03914382681250572,
0.049644019454717636,
-0.05791802331805229,
-0.014117750339210033,
-0.003816986922174692,
0.005523731932044029,
-0.05736147612333298,
-0.03910672292113304,
-0.04248310998082161,
0.04760334640741348,
-0.05031187832355499,
-0.03680633008480072,
0.08222059160470963,
-0.0018632740247994661,
-0.040034301578998566,
0.00368712586350739,
-0.042297594249248505,
-0.02411705069243908,
0.02523014508187771,
-0.02756764367222786,
-0.019256537780165672,
-0.037344325333833694,
0.03515523672103882,
-0.05791802331805229,
-0.018106339499354362,
0.009280426427721977,
0.011965767480432987,
0.015620428137481213,
-0.023560503497719765,
0.01759617030620575,
-0.015351429581642151,
-0.05780671536922455,
-0.03936644643545151,
-0.05250096321105957,
0.0506829097867012,
-0.01477633137255907,
0.0013044077204540372,
0.04433826729655266,
-0.024673597887158394,
0.015852322801947594,
-0.05528369918465614,
0.0018145760986953974,
-0.007824127562344074,
-0.04092478007078171,
0.01877419650554657,
0.01646452397108078,
-0.02025832235813141,
-0.032038573175668716,
0.0030818807426840067,
0.0012603477807715535,
0.03022051975131035,
0.011993594467639923,
-0.05046029016375542,
-0.036546606570482254,
0.04752913862466812,
0.0011942577548325062,
0.03289194405078888,
0.02947845496237278,
-0.0004916167818009853,
0.0031491301488131285,
-0.013589030131697655,
0.030591551214456558,
0.09053169190883636,
-0.015295775607228279,
-0.0016221035039052367,
0.03400504216551781,
-0.03970037400722504,
0.03689908608794212,
0.018579404801130295,
-0.015305050648748875,
-0.048048585653305054,
0.013190170750021935,
0.02714095637202263,
-0.0176425501704216,
0.0590682215988636,
0.04415275156497955,
0.05372536554932594,
0.061925165355205536,
0.08860233426094055,
0.0030099933501333,
-0.05276068300008774,
-0.018579404801130295,
0.062221989035606384,
0.07557912170886993,
0.0011183122405782342,
-0.004999650176614523,
0.0460079126060009,
0.005101683549582958,
-0.005607214290648699,
0.03194581717252731,
-0.025526970624923706,
-0.025137387216091156,
0.053020406514406204,
0.046193428337574005,
0.02222478948533535,
0.036991845816373825,
-0.012021421454846859,
-0.04162973910570145,
0.033912282437086105,
-0.04515453800559044,
0.03103678859770298,
0.02224334143102169,
-0.025916552171111107,
-0.01551839429885149,
-0.019757429137825966,
0.009535510092973709,
0.061405718326568604,
0.006112744566053152,
0.03634253889322281,
-0.0024348944425582886,
0.036175575107336044,
0.011075291782617569,
-0.060255520045757294,
0.02035108022391796,
-0.006493052002042532,
0.04359620437026024,
-0.07813924551010132,
-0.01152052916586399,
0.011214428581297398,
-0.020165564492344856,
0.0367506742477417,
-0.026510203257203102,
0.0030355018097907305,
-0.05357695370912552,
0.0045358603820204735,
0.03940355032682419,
-0.006497689988464117,
0.028996115550398827,
0.0389954149723053,
0.013691063970327377,
-0.07457733899354935,
0.07235115021467209,
0.09216423332691193,
-0.009897266514599323,
0.022336099296808243,
-0.002622729167342186,
-0.035099584609270096,
0.0018087787320837379,
-0.005519093945622444,
-0.030387483537197113,
-0.02376456931233406,
0.03903251886367798,
0.030535895377397537,
0.06166544184088707,
0.0820721760392189,
-0.007415992673486471,
-0.08214638382196426,
-0.006905824411660433,
0.04548846557736397,
0.008728517219424248,
-0.015332878567278385,
-0.02684413269162178,
-0.005069218575954437,
-0.0473807267844677,
0.018477370962500572,
0.019423501566052437,
-0.008849102072417736,
0.0612202025949955,
0.04700969532132149,
0.011066015809774399,
-0.012457383796572685,
0.005059942603111267,
-0.046119220554828644,
-0.015434912405908108,
-0.06207357719540596,
-0.06908607482910156,
0.04667576774954796,
0.007759197149425745,
-0.0038401763886213303,
-0.01802285760641098,
-0.03368966281414032,
-0.005440250039100647,
-0.00801891926676035,
-0.03491406887769699,
-0.04033112898468971,
-0.006604361347854137,
-0.03563757985830307,
0.01552767027169466,
0.04626763239502907,
-0.03719591349363327,
-0.06266722828149796,
0.016548005864024162,
-0.020555147901177406,
0.029793832451105118,
-0.038104940205812454,
-0.0006788717582821846,
0.07561622560024261,
0.00033653719583526254,
0.026361791417002678,
-0.032038573175668716,
-0.012550141662359238,
-0.05543211102485657,
0.08496621996164322,
0.008153418079018593,
-0.0020998066756874323,
-0.037010397762060165,
-0.005180527921766043,
0.005806643515825272,
-0.00460774777457118,
0.0004240774433128536,
0.019237985834479332,
-0.005041391123086214,
-0.00459151528775692,
0.05506107956171036,
-0.01873709261417389,
-0.06381742656230927,
0.007963264361023903,
-0.02068500779569149,
-0.05598865821957588,
0.025916552171111107,
0.013051033951342106,
0.04897616431117058,
-0.08533725142478943,
0.07977177947759628,
-0.020443838089704514,
-0.03411635011434555,
0.02910742349922657,
-0.05858587846159935,
0.038142040371894836,
-0.007332510780543089,
-0.022317547351121902,
0.030962582677602768,
0.014924743212759495,
0.041184499859809875,
0.03981168568134308,
0.04548846557736397,
-0.000047973218897823244,
0.001593116670846939,
-0.020796317607164383,
0.08029122650623322,
0.0009368546307086945,
0.07023627310991287,
0.05799223110079765,
0.00526864780113101,
-0.006604361347854137,
-0.023504847660660744,
0.021371416747570038,
-0.017911547794938087,
-0.03326297923922539,
0.05621127784252167,
-0.043781720101833344,
0.07179459929466248,
0.028866253793239594,
-0.03404214233160019,
-0.03150057792663574,
-0.011149497702717781,
0.06953131407499313,
-0.004832685925066471,
0.00010275834210915491,
0.0022192324977368116,
-0.02725226618349552,
-0.003520161611959338,
0.03064720518887043,
0.005676782689988613,
-0.0389954149723053,
0.022076375782489777,
0.004225121811032295,
-0.07101543992757797,
0.022781336680054665,
-0.028235500678420067,
-0.01687265932559967,
0.043039657175540924,
-0.004218164831399918,
-0.04051664471626282,
-0.002977528143674135,
-0.03786376863718033,
-0.00993436947464943,
-0.004496438428759575,
0.0467870756983757,
0.05316881835460663,
-0.0033926195465028286,
-0.005964331794530153,
0.026658616960048676,
-0.008102401159703732,
0.0018795066280290484,
-0.014256887137889862,
-0.002367645036429167,
0.006386380176991224,
-0.01512881089001894,
0.059513457119464874,
-0.007095978129655123,
-0.0697910338640213,
-0.004125406965613365,
0.0002920424158219248,
-0.01641814596951008,
0.024395324289798737,
0.0018713902682065964,
0.039997201412916183,
0.03944065421819687,
0.042668625712394714,
-0.07858447730541229,
-0.022725680842995644,
0.020035702735185623,
0.01129791047424078,
0.013468445278704166,
0.006669291760772467,
0.0168633833527565,
-0.018106339499354362,
-0.03708460181951523,
0.04411565139889717,
-0.030851272866129875,
-0.05131366103887558,
0.038142040371894836,
-0.0460079126060009,
-0.0805138424038887,
0.08274003118276596,
0.02992369420826435,
-0.022465959191322327,
-0.01415485329926014,
0.01726224273443222,
0.0027085302863270044,
0.06133151426911354,
0.014943295158445835,
-0.028105638921260834,
0.05465294420719147,
0.09654240310192108,
0.005941142328083515,
0.02526724711060524,
0.006989306770265102,
-0.029812384396791458,
-0.020518044009804726,
-0.02411705069243908,
-0.05558052286505699,
0.04407854750752449,
-0.007986454293131828,
-0.010425985790789127,
-0.009141289629042149,
0.028903357684612274,
0.009234047494828701,
0.04051664471626282,
0.02803143300116062,
-0.005319664720445871,
0.006980030797421932,
-0.03799362853169441,
0.009006790816783905,
0.019423501566052437,
-0.054244812577962875,
-0.0375298410654068,
-0.011158773675560951,
0.024413874372839928,
-0.027660401538014412,
-0.016575833782553673,
0.0389954149723053,
-0.009127375669777393,
0.01549056638032198,
0.017447758466005325,
0.023467745631933212,
0.08659876137971878,
0.0030007176101207733,
-0.004076709039509296,
0.02101893723011017,
0.013728166930377483,
0.04244600981473923,
0.003970037680119276,
-0.06537576019763947,
0.04033112898468971,
-0.06611782312393188,
0.006942927837371826,
-0.035099584609270096,
0.05290909856557846,
0.03715880960226059,
-0.06463369727134705,
0.05331723392009735,
-0.017892995849251747,
-0.011539081111550331,
-0.029274389147758484,
-0.05873429402709007,
-0.027456333860754967,
0.029756728559732437,
0.006980030797421932,
0.009581889025866985,
0.007833403535187244,
-0.014516608789563179,
0.028569428250193596,
0.04144422337412834,
-0.0004374113923404366,
-0.08429836481809616,
0.001204692991450429,
0.015091707929968834,
0.016269732266664505,
0.032020021229982376,
-0.03803073242306709,
0.01604711450636387,
0.01378382183611393,
-0.011863733641803265,
-0.035377856343984604,
0.023245126008987427,
0.004976460710167885,
0.03784521669149399,
-0.028829149901866913,
0.0009519277955405414,
0.027697503566741943,
-0.003714953316375613,
0.010425985790789127,
0.08103328943252563,
-0.02756764367222786,
-0.011177324689924717,
-0.000509588629938662,
-0.02686268277466297,
0.009076358750462532,
-0.01302320696413517,
0.0037729269824922085,
-0.034264761954545975,
-0.07457733899354935,
0.014637194573879242,
-0.0024789543822407722,
0.05031187832355499,
-0.042371802031993866,
0.025007525458931923,
-0.040776364505290985,
-0.026658616960048676,
-0.07910392433404922,
0.023245126008987427,
0.011372116394340992,
-0.02027687430381775,
0.012503762729465961,
-0.05869719013571739,
0.04556267336010933,
-0.03992299363017082,
-0.019033918157219887,
-0.030350379645824432,
-0.02265147492289543,
0.018672162666916847,
0.0017021071398630738,
-0.005175889935344458,
0.024042842909693718,
0.017160208895802498,
-0.00786123052239418,
-0.00939637329429388,
-0.03903251886367798,
0.0191081240773201,
-0.04630473628640175,
-0.01304175890982151,
0.04203787446022034,
-0.05776961147785187,
-0.0029241922311484814,
0.03571178391575813,
-0.042334698140621185,
-0.03150057792663574,
-0.011622563004493713,
0.0312965102493763,
-0.02216913364827633,
0.020128460600972176,
-0.025174489244818687,
0.026287583634257317,
0.034710001200437546,
-0.0536140576004982,
-0.013950785622000694,
0.01265217550098896,
0.01415485329926014,
-0.052241239696741104,
0.01128863450139761,
0.004584558308124542,
0.002044151769950986,
-0.02374601922929287,
0.07969757169485092,
0.07769400626420975,
-0.03591585159301758,
-0.030146311968564987,
0.006882634945213795,
-0.010379606857895851,
0.0444495789706707,
-0.040850572288036346,
0.019052470102906227,
0.03480275720357895,
-0.0020974876824766397,
0.04263152554631233,
-0.012763485312461853,
0.0018667523982003331,
0.03719591349363327,
-0.015332878567278385,
-0.0894928053021431,
-0.06081207096576691,
0.01564825512468815,
-0.012930449098348618,
0.022150583565235138,
-0.04548846557736397,
-0.015351429581642151,
0.027697503566741943,
-0.019256537780165672,
-0.04170394316315651,
-0.07190591096878052,
0.0007687309407629073,
-0.01949770748615265,
0.021278658881783485,
0.012893346138298512,
0.041963666677474976,
-0.013459169305860996,
0.00507849408313632,
-0.0002429097075946629,
0.06775035709142685,
-0.03866148740053177,
-0.047269418835639954,
-0.05060870200395584,
0.011733872815966606,
-0.029626868665218353,
0.052649375051259995,
0.035452064126729965,
-0.06737932562828064,
0.05413350090384483,
0.03869859129190445,
0.00022160437947604805,
-0.020944729447364807,
-0.016612937673926353,
-0.007684990763664246,
0.02725226618349552,
0.014173404313623905,
-0.017382828518748283,
0.01127008255571127,
-0.014572263695299625,
0.04589660093188286,
-0.025007525458931923,
0.036175575107336044,
-0.06166544184088707,
-0.03359690681099892,
-0.02916307933628559,
-0.008561552502214909,
0.021965067833662033,
-0.035878751426935196,
0.02035108022391796,
0.013895130716264248,
0.005022839643061161,
0.005073856096714735,
-0.021538380533456802,
-0.06626623123884201,
0.04252021387219429,
0.02185375802218914,
0.017169484868645668,
-0.03400504216551781,
0.04263152554631233,
-0.07005075365304947,
0.00508777005597949,
0.031389269977808,
0.018143441528081894,
-0.03689908608794212,
-0.014349645003676414,
-0.026510203257203102,
-0.00807921215891838,
0.049606915563344955,
-0.017763134092092514,
0.0783618614077568,
0.01340351440012455,
-0.018087787553668022,
-0.04986663907766342,
-0.010574398562312126,
-0.015546221286058426,
0.0008725038496777415,
0.006557982414960861,
0.0059736077673733234,
-0.04300255700945854,
-0.015203017741441727,
-0.023912983015179634,
-0.00980450864881277,
-0.000035508877772372216,
-0.003276672214269638,
-0.026714270934462547,
0.02790157124400139,
0.0037613322492688894,
0.07880710065364838,
-0.01611204445362091,
-0.00402105413377285,
0.03793797641992569,
-0.009127375669777393,
0.02751198783516884,
0.007128443568944931,
0.01414557732641697,
0.009099548682570457,
-0.0024789543822407722,
0.02380167320370674,
-0.028606532141566277,
0.04856802895665169,
-0.0021415476221591234,
-0.017521964386105537,
-0.012225489132106304,
0.0020998066756874323,
0.002747952239587903,
-0.02025832235813141,
-0.010592950507998466,
0.021538380533456802,
-0.04511743411421776,
-0.08311106264591217,
0.01323654968291521,
-0.0023595287930220366,
-0.03714025765657425,
-0.010361055843532085,
-0.019831635057926178,
0.012986104004085064,
-0.02448808215558529,
0.008125591091811657,
-0.0037427805364131927,
-0.012132731266319752,
0.008176607079803944,
-0.04979243129491806,
-0.017317896708846092,
0.020091358572244644,
-0.024228358641266823,
0.047269418835639954,
-0.06656305491924286,
-0.010388882830739021,
0.05209282785654068,
0.008594018407166004,
-0.0275861956179142,
-0.044969022274017334,
-0.008111677132546902,
-0.0013473082799464464,
-0.07791662216186523,
-0.021668242290616035,
-0.03283629193902016,
-0.04556267336010933,
-0.05368826538324356,
-0.013486996293067932,
0.012698554433882236,
-0.011752423830330372,
0.02448808215558529,
-0.017327172681689262,
0.0013009293470531702,
-0.0015710867010056973,
-0.04411565139889717,
-0.011641114950180054,
0.020109908655285835,
0.00013978903007227927,
0.008301830850541592,
-0.019033918157219887,
-0.015230844728648663,
-0.020870523527264595,
0.024747803807258606,
0.03480275720357895,
0.01227186806499958,
0.006775963585823774,
0.013097412884235382,
0.018542300909757614,
0.07732297480106354,
0.009832335636019707,
-0.044301167130470276,
-0.038884107023477554,
-0.02723371423780918,
0.09090272337198257,
-0.023987188935279846,
0.03610136732459068,
0.027382127940654755,
-0.03688053414225578,
-0.0055376458913087845,
-0.029812384396791458,
-0.046898387372493744,
0.017058175057172775,
-0.004865150898694992,
0.0026807028334587812,
-0.011474150232970715,
-0.013691063970327377,
0.0009032299276441336,
-0.004044243600219488,
0.04719521105289459,
0.019015366211533546,
0.0240799468010664,
0.07416920363903046,
-0.03209422901272774,
-0.002033716533333063,
-0.004777031019330025,
0.004626299720257521,
-0.05895690992474556,
-0.07209143042564392,
0.045414261519908905,
0.024803457781672478,
-0.010361055843532085,
0.023208022117614746,
-0.0018331276951357722,
-0.06526444852352142,
-0.06326087564229965,
-0.053020406514406204,
0.042297594249248505,
0.04107319191098213,
-0.01879274658858776,
0.023634709417819977,
0.03914382681250572,
0.011539081111550331,
0.036936189979314804
] |
710,988
|
yt_dlp.utils
|
FormatSorter
| null |
from yt_dlp.utils import FormatSorter
|
(ydl, field_preference)
|
[
-0.004102855455130339,
0.018353652209043503,
0.0011121176648885012,
0.0005033154156990349,
-0.021864933893084526,
-0.03209344670176506,
0.0024595928844064474,
-0.004102855455130339,
0.021423902362585068,
-0.03205952048301697,
-0.0005486376467160881,
-0.04356024041771889,
-0.018625056371092796,
-0.020338289439678192,
-0.03389149531722069,
0.06011584401130676,
-0.0009827769827097654,
0.08420289307832718,
-0.009499117732048035,
-0.015257957391440868,
-0.01842150278389454,
-0.036707304418087006,
-0.041015833616256714,
-0.011212351731956005,
0.03411201015114784,
-0.0039205062203109264,
0.026122573763132095,
-0.07341460883617401,
-0.04970074072480202,
-0.04942933842539787,
0.007009840104728937,
-0.006136260461062193,
-0.037148334085941315,
0.02812417410314083,
-0.05017569661140442,
-0.031686343252658844,
0.027326926589012146,
-0.004741077311336994,
-0.048513349145650864,
0.01904912292957306,
0.028734831139445305,
-0.034773554652929306,
0.036130573600530624,
-0.014341971836984158,
-0.014435266144573689,
0.021881895139813423,
-0.02770010568201542,
-0.01962585560977459,
0.011610975489020348,
-0.03752151504158974,
-0.0009207571274600923,
-0.05838564783334732,
0.011254758574068546,
0.004350935108959675,
-0.03507888317108154,
0.00046382410801015794,
0.04814017191529274,
0.09831586480140686,
0.043085284531116486,
0.019999034702777863,
-0.014706669375300407,
0.025986872613430023,
-0.0002711383276619017,
0.026851970702409744,
-0.030651617795228958,
0.0078028468415141106,
-0.0053432537242770195,
-0.010236995294690132,
-0.059708740562200546,
0.015164663083851337,
-0.020083848387002945,
-0.016470791772007942,
0.007048006169497967,
0.03136404976248741,
0.05540021136403084,
0.017174743115901947,
-0.06679914891719818,
-0.03959096595644951,
-0.0015139218885451555,
-0.049802515655756,
0.07368601113557816,
0.031058723106980324,
0.0273099634796381,
0.0277849193662405,
0.04566361382603645,
-0.07619649171829224,
0.046477824449539185,
0.024188823997974396,
0.03219522535800934,
0.053670015186071396,
-0.07015776634216309,
-0.0613710843026638,
-0.018150100484490395,
0.007535683922469616,
-0.023238912224769592,
0.020694507285952568,
-0.00003703966649482027,
0.009261639788746834,
-0.02668234333395958,
-0.016267238184809685,
0.03687693178653717,
-0.031737230718135834,
-0.026512715965509415,
-0.032941583544015884,
0.005258440040051937,
-0.04145686328411102,
0.0002478146052453667,
0.016835490241646767,
-0.0488186813890934,
0.015139218419790268,
-0.07192189246416092,
-0.011678826063871384,
0.033857569098472595,
-0.05699470639228821,
0.0768750011920929,
-0.029786519706249237,
0.022356851026415825,
-0.0061913891695439816,
0.009991036728024483,
0.010822209529578686,
-0.025172661989927292,
0.009923185221850872,
-0.03745366260409355,
0.041049759835004807,
-0.03935348615050316,
-0.03524851053953171,
-0.003933228552341461,
0.012068968266248703,
0.06724018603563309,
0.004575691185891628,
0.047190260142087936,
0.002338733756914735,
-0.07850342243909836,
-0.05299150571227074,
0.05404319614171982,
-0.051261309534311295,
-0.0023260116577148438,
0.05299150571227074,
0.027377814054489136,
0.04674923047423363,
0.03833572566509247,
-0.014520079828798771,
0.025630654767155647,
-0.05380571633577347,
-0.014172344468533993,
-0.0028815404511988163,
-0.009923185221850872,
0.09200573712587357,
-0.01229796465486288,
0.0782998725771904,
-0.033229950815439224,
0.01725107617676258,
0.02106768637895584,
-0.03355224058032036,
0.05041317269206047,
-0.03146582841873169,
-0.05312720686197281,
-0.05360216274857521,
0.020270438864827156,
0.014732114039361477,
0.06337268650531769,
-0.040778353810310364,
0.012348853051662445,
0.02749655395746231,
-0.015274920500814915,
0.02914193645119667,
0.0044060638174414635,
0.005029443651437759,
-0.003564289538189769,
0.007777402643114328,
0.019642818719148636,
-0.03267018124461174,
-0.07165049016475677,
0.014333490282297134,
0.0273099634796381,
0.008070009760558605,
-0.003233516588807106,
0.0782998725771904,
0.02227203920483589,
0.012501517310738564,
0.013086730614304543,
0.0454261377453804,
-0.036605529487133026,
0.05248262360692024,
-0.015325808897614479,
-0.026835007593035698,
0.004136780742555857,
-0.013748276978731155,
-0.04661352559924126,
-0.013722832314670086,
0.0178786963224411,
0.015215550549328327,
-0.005016721319407225,
-0.034875333309173584,
-0.006941989064216614,
-0.007026802748441696,
-0.04003199562430382,
0.020372215658426285,
0.021288201212882996,
-0.02551191672682762,
0.013748276978731155,
-0.001301888027228415,
0.01865898072719574,
0.025393176823854446,
0.02218722552061081,
0.03036325052380562,
-0.012348853051662445,
0.006042965687811375,
-0.11412511020898819,
-0.019116973504424095,
0.06584923714399338,
-0.05909808352589607,
-0.02155960537493229,
-0.0036300199571996927,
-0.01580076478421688,
-0.021203387528657913,
0.011924785561859608,
0.02072843164205551,
-0.00473683699965477,
0.008532242849469185,
0.02059273049235344,
-0.0036194182466715574,
0.02715729922056198,
-0.02605472318828106,
0.10191196203231812,
-0.02232292667031288,
0.04702063277363777,
-0.0017916862852871418,
0.0013411142863333225,
-0.058657050132751465,
0.03373882919549942,
-0.07938548177480698,
-0.00045481265988200903,
0.025240512564778328,
0.05587516725063324,
-0.06171033903956413,
-0.021814044564962387,
0.01634357124567032,
-0.05716433376073837,
0.008752758614718914,
-0.005886060185730457,
0.04905615746974945,
-0.0016920303460210562,
-0.03982844203710556,
-0.014325008727610111,
-0.05041317269206047,
0.011729714460670948,
-0.03959096595644951,
-0.00018420442938804626,
0.012213150970637798,
0.006929267197847366,
-0.016564086079597473,
0.007705311290919781,
-0.016165463253855705,
-0.0248842965811491,
-0.030566804111003876,
-0.031245311722159386,
-0.017386777326464653,
0.0005311448476277292,
-0.0400998480618,
-0.04322098568081856,
-0.030278436839580536,
-0.06727410852909088,
0.024239713326096535,
-0.022882696241140366,
-0.0015319447265937924,
0.03969274088740349,
-0.02252647839486599,
0.02088109590113163,
0.020524879917502403,
0.044679779559373856,
-0.0125693678855896,
-0.05177019163966179,
0.00927860289812088,
-0.048343725502491,
0.0454261377453804,
0.030414139851927757,
-0.018048323690891266,
0.028293799608945847,
0.02866698056459427,
0.0502774715423584,
0.019218750298023224,
-0.045595765113830566,
0.055705539882183075,
-0.0012764439452439547,
0.013256357982754707,
-0.028429502621293068,
-0.06662952899932861,
-0.10191196203231812,
0.021084649488329887,
0.022017598152160645,
0.021339088678359985,
0.042033594101667404,
0.020796282216906548,
0.017844771966338158,
0.010372697375714779,
0.06316912919282913,
-0.07952118664979935,
0.07986044138669968,
-0.00555952824652195,
-0.09227713942527771,
-0.018387578427791595,
0.10978265851736069,
0.024765556678175926,
-0.0715147852897644,
0.011144500225782394,
-0.0011979914270341396,
-0.06788476556539536,
-0.021016797050833702,
-0.02485037036240101,
-0.005898782517760992,
0.036130573600530624,
0.028310762718319893,
-0.023408539593219757,
-0.003931107930839062,
-0.002306928625330329,
-0.08081035315990448,
0.048886530101299286,
0.007531443145126104,
0.038301799446344376,
-0.07131123542785645,
0.025783319026231766,
0.0244093406945467,
-0.03353527933359146,
0.04457800090312958,
-0.005199070554226637,
-0.019201787188649178,
-0.005436548497527838,
0.03248358890414238,
0.010041924193501472,
-0.0036999911535531282,
0.009651781991124153,
0.06391549110412598,
0.009940148331224918,
0.06113360822200775,
-0.006047205999493599,
0.036130573600530624,
-0.04905615746974945,
-0.01334117166697979,
-0.032263074070215225,
-0.007908863946795464,
-0.011924785561859608,
-0.019405340775847435,
0.029854370281100273,
0.008354134857654572,
-0.001853176043368876,
-0.021814044564962387,
0.01493566669523716,
0.05373786389827728,
0.02697070874273777,
0.01663193665444851,
0.023815644904971123,
-0.004346694331616163,
0.04993821680545807,
0.010440547950565815,
-0.02310321107506752,
-0.010567768476903439,
-0.030923020094633102,
-0.005724914837628603,
0.040574803948402405,
0.02615649811923504,
-0.02281484566628933,
-0.02218722552061081,
0.009083530865609646,
0.0013273321092128754,
-0.02127123810350895,
0.01697119139134884,
-0.03462089225649834,
0.028259875252842903,
0.021915821358561516,
-0.048513349145650864,
0.002011141274124384,
0.06096398085355759,
-0.0348074808716774,
-0.09220929443836212,
0.008133619092404842,
0.028310762718319893,
0.035214588046073914,
-0.0618799664080143,
0.027869733050465584,
0.01249303575605154,
0.05757143720984459,
0.001567990519106388,
0.03755544126033783,
-0.01681852713227272,
-0.05041317269206047,
-0.012501517310738564,
0.011661862954497337,
-0.025155698880553246,
-0.029888294637203217,
-0.009380378760397434,
-0.04583324119448662,
0.008091213181614876,
0.041931819170713425,
-0.02749655395746231,
-0.03355224058032036,
-0.05305935814976692,
-0.006204111035913229,
-0.00011025761341443285,
-0.009168344549834728,
0.02615649811923504,
-0.04366201534867287,
0.017183225601911545,
0.027479590848088264,
-0.03507888317108154,
-0.02532532624900341,
0.09397341310977936,
0.05516273155808449,
-0.05143093690276146,
0.060421172529459,
0.03490925580263138,
0.008184507489204407,
-0.03548599034547806,
-0.018200987949967384,
-0.021966708824038506,
0.018150100484490395,
0.0020641498267650604,
0.0478348433971405,
-0.030380213633179665,
-0.004427267238497734,
0.005839413031935692,
-0.022255076095461845,
0.011585530824959278,
0.044204823672771454,
0.07694285362958908,
-0.0381660982966423,
-0.03273802995681763,
0.01239974144846201,
-0.017217149958014488,
-0.022645218297839165,
-0.0045290435664355755,
0.028395576402544975,
-0.021881895139813423,
-0.054111044853925705,
0.09200573712587357,
0.004753799643367529,
0.02663145400583744,
0.011958710849285126,
0.031143534928560257,
-0.005695229861885309,
0.03993022069334984,
0.026173461228609085,
0.058792755007743835,
-0.04213537275791168,
0.0022687625605612993,
0.003948070574551821,
-0.031092647463083267,
0.023612093180418015,
-0.09777306020259857,
-0.06266025453805923,
0.008231154642999172,
0.03803039714694023,
0.03894638270139694,
-0.02232292667031288,
-0.011449829675257206,
-0.045019034296274185,
0.04970074072480202,
-0.0017195947002619505,
-0.01251848042011261,
0.04936148598790169,
0.018336689099669456,
0.03653767704963684,
0.03691085800528526,
0.014638818800449371,
-0.02373083122074604,
-0.03214433416724205,
-0.046715304255485535,
-0.04562969133257866,
0.006115057040005922,
0.03138101473450661,
0.00014974892837926745,
-0.004503599368035793,
-0.037962544709444046,
0.02010081149637699,
-0.05088812857866287,
0.0599462166428566,
0.021203387528657913,
-0.01614001952111721,
0.0164283849298954,
0.02344246581196785,
-0.0022539200726896524,
-0.07789276540279388,
-0.004283084534108639,
0.03524851053953171,
0.005682507995516062,
-0.0066917892545461655,
-0.026512715965509415,
-0.029854370281100273,
-0.04213537275791168,
-0.05838564783334732,
0.03148278966546059,
0.04742773622274399,
-0.012993436306715012,
-0.006564568728208542,
0.053195059299468994,
0.016165463253855705,
0.012925584800541401,
-0.010584731586277485,
-0.010991835966706276,
-0.011814527213573456,
0.058317799121141434,
-0.024036159738898277,
-0.0036978707648813725,
-0.058792755007743835,
0.06120145693421364,
-0.007832531817257404,
0.05095598101615906,
0.007026802748441696,
-0.05390749126672745,
-0.0227130688726902,
-0.020338289439678192,
-0.015911022201180458,
-0.008434707298874855,
0.03518066182732582,
0.014248676598072052,
-0.02469770610332489,
-0.05031139776110649,
0.03372186794877052,
-0.0010140519589185715,
0.06561176478862762,
-0.010186107829213142,
-0.020083848387002945,
-0.004333972465246916,
-0.099605031311512,
0.01653864234685898,
0.014265638776123524,
-0.019710669293999672,
0.041558638215065,
0.029888294637203217,
0.0074169449508190155,
0.03982844203710556,
-0.018014397472143173,
0.061303235590457916,
-0.02025347575545311,
0.010898541659116745,
0.04793661832809448,
-0.06683307886123657,
0.02344246581196785,
-0.016156980767846107,
0.0048089283518493176,
0.040778353810310364,
-0.011297164484858513,
0.007599294185638428,
-0.06259240210056305,
0.04942933842539787,
0.05746966227889061,
-0.03214433416724205,
0.03518066182732582,
-0.030668579041957855,
0.008587371557950974,
-0.013807645998895168,
-0.008294764906167984,
0.008349893614649773,
0.004232196137309074,
0.033620093017816544,
-0.0047580404207110405,
-0.020711468532681465,
0.04294958338141441,
0.08189596235752106,
-0.010236995294690132,
-0.009829890914261341,
0.032025597989559174,
0.008103935047984123,
0.0546199269592762,
-0.04685100540518761,
0.007718033157289028,
-0.02522354945540428,
0.025070885196328163,
-0.09845156967639923,
0.007039524614810944,
0.04427267238497734,
-0.03562169149518013,
-0.0020789920818060637,
0.015139218419790268,
-0.023510316386818886,
0.021627455949783325,
0.025800282135605812,
0.01416386291384697,
-0.018523279577493668,
0.004749558866024017,
-0.028141135349869728,
0.031143534928560257,
0.04223714768886566,
-0.06401726603507996,
-0.0067426771856844425,
-0.03368794173002243,
0.04471370205283165,
0.012586330994963646,
0.07042917609214783,
-0.024612892419099808,
-0.04756343737244606,
0.00583517225459218,
0.018472392112016678,
-0.024273637682199478,
-0.00904112495481968,
0.0032865251414477825,
-0.046477824449539185,
-0.005568009801208973,
-0.011924785561859608,
-0.015207069925963879,
-0.008879979141056538,
0.05258440226316452,
-0.019693706184625626,
0.021186424419283867,
0.12491339445114136,
-0.03267018124461174,
0.04379771649837494,
-0.07029347121715546,
-0.048547275364398956,
-0.01502896100282669,
0.005809728056192398,
0.04267817735671997,
0.03870890289545059,
-0.014333490282297134,
0.010313327424228191,
-0.012128337286412716,
0.07015776634216309,
-0.07992829382419586,
0.022780919447541237,
-0.06045509874820709,
-0.049802515655756,
0.08148886263370514,
0.005563769023865461,
0.02900623343884945,
0.005949670448899269,
0.022882696241140366,
-0.03212737292051315,
-0.023086247965693474,
0.06279595196247101,
-0.08888459950685501,
-0.016012798994779587,
-0.024714669212698936,
0.0575375109910965,
-0.04389949515461922,
-0.06456007808446884,
0.013604093343019485,
0.019269639626145363,
-0.05098990723490715,
-0.026885895058512688,
0.0277849193662405,
0.01561417430639267,
-0.016810046508908272,
0.027106409892439842,
-0.0029260674491524696,
-0.02373083122074604,
0.03138101473450661,
-0.07388956844806671,
-0.007493277080357075,
0.017895659431815147,
0.02179708331823349,
-0.019032161682844162,
-0.0021903100423514843,
-0.0008253418491221964,
0.04132116213440895,
-0.07599294185638428,
0.02354424074292183,
0.01908304914832115,
0.007705311290919781,
0.0372161865234375,
-0.03996414691209793,
-0.00671723298728466,
-0.006327090784907341,
0.028395576402544975,
-0.004596894606947899,
0.00614898232743144,
-0.03185597062110901,
-0.01782780885696411,
0.005275402683764696,
-0.019846370443701744,
-0.024629855528473854,
-0.010449029505252838,
0.005546806380152702,
0.05302543193101883,
-0.0008910723845474422,
-0.039217785000801086,
-0.024324527010321617,
0.019948147237300873,
0.044001270085573196,
0.07870697230100632,
-0.034773554652929306,
0.019303563982248306,
-0.012348853051662445,
0.014978072606027126,
-0.016954228281974792,
-0.016029760241508484,
0.08223521709442139,
-0.0860348641872406,
-0.004864057060331106,
0.013349653221666813,
-0.023086247965693474,
-0.042610328644514084,
0.017318926751613617,
-0.042644254863262177,
-0.03314513713121414,
0.016063686460256577,
-0.020694507285952568,
-0.017997436225414276,
-0.002389621688053012,
0.01131412759423256,
-0.00901568029075861,
0.034977108240127563,
-0.00976203940808773,
0.04132116213440895,
0.03650375083088875,
0.014537042938172817,
-0.01942230388522148,
-0.032500553876161575,
0.021864933893084526,
-0.03531636297702789,
-0.035893093794584274,
0.023510316386818886,
0.006844453513622284,
-0.009431267157196999,
-0.0058945417404174805,
0.03653767704963684,
-0.002069450682029128,
-0.05068457871675491,
0.03450215235352516,
0.07517873495817184,
-0.003502799663692713,
0.02451111562550068,
0.006785084027796984,
-0.019100012257695198,
0.014638818800449371,
0.017522480338811874,
0.05098990723490715,
-0.04566361382603645,
-0.010644100606441498,
-0.04372986778616905,
-0.048649054020643234,
-0.023221950978040695,
0.02493518404662609,
-0.04135508835315704,
-0.005330531857907772,
0.014893259853124619,
0.017285002395510674,
0.004902223125100136,
0.0531611330807209,
0.0633048340678215,
0.016810046508908272,
-0.030872132629156113,
0.02161049284040928,
0.011339571326971054,
-0.0014312287094071507,
-0.00029075145721435547,
-0.00021203387586865574,
0.06008191779255867,
0.005262680817395449,
-0.058792755007743835,
-0.002962113358080387,
0.024629855528473854,
-0.014121456071734428,
-0.006645141635090113,
-0.014961110427975655,
0.04074443131685257,
-0.014528561383485794,
0.00889694131910801,
0.03809824585914612,
-0.03394238278269768,
-0.0047750030644237995,
-0.00030585887725465,
-0.032839808613061905,
0.03697870671749115,
0.024239713326096535,
0.08135315775871277,
-0.01080524642020464,
0.009974073618650436,
0.014299564994871616
] |
710,997
|
yt_dlp.utils
|
GeoUtils
| null |
from yt_dlp.utils import GeoUtils
|
()
|
[
0.028619473800063133,
-0.02228710427880287,
0.029132429510354996,
0.08221465349197388,
-0.05101270601153374,
-0.03824184089899063,
-0.023012319579720497,
0.0014758574543520808,
0.04202711209654808,
0.0026974473148584366,
0.014009037055075169,
-0.03056517243385315,
-0.01710446923971176,
0.028035763651132584,
-0.05868937820196152,
0.031237322837114334,
-0.08256841450929642,
0.05791109800338745,
-0.024144364520907402,
-0.03880786523222923,
-0.050906576216220856,
-0.04100119695067406,
-0.00858761090785265,
0.00003979840039392002,
-0.003937830682843924,
0.013584520667791367,
0.02777044102549553,
-0.011868767440319061,
0.02828339673578739,
-0.06618916243314743,
-0.0261961929500103,
-0.03760506585240364,
-0.05773421376943588,
0.03535866737365723,
-0.015910517424345016,
-0.031573399901390076,
0.07107110321521759,
0.028389526531100273,
-0.02904398925602436,
-0.041248831897974014,
-0.047934964299201965,
-0.02670915052294731,
0.0013431960251182318,
0.011948364786803722,
0.06261615455150604,
-0.013266134075820446,
-0.06332367658615112,
-0.05621303245425224,
0.018643340095877647,
0.00006795438821427524,
-0.007296373602002859,
-0.017652802169322968,
0.008791024796664715,
0.01821882463991642,
0.000833555415738374,
0.03139651566743851,
-0.005571776069700718,
0.14659962058067322,
-0.00016707037866581231,
0.028088826686143875,
-0.034491948783397675,
0.012876993976533413,
-0.012434789910912514,
-0.018024254590272903,
0.02111968584358692,
0.042699262499809265,
-0.03581856191158295,
-0.022446298971772194,
0.003668086137622595,
0.03686216473579407,
-0.029556946828961372,
-0.004307071678340435,
-0.02380828745663166,
-0.016556134447455406,
0.08872390538454056,
0.033961303532123566,
-0.07697895169258118,
-0.03852485120296478,
-0.0020186633337289095,
-0.037286680191755295,
-0.022729309275746346,
-0.027911946177482605,
0.02090742625296116,
0.03569474443793297,
0.04701517894864082,
-0.019280115142464638,
0.025311782956123352,
0.01576901040971279,
0.03502259403467178,
0.03498721867799759,
-0.06817024201154709,
-0.0014581691939383745,
-0.06477411091327667,
0.007190244738012552,
0.007566118147224188,
0.01764395833015442,
0.028601784259080887,
0.006597690749913454,
-0.03986915573477745,
-0.003995317500084639,
0.05249851569533348,
-0.06031668931245804,
-0.0722031444311142,
0.012346348725259304,
0.016662264242768288,
-0.01821882463991642,
0.018714092671871185,
-0.028619473800063133,
0.005845943000167608,
0.009719653986394405,
-0.08589379489421844,
-0.020341405645012856,
0.0168745219707489,
0.010055729188024998,
-0.03300614282488823,
-0.03213942050933838,
0.0547272227704525,
0.0021889121271669865,
0.015088016167283058,
0.01542409136891365,
-0.029893022030591965,
0.06834711879491806,
-0.04032904654741287,
0.014875758439302444,
0.058123353868722916,
0.014327424578368664,
-0.01613161899149418,
0.05653141811490059,
-0.000060561284044524655,
-0.04255775734782219,
0.06247464567422867,
-0.02828339673578739,
-0.049208514392375946,
-0.022853126749396324,
0.02769968844950199,
-0.013301510363817215,
0.01897941529750824,
0.041354961693286896,
0.013363419100642204,
0.03824184089899063,
-0.020801298320293427,
0.009206697344779968,
0.026107750833034515,
-0.031573399901390076,
-0.027805816382169724,
0.024604257196187973,
-0.09282755851745605,
0.028601784259080887,
-0.040541306138038635,
0.01741401106119156,
-0.0024785560090094805,
0.013292666524648666,
0.019775383174419403,
-0.022623179480433464,
-0.03420893847942352,
-0.09098798781633377,
0.04931464046239853,
-0.031166570261120796,
0.05041131004691124,
0.021614953875541687,
-0.014009037055075169,
0.013628741726279259,
-0.012717800214886665,
0.008782180957496166,
-0.002927393652498722,
-0.040718186646699905,
-0.003205982269719243,
-0.03502259403467178,
0.01683030277490616,
-0.004651991184800863,
-0.002803576411679387,
-0.023313019424676895,
-0.030016839504241943,
0.006717085838317871,
0.03767582029104233,
-0.018643340095877647,
-0.00942779891192913,
0.055045612156391144,
-0.005934383720159531,
0.004550283774733543,
0.003999739419668913,
0.0693022832274437,
-0.027292858809232712,
0.059821419417858124,
0.0035509017761796713,
0.03226323798298836,
0.043229907751083374,
-0.016856834292411804,
-0.026408450677990913,
0.010772100649774075,
0.00600955868139863,
-0.00212479243054986,
-0.011895299889147282,
-0.00992306787520647,
0.007601494900882244,
-0.0040660700760781765,
0.02271162159740925,
-0.003250202862545848,
-0.047404319047927856,
0.06021055951714516,
-0.0308481827378273,
-0.020748233422636986,
0.0008833034080453217,
0.04291152209043503,
-0.005010176450014114,
0.04068281129002571,
-0.031166570261120796,
0.007972946390509605,
-0.0552932471036911,
-0.018254199996590614,
0.0803043320775032,
-0.008463793434202671,
-0.04697980359196663,
0.008441682904958725,
0.03581856191158295,
-0.03182103484869003,
-0.031343452632427216,
0.027858881279826164,
0.03044135496020317,
0.037109799683094025,
0.05076507106423378,
-0.03323608636856079,
0.049809910356998444,
-0.04620152339339256,
0.06799335777759552,
-0.004780230112373829,
0.023772912099957466,
0.02812420390546322,
0.016662264242768288,
-0.1006811112165451,
0.032864633947610855,
-0.06845325231552124,
-0.010586374439299107,
0.004740431904792786,
0.0355001725256443,
-0.09445487707853317,
0.01711331307888031,
0.010612906888127327,
0.028318773955106735,
-0.030122967436909676,
-0.010692504234611988,
0.002960558980703354,
-0.0378527007997036,
0.0003565273364074528,
-0.006217394955456257,
-0.025064149871468544,
-0.037463560700416565,
-0.006341211963444948,
0.053170666098594666,
-0.02548866532742977,
0.02311844937503338,
-0.0014250038657337427,
0.000957372656557709,
0.024904955178499222,
0.017723554745316505,
-0.05826485902070999,
0.040187541395425797,
0.010082261636853218,
0.018784845247864723,
-0.029433129355311394,
-0.034315064549446106,
-0.03008759208023548,
-0.042522381991147995,
0.007849128916859627,
-0.028301086276769638,
-0.016432316973805428,
0.021331943571567535,
-0.02264086902141571,
0.013955973088741302,
-0.026443826034665108,
0.07789874076843262,
0.058123353868722916,
-0.03366060554981232,
0.007420191075652838,
-0.02550635300576687,
-0.02421511709690094,
0.008773336187005043,
0.0014161597937345505,
0.054161202162504196,
0.008985594846308231,
0.03091893531382084,
0.009268605150282383,
-0.036066196858882904,
0.08829938620328903,
-0.07782798260450363,
-0.06495099514722824,
-0.015149924904108047,
0.01050677802413702,
-0.03884324058890343,
-0.020624415948987007,
-0.020872050896286964,
0.006509249564260244,
0.0221102237701416,
0.013310354202985764,
0.046767544001340866,
0.006814370863139629,
0.02154420129954815,
-0.020589040592312813,
0.06049356982111931,
0.005191480275243521,
-0.00992306787520647,
0.010719035752117634,
-0.0025736300740391016,
0.04818259924650192,
0.019651565700769424,
0.009701966308057308,
0.045317113399505615,
-0.03714517503976822,
-0.02002301812171936,
0.04163797199726105,
-0.015928205102682114,
-0.03139651566743851,
-0.0005958704859949648,
0.006610956508666277,
0.009118256159126759,
-0.01560097374022007,
-0.03272312879562378,
0.009038658812642097,
-0.03394361585378647,
0.027204418554902077,
-0.06205013021826744,
-0.007022206671535969,
0.04326528310775757,
-0.012611671350896358,
0.010789789259433746,
0.014760784804821014,
0.025294095277786255,
-0.001748918672092259,
0.07184938341379166,
0.01307156402617693,
-0.037215929478406906,
0.015194145031273365,
0.043336037546396255,
0.03343065828084946,
0.05175561085343361,
0.009339358657598495,
0.02810651622712612,
-0.028955549001693726,
-0.019456995651125908,
-0.02962769940495491,
-0.019456995651125908,
0.05900776386260986,
-0.04779345914721489,
0.03482802212238312,
-0.026974473148584366,
-0.019881512969732285,
-0.06378357112407684,
-0.031166570261120796,
0.05525786802172661,
-0.023206889629364014,
-0.02934468910098076,
0.04616614431142807,
-0.006924922112375498,
0.022039471194148064,
0.02403823472559452,
0.044963348656892776,
0.009843471460044384,
0.028389526531100273,
0.038630980998277664,
0.03521716222167015,
0.006823214702308178,
-0.08780411630868912,
0.021349631249904633,
-0.0005450170137919486,
-0.023489901795983315,
-0.018890975043177605,
0.0389847457408905,
-0.03742818534374237,
0.041071951389312744,
-0.0036105995532125235,
-0.007765110582113266,
-0.05341830104589462,
-0.014698876067996025,
0.008096763864159584,
-0.03767582029104233,
0.032104045152664185,
0.027452053502202034,
-0.013354575261473656,
-0.10457251220941544,
0.03636689484119415,
0.004554706159979105,
0.026691460981965065,
0.002783677075058222,
-0.003906876314431429,
0.026797590777277946,
-0.053347546607255936,
-0.010577530600130558,
0.03587162494659424,
-0.032581623643636703,
-0.004616614431142807,
0.011665353551506996,
-0.053241416811943054,
0.019403932616114616,
0.0071946666575968266,
-0.02083667367696762,
-0.015928205102682114,
-0.05900776386260986,
-0.018714092671871185,
0.02426818013191223,
0.010135326534509659,
0.03626076504588127,
-0.01671532914042473,
0.04294689744710922,
0.028601784259080887,
0.00548775726929307,
-0.030246784910559654,
0.005147260148078203,
0.011638821102678776,
0.011311589740216732,
0.02019990049302578,
0.0002316045865882188,
-0.007566118147224188,
-0.0063456338830292225,
-0.004461843054741621,
-0.07881852239370346,
0.02159726619720459,
-0.005262233316898346,
0.01908554509282112,
0.01260282751172781,
-0.01710446923971176,
0.02101355604827404,
-0.05663754791021347,
-0.015468312427401543,
0.024604257196187973,
0.007097381632775068,
-0.06548164039850235,
-0.01059521920979023,
-0.02741667628288269,
0.01670648530125618,
0.0057309698313474655,
-0.04319453239440918,
0.014159386977553368,
-0.05808797851204872,
-0.05769883841276169,
0.06116572022438049,
0.04563549906015396,
0.014681188389658928,
0.003659241832792759,
0.01734325848519802,
-0.012222531251609325,
0.03643764927983284,
0.014902290888130665,
0.03590700402855873,
-0.05681442841887474,
0.017245974391698837,
-0.03357216343283653,
-0.08936067670583725,
0.008339975960552692,
-0.008494747802615166,
-0.052427761256694794,
0.004519329406321049,
0.020642103627324104,
0.041071951389312744,
0.017794307321310043,
0.009303982369601727,
-0.028301086276769638,
-0.03686216473579407,
-0.04068281129002571,
-0.016264280304312706,
-0.016511915251612663,
-0.035482484847307205,
-0.006075889337807894,
0.011453095823526382,
0.01885559782385826,
0.03224555030465126,
-0.0007417979650199413,
-0.017953502014279366,
-0.02393210493028164,
-0.0157159473747015,
-0.008684895932674408,
0.05907851457595825,
-0.04680291935801506,
-0.039975281804800034,
-0.03813571110367775,
0.03993990644812584,
0.06604766100645065,
-0.043336037546396255,
0.05755733326077461,
0.0704343244433403,
-0.027558181434869766,
-0.037215929478406906,
-0.06339443475008011,
0.008941374719142914,
0.024657320231199265,
0.018784845247864723,
-0.0021236869506537914,
-0.01984613575041294,
-0.04825334995985031,
-0.03940926119685173,
-0.020978180691599846,
0.02002301812171936,
0.11511466652154922,
-0.019456995651125908,
-0.03585393726825714,
0.024232804775238037,
0.02060672827064991,
0.016308501362800598,
-0.037286680191755295,
0.034032054245471954,
-0.01903248019516468,
0.03049441985785961,
-0.004081547260284424,
0.01938624307513237,
0.002416647505015135,
0.07252153009176254,
0.006871857214719057,
0.02177414856851101,
0.018466457724571228,
-0.029433129355311394,
0.01152384839951992,
-0.039090875536203384,
-0.02253473922610283,
0.0564606674015522,
0.024551192298531532,
0.04984528571367264,
0.002721768571063876,
-0.04354829713702202,
0.04789958894252777,
-0.03534097969532013,
0.03387286141514778,
-0.016034333035349846,
0.019704630598425865,
0.03003452718257904,
-0.07344131916761398,
0.011824547313153744,
0.025630170479416847,
-0.029468504711985588,
0.04616614431142807,
-0.013381106778979301,
0.06417271494865417,
0.018289577215909958,
-0.04457420855760574,
0.015477156266570091,
-0.017467075958848,
0.058937009423971176,
0.06760422140359879,
-0.05186174064874649,
-0.068665511906147,
-0.04400818794965744,
-0.004293805453926325,
0.042416252195835114,
-0.0424870066344738,
0.029079366475343704,
-0.0011198827996850014,
0.017024870961904526,
0.028902484104037285,
-0.011683042161166668,
0.028265709057450294,
0.00029461871599778533,
0.02444506250321865,
0.08780411630868912,
0.011895299889147282,
0.0012580717448145151,
0.02042984589934349,
0.032050978392362595,
-0.017776619642972946,
-0.06470336019992828,
-0.0011983740841969848,
-0.004194309469312429,
-0.014707720838487148,
-0.01908554509282112,
-0.05642528831958771,
0.008684895932674408,
0.1158221960067749,
-0.09204927831888199,
0.04231012240052223,
-0.0692669078707695,
0.025718610733747482,
-0.05692055821418762,
0.004895203281193972,
0.029026301577687263,
-0.03620770201086998,
0.012585138902068138,
-0.023136137053370476,
-0.026532268151640892,
0.03424431383609772,
0.026850655674934387,
-0.030547484755516052,
-0.002238660119473934,
-0.0042208414524793625,
-0.008295755833387375,
0.03404974192380905,
0.0454232431948185,
-0.01452199462801218,
0.010904761962592602,
0.0018417815444990993,
0.037640444934368134,
0.018731780350208282,
0.08426648378372192,
-0.01693643070757389,
0.014009037055075169,
0.001005462370812893,
0.034438882023096085,
0.0009275238844566047,
-0.03097200021147728,
-0.02340145967900753,
-0.05401969701051712,
-0.022074846550822258,
0.042699262499809265,
-0.0135314567014575,
0.022623179480433464,
0.03654377534985542,
0.008216158486902714,
-0.026921408250927925,
0.04464496299624443,
-0.00035790924448519945,
-0.02543560042977333,
-0.013363419100642204,
-0.0582294836640358,
-0.02968076430261135,
0.0013697283575311303,
-0.05363055691123009,
0.01874946989119053,
-0.02177414856851101,
0.002005397342145443,
-0.03235168009996414,
0.014707720838487148,
0.009250917471945286,
-0.020217588171362877,
-0.01966925524175167,
-0.051543351262807846,
0.00960468128323555,
-0.016962964087724686,
0.00044165170402266085,
0.024321245029568672,
-0.00010937650949927047,
0.03049441985785961,
-0.010117637924849987,
0.022428611293435097,
0.032988451421260834,
-0.013920596800744534,
-0.019775383174419403,
0.027292858809232712,
-0.09933681041002274,
0.0018086162162944674,
0.034085121005773544,
0.034721896052360535,
-0.021208126097917557,
-0.028849419206380844,
0.07612992078065872,
-0.027151353657245636,
0.051366470754146576,
0.0007136074709706008,
0.034438882023096085,
-0.0012337504886090755,
0.04110732674598694,
-0.06845325231552124,
0.0043247598223388195,
0.019227050244808197,
0.017440544441342354,
-0.037392809987068176,
0.021208126097917557,
0.041708726435899734,
0.05037593096494675,
-0.04835947975516319,
0.020695168524980545,
-0.04850098490715027,
-0.02205715887248516,
0.023560654371976852,
-0.04446808248758316,
-0.04446808248758316,
-0.02101355604827404,
0.0024851891212165356,
0.0314495824277401,
-0.03735743463039398,
-0.05341830104589462,
-0.034774959087371826,
-0.016927586868405342,
0.04167334735393524,
-0.0004587871371768415,
0.018183447420597076,
-0.02525871805846691,
0.01664457656443119,
0.024940332397818565,
-0.029150119051337242,
-0.047758083790540695,
0.009613525122404099,
-0.011939520947635174,
0.01792696863412857,
0.029256246984004974,
0.032581623643636703,
0.03951539099216461,
-0.006526937708258629,
-0.021809523925185204,
0.011240837164223194,
0.07025744765996933,
-0.031219635158777237,
0.04977453500032425,
0.04163797199726105,
0.056955933570861816,
-0.029999149963259697,
0.012222531251609325,
-0.0471566841006279,
0.05320604145526886,
0.08653056621551514,
-0.05699131265282631,
-0.038100335747003555,
-0.040258295834064484,
0.04223937168717384,
0.00910941231995821,
-0.0003540399484336376,
-0.005558510310947895,
-0.03442119434475899,
0.037463560700416565,
0.07174324989318848,
0.013354575261473656,
-0.01548600010573864,
0.020589040592312813,
-0.03275850787758827,
-0.031060442328453064,
0.039373885840177536,
-0.03894937038421631,
0.024834202602505684,
-0.02281774953007698,
0.02403823472559452,
0.0005557957338169217,
-0.04489259794354439,
0.02828339673578739,
0.0389847457408905,
-0.029963774606585503,
0.031414203345775604,
-0.011285058222711086,
-0.009224385023117065,
0.01745823211967945,
0.0401521660387516,
0.05313528701663017,
-0.0791722908616066,
-0.05854786932468414,
-0.05483335256576538,
0.013779090717434883,
-0.04344216734170914,
0.013106940314173698,
-0.03880786523222923,
0.021809523925185204,
-0.025541730225086212,
0.004669679328799248,
-0.03585393726825714,
0.07344131916761398,
-0.06318217515945435,
-0.0028079983312636614,
0.02433893457055092,
-0.04524635896086693,
0.020695168524980545,
-0.027045225724577904,
-0.02294156700372696,
0.0037985362578183413,
0.035305604338645935,
-0.033218398690223694,
-0.08808712661266327,
0.023313019424676895,
0.04209786653518677,
0.09813401103019714,
0.0535598061978817,
-0.01979307271540165,
0.010294520296156406,
-0.02962769940495491,
-0.0014261093456298113,
0.008733537979424,
-0.04606001824140549,
-0.012178311124444008,
0.00015104046906344593,
-0.00811887439340353,
-0.008923686109483242,
-0.004988066386431456,
0.08391272276639938,
-0.0034867823123931885,
-0.018289577215909958,
0.04185023158788681
] |
710,998
|
yt_dlp.networking.impersonate
|
ImpersonateTarget
|
A target for browser impersonation.
Parameters:
@param client: the client to impersonate
@param version: the client version to impersonate
@param os: the client OS to impersonate
@param os_version: the client OS version to impersonate
Note: None is used to indicate to match any.
|
class ImpersonateTarget:
"""
A target for browser impersonation.
Parameters:
@param client: the client to impersonate
@param version: the client version to impersonate
@param os: the client OS to impersonate
@param os_version: the client OS version to impersonate
Note: None is used to indicate to match any.
"""
client: str | None = None
version: str | None = None
os: str | None = None
os_version: str | None = None
def __post_init__(self):
if self.version and not self.client:
raise ValueError('client is required if version is set')
if self.os_version and not self.os:
raise ValueError('os is required if os_version is set')
def __contains__(self, target: ImpersonateTarget):
if not isinstance(target, ImpersonateTarget):
return False
return (
(self.client is None or target.client is None or self.client == target.client)
and (self.version is None or target.version is None or self.version == target.version)
and (self.os is None or target.os is None or self.os == target.os)
and (self.os_version is None or target.os_version is None or self.os_version == target.os_version)
)
def __str__(self):
return f'{join_nonempty(self.client, self.version)}:{join_nonempty(self.os, self.os_version)}'.rstrip(':')
@classmethod
def from_str(cls, target: str):
mobj = re.fullmatch(r'(?:(?P<client>[^:-]+)(?:-(?P<version>[^:-]+))?)?(?::(?:(?P<os>[^:-]+)(?:-(?P<os_version>[^:-]+))?)?)?', target)
if not mobj:
raise ValueError(f'Invalid impersonate target "{target}"')
return cls(**mobj.groupdict())
|
(client: str | None = None, version: str | None = None, os: str | None = None, os_version: str | None = None) -> None
|
[
0.0650574117898941,
-0.03389639034867287,
-0.03260263428092003,
0.025542426854372025,
0.008506441488862038,
-0.05341361090540886,
0.019239990040659904,
-0.01649538055062294,
-0.010959955863654613,
0.042324282228946686,
0.02585662342607975,
0.040254272520542145,
0.016449173912405968,
-0.0009044735925272107,
-0.026577429845929146,
-0.03833211958408356,
0.0760728120803833,
0.03409969434142113,
0.03493139147758484,
-0.05126967281103134,
0.04099356010556221,
0.01595015451312065,
0.02984878234565258,
0.02628171443939209,
-0.009019322693347931,
0.04077177494764328,
-0.04413553699851036,
0.07644245773553848,
0.02227107249200344,
-0.05193503573536873,
0.029072530567646027,
-0.060436856001615524,
0.012530944310128689,
0.028739849105477333,
0.08405712991952896,
-0.021605713292956352,
0.012373845092952251,
0.08605320751667023,
-0.09766004234552383,
-0.06668384373188019,
-0.08191319555044174,
-0.00309577165171504,
0.04347017779946327,
-0.02543153241276741,
-0.025320639833807945,
0.04513357952237129,
0.007485298439860344,
0.0459098294377327,
-0.02587510645389557,
-0.003354522632434964,
0.043839823454618454,
0.043174464255571365,
-0.008608093485236168,
-0.02288098633289337,
0.005027163308113813,
0.06291346997022629,
0.05260039493441582,
0.05637076497077942,
-0.02922038733959198,
-0.00004227085446473211,
-0.04775805398821831,
-0.051158782094717026,
0.016670960932970047,
-0.014748810790479183,
-0.009989638812839985,
0.014952114783227444,
-0.015959395095705986,
-0.027483059093356133,
-0.016347521916031837,
0.005479977931827307,
0.010276113636791706,
-0.03027387335896492,
0.002187832724303007,
0.0011770862620323896,
0.03223298862576485,
0.0176874827593565,
-0.016828060150146484,
0.05363539978861809,
0.05178717523813248,
-0.032713524997234344,
0.002649888163432479,
-0.048460375517606735,
-0.01955418661236763,
-0.03966284170746803,
0.0032921452075242996,
-0.00756846833974123,
-0.015719126909971237,
-0.029109494760632515,
-0.003460795385763049,
-0.011606832966208458,
-0.04602072387933731,
0.03258415311574936,
-0.02519126422703266,
0.0031188742723315954,
0.00077394291292876,
0.04091963171958923,
0.009592271409928799,
-0.0013434262946248055,
-0.05156539008021355,
0.03578157350420952,
-0.033951833844184875,
0.0672752782702446,
-0.027667881920933723,
0.006547325756400824,
0.02293643355369568,
0.012235228903591633,
-0.05123271048069,
0.041695885360240936,
0.001806636806577444,
-0.0336376391351223,
-0.033545225858688354,
-0.024969477206468582,
0.004449594300240278,
-0.04735144227743149,
0.08124783635139465,
-0.029275834560394287,
-0.016449173912405968,
-0.008769812993705273,
0.03114253841340542,
-0.011800896376371384,
0.027021003887057304,
0.03031083755195141,
0.003929781727492809,
0.056851305067539215,
0.04206553101539612,
-0.013963316567242146,
-0.03404424712061882,
0.01156986877322197,
-0.01472108718007803,
-0.014850462786853313,
-0.05633380264043808,
-0.02293643355369568,
-0.0007248495239764452,
0.03674264997243881,
0.021494820713996887,
0.03655782714486122,
-0.11170653253793716,
0.012290675193071365,
-0.014785774983465672,
0.030846823006868362,
-0.027409130707383156,
-0.03323102742433548,
0.0010211425833404064,
0.008155278861522675,
-0.01185634359717369,
0.012604872696101665,
-0.011708485893905163,
0.014767292886972427,
0.03727863356471062,
-0.02835172414779663,
0.030366284772753716,
0.005706384778022766,
0.015303277410566807,
-0.037518903613090515,
-0.06461383402347565,
-0.008487958461046219,
-0.031050126999616623,
-0.038147300481796265,
0.023694204166531563,
-0.03557826951146126,
-0.004574349150061607,
-0.06620330363512039,
0.02182750031352043,
0.015922430902719498,
0.023805096745491028,
0.008626575581729412,
0.028092972934246063,
-0.06838420778512955,
0.017521142959594727,
0.04834948480129242,
-0.022659199312329292,
0.04975413158535957,
0.0331570990383625,
0.010377765633165836,
0.014970596879720688,
0.06479866057634354,
-0.004893167410045862,
-0.04387678578495979,
-0.027575470507144928,
0.02435956336557865,
0.011810137890279293,
-0.0008288120152428746,
-0.018528424203395844,
0.025782695040106773,
0.035837020725011826,
0.047610193490982056,
0.006108373403549194,
0.0029663960449397564,
0.019480258226394653,
0.05300700291991234,
-0.001908289035782218,
0.01440688967704773,
0.07215458154678345,
0.02038588747382164,
0.0005989393685013056,
-0.034192103892564774,
-0.04816466197371483,
-0.045466259121894836,
-0.04014337807893753,
0.009998880326747894,
-0.04073480889201164,
0.014101932756602764,
-0.0005925861187279224,
0.031623076647520065,
0.023805096745491028,
-0.00023969127505552024,
0.0298672653734684,
-0.021402409300208092,
-0.0005925861187279224,
-0.02077401429414749,
-0.00802590325474739,
-0.009998880326747894,
-0.01071968674659729,
0.035837020725011826,
0.011902548372745514,
0.05651862546801567,
0.032510221004486084,
0.05459647253155708,
0.029516102746129036,
0.035023804754018784,
0.008404788561165333,
0.016504621133208275,
-0.004405698738992214,
-0.007633156143128872,
0.024710725992918015,
-0.033545225858688354,
0.0038697144482284784,
-0.028499580919742584,
0.03862783685326576,
-0.014841221272945404,
0.042361244559288025,
-0.06306132674217224,
0.020127136260271072,
0.052008964121341705,
-0.008608093485236168,
-0.01302072312682867,
-0.008894567377865314,
-0.02587510645389557,
0.061693646013736725,
0.02966396138072014,
-0.006478017661720514,
0.01252170279622078,
0.07004760950803757,
0.03759283199906349,
0.028887707740068436,
-0.025616355240345,
-0.025283675640821457,
-0.014259031973779202,
0.04062391817569733,
-0.03088378719985485,
-0.014656399376690388,
0.02796359732747078,
-0.03995855525135994,
-0.03533800318837166,
-0.014388407580554485,
0.038184262812137604,
-0.028203865513205528,
0.02648501843214035,
-0.0038281294982880354,
0.006916970480233431,
-0.0466860830783844,
-0.06664688140153885,
0.00009306085848947987,
-0.026799216866493225,
-0.0524895004928112,
-0.0076608797535300255,
-0.02881377935409546,
0.03724167123436928,
-0.03918230161070824,
0.012244469486176968,
-0.010331559926271439,
-0.0037634416949003935,
-0.0363914892077446,
-0.004396457690745592,
-0.007050966378301382,
-0.0003855275281239301,
-0.005955894943326712,
-0.011597592383623123,
-0.0597345307469368,
-0.021180622279644012,
0.016865024343132973,
0.029127975925803185,
0.024045366793870926,
-0.020293476060032845,
-0.019702045246958733,
-0.005493839271366596,
-0.023842062801122665,
-0.04579893872141838,
0.02777877449989319,
0.006478017661720514,
-0.018768692389130592,
0.030976198613643646,
0.05670344829559326,
-0.03212209418416023,
-0.06956706941127777,
0.053487539291381836,
-0.01334416214376688,
-0.03683506324887276,
-0.013242509216070175,
-0.05740576982498169,
-0.013824699446558952,
0.027427611872553825,
-0.06683170050382614,
-0.030162980780005455,
0.00045483585563488305,
-0.020515263080596924,
0.028943154960870743,
-0.0006393692456185818,
-0.022437414154410362,
0.02670680545270443,
-0.0021785914432257414,
-0.018962755799293518,
-0.043026603758335114,
-0.03282441943883896,
0.007600812241435051,
0.005650938488543034,
0.0205891914665699,
-0.026521984487771988,
0.02018258348107338,
0.00800280086696148,
-0.0248401015996933,
0.0886407196521759,
-0.007577709387987852,
0.005581629928201437,
-0.0007964681135490537,
-0.04975413158535957,
0.014120414853096008,
0.054744333028793335,
-0.05260039493441582,
0.06431812047958374,
-0.10394399613142014,
0.02289946936070919,
-0.015608233399689198,
0.02567180246114731,
0.03896051645278931,
-0.019665081053972244,
-0.017502661794424057,
-0.017484178766608238,
0.06017810478806496,
0.031031645834445953,
0.0029848783742636442,
-0.04210249334573746,
-0.019868385046720505,
-0.002156643895432353,
0.024673761799931526,
-0.032510221004486084,
0.05237860605120659,
0.10741865634918213,
0.001829739660024643,
-0.11030188202857971,
-0.0049948194064199924,
0.04387678578495979,
-0.007018622476607561,
-0.037722207605838776,
0.005697143729776144,
-0.028444133698940277,
-0.01853766478598118,
-0.01935088261961937,
0.03254718706011772,
-0.019609633833169937,
-0.013150098733603954,
-0.03445085510611534,
0.03851694241166115,
-0.012623355723917484,
-0.04335928335785866,
-0.011930271983146667,
0.03555978834629059,
-0.03306468948721886,
0.0025020302273333073,
-0.07160011678934097,
-0.01799244061112404,
-0.03829515725374222,
0.04709269106388092,
-0.06938225030899048,
0.037925511598587036,
0.0173270795494318,
-0.005313637666404247,
-0.08938001096248627,
-0.038369085639715195,
0.015331000089645386,
0.04986502602696419,
0.07252422720193863,
0.07636852562427521,
0.060215067118406296,
-0.010812098160386086,
-0.02123606950044632,
0.04472696781158447,
0.021550266072154045,
-0.002167040016502142,
0.05004984885454178,
-0.012475497089326382,
-0.024673761799931526,
0.001046555582433939,
0.047203585505485535,
-0.03409969434142113,
-0.01914757862687111,
-0.037962477654218674,
0.013852423056960106,
-0.019646598026156425,
0.0005842113750986755,
0.047831982374191284,
0.04735144227743149,
0.023028844967484474,
-0.007402128539979458,
-0.034986838698387146,
0.0027954354882240295,
0.01681881956756115,
-0.046575192362070084,
0.002959465142339468,
0.015451135113835335,
-0.09159787744283676,
-0.0732635110616684,
-0.011061607860028744,
-0.01557126920670271,
0.032029684633016586,
0.028518063947558403,
-0.04831251874566078,
0.01836208440363407,
-0.028536545112729073,
-0.003340661060065031,
0.03781462088227272,
-0.02587510645389557,
-0.05333968251943588,
0.05777541548013687,
0.013113133609294891,
-0.010100532323122025,
0.014536265283823013,
-0.05071520805358887,
0.002372654853388667,
-0.04435732588171959,
0.039847664535045624,
0.06956706941127777,
-0.019794456660747528,
-0.015913190320134163,
0.07411369681358337,
-0.03592943400144577,
-0.007064828183501959,
0.020533744245767593,
0.003585550468415022,
-0.008936152793467045,
-0.1147376149892807,
-0.012891347520053387,
-0.032251469790935516,
0.04554018750786781,
0.03766676038503647,
-0.06409633159637451,
-0.02918342314660549,
0.026411090046167374,
0.007494539488106966,
-0.023472417145967484,
0.023842062801122665,
0.007508401293307543,
-0.04250910133123398,
0.013214786536991596,
-0.022030804306268692,
0.014305236749351025,
-0.0019429431995376945,
0.09204144775867462,
0.028887707740068436,
0.013926351442933083,
0.0006896177656017244,
-0.02417474240064621,
0.07130439579486847,
-0.01841753162443638,
-0.0436919629573822,
0.007415990345180035,
0.07444637268781662,
-0.028092972934246063,
0.007420610636472702,
0.05614897981286049,
0.02167964167892933,
-0.045096613466739655,
0.03892355412244797,
0.013889387249946594,
0.009638477116823196,
0.010756650939583778,
0.01953570544719696,
0.031161019578576088,
-0.0277418103069067,
0.0116715207695961,
-0.05533576384186745,
0.033951833844184875,
0.013528984040021896,
0.004394147545099258,
-0.04753626510500908,
-0.04624250903725624,
0.04432035982608795,
-0.038997482508420944,
0.06927135586738586,
-0.009222626686096191,
0.04683394357562065,
0.050789136439561844,
-0.058551669120788574,
-0.01344581414014101,
0.012457014992833138,
-0.009601512923836708,
-0.020127136260271072,
0.02650350145995617,
0.0391453392803669,
-0.04764715954661369,
0.0008917670347727835,
-0.014490059576928616,
-0.004819238558411598,
-0.025949034839868546,
0.036465417593717575,
-0.015488099306821823,
-0.018389808014035225,
0.02182750031352043,
0.014268272556364536,
0.033526744693517685,
-0.0032574909273535013,
0.01661551371216774,
0.010155979543924332,
0.014259031973779202,
0.011163259856402874,
-0.02522822842001915,
-0.05851470306515694,
0.01826043240725994,
0.021938392892479897,
-0.06073256954550743,
0.028314758092164993,
-0.0019313918892294168,
-0.007245029788464308,
-0.0462055467069149,
-0.013436572626233101,
-0.0005966291064396501,
-0.00945365522056818,
0.05881042033433914,
-0.007471436634659767,
-0.010950714349746704,
-0.037315599620342255,
0.01061803475022316,
-0.039441052824258804,
0.030588071793317795,
0.008501820266246796,
0.03526407480239868,
-0.030329320579767227,
-0.034395407885313034,
0.00008093190263025463,
0.0249879602342844,
0.003627135418355465,
0.04923662915825844,
-0.07004760950803757,
0.01168076228350401,
-0.04073480889201164,
-0.031438253819942474,
-0.016523104161024094,
-0.01483198069036007,
-0.05552058294415474,
-0.025172781199216843,
0.0038997482042759657,
0.011625315062701702,
0.0487191267311573,
0.03873873129487038,
-0.03807336837053299,
-0.022197144106030464,
0.027852702885866165,
-0.01975749246776104,
-0.05175021290779114,
0.02918342314660549,
-0.010581070557236671,
-0.07004760950803757,
0.01419434417039156,
-0.03461719676852226,
-0.015201624482870102,
-0.023694204166531563,
0.03493139147758484,
0.00011305919906590134,
-0.01754886656999588,
0.0016668650787323713,
-0.0076285358518362045,
-0.006445673760026693,
0.04080873727798462,
0.04583590105175972,
-0.04639036953449249,
0.03515318036079407,
0.020071689039468765,
0.012678802013397217,
0.08974965661764145,
0.01600560173392296,
-0.012983758933842182,
-0.00016099745698738843,
0.023435452952980995,
-0.0996561199426651,
0.02520974539220333,
-0.0020341991912573576,
-0.023657239973545074,
0.03348977863788605,
-0.01716073974967003,
-0.04454214498400688,
-0.062728650867939,
-0.0028555027674883604,
-0.0152478301897645,
-0.01071968674659729,
-0.014323719777166843,
-0.0012429292546585202,
-0.013085410930216312,
-0.0048146178014576435,
0.06890171021223068,
-0.004516592249274254,
0.0031396669801324606,
-0.0010956489713862538,
0.02354634553194046,
-0.025505460798740387,
0.007665500044822693,
-0.01641220971941948,
-0.09344609826803207,
-0.08383534103631973,
-0.010229907929897308,
-0.06261775642633438,
0.01557126920670271,
0.03572613000869751,
-0.05141753330826759,
-0.00789190735667944,
0.008437132462859154,
0.08908428996801376,
-0.09034108370542526,
0.04945841804146767,
0.009388967417180538,
-0.032510221004486084,
0.03369308263063431,
0.0006734458147548139,
-0.03130887821316719,
-0.03347129747271538,
-0.026799216866493225,
0.0023911369498819113,
-0.01557126920670271,
0.05086306482553482,
-0.025616355240345,
0.05418986454606056,
0.01534948218613863,
-0.016153458505868912,
0.05504004657268524,
0.029534585773944855,
0.005290535278618336,
0.0019487189128994942,
0.018768692389130592,
-0.03528255596756935,
0.01209661178290844,
0.002036509569734335,
0.012558667920529842,
-0.027686363086104393,
0.007415990345180035,
0.005503080785274506,
-0.0833178386092186,
0.007665500044822693,
0.01156986877322197,
-0.00987874623388052,
0.0075546070002019405,
-0.006071408744901419,
-0.002150868298485875,
0.061693646013736725,
0.050308600068092346,
-0.008039765059947968,
-0.017336320132017136,
-0.02960851415991783,
-0.05951274558901787,
0.033304959535598755,
0.040254272520542145,
0.03446933627128601,
-0.005784934386610985,
0.038553908467292786,
0.04539232701063156,
0.02312125451862812,
0.037315599620342255,
0.0089777372777462,
0.035245589911937714,
-0.06686867028474808,
0.07592495530843735,
0.04639036953449249,
0.03726015239953995,
-0.000023842783775762655,
-0.024119295179843903,
0.02984878234565258,
0.0028370204381644726,
-0.06768188625574112,
0.041917670518159866,
0.011606832966208458,
-0.03910837322473526,
-0.03701988235116005,
0.03781462088227272,
-0.04517054185271263,
-0.011366564780473709,
-0.05906917154788971,
-0.026318678632378578,
-0.0271134153008461,
0.06683170050382614,
0.008899188600480556,
0.0032852143049240112,
-0.058958277106285095,
0.005378325469791889,
-0.040032483637332916,
0.022751610726118088,
0.09292859584093094,
0.001234843279235065,
0.007083310279995203,
0.001424285932444036,
0.0116715207695961,
-0.02903556451201439,
0.030144497752189636,
0.01973900943994522,
0.038997482508420944,
-0.012891347520053387,
0.010119014419615269,
-0.02838868834078312,
0.010747410356998444,
-0.011653038673102856,
-0.004003710579127073,
0.07252422720193863,
-0.060991320759058,
0.014563987962901592,
0.03703836724162102,
0.06062167510390282,
-0.005452254321426153,
0.08346569538116455,
-0.003502380335703492,
-0.015820778906345367,
-0.01408345066010952,
-0.03445085510611534,
0.0004741844313684851,
-0.03720470517873764,
0.029072530567646027,
0.04202856495976448,
-0.016338281333446503,
0.006524223368614912,
0.0021866774186491966,
-0.014896668493747711,
0.01827891357243061,
0.08642285317182541,
0.052230749279260635,
-0.015414169989526272,
0.044431254267692566,
-0.007526883389800787,
0.03539344668388367,
-0.009952674619853497,
-0.020238028839230537,
-0.012022683396935463,
-0.025505460798740387,
-0.05463343858718872,
0.03807336837053299,
-0.05008681118488312,
0.011107813566923141,
-0.041511062532663345,
0.017216186970472336,
-0.06154578924179077,
0.02605992741882801,
-0.01553430501371622,
-0.04945841804146767,
0.06332007795572281,
0.044172503054142,
0.0062331282533705235,
-0.04073480889201164,
0.0036941333673894405,
-0.0338779054582119,
0.0974382534623146,
-0.03300924226641655,
-0.004555867053568363,
0.013510501943528652,
0.03193727508187294,
0.00682917982339859,
-0.06117614358663559,
0.03469112515449524,
-0.03008905239403248,
-0.04073480889201164,
-0.025949034839868546,
-0.0298672653734684,
-0.03888658806681633,
0.0027538505382835865
] |
710,999
|
yt_dlp.networking.impersonate
|
__contains__
| null |
def __contains__(self, target: ImpersonateTarget):
if not isinstance(target, ImpersonateTarget):
return False
return (
(self.client is None or target.client is None or self.client == target.client)
and (self.version is None or target.version is None or self.version == target.version)
and (self.os is None or target.os is None or self.os == target.os)
and (self.os_version is None or target.os_version is None or self.os_version == target.os_version)
)
|
(self, target: yt_dlp.networking.impersonate.ImpersonateTarget)
|
[
0.05638665333390236,
-0.06428227573633194,
-0.027783647179603577,
0.058546774089336395,
0.010074365884065628,
-0.05441274866461754,
0.027113264426589012,
-0.004692680202424526,
-0.01672232896089554,
0.014673937112092972,
-0.010214028880000114,
-0.006447779946029186,
0.054859668016433716,
-0.024897277355194092,
-0.017942054197192192,
-0.02242058515548706,
0.011405820026993752,
0.011852742172777653,
0.03394744545221329,
-0.05865850672125816,
-0.0021205514203757048,
0.020037000998854637,
0.042047906666994095,
0.00884067453444004,
0.010930965654551983,
0.07526910305023193,
0.0045809498988091946,
0.05024147406220436,
0.032066650688648224,
0.028509896248579025,
-0.03677795082330704,
-0.0344502329826355,
0.0372062511742115,
0.024580707773566246,
0.08402132242918015,
0.013072466477751732,
0.01323075219988823,
0.052513327449560165,
-0.029478225857019424,
-0.07791339606046677,
-0.04595847427845001,
-0.008384441956877708,
0.06968258321285248,
0.04428251460194588,
-0.04323969781398773,
0.04443148896098137,
0.015288454480469227,
0.04737372696399689,
-0.02279301919043064,
0.009571578353643417,
0.01685268245637417,
0.008589280769228935,
-0.01627540774643421,
-0.011880675330758095,
-0.015809863805770874,
0.012392773292958736,
0.04152649641036987,
0.06156349927186966,
-0.021526740863919258,
0.004646126180887222,
-0.02204814925789833,
-0.022997858002781868,
0.07754095643758774,
-0.04964558035135269,
0.0019226954318583012,
-0.0022951303981244564,
-0.049794554710388184,
-0.017588241025805473,
0.013137643225491047,
0.04201066121459007,
0.0009561103652231395,
-0.015288454480469227,
-0.01811896078288555,
0.04160098358988762,
0.00032006128458306193,
-0.05634940788149834,
0.04495289921760559,
0.0541892871260643,
0.02242058515548706,
-0.06718726456165314,
-0.014357367530465126,
-0.07620019465684891,
-0.031210049986839294,
-0.023724107071757317,
-0.025157980620861053,
0.019645944237709045,
-0.021731579676270485,
-0.005549280904233456,
0.016843371093273163,
-0.021247414872050285,
-0.020223218947649002,
0.09660962969064713,
0.008663767948746681,
-0.008407719433307648,
0.04521360248327255,
0.026871182024478912,
0.009888147935271263,
-0.012904871255159378,
-0.05083737149834633,
0.04052092134952545,
-0.04547430947422981,
0.04357488825917244,
0.06919841468334198,
0.01955283433198929,
0.03629378601908684,
0.029589956626296043,
-0.049086928367614746,
-0.0050418381579220295,
-0.003857029601931572,
-0.02290474995970726,
-0.026666343212127686,
-0.020037000998854637,
0.012011026963591576,
-0.027113264426589012,
0.03584686294198036,
-0.07240135222673416,
0.006466401740908623,
0.011424441821873188,
-0.03918015584349632,
0.004273691214621067,
0.06554855406284332,
0.04774616286158562,
0.057317741215229034,
0.00015130170504562557,
0.07377936691045761,
-0.013500766828656197,
-0.026424260810017586,
0.0499807707965374,
0.002307932823896408,
-0.03858426213264465,
-0.04878897964954376,
-0.021750200539827347,
0.0029212867375463247,
0.05184294655919075,
0.033165331929922104,
0.04379834979772568,
-0.014869465492665768,
0.03173145651817322,
-0.014180460944771767,
0.03325844183564186,
0.007490598130971193,
0.007695437408983707,
0.010381624102592468,
0.0021973662078380585,
-0.024040676653385162,
0.032569438219070435,
-0.08431927114725113,
0.001809801091440022,
0.031805943697690964,
-0.00830529909580946,
0.030167231336236,
-0.06659136712551117,
-0.006452435627579689,
-0.041079577058553696,
-0.13787542283535004,
0.015400185249745846,
-0.03899393975734711,
-0.028156083077192307,
0.014264258556067944,
-0.05124704912304878,
0.005013905465602875,
-0.0005819296347908676,
-0.016992345452308655,
0.02942236140370369,
-0.03620067611336708,
-0.006485023535788059,
-0.022495070472359657,
-0.05456171929836273,
0.047708917409181595,
0.06700104475021362,
-0.013910445384681225,
-0.002027442678809166,
0.026759451255202293,
0.0026210108771920204,
-0.006112588569521904,
0.010232650674879551,
0.01672232896089554,
-0.06677758693695068,
-0.0532209537923336,
0.023351671174168587,
-0.015213968232274055,
-0.027187751606106758,
-0.012141379527747631,
-0.01654542237520218,
0.04718750715255737,
0.03793250024318695,
0.006080000661313534,
-0.02055840939283371,
0.023426158353686333,
0.04938487336039543,
-0.059030938893556595,
0.002600061474367976,
0.05538107827305794,
0.031061075627803802,
-0.028994061052799225,
-0.05567902699112892,
0.005581868812441826,
-0.013500766828656197,
-0.04670334234833717,
0.0004250995989423245,
-0.0200556218624115,
-0.039478104561567307,
-0.012262420728802681,
0.009008270688354969,
0.013444901444017887,
0.007113507483154535,
-0.005591179709881544,
0.001706217648461461,
0.033817093819379807,
-0.027150508016347885,
-0.014078041538596153,
-0.042904507368803024,
-0.015130169689655304,
0.04964558035135269,
0.05553005263209343,
0.07746647298336029,
0.030018256977200508,
-0.0081283925101161,
-0.017867567017674446,
0.050911858677864075,
0.04029746353626251,
-0.0002001837856369093,
0.017914121970534325,
-0.024934520944952965,
-0.007039020769298077,
0.001050964929163456,
-0.0057308427058160305,
0.02880784310400486,
0.04193617403507233,
-0.03936637565493584,
0.051917433738708496,
-0.008766187354922295,
-0.02648012526333332,
0.054003067314624786,
0.005921715870499611,
-0.010046432726085186,
-0.0030167230870574713,
0.0159309059381485,
0.031805943697690964,
0.043649375438690186,
-0.0006488515064120293,
0.014673937112092972,
0.04651712626218796,
0.01335179340094328,
0.013798714615404606,
-0.07612570375204086,
-0.005167535040527582,
0.02189917489886284,
0.02156398445367813,
-0.013957000337541103,
-0.015958838164806366,
0.000764073571190238,
-0.05504588782787323,
-0.05728049576282501,
-0.013714917004108429,
-0.018128272145986557,
-0.02191779762506485,
-0.004494824446737766,
0.015595713630318642,
0.003947810735553503,
-0.041563741862773895,
-0.001571209984831512,
0.054971400648355484,
0.016964411363005638,
-0.07098609954118729,
0.005451516713947058,
-0.0036498624831438065,
0.03936637565493584,
-0.04171271622180939,
-0.01906866952776909,
0.06286702305078506,
-0.012746586464345455,
-0.022923370823264122,
0.017699971795082092,
-0.01231828611344099,
-0.009022236801683903,
0.022066770121455193,
-0.03973880782723427,
-0.048565518110990524,
-0.001397794927470386,
0.02512073703110218,
0.03579099848866463,
0.034636449068784714,
-0.03910566866397858,
-0.04227136820554733,
-0.04554879665374756,
-0.04394732415676117,
-0.011741012334823608,
-0.0009962634649127722,
-0.0103536918759346,
-0.02180606685578823,
0.011135805398225784,
0.05701979249715805,
-0.04201066121459007,
-0.044133540242910385,
0.0698687955737114,
-0.001706217648461461,
-0.031191427260637283,
-0.0017318225000053644,
-0.042159635573625565,
-0.026200799271464348,
0.010009189136326313,
-0.07627467811107635,
-0.07679608464241028,
0.005228055641055107,
-0.014506341889500618,
0.08357440680265427,
0.017150629311800003,
-0.013407658785581589,
0.030949344858527184,
0.022215744480490685,
-0.0024836754892021418,
-0.027765026316046715,
-0.006405881140381098,
0.0396270789206028,
-0.03789525479078293,
0.010484043508768082,
-0.05303473770618439,
-0.022122636437416077,
0.04104233160614967,
-0.03854701668024063,
0.07281102985143661,
0.005889127496629953,
0.0103536918759346,
0.022848883643746376,
-0.04245758429169655,
0.013407658785581589,
0.05217813700437546,
-0.039478104561567307,
0.053369928151369095,
-0.08156325668096542,
-0.02648012526333332,
0.05210364982485771,
0.04793237894773483,
0.029254766181111336,
-0.02806297317147255,
-0.01753237470984459,
0.014739112928509712,
0.07277379184961319,
0.03616343438625336,
-0.026927046477794647,
-0.028640247881412506,
-0.006322083529084921,
-0.011052006855607033,
0.05601421743631363,
-0.015605024993419647,
0.006014824379235506,
0.05672184377908707,
0.04122854769229889,
-0.07355590164661407,
-0.040111243724823,
0.05482242628931999,
0.030372070148587227,
-0.01581917516887188,
0.008072528056800365,
-0.01816551573574543,
-0.020037000998854637,
0.020726004615426064,
0.017588241025805473,
0.03387295827269554,
0.06156349927186966,
-0.029589956626296043,
0.03973880782723427,
0.021228792145848274,
-0.06897495687007904,
0.028025729581713676,
-0.003566064639016986,
-0.04454322159290314,
-0.011033385060727596,
-0.06424503028392792,
-0.028640247881412506,
-0.03806285187602043,
-0.014571517705917358,
-0.0190872922539711,
0.029478225857019424,
0.022848883643746376,
-0.03215975686907768,
-0.043537646532058716,
-0.016396448016166687,
0.0017318225000053644,
0.03992502763867378,
0.08536209166049957,
0.05489691346883774,
0.017932742834091187,
-0.02646150439977646,
-0.0026070447638630867,
0.014953263103961945,
-0.008947749622166157,
0.0009980093454942107,
0.0341336652636528,
-0.0028630937449634075,
-0.04100508987903595,
-0.0360703244805336,
0.018966250121593475,
-0.054263774305582047,
-0.02746707759797573,
-0.00009085376223083586,
-0.007737336214631796,
-0.043761108070611954,
-0.021340522915124893,
0.05076288431882858,
0.031545240432024,
0.019645944237709045,
-0.002383583690971136,
-0.03657311201095581,
0.01717856153845787,
-0.005125636234879494,
-0.012932803481817245,
-0.008333232253789902,
0.04126579314470291,
-0.061749715358018875,
-0.06904944032430649,
-0.006373293232172728,
-0.0180351622402668,
-0.04152649641036987,
0.0011562941363081336,
-0.03080037049949169,
0.03126591444015503,
0.027131887152791023,
0.009408637881278992,
0.05664735659956932,
-0.002788606798276305,
-0.035995837301015854,
0.04517636075615883,
-0.02400343306362629,
-0.012765208259224892,
-0.01256036851555109,
-0.03677795082330704,
0.028956817463040352,
-0.06413330137729645,
-0.02191779762506485,
0.05020423233509064,
0.028007108718156815,
0.005637734197080135,
0.08402132242918015,
-0.03286738321185112,
-0.02364961989223957,
0.0025698011741042137,
-0.01972043141722679,
0.0015153447166085243,
-0.06700104475021362,
-0.03746695816516876,
-0.049943529069423676,
0.012727964669466019,
0.018696235492825508,
-0.047597188502550125,
-0.03433850407600403,
0.03485991060733795,
0.09072515368461609,
0.0019517919281497598,
0.011312711983919144,
0.011322022415697575,
-0.045846741646528244,
-0.006024135276675224,
-0.048342056572437286,
-0.008770843036472797,
-0.02374272793531418,
0.06390983611345291,
0.050800126045942307,
-0.008491517044603825,
-0.05962683632969856,
-0.039701566100120544,
0.0011999388225376606,
-0.03204802796244621,
0.007416110951453447,
0.0028677491936832666,
0.012541746720671654,
-0.0202977042645216,
0.05444999039173126,
0.08826708048582077,
0.031079696491360664,
-0.06715001910924911,
0.008398408070206642,
0.01983216218650341,
0.02808159589767456,
-0.0025814396794885397,
0.025195224210619926,
0.09839731454849243,
-0.035157859325408936,
0.020614273846149445,
-0.036498624831438065,
0.05296025052666664,
0.01648024655878544,
-0.014599449932575226,
-0.025418685749173164,
-0.05836055800318718,
-0.005223400425165892,
-0.014469098299741745,
0.04435700178146362,
-0.028621627017855644,
0.052029162645339966,
0.0058425734750926495,
-0.02769053913652897,
0.009390016086399555,
0.035399943590164185,
-0.02696429006755352,
-0.005484104622155428,
-0.006806248798966408,
0.02057703211903572,
0.011899297125637531,
-0.004173599183559418,
0.05895645171403885,
-0.005242021754384041,
-0.01873347908258438,
-0.011191670782864094,
-0.07187994569540024,
-0.008617213927209377,
-0.017979297786951065,
-0.012942114844918251,
0.06994328647851944,
0.03843528777360916,
0.02806297317147255,
0.029385117813944817,
0.01422701496630907,
0.02057703211903572,
0.021750200539827347,
-0.06435675919055939,
-0.012653477489948273,
-0.005498071201145649,
-0.04785789176821709,
0.06044619157910347,
0.0063593266531825066,
0.00263264961540699,
-0.035530295222997665,
-0.03476680442690849,
-0.00329372170381248,
-0.013333171606063843,
0.02387308143079281,
-0.019496969878673553,
-0.027373969554901123,
-0.05009249970316887,
-0.024320002645254135,
-0.05344441533088684,
-0.01127546839416027,
-0.02350064553320408,
0.03443161025643349,
-0.028472652658820152,
-0.04726199433207512,
-0.005661011207848787,
0.016796816140413284,
0.029962392523884773,
0.006876080296933651,
-0.02242058515548706,
0.004415682051330805,
-0.038360800594091415,
0.0031819911673665047,
-0.028640247881412506,
-0.045623280107975006,
-0.02091222256422043,
0.012690721079707146,
0.040930602699518204,
0.006713139824569225,
0.033928822726011276,
0.022755775600671768,
0.02549317292869091,
-0.00919448770582676,
0.06491541117429733,
-0.024059297516942024,
-0.024785546585917473,
0.08618144690990448,
0.00030114856781437993,
-0.060632411390542984,
0.045511551201343536,
-0.005530659109354019,
-0.006331394426524639,
-0.08424478769302368,
0.02277439832687378,
-0.028751978650689125,
0.0405954085290432,
0.013621808029711246,
-0.009115345776081085,
0.0015293110627681017,
0.022252988070249557,
0.05605145916342735,
0.016591977328062057,
0.010800614021718502,
0.0035195103846490383,
0.0053816852159798145,
0.01513948105275631,
-0.02623804286122322,
-0.03821182623505592,
-0.013863891363143921,
0.019031425938010216,
-0.0669638067483902,
0.010046432726085186,
0.009525024332106113,
-0.05284852162003517,
0.02512073703110218,
-0.0033239820040762424,
-0.030632775276899338,
-0.04256931692361832,
0.01651749014854431,
-0.00702039897441864,
-0.02796986512839794,
-0.0004911486175842583,
0.0007850230322219431,
0.031843189150094986,
-0.02437586709856987,
0.07694505900144577,
0.015102237462997437,
0.0355861596763134,
-0.016182297840714455,
0.038100097328424454,
-0.02674083039164543,
-0.03756006434559822,
-0.02327718399465084,
-0.09459847956895828,
-0.05906818434596062,
0.003500888589769602,
-0.0418989323079586,
0.0014327106764540076,
-0.008635835722088814,
-0.013593875803053379,
-0.030725883319973946,
0.02374272793531418,
0.04629366472363472,
-0.054226528853178024,
0.09102310240268707,
0.011675835587084293,
-0.003868668107315898,
0.02351926825940609,
-0.0014559879200533032,
-0.015279144048690796,
-0.005502726417034864,
-0.03716900944709778,
-0.026908425614237785,
-0.005581868812441826,
-0.025306954979896545,
0.011936540715396404,
0.0063965702429413795,
0.011024074628949165,
-0.01347283460199833,
0.04443148896098137,
0.007816478610038757,
-0.004350505769252777,
-0.024934520944952965,
0.06286702305078506,
-0.014487720094621181,
0.011145115830004215,
0.004813721869140863,
0.0010416540317237377,
-0.0005475957877933979,
-0.010167473927140236,
0.025418685749173164,
-0.055455565452575684,
0.003419418353587389,
0.009832282550632954,
-0.024413110688328743,
0.031805943697690964,
-0.013565943576395512,
-0.020539788529276848,
0.05582800135016441,
0.026778073981404305,
-0.004173599183559418,
0.03431988134980202,
-0.04532533511519432,
-0.05824882537126541,
0.07091161608695984,
0.030874857679009438,
0.004557672888040543,
0.016899235546588898,
0.04078162834048271,
0.028472652658820152,
-0.02486003376543522,
0.05217813700437546,
-0.0009793875506147742,
0.004110750742256641,
-0.05057666823267937,
0.053742364048957825,
0.04275553300976753,
0.016619909554719925,
0.01855657249689102,
-0.0381745845079422,
0.002107748994603753,
0.007099541369825602,
-0.0711723193526268,
0.01759755238890648,
0.004287657327950001,
-0.035157859325408936,
-0.08521311730146408,
0.008803430944681168,
-0.037746284157037735,
-0.008035284467041492,
-0.01421770453453064,
-0.0063081169500947,
0.002211332553997636,
0.024971764534711838,
-0.01693647913634777,
0.005139602348208427,
-0.05344441533088684,
-0.019161777570843697,
-0.07746647298336029,
0.008696355856955051,
0.12044546753168106,
0.03351914510130882,
0.008575314655900002,
-0.04346315935254097,
0.007565084844827652,
-0.013025912456214428,
0.03167559206485748,
0.011917918920516968,
0.02916165627539158,
-0.010325758717954159,
0.0360703244805336,
-0.012355529703199863,
0.013035223819315434,
-0.018109649419784546,
0.0016061257338151336,
0.09273630380630493,
-0.042159635573625565,
-0.005628423299640417,
0.0304093137383461,
0.06189868971705437,
-0.07549256831407547,
0.09117207676172256,
-0.017569618299603462,
-0.01996251381933689,
-0.006173109170049429,
-0.01931075192987919,
-0.03225286677479744,
-0.042420342564582825,
0.03389158099889755,
0.0027001535054296255,
-0.04227136820554733,
0.019627321511507034,
-0.02067014016211033,
0.043016236275434494,
-0.023333050310611725,
0.06588374078273773,
0.0306513961404562,
-0.007276447955518961,
0.0035520982928574085,
-0.013584565371274948,
0.058062609285116196,
0.00785372219979763,
-0.015009128488600254,
-0.025400063022971153,
-0.019236264750361443,
-0.055455565452575684,
0.055232103914022446,
0.0018132927361875772,
0.016796816140413284,
-0.001462971093133092,
-0.0160147026181221,
-0.05284852162003517,
0.014236326329410076,
-0.022923370823264122,
-0.06618168950080872,
0.05798812210559845,
-0.010251272469758987,
0.014534274116158485,
0.009692619554698467,
0.031321778893470764,
-0.04715026542544365,
0.1009298712015152,
0.022569557651877403,
-0.03499026224017143,
-0.005763431079685688,
0.039478104561567307,
0.0024580706376582384,
-0.06670310348272324,
0.001999510219320655,
-0.004185237921774387,
-0.045623280107975006,
0.00856600422412157,
-0.030632775276899338,
-0.023239940404891968,
0.017960675060749054
] |
711,000
|
yt_dlp.networking.impersonate
|
__delattr__
| null |
from __future__ import annotations
import re
from abc import ABC
from dataclasses import dataclass
from typing import Any
from .common import RequestHandler, register_preference
from .exceptions import UnsupportedRequest
from ..compat.types import NoneType
from ..utils import classproperty, join_nonempty
from ..utils.networking import std_headers
@dataclass(order=True, frozen=True)
class ImpersonateTarget:
"""
A target for browser impersonation.
Parameters:
@param client: the client to impersonate
@param version: the client version to impersonate
@param os: the client OS to impersonate
@param os_version: the client OS version to impersonate
Note: None is used to indicate to match any.
"""
client: str | None = None
version: str | None = None
os: str | None = None
os_version: str | None = None
def __post_init__(self):
if self.version and not self.client:
raise ValueError('client is required if version is set')
if self.os_version and not self.os:
raise ValueError('os is required if os_version is set')
def __contains__(self, target: ImpersonateTarget):
if not isinstance(target, ImpersonateTarget):
return False
return (
(self.client is None or target.client is None or self.client == target.client)
and (self.version is None or target.version is None or self.version == target.version)
and (self.os is None or target.os is None or self.os == target.os)
and (self.os_version is None or target.os_version is None or self.os_version == target.os_version)
)
def __str__(self):
return f'{join_nonempty(self.client, self.version)}:{join_nonempty(self.os, self.os_version)}'.rstrip(':')
@classmethod
def from_str(cls, target: str):
mobj = re.fullmatch(r'(?:(?P<client>[^:-]+)(?:-(?P<version>[^:-]+))?)?(?::(?:(?P<os>[^:-]+)(?:-(?P<os_version>[^:-]+))?)?)?', target)
if not mobj:
raise ValueError(f'Invalid impersonate target "{target}"')
return cls(**mobj.groupdict())
|
(self, name)
|
[
0.0458933562040329,
-0.035900142043828964,
-0.053850214928388596,
-0.008484803140163422,
0.008885473944246769,
-0.016583075746893883,
0.007857870310544968,
-0.006226902361959219,
-0.044309526681900024,
0.026849687099456787,
0.044384945183992386,
0.02558639459311962,
0.010832265019416809,
-0.0008956180536188185,
-0.014358172193169594,
-0.033712949603796005,
0.07806018739938736,
0.021400557830929756,
0.050192322582006454,
-0.07851270586252213,
0.04008597880601883,
-0.0019326495239511132,
0.0287917647510767,
0.03610755130648613,
-0.004473376553505659,
0.02434195578098297,
-0.05313371866941452,
0.05449128895998001,
0.04698695242404938,
-0.054906100034713745,
0.03322271630167961,
-0.05154988914728165,
0.008678067475557327,
0.042009200900793076,
0.07542046904563904,
-0.029244286939501762,
0.018487442284822464,
0.07236593961715698,
-0.11690172553062439,
-0.07195112854242325,
-0.09080624580383301,
-0.009719813242554665,
0.01421675831079483,
-0.04238630458712578,
-0.00995550211519003,
0.07104608416557312,
-0.019185081124305725,
0.06750132143497467,
-0.0014978033723309636,
-0.002048137132078409,
0.025624103844165802,
0.03459914028644562,
-0.013387133367359638,
-0.02960253320634365,
-0.015272645279765129,
0.0604495070874691,
0.05543404445052147,
0.0400482676923275,
-0.040877893567085266,
0.0026090769097208977,
-0.041933782398700714,
-0.009653819724917412,
0.03412776067852974,
-0.02656685933470726,
-0.021589109674096107,
-0.008645071648061275,
-0.03493853285908699,
-0.01761068031191826,
-0.016460517421364784,
0.010954823344945908,
0.016177691519260406,
-0.037257712334394455,
0.008131269365549088,
0.018214043229818344,
0.062221888452768326,
0.010370314121246338,
0.0015319782542064786,
0.0254355538636446,
0.025416698306798935,
-0.02317293919622898,
0.018675994127988815,
-0.07515649497509003,
-0.02960253320634365,
-0.03578701242804527,
0.006589863449335098,
-0.008984463289380074,
-0.007513764314353466,
-0.02975337579846382,
0.0007153160404413939,
0.0158571545034647,
-0.06399426609277725,
0.023870578035712242,
-0.028527792543172836,
-0.006858549080789089,
0.012680066749453545,
0.04736405611038208,
0.01353797409683466,
-0.010172335430979729,
-0.03993513807654381,
0.011209366843104362,
-0.03512708470225334,
0.06784071028232574,
-0.023210648447275162,
0.008211403153836727,
0.026302888989448547,
-0.0015885436441749334,
-0.03229881450533867,
0.041933782398700714,
0.004817482549697161,
-0.032072555273771286,
-0.012170977890491486,
-0.028527792543172836,
-0.01647937297821045,
-0.03288332372903824,
0.06625688076019287,
-0.017893506214022636,
-0.02820725552737713,
-0.0019951071590185165,
0.04691153019666672,
-0.004105701576918364,
-0.0001351528917439282,
0.010540010407567024,
0.008362244814634323,
0.04261256381869316,
0.041896071285009384,
-0.006264612544327974,
-0.02784900739789009,
0.004560581408441067,
-0.009851798415184021,
-0.0013198582455515862,
-0.06768987327814102,
0.001143680652603507,
-0.00676898704841733,
0.032977599650621414,
0.01807262934744358,
0.03235538303852081,
-0.11396032571792603,
0.0016957820625975728,
-0.0056659625843167305,
0.026548005640506744,
-0.028094124048948288,
-0.030507579445838928,
-0.01838373951613903,
0.003990214318037033,
-0.00117844482883811,
0.008272682316601276,
0.021570254117250443,
0.018138622865080833,
0.012981748208403587,
-0.023418055847287178,
0.03459914028644562,
0.022890113294124603,
0.012632928788661957,
-0.024530507624149323,
-0.06263670325279236,
-0.004805698059499264,
-0.03231767192482948,
-0.04106644541025162,
0.013735952787101269,
-0.06029866635799408,
-0.0027764160186052322,
-0.07010332494974136,
0.026830831542611122,
-0.019703596830368042,
0.019496191293001175,
0.0034174900501966476,
0.010181763209402561,
-0.08537597209215164,
0.02247530035674572,
0.039708878844976425,
-0.0369371734559536,
0.035900142043828964,
0.022776981815695763,
0.005034316331148148,
0.03080926090478897,
0.06267441064119339,
0.003815804375335574,
-0.07025416940450668,
-0.027283355593681335,
0.01613055355846882,
0.03887925297021866,
-0.025605250149965286,
-0.033750660717487335,
0.04604419693350792,
0.028848329558968544,
0.04050079360604286,
0.0037757372483611107,
-0.0045558675192296505,
0.011520477011799812,
0.07647635787725449,
-0.022381024435162544,
0.007919149473309517,
0.07542046904563904,
0.004037351813167334,
0.0009292037575505674,
-0.025737235322594643,
-0.01838373951613903,
-0.043027378618717194,
-0.01799720898270607,
-0.0017735594883561134,
-0.04344218969345093,
0.0031747303437441587,
-0.003969002049416304,
0.03887925297021866,
0.002354532713070512,
-0.004452164750546217,
0.04619503766298294,
-0.025454407557845116,
0.0078672980889678,
-0.011699600145220757,
-0.01877027004957199,
0.004626574460417032,
-0.01966588757932186,
0.027867862954735756,
0.006354174576699734,
0.03872841224074364,
0.016686778515577316,
0.05075797438621521,
0.030432159081101418,
0.004112772643566132,
0.015574326738715172,
0.04694924131035805,
-0.0011654819827526808,
0.003884154139086604,
0.022418733686208725,
-0.037993062287569046,
0.0019397202413529158,
-0.02605777233839035,
0.025737235322594643,
-0.0029272569809108973,
0.03508937358856201,
-0.035937853157520294,
0.033712949603796005,
0.034957386553287506,
0.018138622865080833,
-0.015612036921083927,
0.011671317741274834,
-0.020438946783542633,
0.03684289753437042,
0.03933177515864372,
0.012925182469189167,
0.009766951203346252,
0.07055585086345673,
0.021551398560404778,
0.01686590164899826,
-0.0059346482157707214,
-0.01686590164899826,
0.0002723680518101901,
0.040689341723918915,
-0.03548533096909523,
0.0010105164255946875,
0.0015614393632858992,
-0.0487593337893486,
-0.04159438982605934,
-0.028848329558968544,
0.04053850099444389,
-0.01889282837510109,
0.043291348963975906,
-0.01057772058993578,
0.012755487114191055,
-0.05117278918623924,
-0.05912964791059494,
-0.0004654857038985938,
-0.01779923029243946,
-0.057319555431604385,
-0.007711743004620075,
-0.011171656660735607,
0.0338260792195797,
-0.03816275671124458,
0.0059110792353749275,
-0.019100233912467957,
0.018873972818255424,
-0.022456444799900055,
-0.007395919878035784,
-0.009917791932821274,
-0.016875330358743668,
-0.005326570477336645,
0.001318679773248732,
-0.04955124855041504,
-0.03620182350277901,
0.013330567628145218,
0.005722528323531151,
0.03844558447599411,
-0.002783486619591713,
-0.03343012183904648,
0.006750131957232952,
-0.027490761131048203,
-0.020929180085659027,
0.04936269670724869,
-0.006849121302366257,
-0.011218794621527195,
0.04106644541025162,
0.03872841224074364,
-0.026774266734719276,
-0.04947582632303238,
0.03771023452281952,
-0.02185308001935482,
-0.03339241445064545,
0.012340674176812172,
-0.05780978873372078,
-0.0028023417107760906,
0.0333358459174633,
-0.04110415652394295,
-0.03684289753437042,
0.020514367148280144,
-0.02079719491302967,
0.04747718572616577,
0.008838335983455181,
-0.02115544117987156,
0.033524397760629654,
-0.0030898824334144592,
-0.016781054437160492,
-0.047854289412498474,
-0.03412776067852974,
0.006476732902228832,
0.018902255222201347,
0.02532242238521576,
-0.007400633301585913,
0.020853759720921516,
0.018902255222201347,
-0.04027453064918518,
0.09744324535131454,
-0.017506975680589676,
0.008480088785290718,
-0.011445056647062302,
-0.033090729266405106,
0.03635266795754433,
0.0345802865922451,
-0.054943811148405075,
0.051323629915714264,
-0.11818387359380722,
0.0317143090069294,
-0.03263820707798004,
0.006523870397359133,
0.013971641659736633,
-0.015451768413186073,
-0.010992533527314663,
-0.018921110779047012,
0.03339241445064545,
0.03182743862271309,
-0.004522871226072311,
-0.042009200900793076,
-0.01819518767297268,
0.002437023911625147,
-0.006137340795248747,
-0.037917640060186386,
0.0604495070874691,
0.09797118604183197,
0.022381024435162544,
-0.11607210338115692,
-0.01682819239795208,
0.009634965099394321,
0.025228146463632584,
-0.013217437081038952,
0.030714986845850945,
-0.05328456312417984,
-0.017714383080601692,
-0.03244965523481369,
0.024209970608353615,
-0.013933931477367878,
0.012708349153399467,
-0.03284561261534691,
0.026284033432602882,
0.018628856167197227,
-0.021494833752512932,
-0.018591145053505898,
0.04721321538090706,
-0.029979636892676353,
0.02025039680302143,
-0.08371672034263611,
-0.014056489802896976,
-0.05188928171992302,
0.0421600416302681,
-0.05558488517999649,
0.03214797377586365,
0.02769816666841507,
-0.0320914089679718,
-0.08054906129837036,
-0.07059355825185776,
0.02309751883149147,
0.06180707365274429,
0.07100836932659149,
0.054906100034713745,
0.05170072987675667,
-0.009158872999250889,
-0.03750282898545265,
0.03746511787176132,
0.012802625074982643,
-0.013170299120247364,
0.05452900007367134,
0.009107021614909172,
-0.021721094846725464,
-0.006575722247362137,
0.05449128895998001,
-0.024285390973091125,
-0.01659250259399414,
-0.06354174762964249,
0.01737499050796032,
-0.012444376945495605,
0.007923862896859646,
0.06957538425922394,
0.037144582718610764,
0.0248133335262537,
0.003452843287959695,
-0.02956482395529747,
0.003827588865533471,
0.02422882616519928,
-0.026378309354186058,
0.019779017195105553,
0.025171581655740738,
-0.08039821684360504,
-0.06139226257801056,
-0.015470623970031738,
-0.015828870236873627,
0.022494154050946236,
0.007914435118436813,
-0.026774266734719276,
0.03848329558968544,
-0.028640924021601677,
-0.006429594941437244,
0.04593106731772423,
-0.013349423184990883,
-0.03697488456964493,
0.05407647788524628,
0.0030710273422300816,
0.004105701576918364,
0.0033491402864456177,
-0.03397691994905472,
0.001168428105302155,
-0.02784900739789009,
0.05701787397265434,
0.06995248794555664,
-0.025661814957857132,
-0.031073233112692833,
0.06448449939489365,
-0.01670563407242298,
-0.02134399302303791,
0.029791085049510002,
0.011501621454954147,
-0.018053775653243065,
-0.09985670447349548,
-0.00467371242120862,
-0.04283882677555084,
0.04525228217244148,
0.058413151651620865,
-0.033599819988012314,
-0.04528999328613281,
0.03233652561903,
0.012651783414185047,
-0.04830681160092354,
0.005948789417743683,
-0.021098876371979713,
-0.034372877329587936,
0.025850364938378334,
-0.05309601128101349,
0.0016769269714131951,
0.003214797470718622,
0.06297609210014343,
0.009644392877817154,
0.0027434194926172495,
0.016545364633202553,
-0.038275886327028275,
0.07666490972042084,
-0.021457122638821602,
-0.022343313321471214,
0.04574251547455788,
0.06572894006967545,
-0.020816048607230186,
-0.010342031717300415,
0.039482615888118744,
0.004136341158300638,
-0.030337883159518242,
0.014801266603171825,
0.009583113715052605,
-0.006773700937628746,
0.025303566828370094,
0.04483746737241745,
0.025265857577323914,
-0.03256278857588768,
0.01959046721458435,
-0.010492872446775436,
0.04227317124605179,
0.011482766829431057,
-0.007829587906599045,
-0.04585564509034157,
-0.06621917337179184,
0.05245493724942207,
-0.023927144706249237,
0.09148503094911575,
-0.007664605043828487,
0.03165774047374725,
0.044196393340826035,
-0.058677125722169876,
-0.015338637866079807,
0.030356738716363907,
0.006971679627895355,
-0.005189870949834585,
0.021287428215146065,
0.049287278205156326,
-0.035353343933820724,
-0.004322535824030638,
-0.015687458217144012,
-0.007348781917244196,
-0.013151444494724274,
0.022927822545170784,
-0.00917301420122385,
-0.050343163311481476,
0.023399200290441513,
0.011577041819691658,
0.03774794563651085,
-0.0013045384548604488,
0.023474620655179024,
0.009488837793469429,
0.02083490416407585,
-0.0009091701940633357,
-0.02119315229356289,
-0.05701787397265434,
0.021494833752512932,
-0.002367495559155941,
-0.0705181360244751,
0.033524397760629654,
0.00501546123996377,
0.01768610067665577,
-0.033599819988012314,
-0.004845764953643084,
0.016601931303739548,
0.0024912324734032154,
0.030941247940063477,
0.011322498321533203,
0.0020740628242492676,
-0.042084623128175735,
0.02294667810201645,
-0.024624783545732498,
0.04487517848610878,
0.00501546123996377,
0.03007391281425953,
-0.03618296980857849,
-0.03620182350277901,
-0.01306659635156393,
0.02079719491302967,
0.0048504788428545,
0.047854289412498474,
-0.10008296370506287,
0.011756165884435177,
-0.032034844160079956,
-0.036446940153837204,
-0.01686590164899826,
-0.01578173227608204,
-0.04038766026496887,
-0.03891696035861969,
-0.03120521828532219,
0.008984463289380074,
0.062221888452768326,
0.03244965523481369,
-0.049023304134607315,
-0.0243796668946743,
0.05437815934419632,
-0.02609548158943653,
-0.037333130836486816,
0.019458480179309845,
-0.016931895166635513,
-0.07542046904563904,
-0.011501621454954147,
-0.039633456617593765,
-0.011661889962852001,
-0.01733728125691414,
0.03459914028644562,
0.028810618445277214,
-0.023927144706249237,
-0.011746738106012344,
-0.0032619351986795664,
-0.012614073231816292,
0.029338562861084938,
0.04061392322182655,
-0.042989667505025864,
0.033090729266405106,
0.03275134041905403,
-0.0034740553237497807,
0.09570857882499695,
0.025888076052069664,
0.0044875177554786205,
-0.003443415742367506,
0.024794479832053185,
-0.11237649619579315,
0.03263820707798004,
0.005048457533121109,
0.003221868071705103,
0.03869070112705231,
-0.01991100423038006,
-0.04397013410925865,
-0.08876989036798477,
0.005340712144970894,
-0.01419790368527174,
-0.021494833752512932,
-0.018921110779047012,
0.02847122773528099,
-0.026076627895236015,
-0.003502337960526347,
0.06814239174127579,
-0.00242523942142725,
-0.012651783414185047,
0.015913719311356544,
0.008711064234375954,
-0.03341126814484596,
0.028622068464756012,
-0.006052492652088404,
-0.08892073482275009,
-0.060902029275894165,
-0.006420167628675699,
-0.07402519136667252,
0.02298438735306263,
0.018327174708247185,
-0.025303566828370094,
0.0034198469948023558,
-0.004176408518105745,
0.08409382402896881,
-0.08643186092376709,
0.04404555261135101,
0.002498303074389696,
-0.04860849305987358,
0.02375744841992855,
-0.009436986409127712,
-0.01819518767297268,
-0.0262463241815567,
-0.02894260548055172,
0.015461196191608906,
-0.011058526113629341,
0.04766573756933212,
-0.0360698401927948,
0.05053171515464783,
0.028640924021601677,
-0.014603287912905216,
0.047816578298807144,
0.030319029465317726,
0.023927144706249237,
0.010219473391771317,
0.028961461037397385,
-0.026170901954174042,
0.0032077268697321415,
-0.008131269365549088,
0.026849687099456787,
-0.014311034232378006,
0.022211328148841858,
-0.01299117598682642,
-0.08017195761203766,
0.0277358777821064,
0.019779017195105553,
-0.012680066749453545,
0.005581114906817675,
-0.008659212850034237,
-0.015602609142661095,
0.05181386321783066,
0.03705030679702759,
0.0019008314702659845,
-0.021947355940937996,
-0.019892148673534393,
-0.04453578591346741,
0.029357418417930603,
0.04065163433551788,
0.022569576278328896,
-0.003294931724667549,
0.037955351173877716,
0.0641828179359436,
0.0024794479832053185,
0.01577230542898178,
0.0050013200379908085,
0.021475978195667267,
-0.08824194967746735,
0.09125876426696777,
0.04408326372504234,
0.05215325579047203,
-0.011228222399950027,
-0.02722678892314434,
0.03823817893862724,
0.004770344588905573,
-0.061052870005369186,
0.044234104454517365,
0.006566294468939304,
-0.03018704243004322,
-0.02700052782893181,
0.03837016224861145,
-0.03746511787176132,
-0.012529225088655949,
-0.041933782398700714,
-0.02298438735306263,
-0.055019233375787735,
0.07806018739938736,
0.007829587906599045,
-0.007518478203564882,
-0.048985593020915985,
0.022531865164637566,
-0.05535862594842911,
0.011520477011799812,
0.08620559424161911,
0.004225903190672398,
-0.0127177769318223,
-0.010700278915464878,
-0.0023521757684648037,
-0.02243758924305439,
0.048872463405132294,
0.029772229492664337,
0.014556150883436203,
0.000124325932119973,
-0.01164303533732891,
-0.04159438982605934,
0.024945320561528206,
-0.002691567875444889,
-0.019929859787225723,
0.06606832891702652,
-0.05939361825585365,
0.00995550211519003,
0.03446715325117111,
0.06976393610239029,
-0.015498906373977661,
0.0558488555252552,
0.025869220495224,
-0.0508711077272892,
-0.014103627763688564,
-0.023040954023599625,
0.007933290675282478,
-0.052530355751514435,
0.02364431694149971,
0.05682932212948799,
-0.009262576699256897,
0.006552153266966343,
-0.02536013349890709,
-0.004237687680870295,
0.028697488829493523,
0.07745682448148727,
0.04755260422825813,
0.009451127611100674,
0.0369371734559536,
-0.039482615888118744,
0.013773662969470024,
0.011775020509958267,
-0.025624103844165802,
-0.00847537536174059,
-0.024869900196790695,
-0.045440834015607834,
0.05222867429256439,
-0.04691153019666672,
0.0007029423140920699,
-0.04585564509034157,
0.03069613128900528,
-0.033599819988012314,
0.02609548158943653,
-0.0021789444144815207,
-0.049249567091464996,
0.06723734736442566,
0.060826607048511505,
0.007485481444746256,
-0.0425371453166008,
-0.007994569838047028,
-0.038030773401260376,
0.06184478476643562,
-0.03697488456964493,
-0.014009351842105389,
0.011567614041268826,
0.044498078525066376,
0.028659777715802193,
-0.06550268083810806,
0.039595745503902435,
-0.033090729266405106,
-0.040727052837610245,
-0.01732785254716873,
-0.014461874961853027,
-0.017752092331647873,
-0.007626894861459732
] |
711,008
|
yt_dlp.networking.impersonate
|
__post_init__
| null |
def __post_init__(self):
if self.version and not self.client:
raise ValueError('client is required if version is set')
if self.os_version and not self.os:
raise ValueError('os is required if os_version is set')
|
(self)
|
[
0.016802934929728508,
0.02023521438241005,
-0.021346447989344597,
0.01628316380083561,
0.006506096571683884,
-0.06997190415859222,
0.03536233678460121,
0.04735291004180908,
0.04301551356911659,
0.016946319490671158,
0.026633772999048233,
0.05921802297234535,
-0.021561525762081146,
-0.020934216678142548,
-0.007617330644279718,
0.017519859597086906,
0.0006009849603287876,
0.03502179682254791,
0.04710198566317558,
-0.06574204564094543,
-0.03215409815311432,
-0.03706503286957741,
-0.02776292897760868,
0.06771358847618103,
0.04294382035732269,
0.09269843250513077,
0.023228377103805542,
0.020826678723096848,
0.1171455830335617,
-0.02057575434446335,
-0.025863077491521835,
0.041223201900720596,
0.03633018583059311,
0.06803620606660843,
0.05667293816804886,
-0.011381188407540321,
0.02826477773487568,
0.0026817484758794308,
-0.12696745991706848,
0.018030669540166855,
0.011856150813400745,
0.00004141223325859755,
0.030272167176008224,
0.0029147490859031677,
-0.019321134313941002,
-0.0027534409891813993,
-0.005260438658297062,
0.041904278099536896,
-0.05082999914884567,
-0.04523798078298569,
-0.007321598939597607,
0.029519395902752876,
0.057497404515743256,
0.017985861748456955,
-0.04366074502468109,
0.05093753710389137,
0.07298298925161362,
0.08882703632116318,
-0.04925276339054108,
0.04427013173699379,
-0.050220612436532974,
0.04423428699374199,
-0.030630629509687424,
-0.061548031866550446,
0.020754985511302948,
-0.000053244300943333656,
-0.014481890015304089,
-0.005883267614990473,
0.0408288910984993,
0.10015445202589035,
0.022583143785595894,
0.013397539965808392,
-0.06749851256608963,
0.04928860813379288,
0.06405726820230484,
-0.03710088133811951,
-0.042226895689964294,
0.0387856550514698,
0.026454539969563484,
-0.02342553250491619,
0.0026750273536890745,
0.00005145898830960505,
-0.038247961550951004,
-0.017743898555636406,
0.04340982064604759,
-0.013558848761022091,
-0.02778085321187973,
0.02437545731663704,
0.02731485106050968,
0.041438277810811996,
-0.062480032444000244,
0.0411515086889267,
-0.015566239133477211,
0.03695749491453171,
0.003835550043731928,
0.022457683458924294,
0.002004029927775264,
-0.04928860813379288,
-0.025235768407583237,
0.01639966480433941,
-0.028999624773859978,
-0.004039425402879715,
-0.009642643854022026,
-0.05176199972629547,
0.0003066535573452711,
-0.053912777453660965,
-0.0008390265284106135,
-0.07126236706972122,
0.005816055927425623,
-0.025540461763739586,
0.017062820494174957,
-0.05986325815320015,
-0.02450091950595379,
0.027135619893670082,
-0.03281725198030472,
-0.04412674903869629,
-0.021436063572764397,
-0.025612153112888336,
0.03563118353486061,
0.01174861192703247,
-0.01569170132279396,
0.011470803990960121,
-0.041223201900720596,
0.03634810820221901,
0.062336649745702744,
0.007774157915264368,
-0.03231540322303772,
0.026974311098456383,
0.016883589327335358,
-0.0395742729306221,
0.04312305152416229,
-0.02779877558350563,
-0.013989003375172615,
-0.05563339591026306,
-0.0413665845990181,
-0.022708605974912643,
0.01588885486125946,
0.021418141201138496,
-0.019213596358895302,
-0.027279004454612732,
-0.000580821477342397,
0.0399685800075531,
-0.011667958460748196,
-0.05889540910720825,
0.004348599351942539,
0.06653065979480743,
-0.0391082726418972,
-0.04434182494878769,
-0.02023521438241005,
0.011479765176773071,
0.08488394320011139,
-0.013164539821445942,
-0.03193901851773262,
-0.06423649936914444,
-0.05667293816804886,
-0.04688690975308418,
-0.03616887703537941,
-0.10875755548477173,
0.03557741269469261,
0.02819308452308178,
0.00818190909922123,
-0.021131370216608047,
0.061404645442962646,
-0.01659681834280491,
0.026114001870155334,
0.07194344699382782,
-0.022368067875504494,
-0.0811559334397316,
0.03462748974561691,
0.04867922142148018,
-0.0398251973092556,
-0.005108092445880175,
-0.03575664386153221,
-0.027368620038032532,
-0.022457683458924294,
0.030487244948744774,
0.02358683943748474,
-0.0397176556289196,
-0.030648553743958473,
-0.007738311775028706,
0.021167216822504997,
-0.01611289381980896,
-0.034286949783563614,
0.058178480714559555,
0.06015002727508545,
0.02439338155090809,
-0.009624721482396126,
0.008612064644694328,
0.017699090763926506,
-0.0057846903800964355,
0.012949462048709393,
0.025128228589892387,
0.009983183816075325,
0.018371209502220154,
0.0396818108856678,
-0.024715997278690338,
0.033605869859457016,
-0.042119357734918594,
0.031042862683534622,
0.03154471144080162,
-0.002241511596366763,
-0.009445489384233952,
-0.008759929798543453,
-0.014544620178639889,
-0.005403823684900999,
0.022045450285077095,
0.0018158372258767486,
-0.011273649521172047,
-0.01160522736608982,
-0.030057089403271675,
-0.03296063840389252,
-0.02351514808833599,
-0.04688690975308418,
0.016928397119045258,
0.0100011071190238,
-0.07147744297981262,
0.05509570240974426,
-0.025074459612369537,
-0.0014360907953232527,
0.05885956063866615,
0.07309052348136902,
0.05674463137984276,
0.03267386555671692,
-0.05660124495625496,
0.018299516290426254,
0.004480782430619001,
-0.0014652159297838807,
-0.008894353173673153,
-0.0012971865944564342,
-0.0018640055786818266,
-0.0391082726418972,
0.045775674283504486,
-0.05129599943757057,
0.033516254276037216,
-0.021722834557294846,
-0.00833873637020588,
0.011408072896301746,
-0.004384445957839489,
-0.06642312556505203,
-0.034322794526815414,
0.0399685800075531,
-0.021346447989344597,
-0.018693825230002403,
-0.0072006178088486195,
0.005592016968876123,
-0.0023031223099678755,
-0.013254155404865742,
0.018344324082136154,
-0.022547299042344093,
-0.006815270520746708,
-0.031168324872851372,
-0.0401836596429348,
-0.01570962369441986,
-0.011856150813400745,
-0.013854580000042915,
0.005632343702018261,
0.04262120649218559,
-0.03724426403641701,
0.03616887703537941,
-0.010646339505910873,
-0.017510898411273956,
0.014347465708851814,
-0.0005463754641823471,
0.07201513648033142,
-0.011049609631299973,
-0.023317992687225342,
0.06670989096164703,
0.004664494656026363,
-0.022368067875504494,
0.034466180950403214,
0.09255504608154297,
0.02867700904607773,
-0.019141903147101402,
-0.021400218829512596,
0.004039425402879715,
-0.07015113532543182,
-0.031007016077637672,
-0.010556723922491074,
-0.025361230596899986,
0.03602549433708191,
0.10065630078315735,
0.01654304936528206,
0.05086584389209747,
0.046313367784023285,
-0.053841084241867065,
-0.0393233485519886,
-0.005793652031570673,
-0.0393233485519886,
-0.050077226012945175,
-0.028802471235394478,
-0.021292679011821747,
0.03240501880645752,
0.026078155264258385,
0.009082546457648277,
0.00811469741165638,
-0.05574093759059906,
0.026992235332727432,
0.005515843629837036,
0.025880999863147736,
-0.038140423595905304,
0.012940499931573868,
0.012931538745760918,
-0.02806762233376503,
-0.0011818064376711845,
0.018855134025216103,
-0.030092936009168625,
0.07240945100784302,
0.015171930193901062,
-0.010843493975698948,
-0.01933905854821205,
0.007057232782244682,
0.033587947487831116,
-0.03272763639688492,
0.030343860387802124,
0.002619017381221056,
0.02439338155090809,
0.04348151385784149,
-0.039144117385149,
-0.029232626780867577,
0.04287212714552879,
-0.0397893488407135,
0.03471710532903671,
0.008916757069528103,
-0.005878787022083998,
-0.01629212498664856,
0.007231983356177807,
0.025630077347159386,
-0.014463966712355614,
-0.045703984797000885,
0.03674241900444031,
-0.06889651715755463,
0.025414999574422836,
0.006900405511260033,
0.022726530209183693,
0.02828270010650158,
-0.018478747457265854,
0.008347698487341404,
-0.06359126418828964,
0.004798918031156063,
-0.013191424310207367,
0.004185051191598177,
-0.04760383442044258,
-0.0201993677765131,
0.013630541041493416,
0.013370655477046967,
-0.026454539969563484,
0.02801385335624218,
-0.05462970212101936,
0.026615848764777184,
-0.006694289389997721,
-0.0825180932879448,
0.05161861702799797,
-0.010816609486937523,
0.017896246165037155,
0.0406138151884079,
-0.05914632976055145,
-0.04441351816058159,
-0.03543402999639511,
0.04412674903869629,
0.004144723992794752,
0.04473613575100899,
0.023031223565340042,
0.00689592445269227,
0.03290686756372452,
-0.06936251372098923,
-0.030809860676527023,
0.012537229806184769,
-0.022009603679180145,
0.017394397407770157,
-0.062480032444000244,
0.0018976114224642515,
-0.07176421582698822,
-0.0099294139072299,
-0.005856383126229048,
0.05115261301398277,
0.03624057024717331,
-0.02007390558719635,
0.009113911539316177,
-0.022887837141752243,
-0.0031477499287575483,
-0.0411873534321785,
0.006604673806577921,
0.0031074227299541235,
-0.0019390586530789733,
-0.0197512898594141,
-0.02333591692149639,
0.025755539536476135,
0.012286306358873844,
0.01570962369441986,
0.00978602934628725,
-0.01580820046365261,
0.02358683943748474,
-0.018604209646582603,
-0.030039167031645775,
0.02059367671608925,
0.026060231029987335,
0.002961797406896949,
-0.005551689770072699,
0.029752396047115326,
-0.025128228589892387,
-0.003750415053218603,
-0.0054351892322301865,
-0.013065962120890617,
0.05194123089313507,
0.005287323612719774,
0.017519859597086906,
0.005945998709648848,
0.01009968388825655,
0.054737240076065063,
0.004299310967326164,
-0.045381367206573486,
-0.029250549152493477,
-0.01169484294950962,
-0.025289537385106087,
0.011417034082114697,
-0.012151882983744144,
0.06484588980674744,
0.015449739061295986,
0.04513044282793999,
-0.02828270010650158,
0.011058571748435497,
0.08345009386539459,
0.04441351816058159,
0.05516739562153816,
0.013307924382388592,
0.009100469760596752,
-0.03760272637009621,
-0.02333591692149639,
0.05172615498304367,
-0.011354302987456322,
0.006317903753370047,
0.06481003761291504,
-0.049431994557380676,
-0.018245747312903404,
-0.009409643709659576,
-0.010942071676254272,
-0.026741310954093933,
-0.000016444122593384236,
-0.01994844526052475,
0.012357998639345169,
-0.04423428699374199,
-0.02801385335624218,
0.02356891706585884,
0.04383997619152069,
0.04305135831236839,
-0.011363265104591846,
0.029322242364287376,
0.030272167176008224,
0.013379616662859917,
-0.049503687769174576,
-0.05617109313607216,
0.0031970383133739233,
-0.04412674903869629,
-0.04301551356911659,
-0.03145509585738182,
-0.02351514808833599,
-0.06061602756381035,
0.010207222774624825,
-0.0008530290215276182,
-0.02761954441666603,
-0.009445489384233952,
0.005977364256978035,
-0.04893014580011368,
-0.004400128498673439,
0.022493528202176094,
0.08466886729001999,
0.021830372512340546,
0.003584626130759716,
-0.010718031786382198,
0.053697697818279266,
0.0020409964490681887,
0.003743693931028247,
0.053375083953142166,
0.016767088323831558,
-0.019177749752998352,
-0.04670767858624458,
0.05921802297234535,
0.008432832546532154,
-0.03688580170273781,
-0.0406855046749115,
0.024715997278690338,
0.0788617730140686,
0.010126568377017975,
0.0195541363209486,
-0.04882260784506798,
-0.04849999025464058,
-0.05333923548460007,
-0.07527714967727661,
0.06900405138731003,
0.025361230596899986,
-0.006403038278222084,
-0.016749165952205658,
0.014903083443641663,
0.00203651562333107,
0.014383312314748764,
0.012877769768238068,
-0.017385436221957207,
0.026293233036994934,
0.06075941398739815,
0.009311066009104252,
0.0030738168861716986,
0.007321598939597607,
-0.010691147297620773,
-0.009938376024365425,
-0.021794527769088745,
-0.0782165452837944,
-0.04828491434454918,
0.0023255262058228254,
0.04437766969203949,
-0.006627077702432871,
-0.01178445853292942,
-0.003241846337914467,
0.05280154198408127,
0.025719692930579185,
0.049933843314647675,
0.024984844028949738,
-0.07065298408269882,
0.027063926681876183,
-0.012393845245242119,
0.053805239498615265,
0.04513044282793999,
0.021113447844982147,
0.06412895768880844,
-0.06584957987070084,
-0.008818180300295353,
-0.016785012558102608,
-0.00598184484988451,
-0.04821322113275528,
0.081586092710495,
0.015593123622238636,
-0.0195003654807806,
-0.05943310260772705,
-0.012635807506740093,
0.037889499217271805,
-0.0196616742759943,
0.01667747274041176,
-0.017358552664518356,
0.010350608266890049,
-0.03498595207929611,
-0.049647070467472076,
0.028766624629497528,
0.00806092843413353,
-0.00408647395670414,
-0.022117143496870995,
-0.006214845459908247,
-0.04796229675412178,
0.020826678723096848,
0.018980596214532852,
-0.06699666380882263,
-0.04473613575100899,
-0.014481890015304089,
-0.008737525902688503,
0.03292478993535042,
-0.01591574028134346,
0.010458147153258324,
-0.012841923162341118,
0.0403270423412323,
0.010897263884544373,
0.07534883916378021,
0.013540925458073616,
-0.006792866624891758,
-0.024895228445529938,
-0.05308831110596657,
0.014329543337225914,
-0.02407076396048069,
-0.01397108007222414,
-0.0021194100845605135,
-0.023228377103805542,
0.00595944095402956,
0.009526143781840801,
0.009615759365260601,
-0.06470250338315964,
0.01953621208667755,
0.034071870148181915,
-0.006712212227284908,
-0.015494546853005886,
-0.04814152792096138,
0.06481003761291504,
-0.018209900707006454,
-0.02016352117061615,
0.062157418578863144,
-0.017071781679987907,
-0.0205399077385664,
-0.07628084719181061,
-0.01667747274041176,
-0.02457261271774769,
0.0038669153582304716,
0.0030088454950600863,
0.006371672730892897,
-0.005211150273680687,
-0.06262341886758804,
-0.00405734870582819,
-0.022493528202176094,
-0.031240016222000122,
-0.01573650911450386,
0.008818180300295353,
0.042298588901758194,
-0.09570951759815216,
0.010117607191205025,
-0.0006457928102463484,
-0.01944659650325775,
0.053876928985118866,
0.006335826590657234,
-0.011417034082114697,
0.026687541976571083,
-0.021149294450879097,
-0.10273538529872894,
0.03498595207929611,
-0.00793546624481678,
-0.021310603246092796,
0.01568274013698101,
0.01935698091983795,
-0.046277523040771484,
-0.025038613006472588,
-0.03710088133811951,
-0.02442922629415989,
-0.01657889597117901,
0.017779745161533356,
0.04885845258831978,
0.007460502907633781,
0.003253048285841942,
0.007518753409385681,
0.018711747601628304,
0.022636914625763893,
-0.07499037683010101,
0.03158055618405342,
-0.013800811022520065,
-0.0805107057094574,
-0.05857279151678085,
-0.024715997278690338,
0.07007943838834763,
-0.018048591911792755,
0.050220612436532974,
-0.022368067875504494,
0.008432832546532154,
0.0202889833599329,
0.02735069766640663,
-0.013944195583462715,
0.05652955546975136,
0.01962582767009735,
0.0403628908097744,
-0.0012703018728643656,
0.03288894519209862,
0.017618438228964806,
-0.02439338155090809,
0.0399685800075531,
-0.05875202268362045,
-0.058357711881399155,
0.045847367495298386,
-0.05165446177124977,
-0.022385990247130394,
0.01978713646531105,
0.006053537596017122,
-0.028766624629497528,
-0.003584626130759716,
-0.013953156769275665,
-0.012107075192034245,
0.03313986957073212,
-0.015136083588004112,
-0.0025809307117015123,
-0.02473391965031624,
0.018890978768467903,
0.08531410247087479,
-0.007626292295753956,
0.029017549008131027,
0.021203063428401947,
0.009418604895472527,
-0.057246480137109756,
-0.02453676611185074,
0.0009028777130879462,
0.024948997423052788,
0.017430244013667107,
0.033659640699625015,
0.021256832405924797,
0.04685106500983238,
-0.029483549296855927,
0.0014450524467974901,
-0.017000090330839157,
0.01417719665914774,
-0.002789287129417062,
0.018254708498716354,
0.03236917406320572,
-0.05681632459163666,
-0.02835439331829548,
-0.013370655477046967,
-0.0023770551197230816,
-0.009893568232655525,
0.06692496687173843,
0.014688005670905113,
-0.046385060995817184,
0.000781896582338959,
-0.018532516434788704,
0.016811896115541458,
0.053984470665454865,
-0.014938929118216038,
-0.03290686756372452,
-0.05122430622577667,
-0.04254951328039169,
-0.030989093706011772,
0.061834800988435745,
0.05670878663659096,
-0.005188746377825737,
-0.029411857947707176,
0.06287433952093124,
-0.046277523040771484,
-0.018183015286922455,
-0.04724537208676338,
-0.013021154329180717,
0.020898370072245598,
-0.06599296629428864,
0.03590003028512001,
0.0402911975979805,
0.01969752088189125,
-0.09764521569013596,
0.02007390558719635,
0.0403987355530262,
0.006268614903092384,
0.050041381269693375,
-0.06473834812641144,
-0.03604341670870781,
-0.05222800374031067,
0.01644447259604931,
-0.013254155404865742,
-0.06029340997338295,
0.06470250338315964,
-0.008589660748839378,
-0.04910937696695328,
-0.05219215527176857,
0.057604942470788956,
0.030075013637542725,
-0.00402822345495224,
-0.029322242364287376,
-0.0403987355530262,
0.02855154685676098,
-0.008311851881444454,
-0.05957648530602455,
0.03496802970767021,
0.0411873534321785,
0.005654747597873211,
0.01589781604707241,
0.018102362751960754,
-0.010422300547361374,
0.009185604751110077,
0.022170912474393845,
0.012510345317423344,
0.037387650460004807,
-0.0004393967392388731,
-0.018657978624105453,
-0.003918444272130728,
0.008580698631703854,
0.0007566921995021403,
-0.018532516434788704,
0.029465626925230026,
0.0023703339975327253,
0.018227823078632355,
-0.04459274932742119,
-0.0028744221199303865,
0.021704910323023796,
0.026149848476052284,
-0.0026974312495440245,
-0.010243069380521774,
-0.0204502921551466,
0.00803852453827858,
0.017914168536663055,
0.08739318698644638,
0.02448299713432789,
0.018183015286922455,
0.021220985800027847
] |
711,011
|
yt_dlp.networking.impersonate
|
__str__
| null |
def __str__(self):
return f'{join_nonempty(self.client, self.version)}:{join_nonempty(self.os, self.os_version)}'.rstrip(':')
|
(self)
|
[
0.0014792277943342924,
-0.03849472850561142,
-0.006765292026102543,
0.005268661305308342,
0.04608229547739029,
-0.1012139841914177,
0.010459010489284992,
0.014731368981301785,
0.08144453912973404,
-0.042079679667949677,
-0.020952826365828514,
0.0018338074441999197,
-0.055096883326768875,
0.01651514321565628,
0.04458566755056381,
0.014487731270492077,
-0.008688287809491158,
-0.056106239557266235,
0.0751795768737793,
-0.014931499026715755,
0.021962182596325874,
0.016454234719276428,
0.011624990031123161,
0.00685230502858758,
0.013591493479907513,
0.03985213860869408,
0.02878403291106224,
-0.010563426651060581,
0.010519919916987419,
-0.046569570899009705,
-0.031568460166454315,
-0.020308926701545715,
0.005146842449903488,
0.0018805770669132471,
0.02130088023841381,
0.016558650881052017,
-0.009049393236637115,
-0.01467916090041399,
-0.06024807691574097,
-0.018359826877713203,
0.0074178921058773994,
-0.01117252092808485,
-0.007500554900616407,
-0.05648909881711006,
-0.052799731492996216,
0.006456394214183092,
0.04803139716386795,
0.06362419575452805,
-0.010876675136387348,
0.004448560066521168,
0.033082496374845505,
0.06129223853349686,
-0.02666090615093708,
-0.020587369799613953,
-0.07434424757957458,
0.016454234719276428,
0.058055341243743896,
-0.010981091298162937,
-0.04294981434941292,
0.07302164286375046,
-0.07378736138343811,
0.008910171687602997,
0.015175136737525463,
-0.010693946853280067,
0.0110245980322361,
0.005612364504486322,
-0.0058298977091908455,
0.01628020778298378,
0.05836858972907066,
0.04709165170788765,
0.06929747015237808,
-0.03978252783417702,
-0.03381340578198433,
0.014766174368560314,
0.01834242418408394,
-0.04089629650115967,
-0.06647823750972748,
0.04698723554611206,
0.029010267928242683,
-0.08346325159072876,
0.024381155148148537,
-0.014539939351379871,
-0.019839055836200714,
-0.047718148678541183,
0.028610005974769592,
-0.05144232138991356,
-0.03334353491663933,
0.01154667790979147,
-0.020343732088804245,
0.030124038457870483,
-0.03320431336760521,
0.04357631132006645,
-0.05791611969470978,
0.0487971156835556,
-0.04190565273165703,
-0.04068746417760849,
-0.002083970932289958,
-0.06324134021997452,
0.012869281694293022,
0.011268234811723232,
0.0010447045788168907,
-0.017811642959713936,
-0.07162942737340927,
-0.0010931058786809444,
-0.03978252783417702,
-0.05544493719935417,
-0.03654562681913376,
0.007792050018906593,
0.015984361991286278,
-0.0032586518209427595,
-0.009327836334705353,
-0.025425314903259277,
0.0031933917198330164,
-0.055166494101285934,
0.06574732810258865,
-0.0031281316187232733,
-0.03442250192165375,
-0.02079620212316513,
0.06372861564159393,
-0.020778799429535866,
-0.012747462838888168,
0.02039594016969204,
-0.05154673755168915,
-0.008823159150779247,
0.012634345330297947,
0.02558193914592266,
-0.06957591325044632,
-0.0030715730972588062,
0.030750535428524017,
-0.08910172432661057,
0.033152103424072266,
0.012912788428366184,
-0.011781614273786545,
-0.02518167719244957,
0.05203401297330856,
-0.019264766946434975,
-0.027513636276125908,
0.042079679667949677,
0.03619757294654846,
0.13344374299049377,
-0.027513636276125908,
-0.042288511991500854,
-0.002984559629112482,
0.004209273029118776,
-0.007165553513914347,
0.03571029752492905,
0.028053119778633118,
-0.00126604491379112,
-0.008605625480413437,
-0.023580631241202354,
0.06261484324932098,
0.036824069917201996,
0.019334377720952034,
-0.03772900998592377,
-0.03485756739974022,
0.0010653702775016427,
-0.009623682126402855,
-0.10643479228019714,
0.031464044004678726,
-0.02673051692545414,
0.008214064873754978,
-0.07302164286375046,
0.07879933714866638,
-0.05332181230187416,
0.03007183037698269,
0.04604749009013176,
-0.010459010489284992,
-0.032473400235176086,
0.04514255002140999,
0.026069214567542076,
-0.012799670919775963,
-0.020308926701545715,
-0.03562328591942787,
0.018934115767478943,
-0.0009653049055486917,
0.06818369776010513,
-0.012077460065484047,
0.013861234299838543,
-0.017176445573568344,
-0.02767026051878929,
-0.009336537681519985,
-0.012355903163552284,
-0.039016809314489365,
0.049806468188762665,
0.06870578229427338,
-0.023685047402977943,
0.024015698581933975,
-0.012956295162439346,
0.033012885600328445,
-0.015279552899301052,
0.008157506585121155,
0.029619360342621803,
0.014070066623389721,
0.05220803990960121,
0.0037676801439374685,
-0.04583865776658058,
0.04402878135442734,
-0.10365036129951477,
0.02457258477807045,
-0.03971291705965996,
-0.017507096752524376,
0.04051343724131584,
-0.03229937329888344,
0.01498370710760355,
0.012355903163552284,
-0.007348281797021627,
0.04629112780094147,
-0.013530584052205086,
0.02295413427054882,
0.010432906448841095,
0.01147706713527441,
0.019125545397400856,
-0.0526605099439621,
0.008348935283720493,
0.0054687922820448875,
-0.035240426659584045,
0.011242130771279335,
0.013373959809541702,
-0.043332673609256744,
0.0504329651594162,
0.026399865746498108,
-0.004459436517208815,
0.02874922752380371,
-0.05234726145863533,
-0.05234726145863533,
0.01621059700846672,
0.027583247050642967,
0.009945631958544254,
0.01541877444833517,
-0.016097478568553925,
0.00644769286736846,
-0.009876021184027195,
-0.045386187732219696,
0.08450741320848465,
-0.04368072748184204,
0.03195131942629814,
-0.056210655719041824,
-0.0169502105563879,
-0.020778799429535866,
-0.05906469747424126,
-0.006021327339112759,
-0.029079878702759743,
0.050850629806518555,
0.02284971810877323,
0.07545801997184753,
-0.06929747015237808,
-0.03240378946065903,
0.02773987129330635,
0.019943471997976303,
-0.0008630641386844218,
0.003271703841164708,
-0.03129001706838608,
-0.005290414672344923,
-0.011659795418381691,
-0.00015540049935225397,
-0.043263062834739685,
-0.027113376185297966,
-0.042114485055208206,
0.004742230288684368,
-0.0021068118512630463,
-0.038947198539972305,
-0.009701994247734547,
-0.05471402406692505,
0.012982399202883244,
0.009989138692617416,
-0.010946285910904408,
-0.002740922151133418,
0.020274121314287186,
0.018290216103196144,
0.024328947067260742,
0.048518672585487366,
0.009562772698700428,
-0.0852731317281723,
0.003617582144215703,
-0.043193452060222626,
-0.03943447396159172,
-0.019560612738132477,
-0.010963688604533672,
-0.05161634832620621,
-0.028018314391374588,
-0.0010098993079736829,
0.0065695117227733135,
0.004907555878162384,
0.00694366917014122,
0.017707226797938347,
-0.014931499026715755,
0.01574072428047657,
-0.05746364966034889,
-0.00710464408621192,
0.01541877444833517,
0.03772900998592377,
0.051894791424274445,
-0.00032222148729488254,
-0.00017389084678143263,
-0.001857736031524837,
-0.009362641721963882,
0.05767248198390007,
0.0034805359318852425,
0.024798819795250893,
-0.04496852308511734,
-0.024276738986372948,
0.03922564163804054,
-0.011590184643864632,
-0.053774282336235046,
-0.022397249937057495,
-0.016236700117588043,
0.02817493863403797,
-0.0034131004940718412,
0.023006342351436615,
0.0037459267769008875,
-0.026939349249005318,
-0.004494241904467344,
0.051999207586050034,
0.020674383267760277,
-0.00456820335239172,
0.08193181455135345,
-0.040095776319503784,
0.011842523701488972,
0.009240822866559029,
0.05969119071960449,
-0.01827281340956688,
0.052869342267513275,
-0.014757473021745682,
0.06212756782770157,
-0.003711121389642358,
-0.08012194186449051,
-0.01597565971314907,
0.030141441151499748,
-0.030454689636826515,
0.05443558096885681,
-0.004178818315267563,
-0.020239315927028656,
0.0037241734098643064,
0.033761199563741684,
0.047648537904024124,
-0.007826855406165123,
0.0459778793156147,
-0.029062476009130478,
-0.03341314569115639,
0.021318282932043076,
0.05979560688138008,
-0.023789463564753532,
-0.02878403291106224,
0.006865357048809528,
-0.030141441151499748,
0.008227117359638214,
0.043402284383773804,
0.011520573869347572,
0.019055934622883797,
-0.02265828847885132,
-0.017037224024534225,
-0.0052164532244205475,
0.02288452349603176,
0.008644781075417995,
0.061570681631565094,
-0.03752017766237259,
-0.05234726145863533,
0.026452073827385902,
0.026347657665610313,
0.06268445402383804,
-0.006051782052963972,
-0.004035246558487415,
0.03229937329888344,
0.05356545001268387,
-0.0589950866997242,
-0.02154451794922352,
0.02784428745508194,
-0.01009355392307043,
0.05255609378218651,
-0.03353496268391609,
-0.044376835227012634,
-0.01874268613755703,
0.020117497071623802,
-0.08576040714979172,
-0.0037611541338264942,
0.06706992536783218,
-0.015923451632261276,
-0.010459010489284992,
-0.04580385237932205,
-0.07006318867206573,
-0.004951062612235546,
0.036893680691719055,
0.010798363015055656,
0.020308926701545715,
-0.023685047402977943,
0.04890153184533119,
0.03731134533882141,
-0.021788155660033226,
0.0006651086732745171,
0.0068479543551802635,
-0.031742487102746964,
0.00666522653773427,
-0.002938877558335662,
0.04695243015885353,
-0.018150994554162025,
-0.017298264428973198,
-0.003008488332852721,
-0.01685449481010437,
-0.008927574381232262,
-0.032142750918865204,
0.024903234094381332,
-0.04263656586408615,
0.020639577880501747,
0.024833625182509422,
-0.04082668572664261,
0.0025190378073602915,
0.031133394688367844,
-0.025059858337044716,
-0.002804006915539503,
-0.009493161924183369,
-0.02349361777305603,
-0.05154673755168915,
-0.04622151702642441,
-0.025164274498820305,
0.0666174590587616,
0.051894791424274445,
-0.0012616942403838038,
0.02173594757914543,
0.06066574156284332,
0.017924759536981583,
-0.0526605099439621,
0.03503159433603287,
0.016541248187422752,
0.09334797412157059,
0.014252794906497002,
0.030054427683353424,
-0.001820755423977971,
-0.006921915803104639,
0.10365036129951477,
-0.02683493308722973,
0.0342484749853611,
0.010554725304245949,
-0.027826884761452675,
-0.012216681614518166,
-0.004663918167352676,
-0.03186430782079697,
0.0424625389277935,
-0.04900594800710678,
-0.02763545513153076,
0.007918219082057476,
-0.04482930526137352,
-0.06282367557287216,
0.005803793668746948,
0.03863395005464554,
0.04357631132006645,
0.001965415198355913,
-0.046499960124492645,
-0.029132086783647537,
0.022118806838989258,
0.0073917885310947895,
-0.03661523759365082,
0.012399409897625446,
-0.08353286236524582,
-0.038912393152713776,
0.005547104403376579,
-0.046639181673526764,
-0.009162510745227337,
0.0010544935939833522,
-0.020778799429535866,
-0.026347657665610313,
-0.0361279621720314,
0.05969119071960449,
-0.015836438164114952,
0.043263062834739685,
0.024276738986372948,
-0.0026408566627651453,
0.05346103385090828,
-0.004015668295323849,
-0.0621623732149601,
0.013722012750804424,
0.007269969675689936,
-0.014931499026715755,
0.014922797679901123,
0.04402878135442734,
0.018499048426747322,
0.04274098202586174,
0.014731368981301785,
0.013809026218950748,
-0.049528028815984726,
-0.04813581332564354,
-0.08060920983552933,
0.008079194463789463,
-0.027182986959815025,
0.023180369287729263,
-0.013652401976287365,
0.013313050381839275,
-0.003286931198090315,
-0.00036056176759302616,
0.014957603067159653,
0.01809878647327423,
0.05029374361038208,
0.07075929641723633,
-0.11075065284967422,
-0.03101157583296299,
0.03135962784290314,
0.03856433928012848,
-0.02777467668056488,
-0.03497938811779022,
-0.04876231029629707,
0.030280662700533867,
0.014252794906497002,
-0.010963688604533672,
-0.0015803808346390724,
-0.0026082266122102737,
0.014557342045009136,
-0.062406010925769806,
0.005877755116671324,
0.0020154479425400496,
0.004472488537430763,
-0.025199079886078835,
0.014087469317018986,
-0.06090937927365303,
0.03292587026953697,
-0.012434214353561401,
-0.014061365276575089,
0.0022775756660848856,
-0.05046777054667473,
0.009780306369066238,
0.013913442380726337,
0.03839031234383583,
-0.023545825853943825,
0.02777467668056488,
-0.012355903163552284,
-0.032647427171468735,
-0.05777689814567566,
0.01748969405889511,
-0.01809878647327423,
0.013339154422283173,
-0.005773338954895735,
0.08067882061004639,
-0.026434671133756638,
0.03919083625078201,
-0.00044648750917986035,
0.043123841285705566,
-0.002917124191299081,
0.08241908997297287,
-0.09049393236637115,
-0.00306722242385149,
-0.0160104651004076,
-0.009701994247734547,
0.0482054241001606,
-0.02666090615093708,
-0.03936486318707466,
-0.05882105976343155,
-0.05304336920380592,
-0.015871243551373482,
0.07824245095252991,
0.0415227934718132,
0.012129668146371841,
-0.04148798808455467,
-0.022171014919877052,
0.0037241734098643064,
0.0625104233622551,
-0.018533853814005852,
-0.008536014705896378,
0.022223223000764847,
-0.004074402619153261,
-0.01888190768659115,
-0.0026626100298017263,
-0.0007744192844256759,
-0.018394632264971733,
-0.008827509358525276,
0.004994569346308708,
0.03828589618206024,
0.009249524213373661,
0.05269531533122063,
0.004633463453501463,
0.0010980003280565143,
0.01498370710760355,
0.0012105739442631602,
-0.015566697344183922,
-0.05335661768913269,
0.029010267928242683,
0.012912788428366184,
-0.07281281054019928,
0.012686553411185741,
0.021196464076638222,
0.05119868367910385,
0.015122928656637669,
0.014887992292642593,
-0.024363752454519272,
-0.002525563817471266,
0.012112265452742577,
-0.04737009480595589,
-0.019508404657244682,
-0.008857964538037777,
0.005716780200600624,
-0.01698501594364643,
0.02532089874148369,
-0.0107026482000947,
-0.04472488909959793,
-0.04194045811891556,
0.02605181187391281,
-0.012817073613405228,
0.0021503185853362083,
-0.049876078963279724,
0.002875792793929577,
-0.03661523759365082,
0.03229937329888344,
0.02601700648665428,
0.04500332847237587,
0.06616499274969101,
0.02396349050104618,
0.05802053585648537,
0.04096590727567673,
0.014722667634487152,
-0.05492285639047623,
0.03047209233045578,
-0.0383555069565773,
0.013513181358575821,
-0.018951518461108208,
0.051894791424274445,
-0.07253436744213104,
-0.024938039481639862,
0.0013965651160106063,
0.0014781401259824634,
0.02740922011435032,
-0.0038285895716398954,
-0.023911282420158386,
-0.03633679449558258,
0.040234994143247604,
0.05123348906636238,
-0.05018932744860649,
0.025668952614068985,
-0.04148798808455467,
0.033517561852931976,
-0.03939966857433319,
-0.011468365788459778,
-0.005294765345752239,
-0.06111821159720421,
0.03710251301527023,
-0.018951518461108208,
0.025460120290517807,
0.01205135602504015,
-0.04138357192277908,
-0.016845794394612312,
0.004383299965411425,
0.022571275010704994,
-0.02150971256196499,
0.0196476262062788,
0.0428105928003788,
0.002936702221632004,
-0.0299674142152071,
-0.0030128390062600374,
-0.06679148226976395,
0.022292833775281906,
-0.056280266493558884,
-0.05467921867966652,
0.008801405318081379,
-0.052904147654771805,
-0.049528028815984726,
-0.011564080603420734,
0.03367418423295021,
0.00355232204310596,
0.007013279944658279,
0.0002846969582606107,
0.007126397453248501,
0.027513636276125908,
-0.011503171175718307,
-0.019421391189098358,
-0.019473599269986153,
-0.03468354046344757,
0.06258003413677216,
-0.007478801533579826,
0.025460120290517807,
-0.008857964538037777,
0.033152103424072266,
-0.025477522984147072,
0.03402223810553551,
-0.02582557685673237,
0.03762459382414818,
0.017011119052767754,
-0.007713737897574902,
-0.01555799599736929,
-0.027391817420721054,
-0.024328947067260742,
0.03478795662522316,
0.06846214085817337,
0.04886672645807266,
-0.03644121065735817,
0.07580607384443283,
-0.014348509721457958,
-0.05224284529685974,
-0.06205795705318451,
0.010293684899806976,
0.005155543796718121,
-0.02123126946389675,
0.07768556475639343,
-0.0015009811613708735,
-0.06167509779334068,
-0.049702052026987076,
-0.08144453912973404,
0.011102910153567791,
0.05460960790514946,
0.04695243015885353,
0.0003238529898226261,
0.03567549213767052,
-0.02845338173210621,
-0.013504480011761189,
0.0019382234895601869,
0.04716126248240471,
0.03605835139751434,
-0.016558650881052017,
0.03717212378978729,
0.0130781140178442,
0.004594307392835617,
0.021039839833974838,
-0.042184095829725266,
-0.0022710496559739113,
-0.008784002624452114,
0.05321739614009857,
0.10023943334817886,
-0.021996987983584404,
-0.0463259331882,
0.0669655129313469,
-0.007644127123057842,
-0.016593454405665398,
0.003467483911663294,
-0.008827509358525276,
0.01678488403558731,
-0.026904543861746788,
0.03811186924576759,
0.047648537904024124,
-0.017063327133655548,
0.07914739102125168,
0.07399619370698929,
-0.030924562364816666,
-0.022223223000764847,
-0.005116387736052275,
0.04253214970231056,
0.007504905574023724,
0.0003844904713332653,
-0.012451617047190666,
-0.01574072428047657,
0.06727875769138336,
-0.011381352320313454,
0.039956554770469666,
0.010867973789572716,
0.010276282206177711,
0.01775943487882614,
-0.005860352423042059,
0.03671965375542641,
0.02874922752380371,
0.026434671133756638,
0.014035261236131191,
0.012869281694293022,
0.03529263660311699,
0.022814912721514702,
-0.028140133246779442,
0.029340919107198715,
0.030802743509411812,
-0.008118350058794022,
-0.02352842316031456,
-0.03228197246789932,
0.03567549213767052,
-0.07117696106433868,
-0.03064611926674843,
0.04033941030502319,
0.031133394688367844,
0.0074613988399505615,
-0.008531663566827774,
0.003243424464017153,
0.015096824616193771,
0.03877317160367966,
0.014026559889316559,
0.05001530051231384,
-0.01574072428047657,
-0.0299674142152071
] |
711,035
|
yt_dlp.postprocessor.metadataparser
|
MetadataParserPP
| null |
class MetadataParserPP(PostProcessor):
def __init__(self, downloader, actions):
super().__init__(downloader)
self._actions = []
for f in actions:
action, *args = f
assert action in self.Actions
self._actions.append(action(self, *args))
@classmethod
def validate_action(cls, action, *data):
"""Each action can be:
(Actions.INTERPRET, from, to) OR
(Actions.REPLACE, field, search, replace)
"""
if action not in cls.Actions:
raise ValueError(f'{action!r} is not a valid action')
action(cls, *data) # So this can raise error to validate
@staticmethod
def field_to_template(tmpl):
if re.match(r'[a-zA-Z_]+$', tmpl):
return f'%({tmpl})s'
from ..YoutubeDL import YoutubeDL
err = YoutubeDL.validate_outtmpl(tmpl)
if err:
raise err
return tmpl
@staticmethod
def format_to_regex(fmt):
r"""
Converts a string like
'%(title)s - %(artist)s'
to a regex like
'(?P<title>.+)\ \-\ (?P<artist>.+)'
"""
if not re.search(r'%\(\w+\)s', fmt):
return fmt
lastpos = 0
regex = ''
# replace %(..)s with regex group and escape other string parts
for match in re.finditer(r'%\((\w+)\)s', fmt):
regex += re.escape(fmt[lastpos:match.start()])
regex += rf'(?P<{match.group(1)}>.+)'
lastpos = match.end()
if lastpos < len(fmt):
regex += re.escape(fmt[lastpos:])
return regex
def run(self, info):
for f in self._actions:
f(info)
return [], info
@function_with_repr
def interpretter(self, inp, out):
def f(info):
data_to_parse = self._downloader.evaluate_outtmpl(template, info)
self.write_debug(f'Searching for {out_re.pattern!r} in {template!r}')
match = out_re.search(data_to_parse)
if match is None:
self.to_screen(f'Could not interpret {inp!r} as {out!r}')
return
for attribute, value in filter_dict(match.groupdict()).items():
info[attribute] = value
self.to_screen(f'Parsed {attribute} from {template!r}: {value!r}')
template = self.field_to_template(inp)
out_re = re.compile(self.format_to_regex(out))
return f
@function_with_repr
def replacer(self, field, search, replace):
def f(info):
val = info.get(field)
if val is None:
self.to_screen(f'Video does not have a {field}')
return
elif not isinstance(val, str):
self.report_warning(f'Cannot replace in field {field} since it is a {type(val).__name__}')
return
self.write_debug(f'Replacing all {search!r} in {field} with {replace!r}')
info[field], n = search_re.subn(replace, val)
if n:
self.to_screen(f'Changed {field} to: {info[field]}')
else:
self.to_screen(f'Did not find {search!r} in {field}')
search_re = re.compile(search)
return f
Actions = Namespace(INTERPRET=interpretter, REPLACE=replacer)
|
(downloader, actions)
|
[
0.03812364861369133,
-0.03844485804438591,
-0.08744950592517853,
-0.028547566384077072,
0.0040101101621985435,
-0.01262758020311594,
0.03286382928490639,
0.00794493593275547,
0.0011185897747054696,
0.011884781531989574,
0.028567641973495483,
0.04641488939523697,
-0.029772181063890457,
0.0664905309677124,
0.004634964279830456,
0.01222606748342514,
0.018208609893918037,
0.09467674046754837,
-0.016311461105942726,
-0.052558038383722305,
-0.028085825964808464,
-0.0009228522540070117,
-0.011262436397373676,
-0.007433007471263409,
0.04822169616818428,
-0.0051995920948684216,
-0.0002269488904858008,
-0.04183764383196831,
-0.03695926070213318,
0.00898886937648058,
0.04041227325797081,
-0.03946871683001518,
0.01710444875061512,
0.02314721792936325,
-0.01614081859588623,
-0.03188012167811394,
-0.059865571558475494,
0.0491451770067215,
-0.06833749264478683,
-0.017616378143429756,
0.026600228622555733,
-0.04533080384135246,
0.04135582596063614,
-0.02395024336874485,
-0.007648820523172617,
0.020898746326565742,
-0.0640011578798294,
0.0026173621881753206,
-0.0052297054789960384,
-0.06412161141633987,
0.027925221249461174,
-0.007302515674382448,
0.005500726401805878,
0.05589059367775917,
0.0024642853531986475,
0.03976985067129135,
-0.002025130670517683,
0.13595226407051086,
0.06372009217739105,
-0.007663877215236425,
0.02264532633125782,
0.03828425332903862,
-0.005535859148949385,
0.05099213495850563,
-0.0029335536528378725,
0.0034530109260231256,
0.019112013280391693,
-0.040171366184949875,
-0.051554255187511444,
-0.004966212436556816,
-0.010640091262757778,
-0.05267849192023277,
0.02461273968219757,
-0.004138092044740915,
0.05279894545674324,
-0.03615623712539673,
-0.020075645297765732,
-0.030996795743703842,
0.0668518990278244,
-0.002133037196472287,
0.024974102154374123,
-0.008657621219754219,
-0.01286848820745945,
-0.06143147125840187,
0.03778236359357834,
-0.06885945796966553,
0.02473319321870804,
-0.04460808262228966,
-0.021541167050600052,
0.010032803751528263,
-0.04332324117422104,
-0.047820184379816055,
0.007613688241690397,
0.03246231749653816,
-0.05625195428729057,
-0.006860851310193539,
0.0002970568020828068,
-0.05733603984117508,
0.002086612395942211,
-0.022765779867768288,
0.021280182525515556,
0.029591500759124756,
-0.06817688792943954,
-0.027644162997603416,
0.040352046489715576,
0.0002394961629761383,
-0.026821060106158257,
0.026339245960116386,
-0.019633980467915535,
-0.03294413164258003,
-0.012125689536333084,
-0.05837997421622276,
-0.05283909663558006,
0.023026764392852783,
0.04918532818555832,
-0.06725341081619263,
-0.03139830753207207,
-0.0007321336306631565,
-0.007954973727464676,
-0.02864794433116913,
-0.03161913901567459,
0.030073314905166626,
-0.061511773616075516,
0.019824698567390442,
0.01262758020311594,
-0.03782251477241516,
0.026138488203287125,
0.003505709348246455,
0.0443270243704319,
-0.0613110177218914,
-0.05159440636634827,
0.039508868008852005,
-0.035614192485809326,
0.0166226327419281,
-0.007774293422698975,
0.0078194634988904,
0.021581318229436874,
-0.007678933907300234,
-0.07608669251203537,
0.011995197273790836,
-0.005701483227312565,
-0.00949076097458601,
0.007041532080620527,
-0.010800696909427643,
-0.06841779500246048,
-0.0895373746752739,
0.01523741427809,
0.025375613942742348,
0.026198716834187508,
-0.021581318229436874,
-0.001089103752747178,
-0.06115041300654411,
0.040331970900297165,
0.023247595876455307,
0.07387837022542953,
0.01898152194917202,
0.021480940282344818,
0.0195737536996603,
-0.05424439162015915,
0.006655076052993536,
0.036899033933877945,
-0.05681407451629639,
-0.04641488939523697,
0.034309275448322296,
0.02656007744371891,
0.018740614876151085,
0.1186872124671936,
-0.06299737095832825,
0.007673915009945631,
0.038203950971364975,
0.017937587574124336,
0.02882862463593483,
-0.07500261068344116,
0.020155947655439377,
0.016813352704048157,
0.0965236946940422,
0.007402894087135792,
0.005026439670473337,
0.02557637169957161,
0.014765636064112186,
0.0020364231895655394,
-0.004155658185482025,
-0.05930345505475998,
-0.029872559010982513,
0.028266508132219315,
0.007041532080620527,
0.007739161141216755,
0.015377943404018879,
-0.01792754977941513,
0.02868809551000595,
0.04998835548758507,
-0.043764904141426086,
0.024853648617863655,
0.03372708335518837,
-0.024693042039871216,
-0.011924932710826397,
-0.04810124263167381,
0.02935059182345867,
0.08664648234844208,
0.02046711929142475,
-0.010238578543066978,
0.02250479720532894,
0.039810001850128174,
0.03858538717031479,
-0.03874599188566208,
0.011834592558443546,
0.02087867073714733,
-0.0030590263195335865,
-0.09989640861749649,
-0.034971773624420166,
0.032522544264793396,
-0.008672678843140602,
0.0446883849799633,
-0.028146052733063698,
-0.004323791712522507,
0.0018206100212410092,
0.05560953542590141,
0.05083153024315834,
-0.02085859514772892,
-0.023709336295723915,
0.05018911138176918,
0.036718353629112244,
-0.02621879242360592,
0.027804767712950706,
0.029390743002295494,
-0.021139653399586678,
0.013541022315621376,
0.02119988016784191,
-0.028125977143645287,
-0.025656674057245255,
0.028888851404190063,
-0.04464823380112648,
-0.013410530053079128,
0.05902239307761192,
0.07737153023481369,
-0.02965172752737999,
0.01923246681690216,
-0.010213484056293964,
-0.021601393818855286,
0.019473375752568245,
0.016201045364141464,
-0.013330227695405483,
-0.051554255187511444,
-0.05520802363753319,
-0.03535320982336998,
-0.030755886808037758,
0.021721847355365753,
-0.008677697740495205,
-0.014123216271400452,
-0.015408056788146496,
0.07608669251203537,
0.0021016690880060196,
0.0007039022748358548,
0.04412626475095749,
-0.02362903393805027,
0.008732905611395836,
-0.0033200096804648638,
-0.007849576883018017,
0.05589059367775917,
-0.037240318953990936,
0.016291385516524315,
-0.029772181063890457,
0.012276256456971169,
0.0273430272936821,
0.03222141042351723,
-0.012276256456971169,
0.008522110991179943,
-0.025134706869721413,
-0.02963165193796158,
-0.04693685844540596,
-0.018971484154462814,
0.017686642706394196,
-0.04721791669726372,
0.011172096244990826,
-0.048302002251148224,
0.022103283554315567,
0.017867323011159897,
-0.025616522878408432,
0.01701410859823227,
-0.05051032081246376,
0.05821936950087547,
-0.06745416671037674,
0.0067855678498744965,
-0.04055280238389969,
0.11089786142110825,
0.005006363615393639,
0.005586048122495413,
0.053842879831790924,
0.020416930317878723,
0.012617542408406734,
-0.002757891546934843,
-0.01964401826262474,
0.03768198564648628,
-0.0053401212207973,
-0.03840470686554909,
0.043724752962589264,
-0.08082454651594162,
-0.034489955753088,
-0.0016462028725072742,
-0.06227464973926544,
-0.04023159295320511,
-0.037722136825323105,
0.04761942848563194,
0.015628889203071594,
-0.043443694710731506,
0.04954668879508972,
0.014354085549712181,
-0.014705409295856953,
0.02539568953216076,
-0.04773988202214241,
0.05047016963362694,
0.007643801625818014,
-0.05051032081246376,
0.01687357947230339,
-0.017957663163542747,
-0.0031844989862293005,
-0.019312769174575806,
0.03766191005706787,
0.040472500026226044,
0.0005865852581337094,
0.020738139748573303,
0.025315387174487114,
-0.0013337755808606744,
0.019332844763994217,
0.06363978981971741,
-0.07512306421995163,
-0.0011970102787017822,
-0.01801788993179798,
0.03457025811076164,
-0.037380848079919815,
-0.01898152194917202,
-0.014805788174271584,
-0.01726505346596241,
0.04549140855669975,
0.02262525074183941,
-0.022785857319831848,
-0.06323827803134918,
-0.03991037979722023,
0.06733371317386627,
-0.00538027286529541,
0.043082334101200104,
0.015909947454929352,
-0.03828425332903862,
0.01293875277042389,
0.010198427364230156,
-0.02445213496685028,
0.014956355094909668,
0.0088483402505517,
0.06829734146595001,
-0.04452778026461601,
0.03386761248111725,
-0.06468372792005539,
0.01928265579044819,
0.007041532080620527,
0.023548731580376625,
-0.08375559002161026,
-0.009791895747184753,
-0.022123361006379128,
-0.03081611357629299,
-0.041275523602962494,
0.012236105278134346,
0.010103068314492702,
-0.028427112847566605,
0.02477334439754486,
0.014223594218492508,
-0.060507990419864655,
0.005219667684286833,
0.02947104535996914,
0.03587517514824867,
-0.0035333135165274143,
-0.007643801625818014,
-0.0007980068912729621,
0.002707702573388815,
-0.08656617999076843,
-0.01132266316562891,
0.013259963132441044,
0.049586839973926544,
0.007683952804654837,
-0.0439656600356102,
-0.026941515505313873,
0.0652458444237709,
0.08608436584472656,
-0.044045962393283844,
-0.027403254061937332,
0.05316030606627464,
-0.03762175887823105,
0.00248687039129436,
0.08921616524457932,
0.031679365783929825,
-0.0032472354359924793,
-0.002308699069544673,
0.0015734286280348897,
-0.0312778539955616,
-0.03856531158089638,
0.004439226817339659,
-0.033325571566820145,
-0.0498679019510746,
0.007744180038571358,
-0.04248006269335747,
-0.01310939621180296,
0.018148383125662804,
-0.04452778026461601,
0.027082044631242752,
0.03978992626070976,
0.026158563792705536,
-0.017024146392941475,
0.09282977879047394,
0.09355250000953674,
-0.026941515505313873,
0.040633104741573334,
0.01946333795785904,
-0.04669594764709473,
-0.019864849746227264,
-0.04304218292236328,
-0.029069533571600914,
-0.012838374823331833,
0.015950098633766174,
0.00026114023057743907,
-0.059865571558475494,
0.022243814542889595,
-0.00017973975627683103,
0.04721791669726372,
0.044246722012758255,
0.002644966123625636,
-0.010599940083920956,
-0.019744396209716797,
-0.02933051623404026,
-0.017295166850090027,
0.000049012804083758965,
0.024713117629289627,
-0.04107476770877838,
-0.009505817666649818,
-0.07869652658700943,
-0.021782074123620987,
0.02587750554084778,
-0.035594116896390915,
0.013420567847788334,
-0.0043162633664906025,
0.03045475296676159,
0.04709746316075325,
-0.014303896576166153,
0.036899033933877945,
0.04778003320097923,
0.01433400996029377,
-0.015217338688671589,
0.008873434737324715,
-0.03908728063106537,
0.03533313423395157,
-0.020979048684239388,
-0.014625106938183308,
-0.02087867073714733,
0.08090484887361526,
0.033666856586933136,
-0.00827618408948183,
0.008381581865251064,
-0.059704966843128204,
0.051714859902858734,
-0.00253329542465508,
-0.030876340344548225,
-0.003252254333347082,
-0.019704245030879974,
0.0024605211801826954,
0.00243291724473238,
0.022263890132308006,
-0.02688128873705864,
0.006429225206375122,
0.014675295911729336,
-0.02280593290925026,
-0.09178584814071655,
0.0106802424415946,
0.014825863763689995,
-0.02344835177063942,
0.03631684184074402,
0.030595282092690468,
-0.024994177743792534,
0.021541167050600052,
0.020577535033226013,
-0.043082334101200104,
0.005116779822856188,
-0.014494615606963634,
0.03991037979722023,
-0.039508868008852005,
-0.02491387538611889,
0.00364372949115932,
0.00019526701362337917,
0.011924932710826397,
0.06641022861003876,
-0.010273710824549198,
0.009816990233957767,
0.005495707504451275,
-0.015096884220838547,
0.038665689527988434,
0.04264066740870476,
-0.0320005789399147,
-0.03535320982336998,
-0.028286583721637726,
-0.008085465990006924,
0.05472620576620102,
0.039669472724199295,
-0.08552224189043045,
0.02234419248998165,
-0.05014896020293236,
0.03254261985421181,
-0.04778003320097923,
0.05034971609711647,
-0.02395024336874485,
-0.000750954553950578,
0.05412393808364868,
-0.013390454463660717,
0.02445213496685028,
-0.03649752214550972,
-0.04476868733763695,
0.03113732486963272,
-0.012005235068500042,
0.006971267517656088,
-0.010529675520956516,
-0.008055352605879307,
0.06363978981971741,
-0.03734069690108299,
-0.01914212666451931,
0.03926796093583107,
-0.0275237075984478,
0.000029486101993825287,
-0.0895373746752739,
-0.007207156158983707,
0.03587517514824867,
-0.026459699496626854,
0.017847247421741486,
-0.0032673110254108906,
-0.061672378331422806,
0.007111797109246254,
-0.03440965339541435,
-0.00040810019709169865,
-0.05356181785464287,
0.029711954295635223,
0.04794063791632652,
0.05099213495850563,
0.005320045631378889,
0.007387836929410696,
0.06412161141633987,
0.012758072465658188,
0.051554255187511444,
-0.06187313422560692,
-0.02344835177063942,
0.026178639382123947,
-0.011663949117064476,
-0.006368997972458601,
0.06424206495285034,
-0.0008507054299116135,
-0.0061331093311309814,
-0.06918066740036011,
-0.03340587392449379,
-0.01639176346361637,
0.00908924825489521,
-0.02658015303313732,
0.020155947655439377,
0.009315098635852337,
0.026680530980229378,
0.03776228800415993,
0.039348263293504715,
-0.004752908833324909,
0.014213556423783302,
-0.03232178837060928,
0.018419403582811356,
0.01400276180356741,
0.0296718031167984,
-0.000887719914317131,
-0.013892346061766148,
-0.09539946168661118,
0.015458245761692524,
0.05669362097978592,
-0.005997598636895418,
0.06062844768166542,
-0.028246432542800903,
-0.0013538512866944075,
-0.0008670169045217335,
0.00737779913470149,
0.015267527662217617,
0.05356181785464287,
-0.045692168176174164,
0.021400636062026024,
0.0061331093311309814,
0.03926796093583107,
-0.06974279135465622,
-0.017214864492416382,
-0.04858306050300598,
0.0158196073025465,
0.07733137905597687,
0.0782950147986412,
-0.0019021673360839486,
-0.04268081858754158,
0.02541576512157917,
-0.004326301161199808,
0.00023918248189147562,
0.03808349743485451,
0.014374161139130592,
0.012035348452627659,
0.004612379241734743,
0.009591138921678066,
-0.03826417773962021,
-0.04918532818555832,
0.003264801576733589,
-0.006705265026539564,
-0.05163455754518509,
0.014494615606963634,
-0.052558038383722305,
0.014394236728549004,
-0.01506677083671093,
-0.0017854776233434677,
-0.015689115971326828,
0.038203950971364975,
-0.010800696909427643,
0.010941226035356522,
0.00634892238304019,
0.017064297571778297,
0.005515783093869686,
-0.03177974373102188,
0.03760168328881264,
0.02443205937743187,
-0.0482618473470211,
0.00868773553520441,
0.03125777840614319,
-0.0498679019510746,
0.005591067019850016,
-0.020416930317878723,
0.03812364861369133,
-0.023990394547581673,
-0.04135582596063614,
0.007508290931582451,
-0.04525050148367882,
0.03346610069274902,
-0.01914212666451931,
0.04256036505103111,
-0.0021305277477949858,
-0.036437295377254486,
0.016311461105942726,
0.04207855090498924,
-0.012838374823331833,
-0.01882091723382473,
-0.01013318169862032,
0.02150101587176323,
-0.06950188428163528,
-0.02625894360244274,
0.025857429951429367,
-0.023588882759213448,
0.028607793152332306,
0.003801825223490596,
-0.06910036504268646,
0.05279894545674324,
0.02461273968219757,
0.035594116896390915,
0.04918532818555832,
0.00778433121740818,
0.014745560474693775,
-0.02832673490047455,
0.019081899896264076,
0.007628744933754206,
0.00864256452769041,
0.03501192480325699,
0.007573537062853575,
-0.005385291762650013,
-0.016632670536637306,
0.035614192485809326,
-0.0006076019490137696,
0.024652890861034393,
0.011021528393030167,
0.0405728779733181,
0.025616522878408432,
0.0016499670455232263,
0.006494470871984959,
0.010002689436078072,
-0.016913730651140213,
0.04549140855669975,
-0.011794441379606724,
0.004283640533685684,
-0.04428687319159508,
0.007533385418355465,
-0.0075434232130646706,
0.01596013642847538,
0.02949112094938755,
0.0034203878603875637,
-0.021460864692926407,
0.002163150580599904,
-0.007849576883018017,
-0.022424494847655296,
0.024151001125574112,
0.015749342739582062,
-0.02427145466208458,
0.018700461834669113,
-0.06014662981033325,
-0.02103927545249462,
0.046013377606868744,
0.005626199301332235,
-0.047017160803079605,
-0.011001452803611755,
-0.04922547936439514,
0.019704245030879974,
-0.06143147125840187,
0.034469880163669586,
-0.041315674781799316,
0.002463030628859997,
-0.010820772498846054,
0.011443117633461952,
-0.061190564185380936,
-0.015267527662217617,
0.03613616153597832,
-0.02607826143503189,
-0.008065390400588512,
-0.02949112094938755,
-0.021741922944784164,
0.013490833342075348,
0.04252021387219429,
0.019272617995738983,
-0.010509599931538105,
0.06271631270647049,
-0.019704245030879974,
0.006835756823420525,
0.031819894909858704,
0.032683148980140686,
0.0030891397036612034,
0.024311605840921402,
-0.009540949948132038,
0.004870853386819363,
0.038525160402059555,
0.0005012637702748179,
0.019041748717427254,
-0.08170787245035172,
-0.04436717554926872,
0.10310851037502289,
-0.01875065267086029,
-0.00701141869649291,
0.07628744840621948,
-0.05412393808364868,
-0.02656007744371891,
-0.023408200591802597,
-0.06620947271585464,
0.01801788993179798,
-0.04517019912600517,
0.0302941482514143,
-0.007387836929410696,
-0.017776982858777046,
0.021280182525515556,
-0.010810734704136848,
0.03011346608400345,
0.017566189169883728,
0.04452778026461601,
0.028969155624508858,
-0.011262436397373676,
-0.021862376481294632,
0.04416641592979431,
0.03750130534172058,
0.010780621320009232,
-0.07018445432186127,
0.01076054573059082,
0.03294413164258003,
-0.014042912982404232,
0.08335407823324203,
0.030414601787924767,
-0.043925508856773376,
-0.02264532633125782,
-0.027443405240774155,
-0.03569449484348297,
0.03565434366464615,
-0.002199537819251418,
0.045210350304841995,
0.026178639382123947,
-0.012527202256023884,
0.019132088869810104
] |
711,058
|
yt_dlp.utils
|
NO_DEFAULT
| null |
from yt_dlp.utils import NO_DEFAULT
|
()
|
[
0.01797298900783062,
0.002090699505060911,
0.030534755438566208,
0.029058966785669327,
-0.029673879966139793,
-0.02700340561568737,
-0.012763808481395245,
-0.012772593647241592,
0.056115079671144485,
-0.017964204773306847,
-0.019325794652104378,
0.010242670774459839,
-0.023085540160536766,
-0.008683430962264538,
-0.026054684072732925,
0.030025256797671318,
-0.0005764796514995396,
0.09487207978963852,
0.027161525562405586,
-0.012658395804464817,
0.004282420501112938,
0.0015570441028103232,
-0.05716921389102936,
0.016945207491517067,
-0.019606897607445717,
0.02561546303331852,
0.005380476824939251,
-0.05344460532069206,
-0.023911278694868088,
-0.05400681123137474,
-0.030956409871578217,
-0.008573625236749649,
-0.02468430995941162,
0.05600966513156891,
0.017893929034471512,
-0.016989130526781082,
0.0007252663490362465,
0.06820248812437057,
-0.13050182163715363,
-0.05541232228279114,
0.04690897464752197,
-0.02538706734776497,
0.019325794652104378,
-0.034435052424669266,
-0.007998243905603886,
0.0015779072418808937,
0.03227407857775688,
0.029076537117362022,
0.020854288712143898,
-0.027495335787534714,
0.058996379375457764,
0.000993741094134748,
0.01649720035493374,
0.032168664038181305,
-0.05506094545125961,
0.02566816844046116,
0.0033798180520534515,
0.11918744444847107,
-0.015012628398835659,
0.04778742045164108,
-0.009320303797721863,
0.043465469032526016,
-0.01978258602321148,
-0.03608652949333191,
0.0194487776607275,
0.03784342110157013,
-0.011454925872385502,
-0.002806632546707988,
-0.00993521511554718,
0.030692875385284424,
-0.048103660345077515,
-0.05470956861972809,
-0.048982106149196625,
0.02960360422730446,
0.09438015520572662,
-0.06834303587675095,
-0.08313605189323425,
-0.025404635816812515,
0.0023586254101246595,
-0.0301131010055542,
-0.014880862087011337,
-0.01825409196317196,
-0.01040079165250063,
0.03815966099500656,
0.017911497503519058,
-0.015161964111030102,
0.03469858691096306,
0.029533328488469124,
0.06542660295963287,
-0.013053695671260357,
-0.06908093392848969,
-0.01706819050014019,
-0.014055123552680016,
0.058820690959692,
0.02306797169148922,
0.00733062531799078,
0.02006368897855282,
-0.00239156698808074,
-0.02148677036166191,
-0.044168226420879364,
-0.004550346173346043,
-0.07849786430597305,
-0.034628309309482574,
-0.028918417170643806,
0.016989130526781082,
-0.045608874410390854,
0.0013703745789825916,
0.013791589997708797,
0.01867574453353882,
-0.010286593809723854,
-0.10695949196815491,
-0.010708247311413288,
0.004082574043422937,
-0.014239597134292126,
-0.014037554152309895,
-0.03317009285092354,
-0.0010865268995985389,
0.0008010322344489396,
0.015179533511400223,
0.0238585714250803,
-0.08271440118551254,
0.03592840954661369,
-0.10442956537008286,
-0.008938180282711983,
0.06746459007263184,
-0.004093554802238941,
0.004980784375220537,
0.0625101625919342,
0.06511035561561584,
0.009373010136187077,
0.08735258877277374,
-0.016541123390197754,
-0.03956517204642296,
-0.026142530143260956,
-0.006333590019494295,
-0.036051392555236816,
0.0523553341627121,
0.09381794929504395,
0.03682442381978035,
0.025914134457707405,
-0.013853080570697784,
-0.015513342805206776,
0.02071373723447323,
-0.013484134338796139,
0.02918194979429245,
0.014626112766563892,
-0.019835293292999268,
0.02278686873614788,
-0.06219392269849777,
0.06605908274650574,
0.01248270645737648,
0.016400571912527084,
-0.06612935662269592,
-0.027583179995417595,
0.0032502473331987858,
0.015689032152295113,
0.00698363920673728,
-0.07575711607933044,
-0.005894367583096027,
-0.030095532536506653,
0.01576809212565422,
-0.03861645236611366,
0.025580324232578278,
-0.009847370907664299,
0.022628748789429665,
0.014959922060370445,
-0.00824860017746687,
-0.018148677423596382,
0.042270783334970474,
0.03608652949333191,
-0.026423631235957146,
-0.036121666431427,
-0.03190512955188751,
-0.009618975222110748,
0.06043703109025955,
0.0449412576854229,
0.01700669899582863,
0.017560120671987534,
0.020555617287755013,
0.02139892615377903,
0.017867576330900192,
0.04160316661000252,
-0.05400681123137474,
0.029937412589788437,
0.026370925828814507,
0.031659167259931564,
-0.0032656199764460325,
0.00803777389228344,
-0.06286153942346573,
-0.0074140774086117744,
0.02714395709335804,
0.022822007536888123,
0.03554189205169678,
0.0023476448841392994,
0.020344791933894157,
-0.003472054610028863,
0.018728451803326607,
-0.0027121996972709894,
0.05168771743774414,
-0.010848798789083958,
0.030605031177401543,
-0.014995059929788113,
0.029076537117362022,
0.02088942751288414,
0.001237509655766189,
0.0277940072119236,
-0.03441748395562172,
0.007229604292660952,
-0.1338750571012497,
-0.015539695508778095,
0.019747449085116386,
-0.00881519727408886,
-0.028637314215302467,
0.020502911880612373,
0.002958164317533374,
-0.017762161791324615,
0.015952564775943756,
0.015320084057748318,
-0.04996596276760101,
0.04191940650343895,
0.03580542653799057,
-0.03524322062730789,
0.048701003193855286,
-0.03294169530272484,
0.1125815361738205,
0.0005619304138235748,
0.06089382246136665,
-0.011604261584579945,
0.004403206519782543,
-0.04413308575749397,
0.019835293292999268,
-0.04058416932821274,
-0.04195454344153404,
0.00881519727408886,
0.08173054456710815,
-0.03970572352409363,
0.011411003768444061,
-0.0029032614547759295,
-0.024754585698246956,
0.017990557476878166,
-0.03504996374249458,
0.015645109117031097,
-0.007449215278029442,
0.00935544166713953,
0.03246733546257019,
0.03237948939204216,
0.009961568750441074,
-0.00010863896750379354,
0.00956626795232296,
-0.0012638630578294396,
0.032080817967653275,
-0.05172285437583923,
-0.01225431077182293,
0.01842978037893772,
0.016892502084374428,
-0.02482486143708229,
-0.02963874116539955,
-0.02426265738904476,
0.022171957418322563,
-0.04304381459951401,
-0.029146812856197357,
0.017366861924529076,
-0.1245986670255661,
0.050422754138708115,
-0.005090590100735426,
0.036191944032907486,
0.017445921897888184,
-0.031799715012311935,
-0.011683321557939053,
0.007668826729059219,
0.10119688510894775,
0.045046672224998474,
-0.01653233915567398,
-0.04058416932821274,
-0.021504338830709457,
0.016962777823209763,
-0.011779950000345707,
-0.018078401684761047,
0.046944111585617065,
0.014116614125669003,
0.05839903652667999,
0.023788295686244965,
0.00921489018946886,
0.06215878203511238,
-0.030077964067459106,
-0.014977490529417992,
-0.054639291018247604,
-0.0931151956319809,
-0.07400022447109222,
-0.006816735025495291,
0.006228176411241293,
0.05839903652667999,
0.06201823055744171,
0.021978698670864105,
0.01907983049750328,
-0.003463270142674446,
0.015530911274254322,
-0.03917865827679634,
0.04641704633831978,
0.02538706734776497,
-0.022628748789429665,
-0.01079609151929617,
0.0403030663728714,
0.028654882684350014,
-0.019975844770669937,
-0.01306247990578413,
0.07140002399682999,
-0.033978261053562164,
0.0164444949477911,
-0.006627869326621294,
-0.013870649971067905,
0.009583837352693081,
0.04437905177474022,
0.011472494341433048,
0.025545187294483185,
-0.023700451478362083,
0.010594049468636513,
-0.0189919862896204,
0.04251674935221672,
0.05460415408015251,
-0.08454156666994095,
-0.0059822117909789085,
-0.022013837471604347,
-0.01927308738231659,
-0.01171845942735672,
-0.022540904581546783,
0.027161525562405586,
-0.008257385343313217,
-0.007036346010863781,
0.021363787353038788,
-0.037456903606653214,
-0.026476338505744934,
0.0018106951611116529,
0.03404853492975235,
0.02233007736504078,
-0.0007906006649136543,
0.029427913948893547,
-0.049825411289930344,
0.022997695952653885,
-0.017314154654741287,
-0.02765345573425293,
-0.010225102305412292,
-0.029709016904234886,
0.012535412795841694,
0.037035249173641205,
-0.028567038476467133,
0.023841002956032753,
-0.018693314865231514,
0.0995805487036705,
0.0048314486630260944,
-0.028918417170643806,
0.07407049834728241,
-0.010637971572577953,
0.06388053297996521,
0.06159657984972,
-0.0038629628252238035,
0.007106621749699116,
0.008411113172769547,
0.01958932913839817,
0.003072362160310149,
-0.013976063579320908,
-0.017287801951169968,
-0.017568904906511307,
0.06662128120660782,
0.01525859348475933,
-0.011156254447996616,
0.018640607595443726,
-0.019325794652104378,
0.04740090295672417,
-0.00699242390692234,
-0.03503239527344704,
-0.07217305898666382,
-0.010102120228111744,
-0.02603711560368538,
-0.018447348847985268,
0.018500056117773056,
-0.03830021247267723,
-0.005617657210677862,
-0.047506317496299744,
0.001964423106983304,
-0.013264522887766361,
0.004528385121375322,
-0.02575601451098919,
0.02839135006070137,
-0.027776436880230904,
-0.05172285437583923,
0.01021631807088852,
0.04588997736573219,
-0.03227407857775688,
-0.04234106093645096,
0.06166685372591019,
-0.039670586585998535,
0.021732734516263008,
0.019325794652104378,
-0.013466564938426018,
-0.03759745508432388,
-0.06335347145795822,
-0.0042275176383554935,
-0.0010530361905694008,
-0.017059406265616417,
0.010550127364695072,
0.0002444548299536109,
0.030077964067459106,
0.020327221602201462,
-0.038897555321455,
-0.0028220051899552345,
0.04659273475408554,
0.002341056475415826,
-0.020538048818707466,
0.02977929264307022,
-0.0015471616061404347,
0.016795871779322624,
-0.0289535541087389,
-0.02043263614177704,
0.015855936333537102,
0.017305370420217514,
0.042130231857299805,
0.04789283126592636,
0.04761173203587532,
-0.03671900928020477,
0.012632042169570923,
-0.046065665781497955,
0.05794224515557289,
0.05825848504900932,
0.041392337530851364,
0.005617657210677862,
-0.024297794327139854,
-0.025211377069354057,
-0.025211377069354057,
-0.022593609988689423,
-0.030745582655072212,
0.006680575665086508,
-0.04740090295672417,
-0.044765569269657135,
0.05896124243736267,
-0.01088393572717905,
0.023788295686244965,
-0.01650598645210266,
-0.029498189687728882,
-0.00257604056969285,
0.00043400682625360787,
0.0061974311247467995,
0.03320522978901863,
-0.026458770036697388,
0.036473046988248825,
0.0035071924794465303,
-0.0773734524846077,
0.06082354485988617,
-0.00817832536995411,
-0.021732734516263008,
-0.03447018936276436,
0.02844405546784401,
0.06082354485988617,
0.00529263261705637,
-0.02658175304532051,
-0.04880641773343086,
-0.040830131620168686,
-0.04515208303928375,
-0.007440431043505669,
-0.03294169530272484,
0.024491053074598312,
0.014248381368815899,
0.0014999451814219356,
0.018833864480257034,
0.027635887265205383,
0.02436807006597519,
-0.012017130851745605,
-0.025597892701625824,
-0.03784342110157013,
-0.007106621749699116,
-0.02991984412074089,
-0.023173384368419647,
-0.008670254610478878,
-0.0504930317401886,
-0.013914572075009346,
0.020186670124530792,
0.0037992754951119423,
0.020573187619447708,
0.041532889008522034,
-0.020625893026590347,
0.02505325712263584,
-0.04100582376122475,
0.024772154167294502,
0.0358932726085186,
-0.03417151793837547,
-0.02182057872414589,
-0.06430219113826752,
-0.05340946838259697,
-0.028356211259961128,
-0.011692105792462826,
0.0121576813980937,
0.0467684231698513,
0.0023674098774790764,
-0.041849128901958466,
0.02023937739431858,
-0.0033358957152813673,
0.04149775207042694,
0.00031212257454171777,
0.054779842495918274,
-0.029252225533127785,
0.023226091638207436,
-0.03390798345208168,
-0.03489184379577637,
-0.03759745508432388,
0.04304381459951401,
-0.04803338274359703,
-0.03721093758940697,
0.008841550908982754,
-0.03376743569970131,
-0.0030240477062761784,
-0.011428572237491608,
0.033785004168748856,
0.012386077083647251,
0.003423740155994892,
0.06641045957803726,
-0.0075458441860973835,
-0.01922038197517395,
0.027302077040076256,
0.0365784578025341,
-0.0002697101444937289,
-0.012227957136929035,
0.02204897440969944,
-0.003696058178320527,
-0.024297794327139854,
0.017621610313653946,
0.013730098493397236,
-0.06876469403505325,
0.010146042332053185,
0.024860000237822533,
0.07877896726131439,
0.05161743983626366,
-0.05572856590151787,
0.031518615782260895,
0.03721093758940697,
-0.00423849793151021,
0.043606020510196686,
-0.058117933571338654,
0.001686614821664989,
-0.024016691371798515,
-0.031061822548508644,
0.03206324949860573,
-0.020766444504261017,
0.043008677661418915,
0.01143735647201538,
0.03812452405691147,
0.04645218327641487,
-0.0736488476395607,
0.09557484090328217,
-0.01828922890126705,
0.02343691885471344,
-0.0025892171543091536,
-0.001610848936252296,
-0.006702537182718515,
-0.05428791418671608,
0.012913144193589687,
-0.03241463005542755,
0.00803777389228344,
0.05586911365389824,
0.05892610549926758,
0.01785879209637642,
-0.03167673572897911,
-0.06584825366735458,
0.020046120509505272,
-0.016426924616098404,
-0.00585922971367836,
-0.0021401122212409973,
-0.05762600526213646,
-0.012307017110288143,
-0.04806852340698242,
0.010752169415354729,
0.002472823252901435,
-0.0764598697423935,
0.05460415408015251,
0.028233228251338005,
-0.03385527804493904,
0.043887123465538025,
0.027266940101981163,
0.0034303285647183657,
-0.054358188062906265,
-0.020327221602201462,
-0.02159218303859234,
0.02884814143180847,
0.037632592022418976,
-0.07695180177688599,
0.006720105651766062,
-0.05460415408015251,
0.0340309664607048,
0.006333590019494295,
0.030534755438566208,
-0.0094959931448102,
-0.04778742045164108,
0.07059185951948166,
0.008340837433934212,
-0.008727353066205978,
-0.029427913948893547,
0.02668716572225094,
-0.04269243776798248,
-0.02890084683895111,
0.07997365295886993,
0.008441858924925327,
-0.021662458777427673,
0.07217305898666382,
0.00044855609303340316,
0.04901724308729172,
0.06405622512102127,
-0.008960140869021416,
-0.016084332019090652,
-0.05990996211767197,
-0.026616889983415604,
-0.022716592997312546,
-0.031044254079461098,
-0.0103041622787714,
0.009276381693780422,
0.001720654545351863,
-0.003915669396519661,
-0.03199297562241554,
0.020994840189814568,
-0.008257385343313217,
-0.004122104030102491,
-0.06430219113826752,
-0.08390908688306808,
0.05210936814546585,
-0.029673879966139793,
-0.023226091638207436,
-0.02668716572225094,
0.014590974897146225,
-0.010128472931683064,
-0.018974415957927704,
0.0019259911496192217,
0.01867574453353882,
-0.023735590279102325,
-0.0036872737109661102,
0.013229385018348694,
-0.030499618500471115,
-0.02222466468811035,
0.022734161466360092,
0.030605031177401543,
-0.03121994249522686,
0.03854617476463318,
0.038370486348867416,
0.004603052977472544,
0.013861865736544132,
0.02450862154364586,
0.039530035108327866,
-0.040654443204402924,
0.019167674705386162,
-0.0806061327457428,
0.013519272208213806,
0.03048204816877842,
0.006359943188726902,
-0.04929834604263306,
-0.018956847488880157,
0.008173932321369648,
-0.010892720893025398,
-0.04195454344153404,
0.029673879966139793,
-0.01194685511291027,
-0.020573187619447708,
0.0449412576854229,
-0.08580652624368668,
-0.05878555402159691,
-0.043606020510196686,
0.012878007255494595,
0.058117933571338654,
0.02145163156092167,
-0.022171957418322563,
-0.030675306916236877,
-0.058153074234724045,
0.012271879240870476,
-0.06419677287340164,
0.02830350399017334,
-0.019624466076493263,
0.017929065972566605,
-0.003689470002427697,
-0.006337982136756182,
-0.042727574706077576,
0.009680465795099735,
0.026985837146639824,
0.05161743983626366,
-0.014977490529417992,
0.06215878203511238,
-0.0005468321614898741,
-0.0067376745864748955,
-0.04181399196386337,
-0.03264302387833595,
0.049860551953315735,
-0.02991984412074089,
0.008780060335993767,
0.017331723123788834,
-0.035822995007038116,
-0.054779842495918274,
0.002420116448774934,
-0.01412539929151535,
0.05172285437583923,
-0.003208521055057645,
-0.0931151956319809,
-0.050001099705696106,
0.0022663886193186045,
0.015838367864489555,
0.006930932868272066,
-0.005398045759648085,
-0.013589547015726566,
-0.03724607825279236,
0.05126606300473213,
0.017226310446858406,
0.027688592672348022,
-0.014696388505399227,
-0.019343363121151924,
-0.03241463005542755,
-0.037773143500089645,
0.04191940650343895,
0.029427913948893547,
-0.014213243499398232,
-0.022365214303135872,
0.007519491016864777,
-0.014239597134292126,
-0.08130888640880585,
0.03759745508432388,
-0.04191940650343895,
-0.02464917302131653,
0.00970681942999363,
0.0005320083582773805,
-0.02108268439769745,
0.017024267464876175,
0.049720000475645065,
0.03199297562241554,
-0.06834303587675095,
-0.08397936075925827,
0.02459646575152874,
0.03273086994886398,
0.02204897440969944,
0.023278798907995224,
-0.013378720730543137,
0.013466564938426018,
0.019150106236338615,
-0.005556166172027588,
0.020906995981931686,
0.02847919426858425,
-0.025264084339141846,
-0.0010975075419992208,
-0.03998682647943497,
-0.007620512042194605,
0.025966839864850044,
0.01871088333427906,
-0.004381245467811823,
0.007198858540505171,
0.04557373747229576,
-0.011217745020985603,
-0.008925002999603748,
0.018166247755289078,
0.044168226420879364,
0.03801910951733589,
-0.011815087869763374,
0.012974635697901249,
0.03956517204642296,
-0.034944549202919006,
0.03223893791437149,
0.03963544964790344,
-0.01828922890126705,
-0.005248710047453642,
-0.016312727704644203,
-0.003228286048397422,
0.04191940650343895,
0.04244647175073624,
0.05593939125537872,
-0.013167893514037132,
0.02496541291475296,
0.014362579211592674
] |
711,059
|
yt_dlp
|
ParsedOptions
|
ParsedOptions(parser, options, urls, ydl_opts)
|
from yt_dlp import ParsedOptions
|
(parser, options, urls, ydl_opts)
|
[
0.012724824249744415,
0.019701268523931503,
0.03065802901983261,
-0.025676099583506584,
-0.018325140699744225,
0.011435793712735176,
0.0062666055746376514,
-0.021321266889572144,
0.010007407516241074,
-0.003784350585192442,
-0.010747729800641537,
-0.023550940677523613,
-0.03314899280667305,
0.032156091183423996,
-0.014849983155727386,
-0.004929671995341778,
-0.012289340607821941,
0.08981408923864365,
-0.019021913409233093,
0.006310154218226671,
0.00713321752846241,
-0.0048469300381839275,
-0.03518705815076828,
0.031981900334358215,
0.006645476445555687,
0.0027653195429593325,
0.04037801921367645,
-0.04459349811077118,
-0.055741872638463974,
-0.03428125008940697,
-0.010259988717734814,
-0.008822892792522907,
-0.021408362314105034,
0.07082701474428177,
-0.06365025043487549,
-0.032504480332136154,
-0.011766760610044003,
0.0520838126540184,
-0.07441540062427521,
-0.008727086707949638,
-0.021721910685300827,
-0.01971868798136711,
0.018638689070940018,
0.017445463687181473,
-0.015659982338547707,
-0.026599325239658356,
-0.039332859218120575,
-0.005421767942607403,
0.000036233577702660114,
-0.0842399075627327,
0.05285026133060455,
-0.0257109384983778,
-0.0033183833584189415,
0.013108049519360065,
-0.03581415116786957,
0.04093543812632561,
0.004180640447884798,
0.13803081214427948,
0.04333930462598801,
0.03149415925145149,
-0.039158664643764496,
0.017454173415899277,
-0.02034578286111355,
-0.0040151565335690975,
0.0008905634749680758,
0.01809868961572647,
-0.017924495041370392,
0.007555636577308178,
-0.031389642506837845,
-0.024125779047608376,
-0.019614171236753464,
-0.032591577619314194,
-0.02227932959794998,
-0.006645476445555687,
0.04299091920256615,
-0.06089799478650093,
-0.09880246967077255,
-0.0126899853348732,
-0.007472894620150328,
0.011653535068035126,
-0.08911731839179993,
0.034559961408376694,
-0.0013510871212929487,
0.039855439215898514,
0.01678352989256382,
-0.01443191897124052,
0.03637157008051872,
-0.006327573675662279,
0.015834175050258636,
0.008012894541025162,
-0.02774900011718273,
-0.03227802738547325,
-0.040099307894706726,
0.05783219262957573,
-0.047450270503759384,
0.029490934684872627,
0.025345131754875183,
0.01588643342256546,
-0.04929671809077263,
-0.011418374255299568,
-0.029090289026498795,
-0.04584769159555435,
-0.019004493951797485,
0.005434832535684109,
0.031563833355903625,
-0.030118029564619064,
-0.013761274516582489,
-0.0053520905785262585,
0.04407091811299324,
0.003002657787874341,
-0.06797024607658386,
-0.02109481394290924,
0.015529337339103222,
-0.007668862119317055,
0.0253799706697464,
-0.016339335590600967,
-0.013717726804316044,
-0.0389496348798275,
-0.009119021706283092,
0.015015467070043087,
-0.04884381592273712,
0.024892229586839676,
-0.04961026459932327,
0.025414809584617615,
0.012271921150386333,
-0.00021719733194913715,
-0.02982190251350403,
0.0034751573111861944,
0.05149155482649803,
-0.030048353597521782,
0.07608765363693237,
0.008888215757906437,
-0.0012531033717095852,
-0.06284896284341812,
0.00998998899012804,
-0.02766190469264984,
0.033950284123420715,
0.034821249544620514,
0.0014425386907532811,
0.020641911774873734,
-0.01388320978730917,
0.03346254304051399,
-0.014414499513804913,
-0.059748318046331406,
-0.04706704244017601,
-0.03546576574444771,
-0.04623091593384743,
-0.0019858041778206825,
-0.04793801158666611,
0.0855637714266777,
-0.001072922139428556,
-0.03887995705008507,
0.0159735307097435,
-0.010747729800641537,
0.03954188898205757,
-0.003943301737308502,
-0.014327403157949448,
-0.05170058459043503,
0.0019400784512981772,
-0.03537866845726967,
0.011130955070257187,
-0.0711057260632515,
-0.013038372620940208,
0.02133868634700775,
0.007634023670107126,
-0.024735456332564354,
0.02213997393846512,
-0.029421256855130196,
0.0017168931663036346,
0.05793670937418938,
0.0345773808658123,
-0.0004937292542308569,
-0.04389672353863716,
0.006358057260513306,
0.007577410899102688,
0.018830301240086555,
0.03971608355641365,
0.059748318046331406,
0.036441247910261154,
-0.02085094340145588,
0.0027348354924470186,
0.061281219124794006,
-0.04863478243350983,
0.011453213170170784,
0.04664897918701172,
-0.011644825339317322,
-0.012071599252521992,
0.029090289026498795,
-0.05943477153778076,
0.002453948836773634,
0.016112884506583214,
-0.037207700312137604,
0.02297610230743885,
-0.02888125739991665,
-0.03323609009385109,
-0.006157734896987677,
-0.026355454698204994,
0.023010941222310066,
0.03766060248017311,
-0.008139184676110744,
0.02888125739991665,
-0.008683538064360619,
-0.02391674742102623,
0.005744025576859713,
0.010434181429445744,
0.04964510351419449,
-0.020607072860002518,
0.0001581349060870707,
-0.07427604496479034,
-0.023272231221199036,
0.02964770793914795,
-0.03665028139948845,
-0.004352656193077564,
0.01835997961461544,
0.019091591238975525,
-0.00960676372051239,
0.007969345897436142,
0.01781127043068409,
-0.04647478461265564,
-0.009554505348205566,
0.048147041350603104,
-0.03227802738547325,
0.09315860271453857,
0.0032748349476605654,
0.07734184712171555,
-0.022958682850003242,
0.0413535013794899,
0.025676099583506584,
-0.01728869043290615,
-0.03415931761264801,
0.012480953708291054,
-0.05831993371248245,
0.018987074494361877,
0.02177416905760765,
0.033096738159656525,
-0.04152769595384598,
0.02997867576777935,
0.03131996467709541,
-0.010782568715512753,
0.02562384121119976,
0.002419110154733062,
0.04358317703008652,
-0.0354483462870121,
-0.021809007972478867,
-0.056090258061885834,
0.05149155482649803,
0.021896103397011757,
-0.0406915657222271,
0.03898447006940842,
0.018934817984700203,
0.03516963869333267,
-0.04417543485760689,
0.030605772510170937,
0.0698166936635971,
-0.008356926031410694,
0.0028698353562504053,
0.007163701578974724,
-0.009676440618932247,
0.02860254794359207,
-0.057518646121025085,
0.023359328508377075,
0.028933515772223473,
-0.08835086971521378,
0.046509623527526855,
-0.009162570349872112,
0.028585128486156464,
0.04570833593606949,
-0.06835347414016724,
-0.016644174233078957,
-0.03971608355641365,
0.0965031161904335,
0.02896835468709469,
-0.021147072315216064,
0.009197409264743328,
-0.029090289026498795,
0.05912122130393982,
0.0011845148401334882,
-0.01054740697145462,
0.008526764810085297,
0.014414499513804913,
0.06166444718837738,
-0.0039367699064314365,
0.001993425190448761,
0.04612639918923378,
-0.015921272337436676,
0.01733223907649517,
-0.03577931597828865,
0.03210383281111717,
-0.04006446897983551,
0.029874159023165703,
-0.01989288069307804,
0.02733093686401844,
0.07573927193880081,
0.005713541992008686,
0.04260769486427307,
0.0330444797873497,
0.02774900011718273,
-0.05305929481983185,
0.021896103397011757,
-0.008892570622265339,
-0.008600796572864056,
-0.04954059049487114,
0.0426773726940155,
0.0428864024579525,
-0.04076124355196953,
0.0198057834059,
0.07218572497367859,
-0.04149285703897476,
0.061281219124794006,
-0.01912643015384674,
-0.007242088671773672,
0.04187608137726784,
-0.029264483600854874,
0.008322087116539478,
-0.03752124682068825,
-0.017567399889230728,
-0.057100579142570496,
-0.03137222304940224,
0.022784490138292313,
0.007150636985898018,
-0.09817536920309067,
-0.003993382677435875,
0.030640609562397003,
-0.0776902362704277,
0.04427994787693024,
0.021669652312994003,
0.013595790602266788,
-0.0008867530268616974,
0.03846189007163048,
-0.02229674905538559,
-0.008322087116539478,
-0.019457397982478142,
0.009066764265298843,
0.025763196870684624,
0.05595090240240097,
-0.016809659078717232,
0.016443852335214615,
-0.016713852062821388,
0.0016972965095192194,
-0.03137222304940224,
0.017689334228634834,
-0.009624182246625423,
-0.05943477153778076,
-0.006950314622372389,
0.0389496348798275,
-0.01566869206726551,
-0.013351920060813427,
-0.020363202318549156,
0.10967213660478592,
0.0065932185389101505,
-0.002299352316185832,
0.0426773726940155,
0.017079658806324005,
0.06100251153111458,
0.05887735262513161,
-0.025850292295217514,
0.006257896311581135,
0.012498373165726662,
-0.019178688526153564,
-0.018690945580601692,
-0.0060445093549788,
-0.04863478243350983,
-0.009894181974232197,
0.04400124028325081,
-0.0017147158505395055,
-0.030814804136753082,
0.02227932959794998,
-0.052397359162569046,
0.06497412174940109,
0.020223848521709442,
-0.00006334922363748774,
-0.05365155264735222,
0.03287028521299362,
-0.030884480103850365,
-0.011819018982350826,
0.02501416578888893,
-0.025571584701538086,
0.028828999027609825,
-0.054627034813165665,
0.009955150075256824,
-0.005291122943162918,
0.03504770249128342,
0.019265783950686455,
0.035500604659318924,
-0.0033379800152033567,
-0.06748250126838684,
-0.028654806315898895,
0.026930291205644608,
-0.0029242709279060364,
-0.004370075650513172,
0.036441247910261154,
-0.02766190469264984,
0.004154511261731386,
0.04090059921145439,
-0.03511738032102585,
-0.044628337025642395,
-0.08396119624376297,
-0.008361280895769596,
-0.05194445699453354,
0.0016624578274786472,
0.035570282489061356,
-0.03706834465265274,
0.01997997798025608,
0.013290952891111374,
-0.028149645775556564,
-0.026912871748209,
0.07413668930530548,
0.0746244341135025,
-0.03912382572889328,
0.05730961263179779,
0.03220834955573082,
0.009894181974232197,
-0.01837739907205105,
-0.003372818697243929,
-0.05772767588496208,
0.02553674578666687,
0.036441247910261154,
0.07441540062427521,
0.020276106894016266,
0.005587251856923103,
0.04807736352086067,
-0.05685671046376228,
0.008095636032521725,
0.03731221705675125,
0.050341878086328506,
0.002495319815352559,
-0.03602318465709686,
0.0025062067434191704,
-0.013874500058591366,
-0.04490704461932182,
-0.04570833593606949,
0.04264253377914429,
-0.04483736678957939,
-0.039855439215898514,
0.04567349702119827,
-0.01101772952824831,
-0.02006707340478897,
0.004977575037628412,
0.005025478079915047,
-0.028480613604187965,
0.00986805371940136,
0.0015666513936594129,
0.026703840121626854,
0.0018562478944659233,
0.04929671809077263,
-0.048460591584444046,
-0.05577671155333519,
0.0018420947017148137,
-0.057553481310606,
-0.05170058459043503,
-0.015825465321540833,
0.0459522046148777,
0.11231987178325653,
-0.015747079625725746,
-0.02785351686179638,
-0.041458018124103546,
0.012942565605044365,
-0.01802901178598404,
-0.04400124028325081,
0.01140095479786396,
0.014022564515471458,
-0.025571584701538086,
0.05800638720393181,
0.04211995378136635,
0.023533521220088005,
0.048460591584444046,
-0.02247094176709652,
0.027574807405471802,
-0.05420897156000137,
0.0046422528102993965,
-0.07281281799077988,
-0.044628337025642395,
-0.02853287011384964,
0.005421767942607403,
0.003775640856474638,
0.04525543376803398,
0.024021262302994728,
0.010094504803419113,
0.001302095246501267,
-0.0252754557877779,
0.008557247929275036,
-0.058981869369745255,
0.014083532616496086,
0.04657930135726929,
0.0064712828025221825,
-0.02715674415230751,
-0.001790925394743681,
-0.027992870658636093,
-0.08103474974632263,
-0.022941263392567635,
0.02982190251350403,
-0.0012835873058065772,
0.019074171781539917,
-0.09636376053094864,
0.07755088061094284,
0.019422559067606926,
0.04058704897761345,
0.0257109384983778,
0.04330446571111679,
-0.036685120314359665,
-0.0009303013794124126,
-0.026547066867351532,
0.006371121853590012,
-0.07699345797300339,
0.07664507627487183,
0.010434181429445744,
-0.018830301240086555,
0.0490180104970932,
-0.07998958975076675,
0.01938772015273571,
-0.053512196987867355,
0.01781127043068409,
0.010303536430001259,
0.03161609172821045,
0.08500635623931885,
0.03954188898205757,
-0.026599325239658356,
0.06072380021214485,
0.020729009062051773,
0.009711279533803463,
-0.01947481743991375,
0.007847410626709461,
0.0037255603820085526,
-0.07260379195213318,
0.014658370055258274,
0.05629929155111313,
-0.06636766344308853,
0.05459219589829445,
0.026878034695982933,
0.020206429064273834,
0.09559731185436249,
-0.034629639238119125,
0.035744477063417435,
0.024108359590172768,
-0.013517403975129128,
0.020816104486584663,
-0.042503178119659424,
0.027870936319231987,
0.0013717726105824113,
-0.001420764485374093,
0.059678640216588974,
0.025989647954702377,
0.00642773462459445,
0.009719989262521267,
0.009310634806752205,
0.0522928424179554,
-0.02111223340034485,
0.0413535013794899,
0.029247064143419266,
0.023951586335897446,
0.004907897673547268,
0.0122545026242733,
-0.014780305325984955,
0.004598704632371664,
-0.01281192060559988,
-0.044802527874708176,
0.0020587476901710033,
0.01781127043068409,
0.054383162409067154,
-0.035134799778461456,
-0.009153860621154308,
-0.0654270201921463,
-0.04006446897983551,
0.013735145330429077,
-0.014109661802649498,
0.01307321060448885,
-0.04657930135726929,
0.013656758703291416,
-0.08207990974187851,
0.01452772505581379,
0.037277378141880035,
-0.05706574022769928,
0.018934817984700203,
-0.0068806372582912445,
-0.0010429826797917485,
0.024143198505043983,
0.02905545011162758,
0.02032836340367794,
-0.008570312522351742,
0.02997867576777935,
-0.02868964523077011,
0.04828639701008797,
0.01568611152470112,
-0.031110933050513268,
-0.04194575920701027,
-0.02050255797803402,
0.05089929699897766,
-0.00030483835143968463,
0.06309282779693604,
0.011339986696839333,
-0.05337284132838249,
0.03527415171265602,
0.00430475315079093,
-0.0015579417813569307,
-0.014318693429231644,
0.019248364493250847,
-0.038148343563079834,
-0.02288900688290596,
0.051805101335048676,
-0.011531599797308445,
-0.0452902726829052,
0.03159867227077484,
-0.03015286847949028,
0.039088986814022064,
0.03417673707008362,
-0.0020892315078526735,
0.030605772510170937,
-0.033619318157434464,
-0.04894833266735077,
-0.03262641280889511,
-0.008309022523462772,
-0.05532380938529968,
0.01669643260538578,
-0.015964820981025696,
-0.01991030015051365,
-0.006523541174829006,
0.057553481310606,
0.02288900688290596,
0.015015467070043087,
-0.07141927629709244,
-0.04692768678069115,
0.0792231336236,
0.0021349573507905006,
0.00553499348461628,
-0.035570282489061356,
-0.012646437622606754,
-0.012994823977351189,
-0.006275315303355455,
-0.03731221705675125,
-0.030814804136753082,
-0.007773378398269415,
-0.0226451363414526,
-0.0003208968264516443,
-0.060340575873851776,
-0.018603850156068802,
0.012132566422224045,
0.05720509588718414,
-0.038566406816244125,
0.012341598980128765,
0.014066113159060478,
-0.0057527353055775166,
-0.02597222849726677,
-0.015355143696069717,
0.014440628699958324,
-0.021059976890683174,
0.05170058459043503,
-0.09462182968854904,
0.02365545742213726,
0.04236382246017456,
0.022314168512821198,
0.012245792895555496,
0.004894833080470562,
-0.05518445372581482,
0.008448377251625061,
-0.03769544139504433,
0.036510925740003586,
0.012054179795086384,
0.01221095398068428,
0.037381891161203384,
-0.05584638938307762,
-0.028480613604187965,
-0.002406045561656356,
0.0520838126540184,
-0.01989288069307804,
0.010408052243292332,
-0.0272438395768404,
-0.02196578122675419,
-0.001887820428237319,
0.021721910685300827,
0.0009368336177431047,
0.008544184267520905,
-0.035134799778461456,
-0.014832563698291779,
0.05218832939863205,
-0.02118191123008728,
-0.045394785702228546,
-0.024021262302994728,
-0.04211995378136635,
0.07671475410461426,
0.012585469521582127,
-0.007019991986453533,
0.007694991305470467,
0.0264773890376091,
-0.01720159314572811,
-0.03877544030547142,
0.04577801376581192,
0.0354483462870121,
0.005744025576859713,
0.023115457966923714,
-0.030605772510170937,
-0.0980360209941864,
0.03842705488204956,
-0.03853156790137291,
0.018743203952908516,
0.06089799478650093,
-0.08479732275009155,
-0.03109351359307766,
-0.039088986814022064,
0.030605772510170937,
0.006484347395598888,
0.026756098493933678,
-0.029194805771112442,
0.003803947241976857,
-0.006858863402158022,
0.0009036280098371208,
-0.01691417396068573,
-0.0018562478944659233,
-0.002691287314519286,
-0.03367157280445099,
-0.031825125217437744,
0.021303847432136536,
0.026459969580173492,
0.017706753686070442,
0.0052606393583118916,
0.05096897482872009,
-0.020206429064273834,
-0.06445153802633286,
0.02888125739991665,
0.028724484145641327,
-0.006014025304466486,
0.011261600069701672,
0.021286427974700928,
-0.03334060683846474,
0.018133528530597687,
0.03231286630034447,
0.030640609562397003,
-0.08563344925642014,
-0.02726125903427601,
0.03623221814632416,
-0.016243530437350273,
-0.05542832240462303,
-0.018133528530597687,
-0.01156643871217966,
-0.049749620258808136,
-0.06378960609436035,
0.00016548368148505688,
0.009301925078034401,
0.0422244668006897,
0.04647478461265564,
0.016382884234189987,
-0.027313517406582832,
0.06079347804188728,
0.023254811763763428,
-0.016774820163846016,
0.0011638293508440256,
0.004585640039294958,
0.01619127206504345,
-0.042398661375045776,
-0.02111223340034485,
-0.004603059496730566,
0.020049653947353363,
0.017471592873334885,
-0.0020805217791348696,
0.040796082466840744,
-0.015416111797094345,
-0.005987896583974361,
0.04417543485760689,
0.005857251584529877,
-0.03393286466598511,
-0.02006707340478897,
-0.004585640039294958,
0.001797457691282034,
0.05326832830905914,
0.04177156463265419,
0.04323478788137436,
-0.040796082466840744,
-0.0004983562976121902,
-0.00717676617205143
] |
711,065
|
yt_dlp.utils
|
PlaylistEntries
| null |
from yt_dlp.utils import PlaylistEntries
|
(ydl, info_dict)
|
[
0.002300956519320607,
-0.00004709942368208431,
-0.1113266572356224,
0.025559332221746445,
-0.011238355189561844,
0.025576947256922722,
0.009547317400574684,
0.051083434373140335,
0.050202686339616776,
0.04512957111001015,
0.007332234177738428,
-0.027884509414434433,
0.0048265038058161736,
0.03709714114665985,
0.011238355189561844,
0.027990199625492096,
-0.015783019363880157,
0.11604747176170349,
-0.029875000938773155,
-0.022740935906767845,
-0.03522995486855507,
0.017253870144486427,
0.005275685805827379,
0.052034642547369,
-0.01263874676078558,
0.020221993327140808,
0.008270232006907463,
-0.018407652154564857,
-0.06383667886257172,
-0.03295762464404106,
0.008516841568052769,
0.021437427029013634,
-0.005007057450711727,
0.06144104152917862,
-0.07144635170698166,
0.0011003856780007482,
-0.035511795431375504,
-0.0031376678962260485,
-0.09462765604257584,
-0.0059714773669838905,
0.036885764449834824,
0.000023463700927095488,
0.09159788489341736,
-0.01370445266366005,
0.048335496336221695,
0.014875848777592182,
0.008010410703718662,
-0.024502433836460114,
0.03130181506276131,
-0.01593274623155594,
-0.0018319576047360897,
0.047137681394815445,
0.00005267291271593422,
0.004487415309995413,
-0.02733844518661499,
0.03542371839284897,
-0.018055351451039314,
0.094345822930336,
-0.04967423528432846,
0.07567394524812698,
-0.0395280085504055,
0.00316849397495389,
0.007653707638382912,
0.02895902283489704,
0.025101343169808388,
0.032305870205163956,
-0.0032257428392767906,
-0.026862841099500656,
-0.05629746615886688,
-0.005967073608189821,
-0.02540079690515995,
-0.022194871678948402,
-0.00017903973639477044,
-0.023480765521526337,
0.04178272560238838,
-0.03808358311653137,
-0.02415013499557972,
-0.03780174255371094,
-0.004597509279847145,
-0.015633292496204376,
0.0068346112966537476,
0.023304615169763565,
-0.016593309119343758,
0.0653163343667984,
0.03332753852009773,
0.014514741487801075,
0.01821388676762581,
-0.00723975570872426,
-0.01598559133708477,
0.02527749352157116,
-0.05679068714380264,
-0.021296508610248566,
-0.05587470903992653,
-0.011467350646853447,
-0.041007667779922485,
0.01267397589981556,
-0.022987546399235725,
-0.05763620510697365,
-0.07595578581094742,
-0.004333284683525562,
0.008318672887980938,
-0.060102302581071854,
-0.058023735880851746,
-0.022670475766062737,
0.009688237681984901,
-0.04629215970635414,
-0.014902271330356598,
-0.0036991452798247337,
-0.004091078415513039,
0.040690597146749496,
-0.05710775777697563,
0.02540079690515995,
0.00802802573889494,
0.05407797917723656,
0.01211029663681984,
-0.03577601909637451,
0.013061505742371082,
-0.040690597146749496,
0.06334345787763596,
-0.014232901856303215,
-0.01799369975924492,
0.05059021711349487,
-0.04340330511331558,
0.036885764449834824,
0.08990684151649475,
0.017659014090895653,
-0.021543117240071297,
0.013563532382249832,
0.03896433115005493,
-0.04287485405802727,
0.0644708201289177,
0.010930093936622143,
-0.05055498704314232,
-0.057460054755210876,
0.06122966110706329,
-0.019922539591789246,
0.05354953184723854,
0.0006902869208715856,
0.012031029909849167,
0.04047921672463417,
-0.03723806142807007,
0.026123011484742165,
0.025682637467980385,
0.037625592201948166,
-0.10005307197570801,
-0.08504511415958405,
-0.08088797330856323,
-0.007468750234693289,
-0.016584500670433044,
0.03371506556868553,
-0.014620431698858738,
-0.04062013700604439,
0.008970427326858044,
0.010974130593240261,
-0.003936947323381901,
0.003390883095562458,
-0.008829507045447826,
-0.03223541006445885,
0.029998306185007095,
-0.01639954373240471,
-0.0083098653703928,
-0.059961382299661636,
-0.00969704519957304,
0.05657930672168732,
-0.03847111016511917,
-0.033697452396154404,
0.02790212444961071,
-0.02816634811460972,
0.003545014187693596,
0.036885764449834824,
0.07729452103376389,
0.0047956774942576885,
0.0038158444222062826,
-0.03174218907952309,
-0.0033952868543565273,
-0.041500888764858246,
-0.004487415309995413,
0.000024977487555588596,
0.056015629321336746,
-0.03459581732749939,
-0.03165411576628685,
0.03484242409467697,
-0.028113504871726036,
0.0302273016422987,
0.03216494992375374,
0.03290477767586708,
0.001126808114349842,
0.042769163846969604,
-0.009556124918162823,
-0.006720114033669233,
-0.03533564507961273,
-0.04364991560578346,
-0.008979234844446182,
-0.013968677259981632,
-0.06996668875217438,
-0.015254570171236992,
-0.008380325511097908,
0.04336807504296303,
-0.027303215116262436,
-0.018566185608506203,
0.005597159266471863,
-0.011846072040498257,
0.030262531712651253,
0.012489018961787224,
0.023480765521526337,
0.05573378875851631,
-0.031196124851703644,
-0.036815304309129715,
-0.05013222619891167,
-0.014743736013770103,
0.020362913608551025,
0.013722067698836327,
0.00810288917273283,
-0.026950916275382042,
-0.012524249032139778,
-0.022758550941944122,
-0.0181434266269207,
-0.009089328348636627,
0.00780343497171998,
-0.01875995099544525,
-0.011317622847855091,
-0.03540610522031784,
-0.02976931259036064,
-0.005689637735486031,
0.023040389642119408,
-0.03748467192053795,
0.03621639311313629,
0.0613001212477684,
-0.01635550707578659,
-0.006301758345216513,
0.019429320469498634,
0.0060155149549245834,
0.023885909467935562,
0.0017130565829575062,
0.006125608459115028,
0.007094432134181261,
-0.02533033676445484,
0.02370975911617279,
-0.02515418827533722,
0.012999853119254112,
0.018055351451039314,
0.00393474567681551,
-0.01235690712928772,
0.034930501133203506,
-0.008437573909759521,
0.03234110027551651,
-0.004377321805804968,
-0.031108049675822258,
0.009274285286664963,
0.004918982274830341,
0.02758505381643772,
0.00919501855969429,
0.03734375163912773,
-0.00033028083271346986,
0.0362868532538414,
-0.054888270795345306,
-0.024132519960403442,
-0.020503833889961243,
0.012524249032139778,
-0.06838133931159973,
0.013158388435840607,
-0.001105890260078013,
-0.02314607985317707,
0.00828784704208374,
-0.0030561985913664103,
0.03234110027551651,
0.01419767178595066,
0.008450785651803017,
-0.006438274402171373,
-0.008305462077260017,
0.09068190306425095,
0.017711859196424484,
0.051083434373140335,
-0.018619030714035034,
-0.041324738413095474,
0.01799369975924492,
0.0029857386834919453,
0.020415758714079857,
-0.008556474931538105,
-0.006385429296642542,
0.00046542074414901435,
0.0038885062094777822,
-0.028307268396019936,
0.06552771478891373,
0.03216494992375374,
-0.06362529844045639,
0.02002822980284691,
0.030738135799765587,
-0.031689345836639404,
0.016346698626875877,
0.010472103953361511,
0.015377875417470932,
0.061652421951293945,
-0.03154842555522919,
0.014673275873064995,
0.04372037574648857,
-0.012762051075696945,
-0.014919886365532875,
0.07729452103376389,
0.04065536707639694,
-0.03309854120016098,
-0.009943654760718346,
0.030068766325712204,
0.0451648011803627,
-0.05347907170653343,
0.02915278822183609,
0.044319283217191696,
0.02076805755496025,
0.001144973561167717,
-0.042135026305913925,
0.01370445266366005,
0.0004959717043675482,
0.025999706238508224,
0.05562809854745865,
-0.020785672590136528,
-0.008662165142595768,
-0.06633800268173218,
0.05812942609190941,
-0.01951739564538002,
0.012365713715553284,
-0.05509965121746063,
0.020310068503022194,
0.05178803205490112,
0.043332844972610474,
0.07637853920459747,
-0.04992084577679634,
0.04291008412837982,
-0.00047725578770041466,
0.02890617772936821,
-0.011960569769144058,
-0.025013267993927002,
0.027602668851614,
-0.026739535853266716,
0.03477196395397186,
-0.00032339998870156705,
0.019693544134497643,
-0.0020334289874881506,
-0.0027787627186626196,
0.05069590359926224,
-0.05312677100300789,
0.012973430566489697,
-0.049779925495386124,
-0.05943293496966362,
0.04766612872481346,
0.01048091147094965,
-0.019429320469498634,
0.024255823343992233,
-0.020979437977075577,
0.06760628521442413,
-0.009159788489341736,
0.068169966340065,
-0.0027545420452952385,
0.005777712445706129,
0.039387088268995285,
0.05636792629957199,
0.0031486772932112217,
-0.006786169949918985,
-0.060102302581071854,
-0.036815304309129715,
0.02772597409784794,
0.009001253172755241,
-0.007490769028663635,
0.02652815543115139,
0.028624339029192924,
-0.07222140580415726,
-0.05932724475860596,
0.035194724798202515,
-0.04372037574648857,
0.07123497128486633,
0.03322184830904007,
-0.03903479129076004,
-0.005244859494268894,
0.019059404730796814,
0.0046987952664494514,
-0.01858380064368248,
0.012224794365465641,
0.03521234169602394,
0.032869547605514526,
-0.08666568994522095,
0.03595216944813728,
-0.029240863397717476,
0.030262531712651253,
-0.01698964647948742,
-0.0054518356919288635,
0.010022922419011593,
-0.00788270216435194,
-0.023586455732584,
0.009820349514484406,
0.006438274402171373,
0.011705152690410614,
0.03998599946498871,
0.004861733876168728,
0.04460112378001213,
0.017245063558220863,
-0.06521064788103104,
-0.035511795431375504,
-0.06373098492622375,
-0.025612177327275276,
0.009379975497722626,
-0.007204525638371706,
0.061088740825653076,
-0.04985038563609123,
0.03079098090529442,
0.055275797843933105,
-0.01386298704892397,
-0.026933301240205765,
0.0332394614815712,
0.029434626922011375,
-0.03345084190368652,
-0.014919886365532875,
0.060348913073539734,
-0.04622169956564903,
-0.03977461904287338,
-0.006979934871196747,
-0.03491288423538208,
0.019411705434322357,
-0.05182326212525368,
-0.01263874676078558,
0.0027611476834863424,
0.04062013700604439,
0.020539063960313797,
-0.04586940258741379,
0.0576714351773262,
0.018848026171326637,
-0.005575140472501516,
-0.02621108666062355,
0.0053109158761799335,
0.07137589156627655,
-0.023797834292054176,
-0.045446641743183136,
-0.016637345775961876,
-0.004985038656741381,
-0.012973430566489697,
-0.07454658299684525,
0.06017276272177696,
0.019940154626965523,
-0.010155034251511097,
-0.03279908746480942,
-0.04703199118375778,
-0.0009313919581472874,
0.05206987261772156,
0.0055311028845608234,
0.04139519855380058,
-0.013264077715575695,
0.06461174041032791,
-0.0073190233670175076,
-0.09547317773103714,
0.031319428235292435,
0.03276385739445686,
-0.006623231340199709,
-0.10738090425729752,
0.04227594658732414,
0.09011822193861008,
-0.03028014674782753,
-0.011590654961764812,
-0.05460643023252487,
-0.01404794491827488,
-0.000026766509108711034,
-0.03251724690198898,
-0.03917571157217026,
0.016760651022195816,
-0.003749788273125887,
0.02628154680132866,
-0.03484242409467697,
0.04597509279847145,
0.017068913206458092,
-0.04953331500291824,
-0.008587301708757877,
-0.004949808586388826,
-0.01853095553815365,
0.012057452462613583,
0.03670961409807205,
0.010797981172800064,
-0.010049344971776009,
0.028747642412781715,
0.04111335799098015,
-0.002347195753827691,
-0.006385429296642542,
0.016610924154520035,
-0.020944207906723022,
0.01957024075090885,
-0.053197231143713,
0.015060805715620518,
0.037202831357717514,
-0.02878287248313427,
-0.007050394546240568,
-0.020609524101018906,
-0.02101466804742813,
0.0034305169247090816,
-0.039704158902168274,
0.05295062065124512,
-0.0018253520829603076,
-0.01595916971564293,
-0.05393706262111664,
0.0697200819849968,
-0.003397488733753562,
-0.003780614584684372,
0.032446786761283875,
0.034137826412916183,
-0.017905624583363533,
0.036744844168424606,
-0.024995652958750725,
0.01460281666368246,
-0.02665146067738533,
0.04400221258401871,
0.061405811458826065,
0.018425267189741135,
0.01569494418799877,
-0.0302273016422987,
-0.0034195075277239084,
0.02083851769566536,
0.04449543356895447,
-0.003076015505939722,
-0.02721513994038105,
0.08166303485631943,
0.014752543531358242,
-0.05943293496966362,
0.07616716623306274,
0.0011724969372153282,
0.046151239424943924,
-0.008952812291681767,
0.006381025537848473,
0.03521234169602394,
-0.04911055788397789,
-0.0358993224799633,
-0.0014917684020474553,
-0.07919693738222122,
0.03234110027551651,
-0.0338912159204483,
0.06714829057455063,
0.01413601916283369,
-0.01748286560177803,
-0.01748286560177803,
-0.02471381425857544,
0.022811396047472954,
0.03586409240961075,
-0.06806427240371704,
0.012814896181225777,
0.04812411963939667,
0.0495685450732708,
0.03804835304617882,
-0.005174399819225073,
0.047208137810230255,
-0.06559817492961884,
-0.0011901119723916054,
0.03239394351840019,
-0.05982046201825142,
0.054148439317941666,
0.0050422875210642815,
0.04340330511331558,
0.004258420784026384,
-0.0330456979572773,
-0.01763259246945381,
-0.07370106875896454,
0.005253667011857033,
-0.02890617772936821,
-0.016364313662052155,
-0.03160126879811287,
0.0350538045167923,
-0.0008609320502728224,
0.015783019363880157,
-0.015219340100884438,
-0.06478788703680038,
0.04002122953534126,
-0.0015853479271754622,
-0.04079628735780716,
-0.053901832550764084,
-0.0043531013652682304,
-0.03942231833934784,
0.021190818399190903,
0.03741421177983284,
-0.03776651248335838,
0.036956220865249634,
0.024625739082694054,
-0.0016712209908291698,
-0.027056604623794556,
0.033697452396154404,
-0.04505911096930504,
0.044565893709659576,
-0.046820610761642456,
-0.04830026999115944,
-0.00563238887116313,
0.0782105028629303,
-0.049462854862213135,
0.007812242489308119,
-0.031019974499940872,
0.07567394524812698,
0.020732829347252846,
0.06263885647058487,
0.027496980503201485,
-0.011713960207998753,
0.07088267058134079,
0.01638192869722843,
0.0077417828142642975,
0.037132371217012405,
-0.05781235545873642,
-0.032446786761283875,
-0.02238863706588745,
-0.0391404815018177,
0.0036551079247146845,
0.00030633548158220947,
0.031495578587055206,
-0.0068037849850952625,
-0.011590654961764812,
0.06824041903018951,
-0.050519756972789764,
-0.00044808100210502744,
-0.06182857230305672,
-0.05474735051393509,
-0.0260173212736845,
-0.03116089478135109,
-0.02508372813463211,
0.01189010962843895,
-0.010463296435773373,
0.04629215970635414,
-0.025101343169808388,
0.042452096939086914,
0.02046860381960869,
0.02853626385331154,
-0.011960569769144058,
-0.023604068905115128,
0.04322715476155281,
-0.01691918633878231,
0.01883041113615036,
-0.0508015938103199,
0.014109596610069275,
0.005729271564632654,
0.007702148985117674,
0.01635550707578659,
-0.03491288423538208,
0.021173203364014626,
0.00188039883505553,
0.017755897715687752,
-0.00689626345410943,
-0.030826210975646973,
0.014655660837888718,
-0.007719764020293951,
-0.07877417653799057,
0.019059404730796814,
0.025823557749390602,
0.005605966784060001,
-0.02802542969584465,
-0.022917086258530617,
0.03003353625535965,
-0.013334537856280804,
0.029311321675777435,
-0.041958875954151154,
-0.027690744027495384,
0.005324127152562141,
-0.003018766874447465,
-0.013528302311897278,
0.007543614134192467,
0.004049242939800024,
0.06404805928468704,
-0.03822449967265129,
0.06056029349565506,
0.022371022030711174,
-0.03322184830904007,
-0.02008107490837574,
-0.039387088268995285,
0.04731382802128792,
-0.04403744265437126,
-0.012242409400641918,
-0.01794966123998165,
0.03554702550172806,
-0.023586455732584,
-0.02208918146789074,
0.017791127786040306,
0.0164259672164917,
-0.0264048520475626,
0.0166197307407856,
-0.015677329152822495,
0.02677476592361927,
0.020926592871546745,
-0.04093720763921738,
-0.03843588009476662,
-0.041007667779922485,
0.03642777353525162,
0.06450604647397995,
-0.008552071638405323,
-0.08856810629367828,
-0.029487472027540207,
0.018671875819563866,
-0.00021234304585959762,
-0.02589401602745056,
0.0895545482635498,
-0.04748997837305069,
-0.01877756603062153,
-0.013475458137691021,
-0.053021080791950226,
-0.059961382299661636,
0.047771818935871124,
-0.07863325625658035,
-0.010709905996918678,
0.02520703338086605,
-0.04808888956904411,
0.014919886365532875,
-0.012718013487756252,
0.046820610761642456,
0.014285746961832047,
-0.0006038634455762804,
-0.023744989186525345,
0.028677184134721756,
-0.015580447390675545,
0.003492169314995408,
-0.018671875819563866,
-0.05284493416547775,
-0.009626585058867931,
-0.1217547208070755,
0.0065351566299796104,
0.005821750033646822,
0.02816634811460972,
-0.010472103953361511,
-0.025171803310513496,
0.017905624583363533,
-0.026175856590270996,
0.012841318733990192,
0.005244859494268894,
0.05030837655067444,
0.009811541996896267,
0.031072819605469704,
-0.02039814367890358,
-0.014752543531358242,
0.06249793991446495,
0.032869547605514526,
-0.00667607644572854,
-0.07327830791473389,
-0.01728910021483898,
-0.028994252905249596,
0.013748490251600742,
-0.03864726051688194,
-0.0038488726131618023,
-0.06137058138847351,
0.03478958085179329,
0.026739535853266716,
0.006103589665144682,
-0.010093381628394127,
0.037872202694416046,
0.023128464818000793,
-0.0008339590858668089,
-0.007548017892986536,
-0.017562132328748703,
0.0023273788392543793,
-0.024449588730931282,
-0.04086674749851227,
-0.02039814367890358,
0.04921624809503555,
-0.06048983335494995,
-0.042064566165208817,
0.031019974499940872,
0.06993146240711212,
0.043579455465078354,
-0.05125958472490311,
0.014778966084122658,
0.015404297970235348,
-0.009723467752337456,
0.021437427029013634,
0.008626935072243214,
-0.034754350781440735,
-0.006746536586433649,
-0.02714467979967594,
-0.014972730539739132,
0.06094782054424286,
0.05192895233631134,
0.009459243156015873,
0.0037299715913832188,
0.009529702365398407,
-0.02214202657341957
] |
711,071
|
yt_dlp.utils
|
SameFileError
|
Same File exception.
This exception will be thrown by FileDownloader objects if they detect
multiple files would have to be downloaded to the same file on disk.
|
from yt_dlp.utils import SameFileError
|
(filename=None)
|
[
-0.010408277623355389,
-0.01301034726202488,
0.00610519340261817,
0.09958190470933914,
-0.04142213240265846,
-0.05059970170259476,
-0.019040819257497787,
0.043602246791124344,
0.001104341121390462,
-0.008518260903656483,
0.020025385543704033,
-0.03656962513923645,
-0.015920093283057213,
0.025088872760534286,
-0.05615547299385071,
0.007960046641528606,
-0.002588883275166154,
0.10119940340518951,
-0.041105665266513824,
0.01837272010743618,
-0.047364696860313416,
0.014961899258196354,
-0.052146878093481064,
-0.0014933329075574875,
-0.012605971656739712,
0.05014258250594139,
-0.012676297686994076,
-0.03832777962088585,
0.008992963470518589,
-0.058968521654605865,
-0.03333462029695511,
-0.017915600910782814,
-0.0016109095886349678,
0.05225236713886261,
-0.012685088440775871,
-0.020939627662301064,
0.012808159925043583,
0.026530560106039047,
-0.11420975625514984,
-0.06213320046663284,
-0.00318665592931211,
0.0030921550933271646,
0.06550885736942291,
-0.005023927893489599,
0.008188607171177864,
0.005687631666660309,
-0.05372921749949455,
-0.0020944022107869387,
-0.025915205478668213,
-0.017361780628561974,
0.026618467643857002,
-0.018513372167944908,
0.017010150477290154,
0.037202559411525726,
0.004311875440180302,
0.06079700216650963,
0.002185606397688389,
0.12004682421684265,
-0.032051168382167816,
0.012614762410521507,
-0.010636838153004646,
0.010715954937040806,
0.03389722853899002,
-0.0055118161253631115,
0.031312741339206696,
0.009309430606663227,
-0.021994519978761673,
-0.039347510784864426,
-0.0464152917265892,
0.010469813831150532,
-0.040437567979097366,
-0.03400271758437157,
-0.02352411486208439,
0.016333259642124176,
0.0748974084854126,
-0.030293012037873268,
-0.06030471995472908,
-0.015375065617263317,
0.021273676306009293,
-0.010751117952167988,
-0.010909352451562881,
-0.04187925532460213,
0.019374867901206017,
0.026882190257310867,
0.028271133080124855,
0.010575302876532078,
0.08024219423532486,
0.004261328373104334,
0.01382788922637701,
0.008135862648487091,
-0.042723167687654495,
0.011551078408956528,
-0.047188881784677505,
-0.005234906915575266,
0.0534479133784771,
-0.014337754808366299,
0.0026130578480660915,
-0.025194361805915833,
-0.0163860060274601,
-0.03906620666384697,
-0.014047659002244473,
-0.031119344756007195,
-0.03723772242665291,
0.009494037367403507,
0.03336978331208229,
-0.01659698411822319,
0.008940218016505241,
-0.0012285108678042889,
-0.012632343918085098,
-0.04244186356663704,
-0.12356314063072205,
0.0039009065367281437,
0.0030789689626544714,
0.002185606397688389,
0.03839810565114021,
-0.05819493159651756,
0.009397339075803757,
-0.01158624142408371,
-0.0018482605228200555,
0.026636049151420593,
0.005248093046247959,
0.06237934157252312,
-0.07320957630872726,
0.009168778546154499,
0.08811873197555542,
-0.007604020647704601,
0.017977135255932808,
0.008931427262723446,
0.02442077361047268,
0.020957209169864655,
0.028780998662114143,
0.005336000584065914,
-0.02071106620132923,
-0.02085171826183796,
0.008496284484863281,
0.0061799148097634315,
0.017221128568053246,
0.05478411167860031,
0.011340100318193436,
0.007920488715171814,
0.02123851329088211,
0.017713412642478943,
0.03403788059949875,
-0.013001556508243084,
-0.007335902191698551,
0.03695641830563545,
-0.07686653733253479,
0.008927032351493835,
-0.05418634042143822,
0.0912834107875824,
0.004092106129974127,
-0.03723772242665291,
-0.06899000704288483,
-0.011981826275587082,
0.013309233821928501,
0.00020438552019186318,
-0.0024965801276266575,
-0.026460234075784683,
-0.032895080745220184,
-0.01693982444703579,
-0.005010741762816906,
-0.06273097544908524,
0.037905823439359665,
0.013300443068146706,
0.013071882538497448,
-0.01622777059674263,
-0.031084181740880013,
0.0016416773432865739,
-0.003393239341676235,
0.018671607598662376,
0.007841371931135654,
0.009441292844712734,
0.01533111184835434,
-0.0023625208996236324,
0.01078628096729517,
-0.009116034023463726,
0.03927718475461006,
0.023102156817913055,
0.032191820442676544,
-0.0037558586336672306,
-0.01319495402276516,
0.03532133623957634,
-0.006852409336715937,
0.06294195353984833,
0.020007804036140442,
0.0801718682050705,
-0.0074194143526256084,
-0.005384349729865789,
0.007814999669790268,
0.0005642579053528607,
0.0173090361058712,
0.04258251562714577,
0.022609874606132507,
-0.006549127399921417,
0.005371163599193096,
-0.054502807557582855,
-0.013907006941735744,
-0.00392727879807353,
0.04553621634840965,
0.020218783989548683,
-0.02137916535139084,
0.007327110972255468,
0.0212560947984457,
0.020412180572748184,
0.0015636591706424952,
0.04553621634840965,
-0.028218388557434082,
0.013880633749067783,
-0.09754244238138199,
0.04694274067878723,
0.03359834477305412,
-0.037202559411525726,
0.009414920583367348,
0.04138696938753128,
0.0374487042427063,
0.001676840358413756,
-0.026477815583348274,
0.028974395245313644,
-0.04033207520842552,
0.018337557092308998,
0.046485621482133865,
0.014566314406692982,
-0.006716152187436819,
-0.012772996909916401,
0.06044537201523781,
-0.04226604849100113,
0.055206067860126495,
0.060761839151382446,
0.03373899683356285,
-0.020570414140820503,
0.04437583312392235,
-0.005015137139707804,
-0.0037734403740614653,
-0.0013988320715725422,
0.058054279536008835,
-0.019884733483195305,
-0.006571104750037193,
0.005296442192047834,
-0.019937478005886078,
0.007045806385576725,
-0.0639616847038269,
-0.01427621953189373,
0.0009125923388637602,
0.0018108997028321028,
0.03386206552386284,
-0.03832777962088585,
0.03829261660575867,
-0.012280712835490704,
-0.015498137101531029,
0.015559672378003597,
0.07064267247915268,
-0.003931674174964428,
-0.039347510784864426,
0.0008252340485341847,
0.028798580169677734,
-0.05045904964208603,
-0.0169661957770586,
-0.08657155185937881,
0.06705603748559952,
-0.028411785140633583,
-0.011806011199951172,
0.041105665266513824,
-0.060234393924474716,
-0.017010150477290154,
-0.06927131116390228,
0.00218340870924294,
0.0010224770521745086,
-0.00793367438018322,
-0.030099615454673767,
-0.007393042091280222,
0.06920098513364792,
0.03776517137885094,
-0.01960342936217785,
0.006918339990079403,
-0.051267802715301514,
-0.030539153143763542,
0.0032745636999607086,
0.02160772494971752,
0.03678060322999954,
0.04799763485789299,
0.048067960888147354,
0.026302000507712364,
0.01078628096729517,
0.03581361845135689,
-0.052498508244752884,
-0.043074797838926315,
-0.05510057881474495,
-0.11006050556898117,
-0.054854437708854675,
-0.010830234736204147,
-0.020482506603002548,
0.033985137939453125,
0.04588784649968147,
0.0015109145315364003,
-0.025440502911806107,
0.054502807557582855,
-0.026126183569431305,
-0.048454754054546356,
0.042195722460746765,
0.010487395338714123,
-0.05204138904809952,
0.03839810565114021,
0.019726499915122986,
0.03106660023331642,
-0.07714784145355225,
-0.05784330144524574,
0.04673176258802414,
-0.04578235745429993,
0.0020834137685596943,
0.00945008359849453,
0.02315490134060383,
0.00530523294582963,
0.02514161728322506,
0.04532523825764656,
0.032473124563694,
0.008135862648487091,
-0.014865200966596603,
0.037026744335889816,
-0.005006346385926008,
0.05081067979335785,
-0.07939828187227249,
0.035725709050893784,
0.014109194278717041,
-0.006443638354539871,
0.05028323456645012,
-0.03259619325399399,
0.0988786369562149,
0.0012021384900435805,
0.015911303460597992,
0.03449500352144241,
-0.060550861060619354,
0.006254636682569981,
-0.005410721991211176,
0.010619256645441055,
0.02588004246354103,
0.025405339896678925,
0.01338835060596466,
-0.06375069916248322,
0.0702207162976265,
-0.04455164819955826,
0.0012175224255770445,
-0.016122281551361084,
-0.03765968233346939,
-0.029818309471011162,
0.026284419000148773,
-0.0288689061999321,
-0.011445589363574982,
-0.019040819257497787,
0.07651490718126297,
-0.003995407372713089,
-0.0033207153901457787,
0.12848597764968872,
-0.03460049256682396,
0.051091987639665604,
0.012676297686994076,
-0.009177569299936295,
-0.05872238054871559,
0.002619651146233082,
0.010434649884700775,
0.007674346677958965,
-0.004597575403749943,
-0.01605195552110672,
-0.01122581958770752,
0.028657928109169006,
-0.028235970064997673,
-0.028271133080124855,
-0.001857051276601851,
-0.05545220896601677,
-0.018091415986418724,
0.037202559411525726,
-0.040367241948843,
-0.047153718769550323,
-0.00030410589533858,
-0.04455164819955826,
-0.0025449295062571764,
0.021326420828700066,
-0.01274662371724844,
0.01080386247485876,
-0.05474894866347313,
0.048947036266326904,
0.025545993819832802,
0.05014258250594139,
-0.018267231062054634,
0.01751122437417507,
-0.02783159539103508,
-0.034354351460933685,
0.010232462547719479,
-0.007063387893140316,
0.042195722460746765,
-0.013476258143782616,
0.08207067847251892,
-0.06744282692670822,
0.05784330144524574,
0.02248680405318737,
-0.0012043361784890294,
-0.022363731637597084,
-0.07553034275770187,
0.03804647549986839,
0.010856607928872108,
0.0075644622556865215,
0.006575500126928091,
0.025774553418159485,
-0.013432304374873638,
0.04940415546298027,
-0.03518068417906761,
0.0108741894364357,
0.05903884768486023,
0.02800741046667099,
-0.009151197038590908,
0.031840186566114426,
-0.015410228632390499,
-0.012816950678825378,
-0.000476350134704262,
-0.006645826157182455,
-0.04581752046942711,
0.04409452900290489,
-0.00240647466853261,
-0.037167396396398544,
0.033809322863817215,
0.008355631493031979,
0.006461219862103462,
0.0022405488416552544,
0.05794879049062729,
0.01763429492712021,
0.015032225288450718,
-0.020060548558831215,
-0.05759716033935547,
0.015454183332622051,
-0.009458874352276325,
-0.021009953692555428,
-0.0022790085058659315,
0.030380919575691223,
-0.032543450593948364,
-0.04476262629032135,
0.04553621634840965,
-0.039312347769737244,
-0.03642897307872772,
0.01461026817560196,
0.026284419000148773,
0.029115047305822372,
0.003984418697655201,
0.013792726211249828,
0.044692300260066986,
-0.007555671501904726,
0.028499692678451538,
-0.02210000902414322,
-0.0559796579182148,
0.0314006507396698,
-0.018284812569618225,
0.014821247197687626,
-0.020271528512239456,
0.03472356125712395,
0.017062894999980927,
-0.010566512122750282,
-0.029923798516392708,
-0.037026744335889816,
-0.011551078408956528,
-0.051091987639665604,
-0.03359834477305412,
-0.009942366741597652,
-0.04100017622113228,
0.0179947167634964,
0.0684625580906868,
0.003397634718567133,
0.049333829432725906,
-0.06413749605417252,
-0.02512403577566147,
0.00047168004675768316,
0.014900363981723785,
0.003235005307942629,
-0.030117196962237358,
-0.03402030095458031,
-0.009291849099099636,
0.01443445309996605,
-0.01802108995616436,
0.032385215163230896,
-0.0032745636999607086,
0.010557721368968487,
0.03815196454524994,
0.0059645408764481544,
0.032578613609075546,
-0.09585461020469666,
0.008790775202214718,
0.012799369171261787,
0.002272415440529585,
-0.043250612914562225,
-0.04223088547587395,
-0.03243796154856682,
-0.020570414140820503,
-0.028798580169677734,
0.03387964889407158,
0.0382222905755043,
-0.07222501188516617,
-0.032543450593948364,
0.01603437401354313,
0.00998632051050663,
-0.03493453934788704,
0.03906620666384697,
0.006412870716303587,
-0.09065047651529312,
0.02907988429069519,
-0.056612592190504074,
-0.032754428684711456,
-0.02762061543762684,
0.05176008492708206,
0.05492476373910904,
0.018513372167944908,
-0.05123263970017433,
-0.02744480036199093,
-0.012184014543890953,
-0.04567686840891838,
0.02695251628756523,
0.00091973488451913,
0.05081067979335785,
0.06048053503036499,
-0.008263329043984413,
-0.02888648770749569,
0.02442077361047268,
0.020306691527366638,
0.04124631732702255,
-0.015058598481118679,
-0.05098649486899376,
0.0378354974091053,
-0.061605751514434814,
-0.0001148295050370507,
-0.04476262629032135,
-0.056260962039232254,
0.00836881808936596,
0.03106660023331642,
0.054678622633218765,
0.010962096974253654,
-0.04972062632441521,
0.06132444739341736,
-0.04328577592968941,
0.017528805881738663,
0.01625414378941059,
-0.04550105333328247,
0.013907006941735744,
0.013019138015806675,
-0.057351019233465195,
0.013933379203081131,
-0.019902314990758896,
0.0028767811600118876,
0.0374487042427063,
0.011524706147611141,
0.042019907385110855,
-0.04687241464853287,
0.0399804450571537,
-0.019884733483195305,
0.05601482093334198,
0.022223079577088356,
-0.010944515466690063,
0.025616319850087166,
-0.004116280470043421,
0.00802597776055336,
-0.04367257282137871,
0.03106660023331642,
0.019497940316796303,
0.056260962039232254,
-0.014346545562148094,
-0.018654026091098785,
-0.04142213240265846,
0.004489888437092304,
-0.02108027972280979,
0.013836679980158806,
-0.023928489536046982,
-0.044657137244939804,
-0.020781392231583595,
-0.04293414577841759,
0.016535447910428047,
0.03141823038458824,
0.03013477846980095,
0.05242818221449852,
-0.020429762080311775,
-0.008522656746208668,
0.00021303894754964858,
0.015049807727336884,
0.03829261660575867,
-0.03356318175792694,
-0.013775144703686237,
-0.02211759053170681,
0.00036426776205189526,
0.06505173444747925,
-0.028429366648197174,
-0.008592982776463032,
-0.04507909715175629,
0.028288714587688446,
0.0049843695014715195,
0.04623947665095329,
0.019831988960504532,
-0.08840003609657288,
0.012992765754461288,
0.012096107006072998,
-0.03549715131521225,
0.01017092727124691,
0.04687241464853287,
-0.005779934581369162,
-0.03549715131521225,
0.042723167687654495,
0.006738129071891308,
0.011085167527198792,
0.03085562214255333,
0.022064846009016037,
0.0013592736795544624,
0.041808925569057465,
-0.014838828705251217,
0.029343608766794205,
-0.06913065910339355,
-0.003395437030121684,
0.021467072889208794,
-0.015269576571881771,
0.010469813831150532,
0.020271528512239456,
-0.08657155185937881,
0.0065667093731462955,
0.012447738088667393,
0.026618467643857002,
0.012896067462861538,
-0.022768108174204826,
0.0026965702418237925,
-0.03955848887562752,
0.004248142242431641,
-0.03787066042423248,
-0.020552832633256912,
-0.02922053635120392,
0.06069151312112808,
-0.012869695201516151,
0.01960342936217785,
0.008162234909832478,
-0.02835904061794281,
-0.03456532955169678,
-0.012008199468255043,
0.06491108238697052,
-0.05548737198114395,
0.036112505942583084,
0.020992372184991837,
0.03871457278728485,
-0.029361190274357796,
-0.005287651438266039,
0.080734483897686,
0.014126775786280632,
-0.04012109711766243,
-0.04170343652367592,
0.032174237072467804,
-0.09339319914579391,
0.0011417019413784146,
-0.03906620666384697,
-0.024666914716362953,
0.051091987639665604,
-0.0029580958653241396,
0.01925179734826088,
0.03769484534859657,
-0.005823888815939426,
-0.028095318004488945,
-0.009590735659003258,
-0.011902709491550922,
0.03373899683356285,
-0.03474114462733269,
0.019585847854614258,
-0.0388200618326664,
0.03547956794500351,
-0.03447742015123367,
0.030996274203062057,
0.03224456310272217,
0.024192214012145996,
-0.022240661084651947,
0.04623947665095329,
-0.05123263970017433,
0.011524706147611141,
-0.0010906055103987455,
0.009476455859839916,
-0.051478780806064606,
-0.024508681148290634,
-0.008333655074238777,
-0.022363731637597084,
-0.056471940129995346,
0.05759716033935547,
-0.0039756279438734055,
0.043989039957523346,
-0.01981440745294094,
-0.025018546730279922,
0.04244186356663704,
0.014205892570316792,
-0.08783742785453796,
-0.02016603760421276,
0.0910724326968193,
-0.00699745723977685,
0.03215665742754936,
0.030064450576901436,
-0.054854437708854675,
-0.086219921708107,
0.08256296068429947,
-0.018952911719679832,
-0.0022350545041263103,
-0.028816161677241325,
-0.046661436557769775,
0.008957800455391407,
0.007538089994341135,
-0.06209803745150566,
-0.01042585913091898,
-0.02958974987268448,
-0.018267231062054634,
0.0018812259659171104,
0.015454183332622051,
0.008452330715954304,
0.021889030933380127,
-0.03015235997736454,
-0.0065095690079033375,
-0.0706075057387352,
-0.049685463309288025,
0.030205104500055313,
-0.03224456310272217,
0.013924588449299335,
0.008087513037025928,
0.03477630764245987,
-0.03563780337572098,
-0.07250631600618362,
0.004355829209089279,
0.03528617322444916,
-0.04926350340247154,
-0.03474114462733269,
0.0417385995388031,
-0.026829445734620094,
0.03294782713055611,
-0.002689977176487446,
-0.007423809729516506,
-0.035954270511865616,
-0.05267432704567909,
0.000553544145077467,
0.03780033439397812,
0.019181471318006516,
0.00819739792495966,
-0.042019907385110855,
0.03850359469652176,
-0.008979776874184608,
-0.0025800925213843584,
-0.004360224585980177,
0.07778078317642212,
0.05397535860538483,
0.04142213240265846,
0.008584192022681236,
-0.026847027242183685,
-0.015357484109699726,
-0.007006247993558645,
-0.021906612440943718,
0.000782928429543972,
0.053061120212078094,
0.01062804739922285,
-0.05014258250594139,
-0.007709510158747435,
0.05045904964208603,
0.018460627645254135,
-0.014759711921215057,
0.028235970064997673,
0.022240661084651947,
-0.03321154788136482,
0.047153718769550323,
0.00990720372647047,
-0.014953108504414558,
-0.015190459787845612,
0.022785689681768417,
-0.029115047305822372,
0.068638376891613,
0.023506533354520798,
0.06385619193315506,
-0.01746726967394352,
-0.024754824116826057,
0.006078821141272783
] |
711,073
|
yt_dlp.update
|
Updater
| null |
class Updater:
# XXX: use class variables to simplify testing
_channel = CHANNEL
_origin = ORIGIN
_update_sources = UPDATE_SOURCES
def __init__(self, ydl, target: str | None = None):
self.ydl = ydl
# For backwards compat, target needs to be treated as if it could be None
self.requested_channel, sep, self.requested_tag = (target or self._channel).rpartition('@')
# Check if requested_tag is actually the requested repo/channel
if not sep and ('/' in self.requested_tag or self.requested_tag in self._update_sources):
self.requested_channel = self.requested_tag
self.requested_tag: str = None # type: ignore (we set it later)
elif not self.requested_channel:
# User did not specify a channel, so we are requesting the default channel
self.requested_channel = self._channel.partition('@')[0]
# --update should not be treated as an exact tag request even if CHANNEL has a @tag
self._exact = bool(target) and target != self._channel
if not self.requested_tag:
# User did not specify a tag, so we request 'latest' and track that no exact tag was passed
self.requested_tag = 'latest'
self._exact = False
if '/' in self.requested_channel:
# requested_channel is actually a repository
self.requested_repo = self.requested_channel
if not self.requested_repo.startswith('yt-dlp/') and self.requested_repo != self._origin:
self.ydl.report_warning(
f'You are switching to an {self.ydl._format_err("unofficial", "red")} executable '
f'from {self.ydl._format_err(self.requested_repo, self.ydl.Styles.EMPHASIS)}. '
f'Run {self.ydl._format_err("at your own risk", "light red")}')
self._block_restart('Automatically restarting into custom builds is disabled for security reasons')
else:
# Check if requested_channel resolves to a known repository or else raise
self.requested_repo = self._update_sources.get(self.requested_channel)
if not self.requested_repo:
self._report_error(
f'Invalid update channel {self.requested_channel!r} requested. '
f'Valid channels are {", ".join(self._update_sources)}', True)
self._identifier = f'{detect_variant()} {system_identifier()}'
@property
def current_version(self):
"""Current version"""
return __version__
@property
def current_commit(self):
"""Current commit hash"""
return RELEASE_GIT_HEAD
def _download_asset(self, name, tag=None):
if not tag:
tag = self.requested_tag
path = 'latest/download' if tag == 'latest' else f'download/{tag}'
url = f'https://github.com/{self.requested_repo}/releases/{path}/{name}'
self.ydl.write_debug(f'Downloading {name} from {url}')
return self.ydl.urlopen(url).read()
def _call_api(self, tag):
tag = f'tags/{tag}' if tag != 'latest' else tag
url = f'{API_BASE_URL}/{self.requested_repo}/releases/{tag}'
self.ydl.write_debug(f'Fetching release info: {url}')
return json.loads(self.ydl.urlopen(Request(url, headers={
'Accept': 'application/vnd.github+json',
'User-Agent': 'yt-dlp',
'X-GitHub-Api-Version': '2022-11-28',
})).read().decode())
def _get_version_info(self, tag: str) -> tuple[str | None, str | None]:
if _VERSION_RE.fullmatch(tag):
return tag, None
api_info = self._call_api(tag)
if tag == 'latest':
requested_version = api_info['tag_name']
else:
match = re.search(rf'\s+(?P<version>{_VERSION_RE.pattern})$', api_info.get('name', ''))
requested_version = match.group('version') if match else None
if re.fullmatch(_HASH_PATTERN, api_info.get('target_commitish', '')):
target_commitish = api_info['target_commitish']
else:
match = _COMMIT_RE.match(api_info.get('body', ''))
target_commitish = match.group('hash') if match else None
if not (requested_version or target_commitish):
self._report_error('One of either version or commit hash must be available on the release', expected=True)
return requested_version, target_commitish
def _download_update_spec(self, source_tags):
for tag in source_tags:
try:
return self._download_asset('_update_spec', tag=tag).decode()
except network_exceptions as error:
if isinstance(error, HTTPError) and error.status == 404:
continue
self._report_network_error(f'fetch update spec: {error}')
self._report_error(
f'The requested tag {self.requested_tag} does not exist for {self.requested_repo}', True)
return None
def _process_update_spec(self, lockfile: str, resolved_tag: str):
lines = lockfile.splitlines()
is_version2 = any(line.startswith('lockV2 ') for line in lines)
for line in lines:
if is_version2:
if not line.startswith(f'lockV2 {self.requested_repo} '):
continue
_, _, tag, pattern = line.split(' ', 3)
else:
if not line.startswith('lock '):
continue
_, tag, pattern = line.split(' ', 2)
if re.match(pattern, self._identifier):
if _VERSION_RE.fullmatch(tag):
if not self._exact:
return tag
elif self._version_compare(tag, resolved_tag):
return resolved_tag
elif tag != resolved_tag:
continue
self._report_error(
f'yt-dlp cannot be updated to {resolved_tag} since you are on an older Python version', True)
return None
return resolved_tag
def _version_compare(self, a: str, b: str):
"""
Compare two version strings
This function SHOULD NOT be called if self._exact == True
"""
if _VERSION_RE.fullmatch(f'{a}.{b}'):
return version_tuple(a) >= version_tuple(b)
return a == b
def query_update(self, *, _output=False) -> UpdateInfo | None:
"""Fetches info about the available update
@returns An `UpdateInfo` if there is an update available, else None
"""
if not self.requested_repo:
self._report_error('No target repository could be determined from input')
return None
try:
requested_version, target_commitish = self._get_version_info(self.requested_tag)
except network_exceptions as e:
self._report_network_error(f'obtain version info ({e})', delim='; Please try again later or')
return None
if self._exact and self._origin != self.requested_repo:
has_update = True
elif requested_version:
if self._exact:
has_update = self.current_version != requested_version
else:
has_update = not self._version_compare(self.current_version, requested_version)
elif target_commitish:
has_update = target_commitish != self.current_commit
else:
has_update = False
resolved_tag = requested_version if self.requested_tag == 'latest' else self.requested_tag
current_label = _make_label(self._origin, self._channel.partition("@")[2] or self.current_version, self.current_version)
requested_label = _make_label(self.requested_repo, resolved_tag, requested_version)
latest_or_requested = f'{"Latest" if self.requested_tag == "latest" else "Requested"} version: {requested_label}'
if not has_update:
if _output:
self.ydl.to_screen(f'{latest_or_requested}\nyt-dlp is up to date ({current_label})')
return None
upda
|
(ydl, target: 'str | None' = None)
|
[
0.07727687060832977,
-0.04650183394551277,
-0.12980598211288452,
0.031473558396101,
-0.0032231956720352173,
-0.05360683426260948,
-0.016305578872561455,
0.034646861255168915,
-0.011346048675477505,
-0.027741437777876854,
0.012333963066339493,
-0.024608051404356956,
0.00928539875894785,
0.04550394043326378,
-0.03578445687890053,
-0.015167980454862118,
0.01486861240118742,
0.030096465721726418,
-0.00302611174993217,
-0.0200376994907856,
-0.018141701817512512,
0.010418007150292397,
0.01476882304996252,
0.08334405720233917,
0.024927377700805664,
0.008003105409443378,
0.0787537470459938,
-0.016744650900363922,
-0.029198361560702324,
-0.03780020400881767,
-0.0024909914936870337,
0.008217652328312397,
0.026084933429956436,
0.03722142428159714,
0.00913072470575571,
0.008966072462499142,
0.03770041465759277,
0.03221200034022331,
-0.09308350086212158,
-0.026224639266729355,
0.0002476023219060153,
-0.0006302320980466902,
0.06514248251914978,
-0.06278745830059052,
-0.007070074789226055,
-0.013601287268102169,
-0.07919282466173172,
0.008931146003305912,
-0.012184279039502144,
-0.020077615976333618,
0.05795764923095703,
0.0017999502597376704,
-0.003240658901631832,
0.03378866985440254,
-0.0036772373132407665,
0.07200799137353897,
0.017343387007713318,
0.10058765858411789,
0.030555495992302895,
0.029318109154701233,
-0.0053137824870646,
0.009544850327074528,
0.00005238940502749756,
0.04410688951611519,
-0.03297039866447449,
-0.00739937974140048,
0.024807630106806755,
-0.030575454235076904,
-0.03263111412525177,
0.02674354426562786,
0.00839228369295597,
0.02117529883980751,
0.0033155009150505066,
-0.03534538671374321,
0.005957423709332943,
-0.017343387007713318,
-0.02572569251060486,
0.0019384080078452826,
0.0013646192383021116,
-0.023590201511979103,
0.034507155418395996,
-0.01845104992389679,
0.054764389991760254,
-0.05232953280210495,
0.05815722793340683,
-0.013391729444265366,
0.0842222049832344,
0.007583990227431059,
-0.05001441761851311,
-0.016425326466560364,
-0.019498838111758232,
0.031752970069646835,
0.003946668468415737,
0.004849762190133333,
0.058875713497400284,
-0.0369420163333416,
0.007953210733830929,
-0.05484422296285629,
-0.046262338757514954,
0.003487637499347329,
0.004488025791943073,
-0.014329750090837479,
-0.0568799264729023,
0.004520457237958908,
-0.04207118600606918,
-0.030116423964500427,
-0.04522452875971794,
0.01054773386567831,
-0.038957759737968445,
-0.054644644260406494,
-0.026025060564279556,
-0.09531877934932709,
-0.01852090284228325,
-0.01832132413983345,
0.0038344054482877254,
-0.009090809151530266,
-0.07097017765045166,
-0.013731013983488083,
0.008821377530694008,
-0.03163322061300278,
-0.023250916972756386,
0.04053443297743797,
-0.026384301483631134,
-0.0018373712664470077,
0.009140703827142715,
-0.04618250951170921,
-0.02239272929728031,
0.0299567598849535,
0.03149351850152016,
-0.01972835324704647,
-0.0005257651209831238,
0.01714380830526352,
-0.022891676053404808,
0.018999891355633736,
0.017253577709197998,
-0.057279083877801895,
-0.02406919002532959,
0.0011706537334248424,
0.001978323794901371,
0.01136600598692894,
0.026563923805952072,
0.00013487153046298772,
0.001972086960449815,
-0.0639849305152893,
-0.05632110685110092,
0.0017612818628549576,
-0.006810622755438089,
-0.020367005839943886,
0.0015467348275706172,
-0.013850760646164417,
0.012503604404628277,
-0.06450383365154266,
-0.01856081746518612,
0.053008098155260086,
-0.0022801863960921764,
-0.01067745964974165,
-0.060352593660354614,
-0.04542410746216774,
-0.006147023756057024,
0.04430646821856499,
0.020935803651809692,
-0.06713826954364777,
0.009514913894236088,
-0.01562701165676117,
-0.008986030705273151,
-0.01212440524250269,
-0.03847876936197281,
-0.02402927353978157,
-0.01192482654005289,
0.07887350022792816,
0.02099567838013172,
0.05827697739005089,
-0.050293829292058945,
0.012274089269340038,
0.004375762771815062,
0.061909306794404984,
0.029178403317928314,
-0.05983369052410126,
0.0007209780160337687,
-0.014738885685801506,
-0.018940016627311707,
-0.029078613966703415,
-0.030954653397202492,
0.006411465350538492,
0.008836346678435802,
0.037620581686496735,
-0.000886877765879035,
0.008756514638662338,
-0.005101730115711689,
0.040474556386470795,
-0.022412685677409172,
-0.05236944556236267,
0.02253243327140808,
0.01706397719681263,
-0.00986916571855545,
0.019448943436145782,
-0.009714492596685886,
0.025905312970280647,
0.07639872282743454,
-0.022412685677409172,
0.04682115837931633,
-0.01999778486788273,
0.03700188919901848,
0.026623796671628952,
0.0030610382091253996,
-0.0039092474617064,
0.03209225460886955,
-0.02550615556538105,
0.014549286104738712,
0.0030161328613758087,
-0.03113427571952343,
0.0850205197930336,
-0.04430646821856499,
0.019109658896923065,
-0.023829694837331772,
-0.011884910985827446,
0.05975385755300522,
0.008048010058701038,
-0.03368888050317764,
0.01403038203716278,
0.036223530769348145,
-0.008631777949631214,
0.0013546403497457504,
0.01065750140696764,
-0.0014207507483661175,
-0.02682337537407875,
0.06961304694414139,
0.08925158530473709,
0.03221200034022331,
-0.05680009350180626,
0.03564475476741791,
-0.040135275572538376,
0.051531217992305756,
0.022971507161855698,
0.03225191682577133,
-0.012703183107078075,
-0.03692205622792244,
0.04107329249382019,
-0.016644861549139023,
0.006960306782275438,
-0.006331633776426315,
-0.008112873882055283,
0.04833795875310898,
0.038798097521066666,
-0.0362434908747673,
-0.04773922264575958,
-0.007314559072256088,
0.009465019218623638,
-0.04143253341317177,
-0.05408582463860512,
0.01861071214079857,
-0.0005192164098843932,
-0.0197383314371109,
0.006531212478876114,
-0.01841113343834877,
-0.0657811313867569,
0.04079388454556465,
-0.048697199672460556,
0.06051225587725639,
-0.012613372877240181,
-0.008302473463118076,
-0.007978158071637154,
-0.08086928725242615,
0.056161440908908844,
-0.037720371037721634,
-0.009445060975849628,
0.0625479593873024,
-0.009420113638043404,
-0.05636101961135864,
0.03965628519654274,
0.07344495505094528,
0.0074143484234809875,
-0.022053444758057594,
0.036003995686769485,
-0.030395833775401115,
-0.03091473877429962,
0.0566803477704525,
-0.024288726970553398,
0.004690099041908979,
-0.020376984030008316,
0.015926379710435867,
0.0009660855866968632,
0.05484422296285629,
0.06957312673330307,
0.04059430584311485,
-0.04414680600166321,
-0.01962856389582157,
0.028659500181674957,
-0.028918951749801636,
0.008681672625243664,
-0.0012635826133191586,
0.008791441097855568,
0.05236944556236267,
0.01332187745720148,
0.02133496105670929,
0.05356691777706146,
-0.05839672312140465,
0.03522563725709915,
0.0508127324283123,
-0.02961747720837593,
-0.009679566137492657,
0.05715933442115784,
-0.009589755907654762,
-0.0240891482681036,
-0.012932699173688889,
-0.01844106987118721,
0.051491301506757736,
-0.04099346324801445,
0.01860073395073414,
-0.023570243269205093,
0.07053110748529434,
0.006166981533169746,
0.033209893852472305,
0.008546956814825535,
-0.05975385755300522,
-0.03801973909139633,
-0.010388070717453957,
0.012014636769890785,
0.022173192352056503,
0.03839894011616707,
-0.010477880947291851,
0.04726023226976395,
0.0510123111307621,
0.031593307852745056,
0.0033055220264941454,
-0.05847655609250069,
-0.013182172551751137,
0.02386961132287979,
-0.03133385255932808,
0.008886241354048252,
0.0041163102723658085,
-0.0007590227178297937,
0.02386961132287979,
0.01988801546394825,
0.01049783919006586,
-0.020347047597169876,
-0.03786007687449455,
-0.08933141827583313,
0.05352700501680374,
-0.03133385255932808,
0.034626901149749756,
0.013980487361550331,
-0.030076507478952408,
0.029298150911927223,
0.027402153238654137,
-0.027601731941103935,
0.0827852413058281,
-0.003417785046622157,
0.0506131537258625,
-0.05001441761851311,
-0.013641202822327614,
0.03648298233747482,
-0.012343942187726498,
0.012593415565788746,
0.030236171558499336,
-0.08162768185138702,
-0.004869719967246056,
-0.050453491508960724,
0.0005338729824870825,
-0.02255239151418209,
-0.09691540896892548,
0.037620581686496735,
-0.02843996323645115,
0.06123074144124985,
-0.05360683426260948,
-0.04961526021361351,
0.00992405042052269,
-0.023729905486106873,
0.018111765384674072,
-0.03538529947400093,
-0.04338840767741203,
0.011964742094278336,
0.004919614642858505,
-0.02558598667383194,
-0.030116423964500427,
0.030715160071849823,
-0.04366781562566757,
-0.014788780361413956,
-0.015826590359210968,
-0.03670252114534378,
0.013301919214427471,
0.04143253341317177,
-0.0481782965362072,
0.04079388454556465,
0.008227631449699402,
-0.051611047238111496,
-0.0167546309530735,
-0.026683669537305832,
0.03915733844041824,
0.04095354676246643,
0.05133163928985596,
0.0024710337165743113,
0.004712551832199097,
0.03576450049877167,
-0.015038253739476204,
-0.027921058237552643,
0.024767715483903885,
0.011655394919216633,
-0.006665928289294243,
-0.021674245595932007,
0.024927377700805664,
0.03540525957942009,
0.06182947754859924,
0.016345493495464325,
-0.0008288752287626266,
-0.02249251864850521,
0.09284400194883347,
0.035944122821092606,
-0.06566138565540314,
0.08829361200332642,
-0.08486085385084152,
0.005119193345308304,
-0.07232731580734253,
-0.008796430192887783,
-0.04945559799671173,
0.03795986622571945,
0.027362238615751266,
0.012523562647402287,
0.024787673726677895,
0.027382194995880127,
0.01574675925076008,
0.016195809468626976,
0.024727798998355865,
0.022352812811732292,
-0.05983369052410126,
-0.0038543634582310915,
0.009549840353429317,
0.00982426106929779,
-0.04259009286761284,
0.020975720137357712,
0.04103337973356247,
0.033409472554922104,
-0.016575010493397713,
-0.00782348494976759,
-0.013002551160752773,
-0.014828696846961975,
-0.003984089475125074,
-0.01975828967988491,
-0.008277526125311852,
-0.008257567882537842,
-0.026623796671628952,
0.00248974421992898,
0.033509261906147,
0.005303803365677595,
0.020496731624007225,
0.010118639096617699,
-0.04350815340876579,
-0.012653288431465626,
-0.017253577709197998,
-0.026084933429956436,
-0.05807739868760109,
0.04546402394771576,
-0.020287172868847847,
0.03530547022819519,
-0.05332742631435394,
-0.06402484327554703,
0.003929205238819122,
0.030096465721726418,
-0.047340065240859985,
-0.05839672312140465,
-0.00395165802910924,
0.012393836863338947,
0.04115312546491623,
0.0649828165769577,
0.002221560338512063,
-0.011146469973027706,
0.027941016480326653,
-0.0639849305152893,
-0.07999113947153091,
0.012553499080240726,
0.00918560940772295,
-0.03648298233747482,
0.02973722480237484,
0.060073185712099075,
-0.028978824615478516,
-0.050293829292058945,
0.023111211135983467,
0.0005822084494866431,
-0.0481782965362072,
-0.07204790413379669,
-0.034646861255168915,
0.022113317623734474,
0.007748642470687628,
0.04430646821856499,
-0.03670252114534378,
-0.09020956605672836,
0.050453491508960724,
-0.025845440104603767,
0.014439517632126808,
0.015397495590150356,
-0.04430646821856499,
-0.013810845091938972,
0.021873824298381805,
-0.04722031578421593,
-0.053127847611904144,
-0.028938909992575645,
-0.030475664883852005,
0.04410688951611519,
0.01968843676149845,
-0.040135275572538376,
0.027821268886327744,
-0.033110104501247406,
0.033110104501247406,
-0.040235064923763275,
0.03640315309166908,
-0.013651181943714619,
-0.033289723098278046,
0.033389512449502945,
0.014908527955412865,
0.02564586140215397,
-0.0063216546550393105,
-0.043188828974962234,
0.04985475540161133,
-0.04909635707736015,
0.05520346388220787,
0.026005102321505547,
0.0027217543683946133,
0.020636435598134995,
-0.0047300150617957115,
-0.020347047597169876,
0.006231844425201416,
0.017752524465322495,
0.06909414380788803,
-0.05548287555575371,
0.006436412688344717,
0.0035624795127660036,
-0.0031882694456726313,
-0.04235059767961502,
-0.004430647008121014,
-0.008661715313792229,
-0.006166981533169746,
-0.031812842935323715,
-0.02538640797138214,
-0.05847655609250069,
0.006546180695295334,
0.0181716401129961,
0.00002792932173178997,
-0.0029712277464568615,
-0.11870940029621124,
-0.040155231952667236,
0.03819936141371727,
0.0025234229397028685,
0.0008026805007830262,
-0.013611266389489174,
-0.02814059518277645,
0.016375431790947914,
0.007194811478257179,
0.0421111024916172,
0.029338067397475243,
-0.04618250951170921,
-0.07232731580734253,
0.05264885723590851,
0.056081611663103104,
0.02394944243133068,
-0.020347047597169876,
-0.0240891482681036,
0.02239272929728031,
0.011326090432703495,
0.03364896774291992,
0.017542965710163116,
-0.008132831193506718,
-0.02129504643380642,
-0.03666260465979576,
0.007319548167288303,
0.01269320398569107,
0.03662268817424774,
0.05943453311920166,
-0.0021504603791981936,
0.025885354727506638,
0.04953543096780777,
-0.014100234024226665,
-0.010098681785166264,
0.022272981703281403,
-0.027701521292328835,
0.015357580035924911,
-0.04917619004845619,
-0.012932699173688889,
-0.019289279356598854,
0.013182172551751137,
-0.024388516321778297,
0.046062760055065155,
-0.0395764522254467,
0.06095132976770401,
-0.05919503793120384,
-0.024608051404356956,
0.005947445053607225,
0.014329750090837479,
0.06677902489900589,
0.05779798701405525,
0.03929704427719116,
-0.04973500967025757,
-0.0028315226081758738,
-0.009619692340493202,
-0.021614370867609978,
-0.015996232628822327,
0.015976274386048317,
-0.017483092844486237,
-0.01332187745720148,
0.06677902489900589,
0.006611044052988291,
0.0017513029742985964,
0.009834240190684795,
-0.033169977366924286,
-0.018720481544733047,
0.022372771054506302,
0.0010546486591920257,
-0.01568688452243805,
-0.06354585289955139,
-0.03257124125957489,
-0.04005544260144234,
0.04077392444014549,
-0.008142810314893723,
0.002291412791237235,
0.009140703827142715,
0.0011288669193163514,
0.0024635493755340576,
0.03091473877429962,
0.07931257039308548,
0.023769821971654892,
-0.014389622956514359,
0.00980929285287857,
0.05212995409965515,
-0.00008178048301488161,
-0.0105277756229043,
-0.07815501093864441,
0.022073403000831604,
0.01834128051996231,
-0.0009292882750742137,
-0.011096575297415257,
0.02540636621415615,
0.018940016627311707,
0.01990797370672226,
0.04638208821415901,
0.0344073660671711,
0.01986805908381939,
0.0119447847828269,
0.04131278768181801,
-0.050213996320962906,
0.010143586434423923,
0.03931700065732002,
0.07356470078229904,
0.015417453832924366,
0.010238386690616608,
0.04722031578421593,
-0.026603838428854942,
0.02568577602505684,
-0.003984089475125074,
-0.03105444274842739,
0.04115312546491623,
0.012673246674239635,
-0.009050893597304821,
-0.016245704144239426,
0.04354806989431381,
-0.004156226292252541,
-0.01690431497991085,
0.03163322061300278,
-0.06614037603139877,
0.00640647578984499,
0.04077392444014549,
-0.010318217799067497,
0.0012461193837225437,
0.008701630868017673,
0.0536467507481575,
0.016106000170111656,
-0.047659389674663544,
-0.0074143484234809875,
0.016764609143137932,
-0.04897661134600639,
0.028040805831551552,
0.01717374660074711,
0.05576228350400925,
-0.03309014439582825,
0.03801973909139633,
-0.031892675906419754,
-0.024448389187455177,
-0.0910877138376236,
0.037560708820819855,
0.028819162398576736,
0.07687771320343018,
0.020247258245944977,
0.02546624094247818,
0.008671693503856659,
-0.03253132477402687,
-0.02560594491660595,
0.00003344502329127863,
0.03524559736251831,
0.003360406029969454,
0.005997339729219675,
0.03398824855685234,
-0.054524898529052734,
-0.027781352400779724,
-0.019359132274985313,
-0.013291940093040466,
-0.04199135676026344,
-0.02279188670217991,
-0.09539861232042313,
-0.05540304258465767,
0.02420889399945736,
-0.02141479216516018,
-0.045344278216362,
0.07851425558328629,
-0.017253577709197998,
0.007574011106044054,
0.03372879698872566,
0.013461582362651825,
0.03502605855464935,
-0.07480209320783615,
-0.020317111164331436,
0.0024822598788887262,
-0.023250916972756386,
0.013651181943714619,
-0.010083713568747044,
0.0028988805133849382,
-0.05232953280210495,
0.08925158530473709,
0.03496618568897247,
-0.061909306794404984,
-0.02121521346271038,
0.034646861255168915,
0.015427432022988796,
-0.03516576439142227,
0.03508593142032623,
0.004507983569055796,
0.01716376654803753,
0.026404259726405144,
0.02273201197385788,
-0.004580331034958363,
-0.02991684526205063,
0.002896385733038187,
0.04135270416736603,
-0.021913738921284676,
0.050333745777606964,
-0.033189933747053146,
-0.05376649647951126,
0.02121521346271038,
-0.06298703700304031,
0.01981816440820694,
-0.01205455232411623,
0.030735118314623833,
0.04131278768181801,
-0.04498503729701042,
-0.03805965557694435,
-0.026264555752277374,
-0.01197472121566534,
0.012643309310078621,
0.0005450992612168193,
0.02137487754225731,
-0.04937576875090599,
-0.0032456484623253345,
-0.006985254120081663,
0.045943014323711395,
-0.027901099994778633,
-0.043228741735219955,
0.03163322061300278,
0.02961747720837593,
-0.040155231952667236,
0.022432643920183182,
0.03965628519654274,
-0.0011737721506506205,
0.012962635606527328,
0.028639541938900948,
-0.0240891482681036,
0.0427098385989666,
0.01276305690407753,
0.0038294161204248667,
0.011964742094278336,
-0.04674132913351059,
0.025047125294804573
] |
711,074
|
yt_dlp.update
|
__getattr__
|
Compat getter function for deprecated attributes
|
def __getattr__(self, attribute: str):
"""Compat getter function for deprecated attributes"""
deprecated_props_map = {
'check_update': '_check_update',
'target_tag': '_target_tag',
'target_channel': 'requested_channel',
}
update_info_props_map = {
'has_update': '_has_update',
'new_version': 'version',
'latest_version': 'requested_version',
'release_name': 'binary_name',
'release_hash': 'checksum',
}
if attribute not in deprecated_props_map and attribute not in update_info_props_map:
raise AttributeError(f'{type(self).__name__!r} object has no attribute {attribute!r}')
msg = f'{type(self).__name__}.{attribute} is deprecated and will be removed in a future version'
if attribute in deprecated_props_map:
source_name = deprecated_props_map[attribute]
if not source_name.startswith('_'):
msg += f'. Please use {source_name!r} instead'
source = self
mapping = deprecated_props_map
else: # attribute in update_info_props_map
msg += '. Please call query_update() instead'
source = self.query_update()
if source is None:
source = UpdateInfo('', None, None, None)
source._has_update = False
mapping = update_info_props_map
deprecation_warning(msg)
for target_name, source_name in mapping.items():
value = getattr(source, source_name)
setattr(self, target_name, value)
return getattr(self, attribute)
|
(self, attribute: str)
|
[
0.040474746376276016,
-0.03508317470550537,
-0.009477962739765644,
0.01343146525323391,
0.007090674247592688,
-0.08968231827020645,
0.036412082612514496,
0.05714305117726326,
0.030261138454079628,
-0.009145735763013363,
-0.033317625522613525,
0.005315632559359074,
0.0560799241065979,
0.0454486608505249,
-0.005628875456750393,
0.05505476891994476,
-0.0733177661895752,
0.008381613530218601,
0.03324168920516968,
-0.00944474060088396,
0.010175639763474464,
0.0002306308306287974,
-0.018576238304376602,
0.01568111591041088,
0.008277199231088161,
0.12339861690998077,
0.03593747317790985,
0.014124395325779915,
0.053460076451301575,
-0.06363571435213089,
-0.007185596507042646,
-0.004575240891426802,
0.022629408165812492,
0.01725682243704796,
-0.009786459617316723,
0.040474746376276016,
-0.005866180639714003,
-0.012966346926987171,
-0.041310060769319534,
-0.029027150943875313,
0.02378745563328266,
-0.006317059975117445,
0.004117242526262999,
-0.06557212769985199,
0.017218852415680885,
-0.020749952644109726,
-0.06766041368246078,
0.04468928277492523,
-0.03422887623310089,
-0.022876204922795296,
0.05797836557030678,
0.03500723838806152,
0.04848616570234299,
0.03686771169304848,
-0.02431901916861534,
0.028419651091098785,
0.0017714820569381118,
0.075102299451828,
0.013317558914422989,
0.05459914356470108,
0.021091671660542488,
0.022420579567551613,
-0.0005446150316856802,
-0.040892403572797775,
0.0028500333428382874,
-0.079278863966465,
0.003981978632509708,
-0.0168391652405262,
0.006127215921878815,
0.058054301887750626,
0.007033721078187227,
0.0373043529689312,
-0.012558182701468468,
-0.00048261909978464246,
0.001826062216423452,
-0.018262995406985283,
-0.05668742582201958,
-0.0021298127248883247,
0.04146193712949753,
-0.06876150518655777,
-0.0014689181698486209,
0.0013206024887040257,
0.01220697071403265,
-0.02217378281056881,
-0.02378745563328266,
-0.07062197476625443,
-0.0010743985185399652,
-0.04522084817290306,
-0.04358818754553795,
0.0317419208586216,
-0.07297604531049728,
0.04958726093173027,
-0.02665410190820694,
0.03739927336573601,
0.006563857197761536,
-0.03512114658951759,
0.01791178435087204,
-0.020427217707037926,
0.02390136383473873,
0.012140525504946709,
0.056991178542375565,
-0.029995355755090714,
0.005429539363831282,
0.005923133809119463,
0.0068296389654278755,
-0.04837225750088692,
-0.025666913017630577,
-0.03741825744509697,
0.032140593975782394,
-0.025989647954702377,
0.007432393729686737,
-0.06109180673956871,
-0.05535851791501045,
0.008509758859872818,
-0.010270562022924423,
-0.03582356870174408,
-0.04032287001609802,
-0.06473681330680847,
0.005439031403511763,
-0.029824497178196907,
-0.017560573294758797,
0.012501229532063007,
-0.04510693997144699,
-0.013801660388708115,
0.0057143052108585835,
-0.02238261140882969,
-0.012169002555310726,
-0.023711519315838814,
0.09188450872898102,
0.006127215921878815,
-0.03944958746433258,
-0.03071676380932331,
-0.0025628942530602217,
0.06769838184118271,
0.04647381603717804,
-0.024053238332271576,
0.025780819356441498,
0.06545822322368622,
0.03464653342962265,
0.018775574862957,
-0.005215964745730162,
-0.02173714153468609,
0.032273486256599426,
-0.0257048811763525,
-0.022781282663345337,
-0.0048505146987736225,
0.00820126198232174,
0.050156790763139725,
-0.02857152558863163,
-0.05224507674574852,
0.006340790539979935,
0.007850050926208496,
0.00906979851424694,
-0.01887998916208744,
0.018168073147535324,
0.02728058584034443,
-0.07726652175188065,
-0.06014258787035942,
0.010972985066473484,
-0.019800731912255287,
0.003894175635650754,
-0.03170395269989967,
-0.04438553377985954,
-0.07179901003837585,
0.06109180673956871,
0.0018723367247730494,
0.016440492123365402,
-0.052814606577157974,
0.016582876443862915,
0.04658772423863411,
-0.050156790763139725,
0.024167144671082497,
0.019060339778661728,
0.060522276908159256,
-0.007774112746119499,
0.07305198162794113,
0.008272453211247921,
0.005837704055011272,
0.032349422574043274,
-0.018206041306257248,
-0.009316595271229744,
-0.012653104029595852,
-0.055510394275188446,
-0.02750840038061142,
0.02517331764101982,
0.038120679557323456,
0.009852904826402664,
0.008884700015187263,
-0.026995820924639702,
0.05125788599252701,
0.054637111723423004,
-0.029767543077468872,
0.02452784776687622,
0.044499438256025314,
-0.014988185837864876,
-0.021357452496886253,
-0.053991641849279404,
0.010033256374299526,
0.05494086071848869,
0.07141932100057602,
0.022097844630479813,
0.06086399406194687,
-0.0264262892305851,
0.09818732738494873,
-0.014276270754635334,
-0.02004752866923809,
0.019326122477650642,
-0.02750840038061142,
-0.04575240984559059,
-0.0003826543688774109,
0.007954464294016361,
0.06815400719642639,
-0.00852874293923378,
-0.003006654791533947,
0.002529671648517251,
0.05767461657524109,
0.05585211142897606,
0.005790242925286293,
-0.029254963621497154,
0.004798307549208403,
0.0673566609621048,
0.0038775643333792686,
0.02238261140882969,
0.005818719509989023,
0.020939795300364494,
-0.013146698474884033,
0.03671583533287048,
0.009776967577636242,
-0.01706697791814804,
-0.0353679433465004,
0.022439563646912575,
-0.03212160989642143,
0.014067442156374454,
0.050688356161117554,
0.038747165352106094,
-0.014124395325779915,
-0.013687754049897194,
0.028628479689359665,
0.0024561071768403053,
-0.03658294305205345,
-0.02921699546277523,
0.012757518328726292,
0.01327009778469801,
0.09309951215982437,
0.011324196122586727,
-0.0691411942243576,
-0.01844334788620472,
0.03692466393113136,
-0.03612731769680977,
-0.03781693056225777,
0.05444726720452309,
0.014997677877545357,
-0.016013342887163162,
0.02803996205329895,
-0.02357862889766693,
-0.07062197476625443,
-0.052814606577157974,
-0.014105411246418953,
0.017465651035308838,
-0.03700060024857521,
-0.06318008899688721,
-0.0051969802007079124,
-0.04901772737503052,
0.02090182714164257,
0.015178030356764793,
-0.034494660794734955,
0.06067414954304695,
0.025097379460930824,
-0.035026222467422485,
0.042069435119628906,
0.013089745305478573,
-0.0317419208586216,
-0.049093663692474365,
0.04115818440914154,
-0.02836269699037075,
-0.0547889843583107,
0.017892800271511078,
-0.049207571893930435,
0.00922167394310236,
-0.04134802892804146,
0.0023125375155359507,
-0.005481746047735214,
-0.02067401446402073,
0.08710043877363205,
-0.0030161470640450716,
-0.05566226691007614,
-0.020977765321731567,
0.025325194001197815,
-0.018823035061359406,
0.0319887176156044,
0.05148569867014885,
0.0019387821666896343,
0.0026127283927053213,
-0.013640292920172215,
0.02367354929447174,
0.04009505733847618,
-0.07229260355234146,
0.04768881946802139,
0.05562429875135422,
-0.035994429141283035,
-0.000926676148083061,
0.040892403572797775,
-0.05008085444569588,
0.03774099424481392,
0.025401130318641663,
-0.007812081836163998,
0.032672155648469925,
-0.009814935736358166,
-0.025135349482297897,
0.01961088739335537,
0.06340790539979935,
-0.002287620445713401,
0.02173714153468609,
0.019534951075911522,
0.001415524515323341,
-0.01568111591041088,
-0.0580163337290287,
0.03781693056225777,
0.004219283349812031,
0.09833920747041702,
-0.04730913043022156,
0.0183294415473938,
-0.006340790539979935,
0.0601046197116375,
-0.010166147723793983,
-0.0264262892305851,
-0.01939256675541401,
-0.016867641359567642,
0.016478462144732475,
-0.008030402474105358,
-0.03028012253344059,
-0.01918373815715313,
0.0038846833631396294,
0.009084036573767662,
-0.030413012951612473,
0.014807834289968014,
-0.017029009759426117,
-0.03831052407622337,
0.014437638223171234,
0.009738998487591743,
0.01182728260755539,
0.049511320888996124,
-0.024394957348704338,
0.010944508016109467,
-0.02090182714164257,
-0.03741825744509697,
0.03081168606877327,
0.02462277002632618,
0.04165177792310715,
-0.0763932392001152,
-0.04374006390571594,
-0.059459149837493896,
-0.039943184703588486,
0.059231337159872055,
0.03477942571043968,
-0.016573384404182434,
0.002873763907700777,
-0.007978195324540138,
0.022971127182245255,
-0.002345760352909565,
-0.007394424639642239,
-0.014513575471937656,
0.02878035418689251,
0.007698175497353077,
-0.013982012867927551,
-0.006991006433963776,
-0.025647928938269615,
-0.032026685774326324,
-0.006563857197761536,
-0.01642150804400444,
-0.04381600022315979,
0.022762298583984375,
0.023483706638216972,
-0.0007866661762818694,
-0.01327958982437849,
-0.0022994857281446457,
-0.005078327842056751,
0.010840093716979027,
-0.007451378274708986,
-0.008823000825941563,
-0.0037660307716578245,
-0.023198939859867096,
-0.016241155564785004,
0.07312791794538498,
0.04263896867632866,
-0.027679258957505226,
-0.02878035418689251,
-0.0317419208586216,
0.03785489872097969,
0.014162364415824413,
-0.050574447959661484,
-0.012823964469134808,
-0.05087820068001747,
0.007418155204504728,
-0.021718157455325127,
-0.023920347914099693,
0.020825888961553574,
-0.02654019556939602,
0.008500265888869762,
-0.05714305117726326,
0.010716695338487625,
0.0014902756083756685,
-0.03390614315867424,
0.0026317129377275705,
-0.048258353024721146,
0.04332240670919418,
0.0527007021009922,
0.05459914356470108,
-0.017000531777739525,
-0.0022223617415875196,
-0.023806441575288773,
0.014314239844679832,
-0.03551981598138809,
-0.03986724466085434,
0.03069777972996235,
0.05034663528203964,
0.02792605571448803,
0.001776228193193674,
0.030469967052340508,
0.02365456521511078,
0.0015851976349949837,
-0.02517331764101982,
-0.02783113345503807,
0.010270562022924423,
-0.03937365114688873,
-0.04115818440914154,
-0.012282908894121647,
-0.014760373160243034,
0.00423589488491416,
0.06841978430747986,
0.026616131886839867,
0.0054010627791285515,
-0.013241620734333992,
-0.01674424298107624,
0.031115436926484108,
-0.05053647980093956,
0.0009652381995692849,
0.008547727018594742,
-0.045258816331624985,
0.013137206435203552,
-0.01854776218533516,
-0.017987720668315887,
0.0415758416056633,
0.019459012895822525,
-0.045562565326690674,
-0.07107760012149811,
-0.03291895240545273,
0.015700101852416992,
0.03815864771604538,
-0.05695320665836334,
0.006886592134833336,
0.02728058584034443,
0.019459012895822525,
0.01306126918643713,
-0.026464257389307022,
-0.05137179419398308,
-0.030963560566306114,
-0.03593747317790985,
0.03667786717414856,
0.03563372418284416,
-0.021395422518253326,
0.035026222467422485,
-0.045562565326690674,
0.005932625848799944,
-0.02365456521511078,
0.04533475264906883,
0.01568111591041088,
-0.0394875593483448,
-0.06709087640047073,
0.009610854089260101,
0.058054301887750626,
-0.0638255625963211,
0.02536316215991974,
-0.005201726220548153,
-0.046321943402290344,
-0.007128643337637186,
-0.03050793521106243,
0.03815864771604538,
-0.006953037343919277,
-0.07092572748661041,
-0.04317053034901619,
-0.015652639791369438,
0.006155692506581545,
0.012615135870873928,
-0.014475607313215733,
-0.04317053034901619,
0.007916496135294437,
0.006905576679855585,
0.031590044498443604,
-0.029577698558568954,
-0.017446666955947876,
0.061243683099746704,
0.01802569068968296,
-0.035671692341566086,
-0.006198407616466284,
0.014826818369328976,
-0.009421009570360184,
-0.01854776218533516,
0.029881449416279793,
0.01717139221727848,
0.011684900149703026,
-0.07320385426282883,
0.020237373188138008,
-0.0000625521206529811,
0.05664945766329765,
-0.01338400412350893,
-0.00402706628665328,
0.05459914356470108,
0.060598213225603104,
-0.015472288243472576,
-0.007024229038506746,
0.004091138951480389,
0.05642164498567581,
0.01386810652911663,
0.010802125558257103,
-0.03455161303281784,
-0.08034199476242065,
0.028913244605064392,
-0.010868570767343044,
0.04149990528821945,
0.0494733527302742,
0.030621841549873352,
-0.022040892392396927,
-0.079278863966465,
-0.03346950188279152,
-0.022040892392396927,
0.014513575471937656,
-0.014741389080882072,
-0.018737604841589928,
-0.030564887449145317,
-0.020617062225937843,
-0.013099238276481628,
0.007850050926208496,
-0.02933090180158615,
-0.004978659562766552,
0.072026826441288,
-0.033963095396757126,
0.019572919234633446,
-0.06469884514808655,
-0.03851935267448425,
0.08968231827020645,
-0.008827746845781803,
-0.0034765186719596386,
0.0172852985560894,
-0.022458547726273537,
-0.0746087059378624,
-0.07434292137622833,
0.010156655684113503,
0.026293396949768066,
-0.04187959060072899,
-0.05190335586667061,
0.07905105501413345,
-0.0077503821812570095,
-0.003692466299980879,
0.00442099291831255,
0.00420979131013155,
-0.001588757149875164,
-0.007736144121736288,
0.0009598988690413535,
0.014589513652026653,
-0.0456005334854126,
-0.08110136538743973,
0.044841159135103226,
0.025647928938269615,
-0.03286200016736984,
0.05152367055416107,
0.04966319724917412,
0.02879933826625347,
-0.012823964469134808,
-0.03563372418284416,
0.0038704450707882643,
0.0025486559607088566,
0.009411517530679703,
0.03422887623310089,
-0.003839595476165414,
-0.007399171125143766,
0.024907536804676056,
0.016146235167980194,
0.04187959060072899,
-0.034817393869161606,
0.029444808140397072,
0.017095454037189484,
-0.029463792219758034,
-0.02101573348045349,
-0.02517331764101982,
-0.0773424580693245,
-0.014323731884360313,
0.028913244605064392,
0.05213116854429245,
-0.04336037486791611,
-0.0319887176156044,
-0.10365483909845352,
-0.004869499243795872,
-0.040246933698654175,
0.01961088739335537,
0.024281051009893417,
-0.023104017600417137,
-0.008144308812916279,
0.02133846841752529,
0.04503100365400314,
0.008647395297884941,
0.012406307272613049,
0.051219917833805084,
-0.012235447764396667,
0.02300909534096718,
0.02131948433816433,
-0.019857686012983322,
-0.03413395583629608,
-0.0680021271109581,
0.02335081622004509,
-0.005514969117939472,
0.02152831293642521,
0.0009782899869605899,
0.041310060769319534,
0.04241115599870682,
-0.02654019556939602,
-0.006298075430095196,
0.05471304804086685,
0.0065258885733783245,
-0.044499438256025314,
-0.033526454120874405,
0.02568589709699154,
0.006269598845392466,
0.02154729701578617,
-0.08216449618339539,
-0.009088782593607903,
0.022762298583984375,
-0.04833428934216499,
-0.01257716678082943,
0.007978195324540138,
0.007878527045249939,
-0.022686360403895378,
0.09514982253313065,
-0.014333223924040794,
-0.05175148323178291,
0.010422437451779842,
0.06325603276491165,
-0.015130569227039814,
-0.00879927072674036,
0.04841022565960884,
0.04298068583011627,
0.027147695422172546,
-0.0330328606069088,
0.021794093772768974,
-0.03679177165031433,
0.013317558914422989,
-0.013146698474884033,
-0.05490289255976677,
0.029900433495640755,
-0.009145735763013363,
-0.0699385404586792,
0.013146698474884033,
-0.010640758089721203,
-0.003165649250149727,
0.015026154927909374,
-0.017721939831972122,
-0.07498838752508163,
0.01738971285521984,
0.03867122903466225,
-0.035975441336631775,
-0.015320412814617157,
-0.011703884229063988,
0.0052871559746563435,
0.02261042408645153,
0.03443770483136177,
0.0353679433465004,
-0.03753216564655304,
0.02111065573990345,
0.04282881319522858,
-0.011675408110022545,
0.07882323861122131,
0.05235898122191429,
0.011438102461397648,
-0.00917895883321762,
-0.031153405085206032,
-0.031286295503377914,
0.03517809882760048,
-0.028400667011737823,
0.026274412870407104,
0.0017809743294492364,
0.037911850959062576,
0.03815864771604538,
-0.07111557573080063,
0.013289081864058971,
-0.018955925479531288,
0.01588994450867176,
0.04613209888339043,
0.0228002667427063,
0.030204184353351593,
-0.09112513065338135,
0.0012814471265301108,
-0.023483706638216972,
-0.029179027304053307,
0.053991641849279404,
0.00853348895907402,
-0.09583326429128647,
-0.0089036850258708,
-0.00023923313710838556,
0.04100630804896355,
0.007589015178382397,
0.061585403978824615,
0.012463260442018509,
-0.02431901916861534,
0.03443770483136177,
0.012301892973482609,
0.004012828227132559,
-0.013194159604609013,
-0.025002459064126015,
-0.017361236736178398,
-0.01993362233042717,
0.022553469985723495,
0.009786459617316723,
0.005757020320743322,
-0.06971072405576706,
0.09279575943946838,
-0.025344178080558777,
-0.013554863631725311,
-0.05178945139050484,
-0.019857686012983322,
0.04427162557840347,
0.02333183027803898,
0.019800731912255287,
0.030223168432712555,
0.019762763753533363,
-0.016782211139798164,
0.05471304804086685,
-0.04070255905389786,
-0.02836269699037075,
-0.051447730511426926,
0.029596684500575066,
0.0339251272380352,
0.03291895240545273,
-0.016013342887163162,
-0.009088782593607903,
0.06037040054798126,
-0.0319887176156044,
-0.024243082851171494,
-0.0012019500136375427,
0.028115900233387947,
0.07153323292732239,
-0.0402849018573761,
0.044955067336559296,
-0.01364978589117527,
0.03941161930561066,
-0.031115436926484108,
0.008229738101363182,
0.0026791738346219063,
0.008557219058275223,
0.019534951075911522,
0.017845338210463524,
0.04168974980711937,
-0.005405808798968792,
-0.035861536860466,
0.048562102019786835,
0.10319921374320984,
-0.08626512438058853,
0.015102092176675797,
0.01962987147271633,
0.029691604897379875,
-0.03229247033596039,
-0.02431901916861534,
0.06021852418780327,
-0.0008388732676394284,
0.05459914356470108,
-0.029919419437646866,
0.006245868280529976,
-0.045904286205768585,
0.02654019556939602
] |
711,075
|
yt_dlp.update
|
__init__
| null |
def __init__(self, ydl, target: str | None = None):
self.ydl = ydl
# For backwards compat, target needs to be treated as if it could be None
self.requested_channel, sep, self.requested_tag = (target or self._channel).rpartition('@')
# Check if requested_tag is actually the requested repo/channel
if not sep and ('/' in self.requested_tag or self.requested_tag in self._update_sources):
self.requested_channel = self.requested_tag
self.requested_tag: str = None # type: ignore (we set it later)
elif not self.requested_channel:
# User did not specify a channel, so we are requesting the default channel
self.requested_channel = self._channel.partition('@')[0]
# --update should not be treated as an exact tag request even if CHANNEL has a @tag
self._exact = bool(target) and target != self._channel
if not self.requested_tag:
# User did not specify a tag, so we request 'latest' and track that no exact tag was passed
self.requested_tag = 'latest'
self._exact = False
if '/' in self.requested_channel:
# requested_channel is actually a repository
self.requested_repo = self.requested_channel
if not self.requested_repo.startswith('yt-dlp/') and self.requested_repo != self._origin:
self.ydl.report_warning(
f'You are switching to an {self.ydl._format_err("unofficial", "red")} executable '
f'from {self.ydl._format_err(self.requested_repo, self.ydl.Styles.EMPHASIS)}. '
f'Run {self.ydl._format_err("at your own risk", "light red")}')
self._block_restart('Automatically restarting into custom builds is disabled for security reasons')
else:
# Check if requested_channel resolves to a known repository or else raise
self.requested_repo = self._update_sources.get(self.requested_channel)
if not self.requested_repo:
self._report_error(
f'Invalid update channel {self.requested_channel!r} requested. '
f'Valid channels are {", ".join(self._update_sources)}', True)
self._identifier = f'{detect_variant()} {system_identifier()}'
|
(self, ydl, target: Optional[str] = None)
|
[
0.05939710512757301,
-0.032307080924510956,
-0.08409115672111511,
0.01772831566631794,
-0.017254916951060295,
-0.04405510798096657,
0.0074342992156744,
0.09089264273643494,
0.01477198675274849,
-0.021409235894680023,
0.019621912389993668,
0.01738051325082779,
-0.010453427210450172,
0.05120440199971199,
-0.03642275184392929,
-0.00040365735185332596,
0.013564336113631725,
0.05951303988695145,
-0.012675505131483078,
-0.018143748864531517,
0.002591619035229087,
0.032480981200933456,
0.0038065158296376467,
0.09614834189414978,
0.01972818560898304,
0.049851831048727036,
0.02442353405058384,
0.0016170446760952473,
-0.05568720027804375,
-0.05754215270280838,
0.00027730685542337596,
-0.007927021011710167,
0.03588172420859337,
0.08494134247303009,
-0.0000810635756351985,
0.020636340603232384,
-0.00020243249309714884,
0.05170678347349167,
-0.1315470039844513,
-0.03476102650165558,
-0.013786543160676956,
-0.023959795013070107,
0.06612130999565125,
-0.027534442022442818,
-0.0003785985754802823,
0.0059754569083452225,
-0.06102018803358078,
0.00415190402418375,
-0.04529174417257309,
-0.035089507699012756,
0.03292539715766907,
0.02251061424612999,
-0.00946798361837864,
0.02278112806379795,
-0.06152257323265076,
0.0761689618229866,
0.011970236897468567,
0.09359778463840485,
-0.0021339193917810917,
0.05874014273285866,
-0.0300850011408329,
0.02911888062953949,
-0.007497097365558147,
0.044364266097545624,
-0.04258660599589348,
-0.0178249292075634,
-0.015071484260261059,
-0.018027814105153084,
-0.030374838039278984,
0.04722398519515991,
0.028964301571249962,
0.021872974932193756,
0.0050769648514688015,
-0.0452144518494606,
0.03137960284948349,
-0.03932111710309982,
-0.044364266097545624,
0.02971787564456463,
-0.006695216987282038,
-0.01016359031200409,
0.015593189746141434,
0.030626028776168823,
0.0380844809114933,
-0.04552360996603966,
0.039495017379522324,
-0.0019189574522897601,
0.06345481425523758,
0.009236115030944347,
-0.03435525670647621,
-0.015699462965130806,
-0.011979897506535053,
0.018153410404920578,
-0.003560155164450407,
-0.0011557219550013542,
0.039495017379522324,
-0.01904224045574665,
0.019786152988672256,
-0.010028333403170109,
0.007014037109911442,
0.006453686859458685,
-0.03093518689274788,
-0.02964058518409729,
-0.048808421939611435,
0.0040214778855443,
-0.022568581625819206,
-0.041775062680244446,
-0.0358237586915493,
-0.007009206339716911,
-0.024578113108873367,
-0.05085659772157669,
-0.03796854615211487,
-0.059938132762908936,
-0.003342777956277132,
0.007245905697345734,
-0.01390247792005539,
-0.017882896587252617,
-0.0626046285033226,
0.0076758298091590405,
-0.008627458475530148,
-0.036635302007198334,
-0.04200693219900131,
0.0483446829020977,
-0.06074967607855797,
0.0032558271195739508,
0.011931591667234898,
-0.03796854615211487,
-0.013061952777206898,
0.011332596652209759,
0.04482800513505936,
-0.011361580342054367,
0.011825318448245525,
0.014424183405935764,
-0.009781972505152225,
0.005830538924783468,
0.03375625982880592,
-0.04830604046583176,
-0.006323260720819235,
0.013071614317595959,
-0.000952232803683728,
0.025872714817523956,
0.03431661054491997,
0.010463087819516659,
0.022974351420998573,
-0.06758981198072433,
-0.04927216097712517,
0.0318240188062191,
-0.016037605702877045,
-0.020037345588207245,
0.004980352707207203,
0.006492331624031067,
-0.00977714266628027,
-0.05066337436437607,
-0.012897712178528309,
0.0643436461687088,
0.001648443634621799,
0.002637509722262621,
-0.053754959255456924,
-0.014298588037490845,
0.0019419027958065271,
0.03532137721776962,
0.016675245016813278,
-0.06963798403739929,
-0.008583983406424522,
-0.01739017479121685,
-0.014878259971737862,
-0.034123387187719345,
-0.026896802708506584,
-0.04884706810116768,
0.00205300678499043,
0.07953106611967087,
0.002148411003872752,
0.025892037898302078,
-0.037504807114601135,
-0.008849666453897953,
0.0005386123666539788,
0.06585079431533813,
0.04146590456366539,
-0.04448020085692406,
-0.0067290314473211765,
0.0001322377793258056,
-0.012144138105213642,
0.005448921117931604,
-0.021969586610794067,
-0.010492071509361267,
0.049078937619924545,
0.030471449717879295,
-0.009458322077989578,
0.04266389459371567,
-0.03292539715766907,
0.05827640742063522,
-0.014540118165314198,
-0.033601682633161545,
0.031147733330726624,
0.043243564665317535,
0.01091716531664133,
0.012134477496147156,
0.009438999928534031,
0.021177368238568306,
0.010501733049750328,
0.012975001707673073,
0.060633741319179535,
0.020481761544942856,
0.04502122849225998,
0.016849147155880928,
-0.003941772971302271,
0.010453427210450172,
0.03261623904109001,
0.013255177065730095,
-0.01003799494355917,
-0.02538965456187725,
-0.0031278161332011223,
0.042122866958379745,
-0.04583277180790901,
0.0234767347574234,
-0.028036825358867645,
-0.018839355558156967,
0.04849926382303238,
0.035417988896369934,
-0.028056148439645767,
0.0266069658100605,
0.0403452031314373,
-0.0009594787261448801,
0.01504250057041645,
0.004618057515472174,
0.0014177822740748525,
-0.019708864390850067,
0.07864223420619965,
0.03870279714465141,
-0.006381227634847164,
-0.024983882904052734,
0.009057382121682167,
-0.05630552023649216,
0.054991595447063446,
0.023863183334469795,
0.04536903277039528,
-0.0013779298169538379,
-0.013216532766819,
0.04513716325163841,
-0.055339399725198746,
0.022877739742398262,
0.001881520263850689,
-0.018733082339167595,
0.04181370884180069,
0.029949745163321495,
-0.010579022578895092,
-0.022974351420998573,
0.01945767179131508,
0.0326935276389122,
-0.02877107635140419,
-0.021312624216079712,
0.022587904706597328,
-0.0220855213701725,
-0.026722900569438934,
0.009574256837368011,
-0.030490772798657417,
-0.05340715870261192,
0.02546694315969944,
-0.05661467835307121,
0.046296507120132446,
-0.030722640454769135,
-0.041504550725221634,
0.031147733330726624,
-0.07292279601097107,
0.07470045983791351,
-0.03336981311440468,
-0.01833697222173214,
0.0466056652367115,
-0.014259942807257175,
-0.05387089401483536,
0.022394679486751556,
0.06248869374394417,
0.010443765670061111,
-0.004415172152221203,
0.05162949487566948,
-0.0260852612555027,
-0.02206619828939438,
0.03992011025547981,
-0.025853391736745834,
0.0053716315887868404,
-0.0008362982771359384,
0.042818471789360046,
0.008197534829378128,
0.06074967607855797,
0.05719435214996338,
0.01955428533256054,
-0.043514080345630646,
-0.023534702137112617,
0.013892817310988903,
-0.03267420455813408,
-0.01091716531664133,
-0.023592669516801834,
0.03145689144730568,
0.06511653959751129,
0.033698294311761856,
0.03779464587569237,
0.03597833961248398,
-0.055841781198978424,
0.011583788320422173,
0.0479968823492527,
-0.03155350312590599,
-0.011661077849566936,
0.037176329642534256,
-0.041504550725221634,
0.016124555841088295,
-0.02450082264840603,
-0.025853391736745834,
0.03764006495475769,
-0.04154319316148758,
0.051861364394426346,
-0.024925915524363518,
0.0827772319316864,
0.01910986937582493,
0.02224010042846203,
0.010308508761227131,
-0.031186379492282867,
0.0062942770309746265,
0.013061952777206898,
-0.02504185028374195,
0.035166796296834946,
0.056112296879291534,
-0.02235603518784046,
0.024539468809962273,
0.004296822007745504,
0.031186379492282867,
-0.004115674644708633,
-0.01738051325082779,
0.001969678793102503,
0.030973833054304123,
-0.02365063689649105,
0.0008972846553660929,
0.002895947080105543,
0.01653032749891281,
0.012124815955758095,
-0.012404991313815117,
0.021273979917168617,
-0.0643436461687088,
-0.026722900569438934,
-0.043591368943452835,
0.04594870284199715,
-0.026452386751770973,
0.014723680913448334,
0.018288666382431984,
-0.05074066296219826,
0.0243462435901165,
0.08231349289417267,
-0.01763170398771763,
0.048112813383340836,
-0.045755479484796524,
0.0598221980035305,
-0.06457551568746567,
-0.005091456696391106,
0.009052551351487637,
-0.017573736608028412,
0.011284290812909603,
0.06843999773263931,
-0.07806255668401718,
-0.023534702137112617,
-0.005791894160211086,
-0.009250606410205364,
-0.02399844117462635,
-0.06797625869512558,
0.0009015114628709853,
-0.012762455269694328,
0.05580313503742218,
-0.033157266676425934,
-0.044905293732881546,
0.013757560402154922,
-0.021177368238568306,
0.011622432619333267,
-0.031688760966062546,
-0.04019062593579292,
-0.04216150939464569,
-0.015003855340182781,
-0.013960445299744606,
-0.027592409402132034,
0.006893271580338478,
-0.06380261480808258,
-0.0445188470184803,
-0.0014528040774166584,
-0.02050108276307583,
0.02241400256752968,
0.052209168672561646,
-0.031592149287462234,
0.0490402914583683,
-0.017254916951060295,
-0.04165912792086601,
-0.01939970627427101,
0.01264652144163847,
0.05383225157856941,
0.03313794359564781,
0.08648712933063507,
0.006637249607592821,
0.0353020541369915,
0.018472230061888695,
0.019960055127739906,
-0.036287497729063034,
-0.003941772971302271,
0.0003740699030458927,
-0.027341218665242195,
-0.025853391736745834,
0.01447248924523592,
0.02678086794912815,
0.0434754341840744,
0.02981448732316494,
0.0013912139693275094,
-0.0006708501023240387,
0.0897332951426506,
0.07172480970621109,
-0.07585980743169785,
0.0806904062628746,
-0.04509851709008217,
-0.018733082339167595,
-0.0820816233754158,
-0.023921150714159012,
-0.04892435669898987,
0.03570782393217087,
0.025698812678456306,
0.00960324052721262,
0.03619088605046272,
0.021158045157790184,
-0.00008023330883588642,
0.016230829060077667,
0.0365193672478199,
0.01003799494355917,
-0.020018022507429123,
0.037427518516778946,
0.02166042849421501,
0.01320687122642994,
0.003019127529114485,
-0.008926955983042717,
-0.0021798100788146257,
0.06480738520622253,
-0.0304328054189682,
0.004596319515258074,
0.018559180200099945,
-0.0036881661508232355,
-0.01203786488622427,
-0.0012475034454837441,
-0.011255307123064995,
-0.011728706769645214,
-0.07879681140184402,
-0.03849025070667267,
0.03723429515957832,
0.02919616922736168,
-0.0067676762118935585,
-0.007047851104289293,
-0.04772636666893959,
-0.002560220193117857,
-0.027573086321353912,
-0.02154449373483658,
-0.026819512248039246,
0.05255696922540665,
0.006516484543681145,
0.01635642535984516,
-0.0346064455807209,
-0.0806904062628746,
-0.024056406691670418,
0.05155220627784729,
-0.01651100441813469,
-0.06333887577056885,
-0.039688240736722946,
-0.0019213727209717035,
0.02598864957690239,
0.04842197522521019,
-0.0208682082593441,
0.03025890327990055,
0.03284810855984688,
-0.0598221980035305,
-0.05120440199971199,
0.0007698775152675807,
-0.00516874622553587,
-0.02799818105995655,
0.054991595447063446,
0.06898102164268494,
-0.03016229160130024,
-0.04919486865401268,
0.010704617947340012,
-0.0003939961316064,
-0.04927216097712517,
-0.05591906979680061,
-0.023322155699133873,
0.025061173364520073,
0.012260072864592075,
0.03874144330620766,
-0.05831504985690117,
-0.07404349744319916,
0.034567803144454956,
-0.021795684471726418,
0.009757819585502148,
0.03613291680812836,
-0.0366932675242424,
0.021022789180278778,
0.00045166147174313664,
-0.09467983990907669,
-0.019167836755514145,
-0.03323455527424812,
-0.018404601141810417,
0.0692128911614418,
0.01966055855154991,
-0.026123905554413795,
0.013786543160676956,
-0.05560991168022156,
-0.0062942770309746265,
-0.06689420342445374,
0.039166536182165146,
-0.031089767813682556,
-0.0657348558306694,
0.04424833133816719,
-0.00929891224950552,
0.05340715870261192,
0.01825002208352089,
-0.026529677212238312,
0.008105752989649773,
-0.05023828148841858,
0.05348444730043411,
0.02763105370104313,
-0.010839874856173992,
0.038548219949007034,
0.013525690883398056,
-0.007526081055402756,
0.02432692050933838,
0.03416202962398529,
0.04745585471391678,
-0.04815145954489708,
0.0212160125374794,
-0.0330413319170475,
-0.02303231880068779,
-0.02581474743783474,
0.023360799998044968,
0.009695022366940975,
0.014588424004614353,
-0.0493880957365036,
-0.033775582909584045,
-0.034992896020412445,
-0.0007161370594985783,
0.030220258980989456,
-0.014163331128656864,
0.023843860253691673,
-0.11802131682634354,
-0.030973833054304123,
0.027360539883375168,
-0.003067433601245284,
-0.02496456168591976,
-0.0248679481446743,
-0.01473334152251482,
0.008245840668678284,
-0.016395069658756256,
0.0633002370595932,
0.03928247094154358,
-0.018713759258389473,
-0.06484602391719818,
0.014404861256480217,
-0.01729356124997139,
0.03650004416704178,
-0.03887670114636421,
-0.04876977577805519,
0.019534962251782417,
0.022027553990483284,
0.017718655988574028,
0.024578113108873367,
-0.04892435669898987,
-0.023515379056334496,
-0.0518227182328701,
-0.006815982051193714,
0.03632614016532898,
0.01679117977619171,
0.04007469117641449,
-0.022587904706597328,
0.006951238960027695,
0.03242301195859909,
-0.02452014572918415,
-0.028539208695292473,
0.027669699862599373,
0.021950263530015945,
0.014820292592048645,
-0.013970106840133667,
0.03764006495475769,
-0.011004115454852581,
0.025331687182188034,
-0.004750899039208889,
0.01059834472835064,
-0.010656312108039856,
0.05657603219151497,
-0.05190000683069229,
-0.05588042736053467,
-0.016752533614635468,
0.04405510798096657,
0.02583407051861286,
0.03284810855984688,
-0.005009336397051811,
-0.04509851709008217,
0.007951173931360245,
-0.026046616956591606,
-0.009709513746201992,
-0.03597833961248398,
-0.010231219232082367,
0.005323325749486685,
-0.0179988294839859,
0.08818750828504562,
0.009120180271565914,
-0.026375098153948784,
0.03636478632688522,
-0.00904289074242115,
0.01609557308256626,
0.011554804630577564,
-0.01789255626499653,
-0.021930942311882973,
-0.07064275443553925,
-0.04571683704853058,
-0.03605562821030617,
0.01904224045574665,
-0.01807611994445324,
0.0015542467590421438,
0.029060913249850273,
0.0017305638175457716,
-0.017235595732927322,
0.03891534358263016,
0.05978355556726456,
0.01937072165310383,
-0.005960965063422918,
-0.00415190402418375,
0.034896284341812134,
-0.021158045157790184,
0.0004314333200454712,
-0.10387730598449707,
0.016462698578834534,
0.008975261822342873,
0.0037751169875264168,
-0.027534442022442818,
0.021409235894680023,
0.008917294442653656,
0.01146785356104374,
0.021699072793126106,
-0.003610876388847828,
0.002354919444769621,
-0.006931916810572147,
0.038123127073049545,
-0.039243824779987335,
0.045755479484796524,
0.022626549005508423,
0.06728065013885498,
0.042277444154024124,
0.02929278276860714,
0.02546694315969944,
-0.03858686238527298,
-0.007724135648459196,
-0.008129906840622425,
0.0013223778223618865,
0.022587904706597328,
0.020269213244318962,
0.0029949743766337633,
-0.019148513674736023,
0.027573086321353912,
0.024713369086384773,
-0.008274824358522892,
0.05139762535691261,
-0.04274118319153786,
0.03850957378745079,
0.07226583361625671,
-0.018472230061888695,
0.0019129191059619188,
0.03957230597734451,
0.07284550368785858,
0.011332596652209759,
-0.05835369601845741,
-0.005458582658320665,
0.02633645199239254,
-0.08084499090909958,
0.004770221188664436,
-0.00024153020058292896,
0.039495017379522324,
-0.0427798293530941,
0.009390694089233875,
-0.02285841852426529,
-0.030626028776168823,
-0.08200433105230331,
0.026394419372081757,
0.014984533190727234,
0.08865123987197876,
0.016288796439766884,
-0.004410341382026672,
0.0024370397441089153,
-0.044209688901901245,
-0.05371631681919098,
0.0032509963493794203,
0.026568321511149406,
0.018134087324142456,
0.002083197934553027,
0.03953366354107857,
-0.10720076411962509,
-0.06302972137928009,
-0.009294082410633564,
-0.03746616467833519,
-0.03849025070667267,
-0.015284030698239803,
-0.09707581996917725,
-0.09050619602203369,
-0.02937007136642933,
-0.0013223778223618865,
-0.04413239657878876,
0.058817435055971146,
-0.0052943420596420765,
-0.02904159016907215,
0.007100987713783979,
0.0010905088856816292,
0.010762585327029228,
-0.06407313048839569,
-0.01104276068508625,
0.01702304743230343,
-0.03659665584564209,
0.014810631982982159,
-0.013003985397517681,
-0.0013429078971967101,
-0.03804583474993706,
0.05928117036819458,
0.00560350064188242,
-0.07133835554122925,
-0.025138461962342262,
0.004941707942634821,
0.01233736239373684,
0.003065018216148019,
0.02268451638519764,
0.006651741452515125,
0.027862923219799995,
0.06380261480808258,
-0.00629910733550787,
-0.013970106840133667,
0.0022752145305275917,
0.055068884044885635,
0.0106080062687397,
-0.030741963535547256,
0.031611472368240356,
-0.030452126637101173,
-0.02052040584385395,
0.0056807901710271835,
-0.049078937619924545,
0.020617017522454262,
-0.01902291737496853,
0.043861884623765945,
0.06963798403739929,
-0.07350246608257294,
-0.022027553990483284,
-0.02678086794912815,
0.001556662144139409,
0.02183433063328266,
0.006632419303059578,
0.03261623904109001,
-0.04683753475546837,
0.028887011110782623,
0.00530400313436985,
0.025351010262966156,
-0.03016229160130024,
-0.02426895499229431,
0.043591368943452835,
0.004470724146813154,
-0.07377298176288605,
0.022317390888929367,
0.040461137890815735,
-0.013129581697285175,
0.015023178420960903,
-0.002499837428331375,
-0.021525170654058456,
0.07833307236433029,
-0.01546759344637394,
0.0005211014067754149,
0.0146077461540699,
0.007328025996685028,
0.017593059688806534
] |
711,076
|
yt_dlp.update
|
_block_restart
| null |
def _block_restart(self, msg):
def wrapper():
self._report_error(f'{msg}. Restart yt-dlp to use the updated version', expected=True)
return self.ydl._download_retcode
self.restart = wrapper
|
(self, msg)
|
[
0.08354240655899048,
-0.038105789572000504,
0.035184346139431,
0.06884445995092392,
-0.02384333685040474,
-0.03576500713825226,
-0.020159777253866196,
0.058682918548583984,
0.03278912603855133,
-0.03173667937517166,
0.04278735816478729,
-0.04282364994287491,
0.04231557250022888,
-0.025222403928637505,
-0.04296881705522537,
-0.028851527720689774,
-0.007330828346312046,
0.030738670378923416,
-0.0770825743675232,
-0.025603462010622025,
-0.02707325667142868,
0.023607444018125534,
0.04329543560743332,
0.049247197806835175,
-0.02574862726032734,
0.06692102551460266,
0.03126489371061325,
0.03806949779391289,
0.0017408449202775955,
-0.047142308205366135,
-0.00939942803233862,
-0.010143398307263851,
-0.022554999217391014,
0.08397790789604187,
0.010451873764395714,
0.06024343892931938,
-0.023226385936141014,
0.008864132687449455,
-0.05853775143623352,
-0.0010280624264851213,
0.0007286598556675017,
0.00824718177318573,
0.03716221824288368,
-0.02393406629562378,
-0.007471456658095121,
-0.0017941476544365287,
-0.032553233206272125,
0.004908388946205378,
0.027508752420544624,
-0.03547467663884163,
0.020250506699085236,
-0.006972452625632286,
0.023698173463344574,
0.007779932115226984,
0.03689003363251686,
0.05207791551947594,
0.04968269169330597,
0.04699714109301567,
0.033133890479803085,
-0.03240806609392166,
0.02079487405717373,
-0.0017907453002408147,
-0.06507017463445663,
0.08905867487192154,
0.020740438252687454,
-0.022573145106434822,
-0.001944983028806746,
-0.029704371467232704,
-0.011513392440974712,
-0.02012348733842373,
0.013418681919574738,
0.008814232423901558,
-0.07156630605459213,
-0.017519591376185417,
0.04423900693655014,
-0.01215756218880415,
-0.03756142035126686,
-0.038940489292144775,
-0.01907104067504406,
0.021992484107613564,
0.0003433490637689829,
0.008619166910648346,
0.008160989731550217,
0.044275298714637756,
-0.004429798107594252,
-0.022518707439303398,
0.09493785351514816,
-0.04318656399846077,
-0.049718983471393585,
0.02707325667142868,
-0.0031686779111623764,
0.01887143962085247,
-0.001715894672088325,
0.019669845700263977,
0.0299221184104681,
-0.029341459274291992,
0.0349665991961956,
-0.055997367948293686,
0.013763448223471642,
-0.03621864691376686,
0.009880287572741508,
0.02019606903195381,
0.03737996518611908,
-0.03282541781663895,
0.07330828160047531,
-0.062493495643138885,
-0.018327070400118828,
-0.040101807564496994,
0.022518707439303398,
-0.05919099599123001,
-0.02908742055296898,
-0.04518258199095726,
-0.08630054444074631,
-0.004098640754818916,
-0.02774464525282383,
-0.0035792223643511534,
0.004686105065047741,
0.001118223532103002,
0.025313131511211395,
0.03162780776619911,
-0.004032862838357687,
0.028942255303263664,
-0.060787808150053024,
-0.03222661092877388,
0.03973889723420143,
0.047614093869924545,
-0.013618283905088902,
0.059263575822114944,
0.08709894865751266,
0.007380728609859943,
-0.0133914640173316,
0.010860150679945946,
-0.043694641441106796,
-0.01855389028787613,
0.009227044880390167,
-0.017800847068428993,
0.045799531042575836,
0.012466037645936012,
0.0318274088203907,
-0.03663599491119385,
-0.005039944313466549,
0.026764782145619392,
-0.02573048137128353,
0.022264668717980385,
0.047142308205366135,
0.009136317297816277,
0.009925651364028454,
0.053239233791828156,
0.035982754081487656,
0.022536853328347206,
0.06311044842004776,
0.007013279944658279,
-0.028543051332235336,
0.023317115381360054,
-0.023807046934962273,
0.03926711156964302,
-0.04990043863654137,
0.014779603108763695,
0.01268378458917141,
-0.03763400390744209,
0.004608985967934132,
-0.0815826803445816,
0.015469136647880077,
-0.034857723861932755,
0.03162780776619911,
-0.001301947864703834,
-0.03634566441178322,
0.0486302487552166,
-0.013609210960566998,
0.07330828160047531,
-0.023190096020698547,
0.010860150679945946,
0.005012725945562124,
0.0038264563772827387,
0.04242444783449173,
0.09958313405513763,
0.025712335482239723,
-0.022046921774744987,
-0.03191813454031944,
0.0020175655372440815,
0.009980088099837303,
0.0037266556173563004,
-0.07247358560562134,
0.008918569423258305,
0.017401644960045815,
0.029395895078778267,
-0.014071923680603504,
0.04394868016242981,
-0.020087195560336113,
0.0058338153176009655,
0.0032321875914931297,
0.01615867018699646,
0.05940874293446541,
0.033696405589580536,
0.00020059410599060357,
-0.02602081187069416,
-0.015596156008541584,
0.011812794953584671,
0.02897854708135128,
-0.011504319496452808,
0.013509410433471203,
0.02467803657054901,
0.03155522421002388,
-0.010950878262519836,
0.013291662558913231,
0.036763016134500504,
0.007358046714216471,
-0.009172608144581318,
-0.0327165424823761,
-0.012484182603657246,
-0.03164595365524292,
0.019415806978940964,
-0.006990598049014807,
0.03641824796795845,
-0.024641744792461395,
-0.02792610041797161,
0.07221954315900803,
0.0055389488115906715,
-0.013881395570933819,
0.003914916422218084,
-0.023607444018125534,
-0.01858110912144184,
-0.06307415664196014,
-0.02823457680642605,
-0.009227044880390167,
0.005929079372435808,
0.008532974869012833,
-0.02032308839261532,
-0.019760575145483017,
-0.008047579787671566,
-0.01287431363016367,
-0.003853674978017807,
-0.0066549042239785194,
-0.05527154356241226,
0.00667304964736104,
0.006582321599125862,
0.00139381003100425,
0.05058997496962547,
0.001990347169339657,
0.0625297874212265,
0.0019347761990502477,
0.019706137478351593,
0.05262228101491928,
0.04053730145096779,
0.02594822831451893,
0.0033750843722373247,
0.04416642710566521,
0.02299049310386181,
-0.05367472767829895,
0.019034748896956444,
0.009372210130095482,
-0.04402125999331474,
0.0133914640173316,
0.011549683287739754,
0.019052894786000252,
-0.04148087650537491,
0.05570703744888306,
-0.0019767379853874445,
0.05284002795815468,
0.03041204996407032,
-0.02458730712532997,
0.036091625690460205,
-0.08252625167369843,
-0.02201062999665737,
-0.004863024689257145,
0.0065460302866995335,
-0.003969353158026934,
0.03748884052038193,
0.002269336022436619,
0.04119054600596428,
0.034948453307151794,
0.0006101462640799582,
0.00011993117368547246,
0.012810803949832916,
0.006155899725854397,
0.02583935484290123,
0.004967362154275179,
-0.035148054361343384,
0.007448774762451649,
0.007276391610503197,
0.06104184687137604,
0.043222855776548386,
0.029813244938850403,
0.03538394719362259,
-0.05098917707800865,
-0.002237581182271242,
0.006836360320448875,
0.07788097858428955,
-0.0385412871837616,
-0.022627580910921097,
-0.012384382076561451,
0.056759484112262726,
0.09421203285455704,
-0.022809037938714027,
0.051061760634183884,
0.03300687298178673,
-0.03963002189993858,
0.022192087024450302,
0.01526046171784401,
0.023788901045918465,
-0.01526046171784401,
-0.03872274234890938,
-0.0551263764500618,
0.015051787719130516,
0.010896441526710987,
-0.03596460819244385,
0.043730929493904114,
-0.01888958550989628,
-0.009735122323036194,
0.00469971401616931,
0.034367792308330536,
0.015596156008541584,
-0.008251718245446682,
-0.06692102551460266,
0.017419790849089622,
-0.01177650410681963,
0.04775925725698471,
-0.000208816330996342,
0.039339691400527954,
0.03727109357714653,
-0.03041204996407032,
-0.008800623007118702,
0.035510968416929245,
0.06623149663209915,
0.0057249413803219795,
-0.0407913401722908,
0.07657449692487717,
0.026456305757164955,
0.021375533193349838,
-0.050481099635362625,
0.020740438252687454,
-0.040863923728466034,
-0.0037720196414738894,
-0.07218325138092041,
-0.012810803949832916,
-0.032190319150686264,
0.02594822831451893,
-0.08259883522987366,
-0.011885377578437328,
-0.021284805610775948,
0.010370219126343727,
-0.030194303020834923,
-0.03661784902215004,
-0.010978097096085548,
0.0036427320446819067,
0.014217088930308819,
0.03843241184949875,
0.01600443199276924,
0.0434768907725811,
0.0025902865454554558,
-0.021030766889452934,
0.017383499071002007,
-0.03211773931980133,
0.07399781793355942,
0.017229260876774788,
-0.05672319233417511,
0.0029463942628353834,
-0.04474708437919617,
0.02115778625011444,
-0.07378006726503372,
-0.09892988950014114,
-0.00269235554151237,
-0.016176816076040268,
0.05929986760020256,
-0.046851977705955505,
-0.03737996518611908,
-0.05320294201374054,
-0.01855389028787613,
0.038759034126996994,
-0.012529547326266766,
-0.030774962157011032,
-0.03395044431090355,
-0.055997367948293686,
-0.04569065570831299,
0.023099366575479507,
-0.0058338153176009655,
-0.04289623349905014,
-0.0300309918820858,
-0.006582321599125862,
0.01268378458917141,
0.06223945692181587,
-0.0407913401722908,
-0.03175482526421547,
-0.03395044431090355,
0.031137874349951744,
-0.004804051481187344,
0.023425988852977753,
-0.0028012292459607124,
0.035220637917518616,
-0.027200276032090187,
0.03963002189993858,
-0.016548801213502884,
0.049428652971982956,
0.04039213806390762,
-0.018009522929787636,
0.004493307787925005,
0.003935330081731081,
0.00427556037902832,
-0.011576902121305466,
-0.015995359048247337,
-0.019379517063498497,
0.06448951363563538,
-0.004259683191776276,
0.0032140419352799654,
0.035238783806562424,
0.023607444018125534,
-0.0008108821348287165,
-0.021139640361070633,
-0.016095159575343132,
-0.0036268546245992184,
-0.07378006726503372,
-0.0061105359345674515,
-0.013745303265750408,
-0.05175129324197769,
-0.029486624523997307,
0.04115425422787666,
-0.024351414293050766,
0.029432186856865883,
0.020540835335850716,
0.025131676346063614,
0.02554902620613575,
-0.02785351872444153,
0.11533352732658386,
0.027291003614664078,
-0.020268650725483894,
0.012828949838876724,
-0.0004927668487653136,
-0.001254315604455769,
-0.06608632951974869,
0.0036019044928252697,
-0.017964158207178116,
0.06942512094974518,
0.0004122456884942949,
-0.007557648699730635,
-0.014017486944794655,
-0.06713877618312836,
-0.019052894786000252,
0.008700822480022907,
-0.045327745378017426,
0.026655908674001694,
0.06539679318666458,
-0.00250182650052011,
-0.012048687785863876,
-0.024932075291872025,
0.07853422313928604,
0.027581334114074707,
-0.005402856972068548,
-0.010206907987594604,
0.004021521657705307,
0.010179690085351467,
-0.042932525277137756,
-0.012339018285274506,
0.018635546788573265,
0.031428202986717224,
-0.03727109357714653,
-0.023970356211066246,
-0.025821208953857422,
0.0029849535785615444,
0.002640186809003353,
-0.04554549232125282,
-0.02964993380010128,
0.041335709393024445,
-0.05073513835668564,
0.016530655324459076,
0.04202524200081825,
-0.004223391879349947,
-0.002651527989655733,
-0.0347307063639164,
0.00791148841381073,
0.00519418204203248,
-0.0027513287495821714,
-0.08078427612781525,
0.06405401974916458,
-0.02391592040657997,
0.031410057097673416,
-0.004894779529422522,
-0.03821466490626335,
0.02422439493238926,
0.010560747236013412,
-0.017247406765818596,
-0.07094935327768326,
-0.004407116211950779,
0.035710569471120834,
0.020667854696512222,
-0.032843563705682755,
-0.11460769921541214,
0.028198285028338432,
-0.041807495057582855,
0.010987170040607452,
-0.02117593213915825,
-0.0674653947353363,
0.015968140214681625,
0.02193804830312729,
-0.00446608942002058,
0.023807046934962273,
-0.04050101339817047,
-0.059735361486673355,
0.027780935168266296,
0.021284805610775948,
-0.06412660330533981,
0.015178806148469448,
-0.013836030848324299,
-0.05461829900741577,
0.007235563825815916,
0.030557215213775635,
-0.008832378312945366,
-0.02201062999665737,
-0.012919677421450615,
0.04471079260110855,
0.03649083152413368,
-0.046489063650369644,
0.06180396303534508,
0.025040948763489723,
0.02687365561723709,
-0.00239748926833272,
-0.018345216289162636,
-0.018653692677617073,
0.039412274956703186,
0.03224475681781769,
-0.007303609978407621,
0.04775925725698471,
-0.00919982697814703,
0.039702605456113815,
-0.045146290212869644,
0.020849311724305153,
-0.03396859019994736,
0.026438159868121147,
-0.06957028806209564,
0.02059527300298214,
0.042932525277137756,
-0.015940923243761063,
0.0031777508556842804,
0.026184121146798134,
-0.03175482526421547,
0.007172054145485163,
0.007879733107984066,
-0.026075247675180435,
-0.02231910638511181,
-0.11678517609834671,
-0.06452580541372299,
-0.009335918352007866,
0.02505909465253353,
0.019687991589307785,
-0.01696614921092987,
-0.007231027353554964,
0.03901307284832001,
-0.03538394719362259,
0.04892057552933693,
-0.06354594230651855,
-0.04627131670713425,
-0.030756816267967224,
0.01262934785336256,
0.012738221324980259,
-0.016467144712805748,
-0.05461829900741577,
0.011504319496452808,
0.014552783221006393,
-0.007956852205097675,
0.03623679280281067,
0.0034522032365202904,
-0.010533529333770275,
-0.011504319496452808,
0.02870636247098446,
-0.09203455597162247,
0.019978322088718414,
0.007766323164105415,
0.061441052705049515,
0.004239269066601992,
-0.024551017209887505,
-0.03897678107023239,
-0.00033144099870696664,
-0.04021068289875984,
0.0974782407283783,
0.04039213806390762,
0.012538619339466095,
0.012139416299760342,
0.06151363253593445,
-0.06637665629386902,
-0.015904631465673447,
-0.04024697467684746,
-0.034186337143182755,
-0.05832000449299812,
0.012475109659135342,
-0.01925249770283699,
-0.05577962100505829,
-0.024061085656285286,
0.00769827701151371,
0.04957382008433342,
-0.012901531532406807,
0.04253331944346428,
-0.05251340940594673,
0.028742654249072075,
-0.022917911410331726,
-0.04870282858610153,
-0.0031913600396364927,
0.044855959713459015,
0.02964993380010128,
0.05367472767829895,
0.056868355721235275,
0.08056652545928955,
-0.036581557244062424,
0.03393229842185974,
0.034077465534210205,
-0.005103453993797302,
-0.016657674685120583,
0.029613643884658813,
-0.012130343355238438,
-0.02270016446709633,
-0.0010286294855177402,
0.01534211728721857,
-0.047614093869924545,
-0.03462183102965355,
0.017084095627069473,
-0.008229035884141922,
-0.019687991589307785,
0.012593056075274944,
-0.012048687785863876,
0.015441917814314365,
0.050299644470214844,
0.02680107206106186,
-0.050299644470214844,
0.04935607314109802,
0.01515158824622631,
-0.0423518642783165,
-0.06223945692181587,
0.07272762060165405,
0.017419790849089622,
0.015233243815600872,
-0.012357163242995739,
-0.010061743669211864,
-0.05988052859902382,
0.051533546298742294,
0.03955743834376335,
-0.027526896446943283,
0.03756142035126686,
-0.006296528037637472,
-0.006836360320448875,
0.01593185029923916,
-0.008029434829950333,
-0.010878295637667179,
0.05204162374138832,
0.010651475749909878,
-0.012094052508473396,
0.009526447393000126,
-0.049610111862421036,
-0.02402479387819767,
0.017238333821296692,
-0.03128303959965706,
0.05643286183476448,
-0.04039213806390762,
-0.01839965395629406,
0.017646610736846924,
-0.03650897741317749,
0.038105789572000504,
-0.0198331568390131,
-0.024478433653712273,
-0.004026058129966259,
-0.034385938197374344,
0.032353632152080536,
-0.062312040477991104,
-0.015441917814314365,
-0.018562963232398033,
-0.034567397087812424,
-0.018925875425338745,
0.023425988852977753,
0.012393455021083355,
0.0385412871837616,
-0.037815459072589874,
0.018045812845230103,
-0.07802614569664001,
0.037815459072589874,
-0.06851784139871597,
-0.04242444783449173,
0.02211950346827507,
-0.010969024151563644,
-0.02402479387819767,
-0.02916000224649906,
-0.025803063064813614,
0.0023884165566414595,
0.05058997496962547,
-0.03106529265642166,
-0.004781369585543871,
-0.0475052185356617,
-0.0053711021319031715,
-0.017583100125193596,
0.0484124980866909,
-0.0065551032312214375,
-0.004608985967934132,
-0.014570928178727627,
-0.0770825743675232,
-0.06147734075784683,
0.024387706071138382,
-0.005606994964182377,
-0.00435267947614193,
-0.039230819791555405,
-0.022573145106434822,
-0.07044127583503723,
-0.036853741854429245,
-0.01701151393353939,
-0.012202925980091095,
0.07044127583503723,
-0.01443483680486679,
0.009989161044359207,
0.03251694142818451,
0.005144281778484583,
-0.018336143344640732,
-0.06775572150945663,
-0.054400552064180374,
-0.04663423076272011,
0.016820983961224556,
0.02879709005355835,
-0.03752513229846954,
0.02945033274590969,
0.020250506699085236,
-0.013953977264463902,
-0.050481099635362625,
-0.06848154962062836,
-0.0925426334142685,
0.03897678107023239,
0.049537528306245804,
-0.0407913401722908,
0.022137649357318878,
-0.006160436198115349,
0.02974066138267517,
0.01134100928902626,
-0.015469136647880077,
-0.027508752420544624,
0.010043597780168056,
0.023498570546507835,
0.05127950757741928,
-0.017356280237436295,
-0.062021709978580475,
-0.04260590299963951,
0.02335340529680252,
0.041807495057582855,
-0.014235234819352627,
-0.009626248851418495,
0.08484889566898346,
0.05004560574889183,
0.027309149503707886,
0.010170617140829563,
-0.03937598317861557,
-0.043041396886110306,
0.0033750843722373247,
-0.0010467751417309046,
0.014870330691337585,
-0.006972452625632286,
0.04921090602874756,
0.05149725452065468,
0.012103124521672726,
-0.008319764398038387,
-0.016276616603136063,
-0.007162981200963259,
0.0820181742310524,
0.0033025017473846674,
-0.053529564291238785,
-0.022046921774744987,
0.03355124220252037,
0.007389801554381847,
0.03335164114832878,
0.04917461425065994,
0.011132334358990192,
0.01010710746049881,
0.022337252274155617,
0.00926787219941616,
-0.006246627774089575,
-0.01458000112324953,
0.03616420924663544
] |
711,077
|
yt_dlp.update
|
_call_api
| null |
def _call_api(self, tag):
tag = f'tags/{tag}' if tag != 'latest' else tag
url = f'{API_BASE_URL}/{self.requested_repo}/releases/{tag}'
self.ydl.write_debug(f'Fetching release info: {url}')
return json.loads(self.ydl.urlopen(Request(url, headers={
'Accept': 'application/vnd.github+json',
'User-Agent': 'yt-dlp',
'X-GitHub-Api-Version': '2022-11-28',
})).read().decode())
|
(self, tag)
|
[
0.017842741683125496,
-0.01674705743789673,
-0.14580629765987396,
-0.002075565978884697,
0.004126634914427996,
0.0029663669411092997,
-0.027009082958102226,
0.03915960714221001,
0.02139703743159771,
0.001413032878190279,
0.016657976433634758,
-0.04304349794983864,
0.0220384132117033,
-0.050918180495500565,
-0.015125798992812634,
-0.03064355067908764,
0.04860209673643112,
0.05052622780203819,
-0.03026941418647766,
0.0029530050233006477,
-0.017424065619707108,
0.021236693486571312,
-0.0336722731590271,
0.033191241323947906,
0.017824925482273102,
0.03556077182292938,
0.07454221695661545,
-0.023160822689533234,
-0.039872247725725174,
-0.05273541435599327,
0.019259115681052208,
0.0059149181470274925,
0.0023673034738749266,
0.036255598068237305,
-0.01824360154569149,
0.039622824639081955,
0.040299832820892334,
-0.0212723258882761,
-0.12236040830612183,
0.007963759824633598,
-0.022145310416817665,
0.000022391812308342196,
0.08729849010705948,
-0.06812845170497894,
0.030287230387330055,
-0.040941208600997925,
-0.02800678089261055,
-0.026314258575439453,
-0.06281927973031998,
-0.006721092853695154,
0.05038369819521904,
0.019847044721245766,
0.002910692011937499,
-0.0154553959146142,
-0.009932429529726505,
0.03165906295180321,
0.021842438727617264,
0.06574110686779022,
0.05779516324400902,
0.042651545256376266,
-0.02007865160703659,
-0.005901555996388197,
0.00611534807831049,
0.016657976433634758,
-0.027187243103981018,
0.024158520624041557,
0.03719984367489815,
-0.031694695353507996,
-0.0295389574021101,
-0.005010754801332951,
0.010217485949397087,
0.02574414573609829,
-0.015615739859640598,
-0.02216312661767006,
-0.02045278809964657,
-0.014671490527689457,
0.004246893338859081,
-0.047426238656044006,
-0.031730327755212784,
-0.054802071303129196,
-0.012907705269753933,
-0.031944118440151215,
0.039195239543914795,
0.018109982833266258,
-0.01325511746108532,
-0.03338721767067909,
0.058971017599105835,
-0.04012167081236839,
-0.04489636421203613,
0.034848131239414215,
-0.025672880932688713,
0.01713010109961033,
-0.023463696241378784,
0.021201061084866524,
0.010662886314094067,
-0.00842252280563116,
0.013477817177772522,
-0.0031890671234577894,
-0.04012167081236839,
-0.027739539742469788,
0.01870681904256344,
-0.044860731810331345,
-0.05608482286334038,
0.03479468449950218,
-0.04821014404296875,
-0.02344588004052639,
0.029129188507795334,
0.019455092027783394,
-0.0648859366774559,
0.0019653295166790485,
0.002790433820337057,
-0.011562595143914223,
-0.020684396848082542,
-0.01112610287964344,
0.009255421347916126,
0.013718334026634693,
-0.0379481166601181,
-0.011473515070974827,
-0.025851041078567505,
-0.044825099408626556,
-0.04279407486319542,
-0.02139703743159771,
0.012845348566770554,
-0.008213183842599392,
0.003088852157816291,
0.01739734224975109,
-0.017762569710612297,
0.022430365905165672,
0.002843881957232952,
-0.013647070154547691,
0.016221484169363976,
0.03951592743396759,
-0.03662973269820213,
0.01632837951183319,
0.04183201119303703,
-0.06392387300729752,
0.02161082997918129,
-0.021414853632450104,
0.012765176594257355,
-0.0024162973277270794,
-0.0008484878344461322,
-0.004984030965715647,
-0.030928606167435646,
-0.03176596015691757,
-0.02651023492217064,
0.012471212074160576,
-0.0007783373002894223,
-0.042437754571437836,
0.047853823751211166,
-0.029734933748841286,
0.04674923047423363,
-0.021040717139840126,
0.03816191107034683,
0.01336201373487711,
0.020987268537282944,
-0.0051621911115944386,
0.04589406028389931,
-0.030786078423261642,
0.014030113816261292,
0.06342502683401108,
0.03798374906182289,
0.027810804545879364,
-0.014502238482236862,
-0.04015730321407318,
0.01581171527504921,
-0.0018350498285144567,
0.007415917236357927,
0.02868378907442093,
-0.006315778475254774,
0.05986182019114494,
0.00534035125747323,
0.03529353067278862,
-0.07236866652965546,
-0.001609009108506143,
0.03256767988204956,
-0.001818347373045981,
0.029574589803814888,
0.013566897250711918,
0.030786078423261642,
0.022198759019374847,
-0.06438709050416946,
-0.030340678989887238,
-0.024924609810113907,
0.020399341359734535,
-0.05490896850824356,
0.04414809122681618,
0.021967150270938873,
-0.02225220575928688,
-0.04731934517621994,
0.03452744334936142,
0.003592154709622264,
-0.006961608771234751,
0.010466910898685455,
-0.02267979085445404,
0.018297050148248672,
-0.037271108478307724,
-0.0061955200508236885,
0.06773649901151657,
0.017611132934689522,
-0.017593316733837128,
0.09684787690639496,
0.0160700473934412,
-0.009308869019150734,
0.026153914630413055,
0.03073263168334961,
-0.0008512716158293188,
0.03035849519073963,
-0.01849302649497986,
0.018403947353363037,
0.005090927239507437,
0.03082171082496643,
0.08024334162473679,
-0.03468778729438782,
-0.009184157475829124,
-0.03937339782714844,
0.01641746051609516,
0.035649850964546204,
-0.036219965666532516,
0.016355104744434357,
-0.020577501505613327,
0.03499066084623337,
-0.04297223687171936,
0.021771173924207687,
0.005086473189294338,
-0.008333442732691765,
-0.03705731779336929,
0.0890800878405571,
0.04126189649105072,
-0.03164124861359596,
-0.07058706134557724,
0.0040687331929802895,
-0.044397518038749695,
0.05879285931587219,
0.001450891955755651,
-0.006997241172939539,
0.02289358340203762,
-0.028933212161064148,
0.01020857784897089,
-0.01174075622111559,
0.024069439619779587,
0.0667388066649437,
-0.005193368997424841,
-0.008217638358473778,
0.06563421338796616,
-0.08366402238607407,
0.011028114706277847,
-0.03155216947197914,
0.03370790556073189,
0.001136884675361216,
-0.06260548532009125,
0.003171251155436039,
-0.01502781081944704,
-0.002819384913891554,
0.015847347676753998,
-0.012355408631265163,
-0.08216747641563416,
0.008961456827819347,
-0.04931473731994629,
0.06969626247882843,
-0.027401035651564598,
-0.04015730321407318,
-0.012836440466344357,
-0.047853823751211166,
0.09592144191265106,
0.00681017292663455,
-0.026617130264639854,
0.04393430054187775,
-0.009567201137542725,
-0.003327141283079982,
0.01532177533954382,
0.06057446077466011,
-0.01611458882689476,
0.011954547837376595,
-0.03609525039792061,
0.012720637023448944,
-0.026991266757249832,
0.027828620746731758,
0.003988561220467091,
0.01956198737025261,
0.001308363862335682,
-0.0024162973277270794,
-0.059612397104501724,
0.042865339666604996,
0.0310711357742548,
0.027472300454974174,
-0.020826924592256546,
0.0382688045501709,
0.061144571751356125,
0.005465063266456127,
-0.01532177533954382,
0.0483526736497879,
0.041368793696165085,
0.013976666145026684,
0.024354496970772743,
0.011322079226374626,
0.031979750841856,
-0.047711294144392014,
0.07803415507078171,
0.07582496851682663,
-0.007571807596832514,
-0.027133794501423836,
0.017922913655638695,
-0.014306262135505676,
-0.03538260981440544,
-0.006489484570920467,
0.012301960028707981,
0.062213532626628876,
-0.006538478657603264,
-0.04878025874495506,
-0.029271718114614487,
0.014502238482236862,
0.03426020219922066,
0.046820495277643204,
0.05779516324400902,
-0.11045931279659271,
-0.03402859345078468,
-0.0062489681877195835,
0.03385043516755104,
0.025476906448602676,
0.01340655330568552,
0.00432706531137228,
0.01836831495165825,
0.03737800568342209,
-0.02118324488401413,
0.04076305031776428,
-0.015972059220075607,
-0.0517377145588398,
0.021111981943249702,
0.009424673393368721,
0.024443576112389565,
0.029806198552250862,
0.03588145971298218,
0.03709295019507408,
0.02109416574239731,
0.02681310661137104,
-0.047141183167696,
-0.042651545256376266,
-0.062213532626628876,
0.01807435043156147,
-0.023338982835412025,
-0.04514579102396965,
-0.03358319401741028,
-0.0051621911115944386,
0.0379481166601181,
0.020149916410446167,
0.036594100296497345,
0.0575457364320755,
-0.01688067615032196,
0.025245297700166702,
-0.06363881379365921,
-0.008458154276013374,
0.029182637110352516,
0.041796378791332245,
0.03206883370876312,
-0.0036344677209854126,
-0.03262113034725189,
0.014359710738062859,
-0.025334376841783524,
-0.013344197534024715,
-0.02604701742529869,
-0.10917656123638153,
0.020274627953767776,
-0.022911399602890015,
0.046784862875938416,
-0.016738148406147957,
-0.07739277929067612,
-0.0041110459715127945,
0.03556077182292938,
0.025851041078567505,
-0.014689306728541851,
-0.02855907753109932,
0.029164820909500122,
-0.015829531475901604,
0.06249859184026718,
-0.09656281769275665,
0.05943423509597778,
0.0038504868280142546,
-0.08366402238607407,
-0.01802981086075306,
-0.014796203002333641,
-0.018867162987589836,
0.04863772913813591,
0.0021345815621316433,
0.007113045081496239,
0.06805718690156937,
-0.06452962011098862,
-0.032122280448675156,
-0.028202755376696587,
0.01610567979514599,
-0.002803795738145709,
0.015553383156657219,
-0.018831530585885048,
0.000944248924497515,
0.05800895392894745,
-0.032977450639009476,
-0.08124104142189026,
0.023428063839673996,
-0.042865339666604996,
0.0013384283520281315,
0.033779170364141464,
0.010930126532912254,
0.025726329535245895,
0.0074960896745324135,
-0.013014600612223148,
0.036772262305021286,
-0.030572285875678062,
0.03278147429227829,
0.009602833539247513,
-0.050027377903461456,
0.0022225482389330864,
-0.07846174389123917,
-0.03185503929853439,
-0.0538756363093853,
-0.04475383833050728,
-0.009593925438821316,
0.05512275919318199,
0.06998132169246674,
0.04739060625433922,
-0.024603920057415962,
0.001979805063456297,
0.033868249505758286,
0.0002992534136865288,
0.0027169426903128624,
0.05626298487186432,
-0.0529492050409317,
-0.008805566467344761,
0.06816408783197403,
-0.00538043724372983,
0.021984966471791267,
-0.0070016952231526375,
0.03418893739581108,
0.012533568777143955,
-0.019633252173662186,
-0.0006547386292368174,
0.0232677198946476,
-0.0007621915428899229,
-0.059149179607629776,
-0.0005790205905213952,
0.01730826124548912,
0.012471212074160576,
-0.014938730746507645,
0.027401035651564598,
0.030340678989887238,
-0.04147569090127945,
0.029432062059640884,
0.037271108478307724,
0.007126407232135534,
-0.007696519605815411,
0.022091861814260483,
-0.08373528718948364,
-0.02007865160703659,
0.023053927347064018,
-0.005113197024911642,
0.009072806686162949,
-0.0007510564755648375,
-0.11979490518569946,
0.02200278267264366,
0.018421761691570282,
-0.003935113083571196,
-0.019971756264567375,
-0.005286903120577335,
0.01654217205941677,
0.0032892823219299316,
0.02834528498351574,
0.01502781081944704,
-0.023944728076457977,
0.020773475989699364,
-0.021842438727617264,
-0.06531351804733276,
-0.05426758900284767,
0.038874551653862,
-0.00846260879188776,
0.02169990912079811,
0.04279407486319542,
-0.01524160336703062,
-0.00854723434895277,
0.015651371330022812,
0.01328184176236391,
-0.04140442609786987,
-0.06809282302856445,
-0.052450355142354965,
0.0024363405536860228,
0.006382588297128677,
0.05016990751028061,
-0.031017687171697617,
-0.00002644565211085137,
0.05212966725230217,
0.026706211268901825,
0.02966366894543171,
-0.035614218562841415,
-0.0057768439874053,
0.028452180325984955,
-0.035489507019519806,
0.0000184249638550682,
-0.01870681904256344,
-0.005901555996388197,
-0.014074654318392277,
0.038767654448747635,
-0.026492418721318245,
0.005451701581478119,
0.007113045081496239,
-0.01952635496854782,
0.07482727617025375,
-0.01940164342522621,
0.005901555996388197,
0.0019252434140071273,
-0.005286903120577335,
0.043114762753248215,
0.021254509687423706,
0.006681006867438555,
-0.04382740333676338,
-0.03094642236828804,
-0.0014464379055425525,
-0.051310133188962936,
0.06812845170497894,
0.03709295019507408,
-0.0330665297806263,
0.008814474567770958,
-0.04300786554813385,
0.03905270993709564,
0.02485334500670433,
0.0031979752238839865,
0.08181115239858627,
-0.023980360478162766,
0.017379526048898697,
-0.05084691569209099,
-0.03397514671087265,
-0.00183059589471668,
-0.048530831933021545,
0.0483526736497879,
-0.03039412572979927,
-0.006306870374828577,
-0.03328032046556473,
-0.043079130351543427,
-0.013753965497016907,
-0.007754421792924404,
-0.02412288822233677,
-0.009219788946211338,
-0.036380309611558914,
-0.005255725234746933,
0.0156870037317276,
-0.024497024714946747,
-0.0067968107759952545,
0.002287131268531084,
-0.041796378791332245,
0.03456307575106621,
-0.008257724344730377,
0.056548040360212326,
0.056975625455379486,
-0.009531569667160511,
-0.08159736543893814,
0.026884371414780617,
0.032977450639009476,
0.01244448870420456,
-0.029271718114614487,
0.015223787166178226,
-0.01329965703189373,
-0.012845348566770554,
0.008605136536061764,
-0.02451484091579914,
0.0005623180768452585,
0.038090646266937256,
-0.038981448858976364,
0.061750318855047226,
-0.03155216947197914,
0.04824577644467354,
0.05579976737499237,
0.025904489681124687,
0.045288316905498505,
-0.03873202204704285,
0.04083431139588356,
-0.08922261744737625,
0.013504541479051113,
-0.006436036434024572,
0.043969932943582535,
0.023285536095499992,
0.006030722055584192,
0.005803567823022604,
0.015375223010778427,
0.001361811882816255,
0.031979750841856,
-0.056583672761917114,
0.06431582570075989,
-0.04992048069834709,
-0.035525139421224594,
0.023499326780438423,
0.01210598461329937,
-0.013887586072087288,
0.07129970192909241,
-0.00463661877438426,
0.0031846133060753345,
-0.05084691569209099,
0.02830965258181095,
-0.03495502844452858,
-0.03189067170023918,
-0.015357407741248608,
-0.05751010403037071,
0.006342502310872078,
0.004398329183459282,
-0.013183853588998318,
0.03187285736203194,
0.033191241323947906,
-0.0031512081623077393,
-0.03183722496032715,
0.010600530542433262,
0.04414809122681618,
-0.017762569710612297,
-0.06477904319763184,
-0.015437579713761806,
-0.026100466027855873,
-0.0024630643893033266,
-0.03525789827108383,
-0.01931256428360939,
0.03060791827738285,
0.02797114849090576,
0.0330665297806263,
0.028951028361916542,
0.024960240349173546,
0.010689610615372658,
-0.030892975628376007,
0.09264329075813293,
0.031231479719281197,
-0.011348803527653217,
0.00018818168609868735,
-0.026278626173734665,
0.03525789827108383,
0.043328557163476944,
-0.05277104675769806,
-0.009415765292942524,
0.04047799110412598,
0.011589319445192814,
0.012293051928281784,
0.029948726296424866,
0.034759052097797394,
0.004921674728393555,
-0.01764676533639431,
0.04404119774699211,
-0.019063139334321022,
-0.006676552817225456,
0.036380309611558914,
0.023588407784700394,
-0.029913093894720078,
-0.031088951975107193,
0.046820495277643204,
0.01270282082259655,
0.022145310416817665,
-0.03098205476999283,
-0.009344501420855522,
0.05779516324400902,
-0.01870681904256344,
0.020043019205331802,
-0.05811585113406181,
0.03395732864737511,
0.05102507397532463,
-0.01816342957317829,
-0.011215182952582836,
0.011428975500166416,
0.04144005849957466,
0.012177248485386372,
-0.0016268250765278935,
-0.02212749421596527,
-0.025637250393629074,
-0.01314822118729353,
0.0034206754062324762,
-0.0373423732817173,
-0.03748490288853645,
-0.025120584294199944,
-0.09193065017461777,
-0.011330987326800823,
-0.007482727523893118,
0.03866075724363327,
-0.013495633378624916,
0.061108943074941635,
-0.02439012937247753,
-0.02045278809964657,
-0.02911137230694294,
0.05077565088868141,
0.02237691916525364,
0.05537218227982521,
0.06898362189531326,
-0.024960240349173546,
0.007656433619558811,
-0.013335289433598518,
-0.004743514582514763,
-0.03805501386523247,
0.0292360857129097,
-0.03479468449950218,
0.02421196922659874,
0.030892975628376007,
-0.008115196600556374,
-0.011037022806704044,
-0.04090557619929314,
-0.02690218761563301,
-0.050918180495500565,
-0.037876855581998825,
-0.03256767988204956,
-0.019544171169400215,
-0.023178638890385628,
0.026367707177996635,
-0.020132100209593773,
0.09606397151947021,
-0.026118282228708267,
0.05098944157361984,
0.02779298834502697,
0.019579803571105003,
-0.003338276408612728,
-0.028576891869306564,
-0.027988964691758156,
-0.05843653902411461,
-0.05736757814884186,
-0.030714815482497215,
-0.01233759243041277,
-0.025423457846045494,
-0.03709295019507408,
0.07931691408157349,
0.06228479743003845,
-0.0817398875951767,
0.0231073759496212,
-0.022394735366106033,
0.03069699928164482,
-0.03976535052061081,
-0.024140704423189163,
0.012426672503352165,
0.021379221230745316,
0.05230782926082611,
0.03584582731127739,
0.02038152515888214,
0.028113676235079765,
0.008293356746435165,
0.04001477733254433,
-0.020185548812150955,
0.025245297700166702,
-0.023552775382995605,
-0.0615365244448185,
-0.04617911949753761,
-0.06944683939218521,
-0.03349411487579346,
0.002026572125032544,
0.10361795872449875,
-0.014457698911428452,
-0.0502055399119854,
-0.051808979362249374,
-0.0013183853588998318,
-0.06328249722719193,
0.03915960714221001,
-0.04382740333676338,
0.030875159427523613,
-0.08088472485542297,
-0.005473971366882324,
-0.03645157441496849,
0.014822927303612232,
0.023392431437969208,
-0.0052067311480641365,
0.008729849010705948,
0.040513623505830765,
-0.021290142089128494,
0.039836615324020386,
0.043114762753248215,
0.0215751975774765,
-0.0010533720487728715,
-0.017147917300462723,
0.008302263915538788,
0.008903554640710354,
-0.020185548812150955,
-0.010903403162956238,
0.03773432597517967,
0.01913440227508545,
-0.028202755376696587
] |
711,078
|
yt_dlp.update
|
_check_update
|
Deprecated; report whether there is an update available
|
def _check_update(self):
"""Deprecated; report whether there is an update available"""
return bool(self.query_update(_output=True))
|
(self)
|
[
0.058792341500520706,
-0.03568558394908905,
-0.02237185277044773,
0.01962023414671421,
0.039684828370809555,
-0.03818083927035332,
0.015091173350811005,
0.001906692050397396,
0.02531147003173828,
-0.020919134840369225,
-0.020064596086740494,
-0.054280370473861694,
0.0449146144092083,
0.011100471951067448,
0.0023606661707162857,
-0.047307323664426804,
-0.07328533381223679,
-0.007088407874107361,
0.05841634422540665,
-0.02109004370868206,
-0.028917627409100533,
0.029361989349126816,
0.0518534779548645,
0.028456175699830055,
0.010177569463849068,
0.06368030607700348,
0.07349042594432831,
0.010271568782627583,
0.0052126930095255375,
0.038693562150001526,
-0.04019755497574806,
0.03178888186812401,
0.06436394155025482,
0.014945901930332184,
-0.015125354751944542,
0.06986717879772186,
0.034523408859968185,
-0.011861013248562813,
-0.02141476795077324,
-0.05099893733859062,
0.00916921254247427,
0.005037512164562941,
0.0126300984993577,
-0.014065725728869438,
0.013570092618465424,
-0.014962992630898952,
-0.08770997077226639,
0.03230160474777222,
-0.03654012456536293,
-0.0209874976426363,
0.045427337288856506,
0.028507448732852936,
0.03445504605770111,
0.05609199404716492,
-0.04382080212235451,
-0.03643757849931717,
0.022662395611405373,
0.06132177636027336,
0.01554407924413681,
0.0026277098804712296,
0.010220296680927277,
0.0002511545899324119,
0.011758468113839626,
-0.020269684493541718,
0.05602363124489784,
-0.025140561163425446,
0.021824946627020836,
-0.04334225878119469,
-0.008135219104588032,
0.07123444229364395,
-0.03411322832107544,
0.03242124244570732,
-0.03773647919297218,
0.01310009602457285,
-0.03397650271654129,
-0.014364814385771751,
-0.004356016870588064,
0.04337644204497337,
-0.020936226472258568,
0.0034779771231114864,
0.022730760276317596,
-0.036608487367630005,
0.07171298563480377,
0.018560605123639107,
0.0195176899433136,
-0.025670375674962997,
0.052434563636779785,
-0.00013125197438057512,
-0.04112045839428902,
0.03360050544142723,
-0.013125731609761715,
0.02103877067565918,
0.007519950624555349,
-0.02814854122698307,
0.05718580633401871,
-0.04782005026936531,
0.010100660845637321,
-0.045803334563970566,
-0.054519642144441605,
-0.025226015597581863,
0.022200943902134895,
0.013971726410090923,
0.08620598167181015,
-0.02114131487905979,
0.03160088136792183,
-0.03235287964344025,
-0.03681357577443123,
-0.08319799602031708,
0.00277725444175303,
-0.012476281262934208,
0.038693562150001526,
-0.046794600784778595,
-0.004306880757212639,
0.0021480994764715433,
0.019346781075000763,
-0.03544631227850914,
-0.019346781075000763,
-0.028695447370409966,
-0.0284732673317194,
-0.025294378399848938,
0.006097141653299332,
0.026456553488969803,
-0.0023222120944410563,
-0.06306503713130951,
0.043615713715553284,
-0.03671102970838547,
-0.010271568782627583,
0.05653635412454605,
0.08545397967100143,
0.02368784323334694,
-0.009459756314754486,
-0.028797991573810577,
-0.017825700342655182,
0.001047345343977213,
0.0006152686546556652,
-0.05937342718243599,
0.06412466615438461,
0.014270815066993237,
-0.005998869426548481,
0.012356646358966827,
-0.007742130663245916,
0.01648407243192196,
0.0041936542838811874,
-0.018406787887215614,
-0.004558970220386982,
0.0070798625238239765,
-0.06080905348062515,
0.030028529465198517,
0.006832045968621969,
-0.02491838112473488,
0.016757525503635406,
-0.039308831095695496,
-0.005798052530735731,
-0.018919512629508972,
-0.05014439672231674,
0.012749734334647655,
-0.01866314932703972,
-0.10192950814962387,
0.028695447370409966,
-0.04364989325404167,
0.007336224429309368,
-0.029652532190084457,
-0.004631605930626392,
-0.004755514208227396,
-0.01404863502830267,
0.004981967154890299,
-0.06733773648738861,
-0.03336123377084732,
-0.004746968857944012,
0.06251813471317291,
0.011989193968474865,
0.059305064380168915,
-0.002070122631266713,
0.0007365065393969417,
-0.009861389175057411,
0.08053183555603027,
0.029737986624240875,
0.016936980187892914,
0.027413638308644295,
-0.029173990711569786,
-0.030729252845048904,
-0.029532896354794502,
-0.025089289993047714,
-0.0026063465047627687,
0.00040697460644878447,
0.03695030137896538,
-0.023209301754832268,
-0.007272134069353342,
0.003533522132784128,
0.05520327389240265,
-0.017261704429984093,
-0.01999623142182827,
0.03947973996400833,
0.02804599702358246,
-0.0229871217161417,
-0.03339541703462601,
-0.04228262975811958,
0.04364989325404167,
0.034386683255434036,
0.017466794699430466,
0.025191834196448326,
-0.024952562525868416,
-0.016031166538596153,
0.028729628771543503,
0.004022746346890926,
0.034523408859968185,
-0.017270250245928764,
-0.016466982662677765,
0.04033428058028221,
-0.006024505943059921,
-0.023106757551431656,
0.04939240217208862,
-0.04915313050150871,
0.024679109454154968,
-0.024679109454154968,
0.01929550990462303,
0.1133461594581604,
-0.015133900567889214,
-0.0553399994969368,
0.0187144223600626,
0.03230160474777222,
-0.03042161837220192,
0.020115867257118225,
-0.03862519934773445,
-0.0029032991733402014,
-0.0021288723219186068,
0.020440593361854553,
0.07232825458049774,
-0.0021555768325924873,
-0.0633726716041565,
0.011356834322214127,
0.02056022919714451,
0.004159472417086363,
0.015014264732599258,
0.018030790612101555,
-0.029071444645524025,
-0.018304243683815002,
0.025790011510252953,
0.030301982536911964,
0.00671668304130435,
-0.011732831597328186,
-0.006964499596506357,
-0.00631504924967885,
0.05055457726120949,
-0.017227523028850555,
-0.07116607576608658,
0.007669494953006506,
0.014920265413820744,
-0.013296639546751976,
-0.03999246284365654,
-0.00766522204503417,
-0.054280370473861694,
0.016936980187892914,
-0.0018169652903452516,
-0.023089665919542313,
-0.031720519065856934,
-0.04956331104040146,
0.01286937016993761,
-0.005896324757486582,
-0.041017912328243256,
-0.003574112895876169,
0.035036131739616394,
-0.05547672510147095,
0.06132177636027336,
-0.05609199404716492,
-0.02175658382475376,
0.02905435487627983,
0.026217281818389893,
-0.03971901163458824,
0.0494607649743557,
0.09981025010347366,
-0.035514675080776215,
-0.05557927116751671,
0.012399372644722462,
-0.014458813704550266,
-0.022901667281985283,
0.052571289241313934,
-0.018560605123639107,
-0.04204335808753967,
-0.02090204507112503,
0.03402777761220932,
-0.006238140631467104,
0.0005065819132141769,
0.07102935016155243,
-0.04135972633957863,
-0.06050141900777817,
-0.013134277425706387,
0.06385121494531631,
-0.05786943808197975,
-0.03132743015885353,
0.0028947535902261734,
0.0038240656722337008,
0.04881131649017334,
0.001693057012744248,
-0.010639021173119545,
0.05985197052359581,
-0.017928246408700943,
-0.002717436756938696,
0.01201482955366373,
0.001868237741291523,
-0.02411511354148388,
0.027311092242598534,
-0.10233969241380692,
0.03160088136792183,
0.07533623278141022,
-0.016039712354540825,
0.003636067034676671,
0.004268426448106766,
0.004383789375424385,
0.005960415117442608,
-0.02037222869694233,
-0.023892933502793312,
0.0052126930095255375,
0.006135595962405205,
0.005832234397530556,
-0.03496776893734932,
-0.04334225878119469,
-0.042385175824165344,
-0.001491172006353736,
0.06381703168153763,
-0.060398876667022705,
0.032387059181928635,
0.04354735091328621,
0.0550665482878685,
-0.09413610398769379,
-0.0719180703163147,
0.05585272237658501,
0.01208319328725338,
0.016560981050133705,
-0.014800629578530788,
-0.022354761138558388,
-0.07526786625385284,
0.049494948238134384,
-0.025106379762291908,
-0.02426893077790737,
-0.019346781075000763,
-0.010792838409543037,
-0.07519950717687607,
0.026268554851412773,
0.054417096078395844,
0.006814955268055201,
0.06446648389101028,
-0.015492807142436504,
0.009878480806946754,
0.019774051383137703,
-0.015843167901039124,
0.009254666045308113,
0.023756207898259163,
0.05236620083451271,
-0.07636167854070663,
-0.07718203961849213,
0.005375055596232414,
-0.07294352352619171,
0.059305064380168915,
0.0868896096944809,
-0.029173990711569786,
0.02502092532813549,
0.020748227834701538,
0.003529249457642436,
-0.01109192706644535,
-0.04221426695585251,
0.013775181956589222,
0.021243860945105553,
0.03838592767715454,
-0.052673835307359695,
-0.019791143015027046,
0.01227119192481041,
-0.03168633580207825,
-0.009126485325396061,
0.004135972820222378,
-0.061390142887830734,
-0.012049011886119843,
0.027379456907510757,
-0.02261112444102764,
0.004052655305713415,
0.040881186723709106,
-0.022200943902134895,
0.0358223095536232,
-0.019210055470466614,
-0.01701388880610466,
0.009177757427096367,
-0.0038539746310561895,
-0.05424618721008301,
-0.005336601287126541,
0.048264410346746445,
-0.001327741309069097,
-0.0710977166891098,
0.01574062369763851,
-0.006293685641139746,
-0.030353255569934845,
0.005810870788991451,
0.020645681768655777,
-0.08504380285739899,
0.018270062282681465,
-0.05455382168292999,
0.042761173099279404,
0.06152686849236488,
-0.012587371282279491,
-0.03055834397673607,
-0.028319450095295906,
0.02905435487627983,
0.03411322832107544,
-0.029891803860664368,
0.01970568858087063,
-0.04228262975811958,
-0.01691988855600357,
-0.00400351919233799,
0.005469054915010929,
-0.003529249457642436,
0.01876569539308548,
-0.03148124739527702,
-0.023858752101659775,
-0.05065711960196495,
0.025619104504585266,
-0.04364989325404167,
0.06648319959640503,
0.009186303243041039,
-0.027687091380357742,
0.018304243683815002,
0.042761173099279404,
0.034386683255434036,
-0.011596105061471462,
0.0008443921688012779,
0.07581477612257004,
-0.015236444771289825,
-0.044709522277116776,
-0.02488419972360134,
0.00009727066935738549,
-0.002952435053884983,
0.030148165300488472,
0.03804411366581917,
-0.02132931351661682,
-0.00671668304130435,
0.005845052655786276,
-0.027071822434663773,
-0.0047768778167665005,
-0.0021534403786063194,
-0.019603144377470016,
-0.05704908072948456,
0.04108627513051033,
0.0012807415332645178,
-0.01905623823404312,
0.016800252720713615,
-0.01106629054993391,
0.04481206834316254,
-0.020081685855984688,
-0.023585299029946327,
-0.04498297721147537,
0.041154637932777405,
-0.01914169266819954,
-0.016526799649000168,
-0.010980837047100067,
0.006473139394074678,
0.0016407164512202144,
-0.034335412085056305,
-0.01281809713691473,
-0.04823022708296776,
0.02558492310345173,
-0.01402299851179123,
0.012536099180579185,
-0.0569465346634388,
0.03095143288373947,
-0.08422344923019409,
0.060022879391908646,
0.04635024070739746,
-0.00041124728159047663,
-0.013544456101953983,
-0.016099531203508377,
-0.02549946866929531,
0.024286022409796715,
0.01030575018376112,
-0.046179331839084625,
0.01068174745887518,
-0.007165316492319107,
-0.014304996468126774,
-0.030695071443915367,
-0.040778640657663345,
0.05616035684943199,
-0.018697330728173256,
-0.023756207898259163,
-0.09693899750709534,
0.04443607106804848,
0.013971726410090923,
-0.013074459508061409,
-0.0025187560822814703,
-0.11211562901735306,
0.004674332682043314,
-0.02772127278149128,
-0.014441723003983498,
-0.04488043114542961,
0.0016919889021664858,
-0.03913792595267296,
0.05014439672231674,
-0.05510072782635689,
-0.024576565250754356,
-0.06350939720869064,
-0.016073893755674362,
0.02507219836115837,
0.0566730797290802,
0.019363872706890106,
0.033002328127622604,
0.0179111547768116,
0.0093572111800313,
0.02042350172996521,
0.05462218448519707,
-0.06908100098371506,
0.029293624684214592,
0.02819981426000595,
0.054280370473861694,
0.030267801135778427,
-0.02819981426000595,
0.007126862183213234,
0.05154584348201752,
0.033908139914274216,
0.06932026892900467,
0.012835187837481499,
-0.032387059181928635,
-0.010357022285461426,
0.049118950963020325,
0.018509332090616226,
-0.0013822182081639767,
0.014245178550481796,
0.036608487367630005,
-0.07034572213888168,
-0.035412129014730453,
-0.026986368000507355,
-0.005289601627737284,
-0.02322639338672161,
0.001052152132615447,
-0.03226742520928383,
0.0037856113631278276,
0.011903739534318447,
0.03296814486384392,
-0.061150871217250824,
-0.01785988174378872,
0.033002328127622604,
0.02349984459578991,
0.006473139394074678,
-0.12442100048065186,
-0.024474021047353745,
0.07895947992801666,
-0.0260634645819664,
0.03852265700697899,
-0.04552988335490227,
-0.03852265700697899,
0.012382281944155693,
-0.011433742940425873,
0.0012743325205519795,
0.04898222163319588,
-0.01943223550915718,
-0.03927465155720711,
0.05971524491906166,
0.04282953590154648,
0.03242124244570732,
0.008801760151982307,
0.023277664557099342,
-0.0017368522239848971,
-0.01516808196902275,
0.003813384100794792,
-0.010527931153774261,
-0.03312196210026741,
-0.09406774491071701,
0.03132743015885353,
0.044470254331827164,
0.0008449262822978199,
0.007353315129876137,
0.047512415796518326,
0.009673390537500381,
0.009878480806946754,
0.017706064507365227,
0.012117374688386917,
-0.01885114796459675,
-0.0047597866505384445,
-0.008182219229638577,
0.0042342450469732285,
-0.06275740265846252,
-0.004330380354076624,
-0.011237198486924171,
0.022628214210271835,
-0.06142432242631912,
0.02790927141904831,
-0.014732266776263714,
0.016407163813710213,
0.005417782347649336,
0.019534779712557793,
-0.04539315402507782,
-0.014894628897309303,
0.023910025134682655,
0.04699968919157982,
0.0018212379654869437,
-0.022200943902134895,
-0.010459567420184612,
0.01556971576064825,
-0.05851888656616211,
0.007233679760247469,
0.021807856857776642,
-0.009280302561819553,
-0.035514675080776215,
0.03534376621246338,
0.03098561428487301,
0.02464492805302143,
0.051819294691085815,
0.009459756314754486,
-0.06959372013807297,
0.021585676819086075,
-0.020338047295808792,
-0.03920628875494003,
-0.007387496996670961,
-0.050110217183828354,
-0.008861578069627285,
0.012202829122543335,
-0.0229871217161417,
-0.011220107786357403,
0.03031907230615616,
0.03247251361608505,
-0.01748388446867466,
0.027635818347334862,
0.021448949351906776,
0.011271379888057709,
0.054143644869327545,
0.0010703111765906215,
0.09481973946094513,
0.04306880757212639,
-0.015996985137462616,
-0.05216111242771149,
-0.011245744302868843,
0.010083570145070553,
0.006571411155164242,
-0.010032298043370247,
-0.01866314932703972,
-0.012100283987820148,
0.006985863205045462,
0.053767647594213486,
0.0031425701454281807,
-0.012895005755126476,
-0.03517286106944084,
-0.032387059181928635,
-0.026319826021790504,
0.032062333077192307,
0.07000390440225601,
0.024439839646220207,
0.03718957304954529,
-0.007400314789265394,
0.016313165426254272,
0.023670753464102745,
0.01516808196902275,
-0.022594032809138298,
-0.021312223747372627,
0.036847759038209915,
0.01229682844132185,
-0.040402643382549286,
0.011502105742692947,
0.054382916539907455,
0.020167140290141106,
0.006763682700693607,
-0.018116245046257973,
-0.07417405396699905,
-0.02317512035369873,
0.005883506499230862,
-0.07677185535430908,
-0.0008107446483336389,
-0.04265862703323364,
-0.03927465155720711,
-0.015843167901039124,
0.028695447370409966,
0.07048244774341583,
-0.014518631622195244,
0.043718256056308746,
-0.024371476843953133,
0.010211750864982605,
0.050588756799697876,
0.047512415796518326,
0.0006296890205703676,
0.01943223550915718,
-0.023824570700526237,
-0.04795677587389946,
-0.015526988543570042,
-0.008045492693781853,
0.035514675080776215,
0.021636947989463806,
0.025003835558891296,
-0.012476281262934208,
-0.048742953687906265,
0.009058122523128986,
-0.03947973996400833,
0.04699968919157982,
0.014347723685204983,
0.0025892555713653564,
0.02194458246231079,
-0.06696174293756485,
-0.027550363913178444,
-0.028233995661139488,
-0.007084134966135025,
0.05284474417567253,
0.01615080237388611,
-0.04956331104040146,
-0.045803334563970566,
0.05810870975255966,
-0.00760540459305048,
-0.019825324416160583,
0.07690858095884323,
0.01948350854218006,
-0.006250958889722824,
0.05383601039648056,
0.003999246284365654,
0.05998869612812996,
-0.05363091826438904,
-0.026524916291236877,
-0.04279535636305809,
-0.0007738926215097308,
-0.030865978449583054,
0.027071822434663773,
0.025841284543275833,
-0.06593628972768784,
0.04720478132367134,
-0.03654012456536293,
0.004503424745053053,
-0.047512415796518326,
0.06491084396839142,
0.017518065869808197,
-0.024798745289444923,
0.025602012872695923,
-0.028644174337387085,
-0.009425573982298374,
-0.01900496520102024,
0.040915366262197495,
-0.05995451286435127,
-0.0737638771533966,
-0.017270250245928764,
0.03947973996400833,
-0.0003637135087046772,
0.00016863810014910996,
-0.019227145239710808,
0.013023187406361103,
0.04344480484724045,
0.002587119350209832,
-0.004986240062862635,
0.031207794323563576,
0.027926361188292503,
0.012313919141888618,
0.044094257056713104,
-0.011365380138158798,
0.020748227834701538,
-0.018406787887215614,
-0.005315237678587437,
-0.013997361995279789,
0.018594786524772644,
-0.02852454036474228,
-0.006810682360082865,
0.007058498915284872,
0.041393909603357315,
-0.02013295888900757,
0.01862896792590618,
0.07061917334794998,
0.06508175283670425,
0.0016428527887910604,
-0.017825700342655182,
0.05263965204358101,
-0.003591203596442938,
0.010570657439529896,
0.014185361564159393,
0.06193704530596733,
0.007297770120203495,
0.05069130286574364,
-0.06374867260456085,
0.0007616086513735354,
-0.03677939251065254,
0.020970407873392105
] |
711,079
|
yt_dlp.update
|
_download_asset
| null |
def _download_asset(self, name, tag=None):
if not tag:
tag = self.requested_tag
path = 'latest/download' if tag == 'latest' else f'download/{tag}'
url = f'https://github.com/{self.requested_repo}/releases/{path}/{name}'
self.ydl.write_debug(f'Downloading {name} from {url}')
return self.ydl.urlopen(url).read()
|
(self, name, tag=None)
|
[
0.01857438124716282,
-0.05349140614271164,
-0.12237653136253357,
0.017089486122131348,
-0.005122452508658171,
-0.04857104271650314,
-0.03753536194562912,
0.0712750181555748,
0.02393406629562378,
-0.005684779956936836,
0.03714876249432564,
0.007644140161573887,
0.012151546776294708,
0.008043919689953327,
-0.013539792969822884,
0.006471159867942333,
0.06094224750995636,
0.060661084949970245,
-0.06835794448852539,
0.04906307905912399,
-0.018908264115452766,
0.01683467999100685,
-0.03526848182082176,
-0.0013234466314315796,
0.0001799832534743473,
0.0379219651222229,
0.05683022737503052,
-0.03361664339900017,
-0.05626789852976799,
-0.04449416697025299,
0.03431955352425575,
-0.02579677663743496,
0.008483238518238068,
0.03985496610403061,
0.03324761614203453,
0.07173191010951996,
0.050855498760938644,
0.035725370049476624,
-0.061645157635211945,
-0.012915960513055325,
-0.003545299405232072,
-0.006163637153804302,
0.0582008995115757,
-0.054651208221912384,
0.04547823965549469,
-0.04358038306236267,
-0.0343371257185936,
-0.07823381572961807,
-0.05869293585419655,
-0.03718390688300133,
0.07303228974342346,
0.05781430006027222,
0.023758338764309883,
-0.011808878742158413,
0.016369003802537918,
0.005873687099665403,
0.025392603129148483,
0.10346826910972595,
-0.0026359104085713625,
0.08456000685691833,
-0.00005148262425791472,
-0.03651614487171173,
0.026851139962673187,
-0.006989555433392525,
-0.05205044150352478,
0.039187200367450714,
0.031086169183254242,
-0.05398344248533249,
-0.05022287741303444,
0.006018661893904209,
0.04860618710517883,
0.05380771681666374,
0.001216911943629384,
-0.030787432566285133,
-0.0026578763499855995,
-0.025867067277431488,
0.027308031916618347,
-0.06157486513257027,
-0.03359907120466232,
-0.030348114669322968,
-0.011378346011042595,
-0.07668741792440414,
0.012529360130429268,
-0.04909822344779968,
-0.020314082503318787,
-0.037289343774318695,
0.06617892533540726,
-0.03178907930850983,
-0.02618337608873844,
0.01491046603769064,
0.01876768097281456,
0.03342334181070328,
-0.026165803894400597,
0.0028797320555895567,
0.041928548365831375,
-0.04923880472779274,
0.010982959531247616,
0.015103766694664955,
-0.011202619411051273,
-0.005987909622490406,
0.00481492979452014,
-0.029768213629722595,
-0.031964804977178574,
0.04814929515123367,
-0.036270126700401306,
-0.02347717434167862,
0.03161334991455078,
0.02743104100227356,
-0.042947765439748764,
-0.024724839255213737,
-0.01808234490454197,
-0.011562859639525414,
-0.028520550578832626,
-0.014383284375071526,
-0.012248196639120579,
-0.02256339229643345,
-0.015982402488589287,
-0.028696278110146523,
-0.021596891805529594,
-0.03577809035778046,
-0.029012586921453476,
0.023301446810364723,
-0.021561747416853905,
-0.01846894435584545,
0.006769896484911442,
-0.013082901947200298,
-0.021192720159888268,
-0.006163637153804302,
-0.031595777720212936,
0.026587549597024918,
0.03069956973195076,
0.05120695009827614,
-0.02036680094897747,
0.026077939197421074,
0.028098804876208305,
-0.03217567875981331,
0.02667541243135929,
-0.002497524954378605,
-0.008443699218332767,
0.039608947932720184,
-0.0016507388791069388,
0.0002918721584137529,
-0.004560125060379505,
0.017502443864941597,
0.011536501348018646,
-0.020946700125932693,
-0.0023086180444806814,
-0.05486208200454712,
-0.004876434337347746,
-0.012450283393263817,
0.058903809636831284,
-0.00725753977894783,
-0.04452931135892868,
0.05299936980009079,
0.032808296382427216,
-0.03069956973195076,
0.0007358582806773484,
0.040136128664016724,
-0.03405596315860748,
0.0559164434671402,
0.0299087967723608,
0.05496751889586449,
-0.032474417239427567,
-0.015191630460321903,
0.005008229520171881,
-0.01789783127605915,
-0.024267947301268578,
0.0624535009264946,
0.02576163038611412,
0.026798421517014503,
-0.0338275171816349,
0.03043597750365734,
-0.04076874628663063,
0.026007648557424545,
0.03837885335087776,
-0.0011059840908274055,
0.019048845395445824,
-0.010859950445592403,
0.02416251227259636,
-0.042947765439748764,
-0.026499684900045395,
-0.029838504269719124,
-0.022616110742092133,
0.02785278670489788,
-0.018644671887159348,
0.028977440670132637,
-0.01462930254638195,
-0.008913770318031311,
0.011070823296904564,
0.016738031059503555,
-0.01289838831871748,
0.015358570963144302,
-0.029873650521039963,
-0.03697303682565689,
0.04973084107041359,
-0.07753091305494308,
-0.0004269625642336905,
0.02511143870651722,
0.03707847371697426,
0.003624376840889454,
0.03704332560300827,
-0.0035694618709385395,
-0.014497507363557816,
0.04062816500663757,
0.03502246364951134,
-0.016087839379906654,
0.04786813259124756,
-0.022352520376443863,
-0.005276213865727186,
0.06568688899278641,
0.00045469452743418515,
0.090886190533638,
-0.018855545669794083,
0.026886286213994026,
-0.020718256011605263,
-0.009225686080753803,
-0.06059079244732857,
0.0015090586384758353,
0.025656193494796753,
0.04916851595044136,
-0.025058720260858536,
-0.012371205724775791,
0.03583080694079399,
0.07036123424768448,
0.019136708229780197,
-0.07661712914705276,
0.057497989386320114,
0.02621852234005928,
0.0007265228196047246,
-0.023951638489961624,
-0.0210872832685709,
-0.015797888860106468,
0.07401636242866516,
0.0008511793566867709,
0.014778670854866505,
0.05675993487238884,
-0.019699037075042725,
-0.0011718817986547947,
-0.05489722639322281,
0.021561747416853905,
0.00024395898799411952,
0.014963184483349323,
0.011817664839327335,
0.05718168243765831,
-0.021069709211587906,
-0.02853812277317047,
-0.007644140161573887,
0.041436512023210526,
-0.028098804876208305,
-0.08231069147586823,
0.019312435761094093,
0.035426635295152664,
-0.003299281233921647,
-0.016272353008389473,
0.016245994716882706,
-0.05352655425667763,
0.0167556032538414,
-0.07057210803031921,
0.055143244564533234,
0.047622114419937134,
-0.030453551560640335,
-0.07514102011919022,
-0.023073002696037292,
0.007591421715915203,
-0.012371205724775791,
-0.040522728115320206,
0.025638621300458908,
-0.02363532967865467,
-0.050363458693027496,
0.024408530443906784,
0.042912621051073074,
-0.005333325359970331,
0.000864358909893781,
-0.07668741792440414,
0.02890715003013611,
-0.04934424161911011,
0.01691375859081745,
0.014154838398098946,
0.005153204780071974,
0.008118604309856892,
0.000017864471374196,
-0.011923100799322128,
0.050398606806993484,
0.03431955352425575,
-0.0021954935509711504,
-0.04723551496863365,
0.0004500267677940428,
-0.012133973650634289,
-0.004757818300276995,
0.006840187590569258,
0.05437004566192627,
0.03050627000629902,
0.0477275513112545,
-0.027413466945290565,
0.026569975540041924,
0.010385487228631973,
-0.010763300582766533,
0.09882906824350357,
0.05707624554634094,
0.04231514781713486,
-0.03943321853876114,
0.007196035236120224,
0.009919809177517891,
-0.025058720260858536,
-0.06034477427601814,
-0.008878624998033047,
0.03732449188828468,
-0.047973569482564926,
-0.015165271237492561,
0.019576027989387512,
0.06006361171603203,
-0.0007204821449704468,
0.056513916701078415,
0.07429752498865128,
-0.04790327697992325,
0.025515612214803696,
0.04326407611370087,
0.02913559600710869,
0.05517838895320892,
0.007402515038847923,
0.003428880125284195,
0.02579677663743496,
-0.006194389425218105,
-0.056021880358457565,
-0.0040483190678060055,
-0.009199326857924461,
-0.016193276271224022,
0.0461108572781086,
0.008764402009546757,
0.026165803894400597,
-0.01381217036396265,
0.034671008586883545,
0.025093866512179375,
0.01595604419708252,
0.02040194533765316,
0.0075079514645040035,
-0.004854468163102865,
-0.07661712914705276,
0.053667135536670685,
-0.04723551496863365,
-0.009541995823383331,
-0.032614998519420624,
0.006220748648047447,
0.026499684900045395,
0.017959335818886757,
0.04878191277384758,
0.05440519005060196,
-0.0269741490483284,
0.04653260484337807,
-0.02386377565562725,
0.018099917098879814,
0.01739700883626938,
-0.0014189983485266566,
-0.012986252084374428,
-0.01420755684375763,
0.019734181463718414,
0.040065836161375046,
-0.0398901104927063,
-0.019505737349390984,
-0.0188028272241354,
-0.09327608346939087,
0.025410175323486328,
-0.016342643648386,
0.014541438780725002,
-0.005175170488655567,
-0.08821513503789902,
-0.00027004352887161076,
0.02256339229643345,
0.01044699177145958,
-0.03718390688300133,
-0.07612509280443192,
0.041963692754507065,
-0.01152771431952715,
0.03180665150284767,
-0.06842823326587677,
-0.021245436742901802,
-0.006418441887944937,
-0.09475219249725342,
0.022247083485126495,
-0.04080389067530632,
-0.022018637508153915,
0.018521662801504135,
-0.01521798875182867,
0.042490873485803604,
0.050890643149614334,
-0.06491368263959885,
-0.005082913674414158,
-0.019699037075042725,
-0.010587573051452637,
-0.002563422778621316,
0.07053696364164352,
-0.04210427403450012,
0.07739032804965973,
0.02252824790775776,
-0.008369015529751778,
-0.081748366355896,
-0.022703973576426506,
0.009304763749241829,
-0.028713850304484367,
0.03707847371697426,
-0.030154814943671227,
0.06530028581619263,
-0.0063569373451173306,
0.0017583718290552497,
-0.014567798003554344,
-0.04206912964582443,
0.03344091773033142,
-0.010930242016911507,
-0.026095513254404068,
-0.0018440389540046453,
-0.1049443781375885,
-0.011325628496706486,
-0.04843045771121979,
-0.04062816500663757,
0.046251438558101654,
0.034214116632938385,
0.11295754462480545,
-0.03282586857676506,
-0.009603500366210938,
0.003868198487907648,
0.012951105833053589,
0.04449416697025299,
0.02477755770087242,
-0.0021394805517047644,
-0.01101810485124588,
-0.03577809035778046,
0.04878191277384758,
0.03129704296588898,
-0.06199661269783974,
0.012379991821944714,
0.01381217036396265,
-0.018064772710204124,
0.006075773388147354,
-0.02713230438530445,
0.04874676838517189,
0.038660019636154175,
-0.0376056544482708,
-0.03400324285030365,
-0.007652926258742809,
-0.01925971917808056,
-0.002646893262863159,
0.017994482070207596,
0.004090054426342249,
-0.029346467927098274,
0.022141646593809128,
0.0026908251456916332,
-0.0005826459964737296,
0.012705087661743164,
0.0013959341449663043,
-0.0781635269522667,
0.015481580048799515,
0.07345403730869293,
-0.02219436503946781,
-0.00951563660055399,
-0.014857747592031956,
-0.06252379715442657,
0.035883527249097824,
-0.03533877059817314,
-0.04305320233106613,
-0.06185603141784668,
0.003220203798264265,
0.031630925834178925,
0.026113085448741913,
-0.04073360189795494,
0.0060538072139024734,
-0.04259631037712097,
0.012423924170434475,
-0.015516725368797779,
-0.006150457542389631,
-0.0379219651222229,
0.02765948511660099,
-0.031595777720212936,
0.03191208839416504,
0.0108687374740839,
-0.0005266329389996827,
-0.03354635089635849,
-0.0012311898171901703,
0.03834370896220207,
-0.03764079883694649,
-0.050820350646972656,
-0.030119668692350388,
-0.04593513160943985,
0.005298180039972067,
0.026429394260048866,
0.023582611232995987,
0.00877758115530014,
0.011492568999528885,
0.038203127682209015,
0.03802739828824997,
0.03855458274483681,
-0.020718256011605263,
0.04906307905912399,
-0.04604056850075722,
0.005276213865727186,
-0.019699037075042725,
0.019505737349390984,
-0.0030532628297805786,
0.04502134770154953,
-0.047551821917295456,
-0.020314082503318787,
-0.0019000520696863532,
-0.08287302404642105,
0.04175281897187233,
-0.02804608643054962,
-0.02700929529964924,
0.0012520573800429702,
-0.0001229405024787411,
0.008988454006612301,
0.030365686863660812,
0.03883574530482292,
-0.011729801073670387,
0.0034728117752820253,
-0.02785278670489788,
0.012265769764780998,
0.04354523867368698,
-0.0003102686023339629,
-0.02936404198408127,
-0.01278416533023119,
0.006580989342182875,
0.02082369104027748,
0.010570000857114792,
0.008628212846815586,
0.05331568047404289,
-0.035655081272125244,
-0.04793842136859894,
0.0008061492699198425,
0.0014475540956482291,
0.01288081519305706,
-0.021403592079877853,
0.04864133149385452,
-0.02700929529964924,
-0.009392627514898777,
-0.02082369104027748,
-0.03442499041557312,
-0.003925309982150793,
0.03043597750365734,
-0.02887200564146042,
0.029838504269719124,
-0.07724974304437637,
-0.020419519394636154,
0.03978467360138893,
0.011237764731049538,
0.029961515218019485,
-0.016474438831210136,
-0.022405238822102547,
0.04987142235040665,
-0.025322312489151955,
0.04586483910679817,
0.07478956133127213,
-0.020946700125932693,
-0.04203398525714874,
0.04727065935730934,
0.026359103620052338,
-0.06336728483438492,
0.023881347849965096,
0.022598538547754288,
-0.039116907864809036,
-0.03855458274483681,
0.008918163366615772,
-0.017616666853427887,
0.009058745577931404,
0.05278849974274635,
-0.024180084466934204,
0.031244324520230293,
-0.004138379357755184,
0.07563305646181107,
0.10585816204547882,
-0.05482693389058113,
0.05763857439160347,
-0.04024156555533409,
0.015059834346175194,
-0.011431064456701279,
0.028977440670132637,
-0.01145742367953062,
0.0738757774233818,
0.007846226915717125,
0.02804608643054962,
-0.05155840516090393,
-0.015086193569004536,
0.017757249996066093,
-0.00663810083642602,
-0.0823809877038002,
0.05967700853943825,
-0.012485428713262081,
-0.03484673425555229,
0.026798421517014503,
0.02781764045357704,
0.0058473278768360615,
0.02488299459218979,
0.015244347974658012,
0.0004346506320871413,
-0.05359684303402901,
0.00766610587015748,
-0.016079053282737732,
-0.022633682936429977,
-0.00890937726944685,
-0.013610083609819412,
0.03463586047291756,
-0.00045661654439754784,
0.001021415228024125,
0.059290409088134766,
-0.025708911940455437,
-0.05011744052171707,
0.07092355936765671,
-0.010736941359937191,
0.07102899998426437,
-0.041928548365831375,
-0.03453042730689049,
0.004643595311790705,
0.002864355919882655,
-0.018187781795859337,
-0.030576560646295547,
-0.010956600308418274,
0.028028514236211777,
0.008417339995503426,
0.011773732490837574,
0.024039503186941147,
-0.005825361702591181,
-0.05064462497830391,
0.03851943835616112,
0.011325628496706486,
-0.020261364057660103,
0.008509596809744835,
-0.001290497719310224,
-0.018064772710204124,
0.0075079514645040035,
0.05577586218714714,
0.02101699262857437,
0.013891247101128101,
0.07774177938699722,
-0.03453042730689049,
0.02481270208954811,
0.04909822344779968,
0.014392070472240448,
0.030066950246691704,
0.004305320326238871,
0.06459737569093704,
0.023090574890375137,
-0.01474352553486824,
-0.02040194533765316,
0.028942296281456947,
0.03380994498729706,
-0.03043597750365734,
0.05313995108008385,
-0.04867647960782051,
0.0032926914282143116,
-0.000017478350855526514,
0.008593067526817322,
0.036375563591718674,
-0.05661935359239578,
0.01020097266882658,
-0.03943321853876114,
0.06470281630754471,
0.04410756751894951,
0.0141372662037611,
0.02880171313881874,
0.04537280276417732,
-0.024900566786527634,
0.027993367984890938,
-0.020085636526346207,
0.019804473966360092,
-0.06132884696125984,
-0.0041493624448776245,
0.01915428228676319,
-0.01064029149711132,
-0.04115534573793411,
-0.03897632658481598,
-0.0938384085893631,
-0.022141646593809128,
-0.062137193977832794,
-0.04438873007893562,
0.031367331743240356,
-0.01770453155040741,
-0.05967700853943825,
-0.02576163038611412,
-0.04582969471812248,
0.059360701590776443,
-0.004232832696288824,
0.047094929963350296,
0.013856101781129837,
0.0010971976444125175,
-0.013627656735479832,
0.008061492815613747,
0.0024711659643799067,
-0.035163044929504395,
0.03020753338932991,
-0.021245436742901802,
0.009770440869033337,
0.027641912922263145,
-0.005179564002901316,
0.00032646849285811186,
-0.028098804876208305,
-0.005043375305831432,
-0.016544731333851814,
-0.029082877561450005,
0.006071380339562893,
0.023723192512989044,
0.018451372161507607,
-0.006321791559457779,
0.0037913178093731403,
0.05668964609503746,
-0.022018637508153915,
0.05574071779847145,
0.025287166237831116,
-0.028221813961863518,
-0.029662778601050377,
-0.031174033880233765,
-0.0379219651222229,
-0.04551338404417038,
-0.045232221484184265,
-0.009577141143381596,
-0.07380548864603043,
-0.01801205426454544,
0.012643583118915558,
0.039538655430078506,
-0.001734209363348782,
-0.09882906824350357,
-0.03453042730689049,
-0.02351232059299946,
0.03428440913558006,
-0.03658643737435341,
-0.020770974457263947,
0.008219647221267223,
0.019101563841104507,
-0.0072926850989460945,
0.020261364057660103,
-0.03184179589152336,
-0.010745727457106113,
0.003228990128263831,
0.06515970081090927,
-0.012924747541546822,
0.02572648413479328,
0.029346467927098274,
-0.04354523867368698,
-0.024672120809555054,
-0.03194723278284073,
0.006005482282489538,
0.007165282964706421,
0.03799225389957428,
0.007081812247633934,
-0.057849444448947906,
-0.010376700200140476,
-0.05732226371765137,
-0.02340688370168209,
0.04129592701792717,
-0.050855498760938644,
-0.003975831437855959,
-0.011879169382154942,
0.007341010496020317,
-0.05141782388091087,
0.009717722423374653,
-0.006352543830871582,
0.0019253127975389361,
0.04277203977108002,
0.051312386989593506,
-0.05865779146552086,
0.05472150072455406,
0.030558986589312553,
-0.01409333385527134,
0.010947814211249352,
-0.002477755770087242,
0.02249310165643692,
0.01770453155040741,
-0.033036742359399796,
-0.031015878543257713,
0.00551783898845315,
-0.02690385840833187,
-0.021860484033823013
] |
711,080
|
yt_dlp.update
|
_download_update_spec
| null |
def _download_update_spec(self, source_tags):
for tag in source_tags:
try:
return self._download_asset('_update_spec', tag=tag).decode()
except network_exceptions as error:
if isinstance(error, HTTPError) and error.status == 404:
continue
self._report_network_error(f'fetch update spec: {error}')
self._report_error(
f'The requested tag {self.requested_tag} does not exist for {self.requested_repo}', True)
return None
|
(self, source_tags)
|
[
0.016006283462047577,
-0.05490932986140251,
-0.10824573785066605,
-0.00870470143854618,
-0.05362239107489586,
-0.06953036785125732,
-0.021377459168434143,
0.04779542610049248,
0.012261653319001198,
0.013718395493924618,
0.021359585225582123,
-0.031011616811156273,
-0.02119871787726879,
0.0021460128482431173,
0.0006417930126190186,
-0.00120203522965312,
-0.005129875615239143,
0.026614580303430557,
-0.001466795802116394,
-0.0279372651129961,
-0.027240175753831863,
0.05065528675913811,
-0.004397036042064428,
0.04425634816288948,
0.021341711282730103,
0.030314525589346886,
0.08736874908208847,
-0.05859139934182167,
-0.020394382998347282,
-0.04422060027718544,
0.0402882918715477,
0.009795023128390312,
0.00819081999361515,
0.03371061012148857,
-0.015782857313752174,
0.05598177760839462,
0.049368347972631454,
0.03943033143877983,
-0.04068152233958244,
-0.02010839618742466,
-0.021448956802487373,
-0.031100986525416374,
0.06967335939407349,
-0.07142502814531326,
0.03728543594479561,
-0.00530414842069149,
-0.10745926946401596,
-0.051263004541397095,
0.00860192533582449,
0.010885345749557018,
0.05158473923802376,
0.0673854723572731,
0.0148534020408988,
-0.011716492474079132,
-0.0003965822688769549,
0.05787643417716026,
-0.0033044798765331507,
0.08601031452417374,
0.024398189038038254,
0.08772623538970947,
-0.0036306828260421753,
-0.0009545902721583843,
0.01434399001300335,
0.0035949344746768475,
-0.05980684235692024,
-0.031172484159469604,
0.03580188378691673,
-0.04057427495718002,
-0.04611525684595108,
0.02586386725306511,
-0.0033335252664983273,
0.03914434462785721,
-0.03767866641283035,
-0.015255570411682129,
0.028330497443675995,
-0.007761841174215078,
0.01109983492642641,
-0.03192319720983505,
0.0019170005107298493,
-0.052406951785087585,
0.00321957771666348,
-0.018446102738380432,
0.02597111091017723,
-0.04325539618730545,
0.07943263649940491,
-0.006783232558518648,
0.06627727299928665,
0.02200305461883545,
-0.007833337411284447,
0.002301294356584549,
0.007180931977927685,
0.046472739428281784,
-0.017811570316553116,
-0.03637385740876198,
0.08372242748737335,
0.008159540593624115,
-0.009875456802546978,
-0.01539856381714344,
-0.02495228685438633,
-0.047580935060977936,
0.0305468887090683,
-0.027651280164718628,
-0.02688269317150116,
0.0805765837430954,
0.001713682315312326,
-0.009303485043346882,
-0.0010495466412976384,
-0.012672758661210537,
-0.002023128094151616,
-0.031243979930877686,
0.01289618480950594,
-0.0761437937617302,
-0.018785711377859116,
-0.014746157452464104,
0.01826736144721508,
-0.05723296478390694,
0.02103785239160061,
0.018428228795528412,
0.014200996607542038,
-0.09158704429864883,
-0.004037319216877222,
0.008141666650772095,
-0.07131777703762054,
-0.010903219692409039,
0.008432121016085148,
-0.035086918622255325,
-0.0065687429159879684,
0.02688269317150116,
0.00855277106165886,
-0.017659641802310944,
0.012073975056409836,
0.010760226286947727,
0.005456078331917524,
0.061844490468502045,
0.034103840589523315,
-0.08472337573766708,
-0.008597456850111485,
-0.01153775118291378,
0.039966557174921036,
-0.036105744540691376,
0.010903219692409039,
0.01109983492642641,
-0.012637009844183922,
-0.014674660749733448,
-0.08107705414295197,
0.0002461882249917835,
-0.02116296999156475,
-0.03624873608350754,
0.011609247885644436,
-0.0044260816648602486,
-0.03864387050271034,
-0.037964653223752975,
-0.06574105471372604,
0.025667252019047737,
0.016891052946448326,
-0.03655259683728218,
-0.016015220433473587,
0.006988785229623318,
0.002144895726814866,
0.0013684880686923862,
0.03682070970535278,
-0.014764031395316124,
0.0038675148971378803,
-0.04611525684595108,
0.003668665187433362,
-0.026400091126561165,
-0.08751174062490463,
0.0033938505221158266,
-0.024344565346837044,
0.03060051053762436,
-0.024201571941375732,
0.0805765837430954,
-0.005009225104004145,
-0.006135295145213604,
0.03540865331888199,
0.0019482802599668503,
0.05734021216630936,
-0.03145847097039223,
-0.027436790987849236,
-0.020662494003772736,
-0.022807391360402107,
-0.011859485879540443,
0.0030296652112156153,
0.07864617556333542,
-0.015541556291282177,
0.05183497816324234,
-0.03265603631734848,
0.00916942860931158,
-0.02105572633445263,
-0.02123446762561798,
-0.009088994935154915,
-0.006903883069753647,
-0.030922245234251022,
0.05387263000011444,
0.01344134658575058,
-0.03156571462750435,
-0.0008467869483865798,
0.050440795719623566,
0.021395334973931313,
0.003431833116337657,
0.009875456802546978,
0.00961628183722496,
0.003089990234002471,
0.06785020232200623,
0.004330008290708065,
0.014674660749733448,
0.05151324346661568,
-0.05015480890870094,
-0.0016042032511904836,
0.012681695632636547,
-0.022485656663775444,
0.07671576738357544,
-0.03564101457595825,
-0.022807391360402107,
0.0023079970851540565,
0.019411304965615273,
0.019929654896259308,
-0.01631908118724823,
-0.03530140593647957,
-0.0014768500113859773,
-0.015952661633491516,
-0.019929654896259308,
0.05158473923802376,
-0.0006026933551765978,
0.026650328189134598,
-0.0025403609033674,
0.01149306632578373,
0.051405999809503555,
-0.021448956802487373,
-0.0209842287003994,
0.013244730420410633,
-0.010188254527747631,
0.10338397324085236,
-0.029474440962076187,
0.013763080351054668,
0.03749992698431015,
-0.03632023185491562,
0.003413958940654993,
0.02100210264325142,
0.0004823222407139838,
-0.022378411144018173,
-0.016578255221247673,
0.029349321499466896,
0.04243318736553192,
-0.012485080398619175,
-0.05766194686293602,
0.0010953490855172276,
-0.011680744588375092,
-0.031100986525416374,
-0.02320062182843685,
0.0614512600004673,
0.027597658336162567,
0.013244730420410633,
0.0209842287003994,
0.03728543594479561,
-0.0705670639872551,
0.030993742868304253,
-0.04293366149067879,
0.084651879966259,
-0.008820882998406887,
0.0020309481769800186,
-0.03467581421136856,
-0.01496064756065607,
0.04032403975725174,
-0.043612878769636154,
-0.028116006404161453,
0.035962749272584915,
0.02788364328444004,
-0.05362239107489586,
0.051477495580911636,
0.019625796005129814,
0.007042407523840666,
0.012136534787714481,
-0.030028538778424263,
0.050297804176807404,
-0.013414534740149975,
0.047545187175273895,
-0.011412632651627064,
0.028205377981066704,
-0.015362815000116825,
0.016667626798152924,
-0.00954478606581688,
0.03194107115268707,
0.07528583705425262,
0.06309568136930466,
-0.045722026377916336,
-0.03331737965345383,
-0.025274019688367844,
-0.022807391360402107,
-0.02109147422015667,
0.02993916906416416,
0.025399139150977135,
0.03735693171620369,
-0.02963530831038952,
-0.014317178167402744,
0.04504280909895897,
-0.010527863167226315,
0.0296174343675375,
0.06288119405508041,
0.022861013188958168,
-0.050297804176807404,
0.0499403215944767,
0.009875456802546978,
-0.028384119272232056,
-0.05562429502606392,
-0.04404185712337494,
0.008414247073233128,
-0.06674200296401978,
-0.008423184044659138,
-0.025238271802663803,
0.020555250346660614,
0.026257097721099854,
0.015041081234812737,
0.04207570478320122,
-0.026167726144194603,
-0.007900365628302097,
-0.008901316672563553,
0.03964482247829437,
0.024630552157759666,
0.04618675261735916,
-0.006546400487422943,
0.051441747695207596,
0.01287831086665392,
-0.008557239547371864,
0.004709833301603794,
-0.0029537000227719545,
0.01005419809371233,
0.005380113143473864,
0.004430550150573254,
-0.004169140942394733,
-0.014478045515716076,
-0.03556951880455017,
0.05962809920310974,
0.007873554714024067,
0.010590421967208385,
0.004542263224720955,
-0.0010165912099182606,
-0.09544786065816879,
0.042647674679756165,
-0.034068092703819275,
0.04704471305012703,
-0.04518580064177513,
0.022646524012088776,
0.026167726144194603,
0.0037468646187335253,
0.009147086180746555,
0.07478535920381546,
-0.03340674936771393,
0.025524258613586426,
-0.0614512600004673,
-0.004821546841412783,
0.042683422565460205,
0.03682070970535278,
0.03640960529446602,
0.062023233622312546,
-0.009419666603207588,
0.021413208916783333,
0.0030475391540676355,
0.018061809241771698,
-0.019947528839111328,
-0.05887738615274429,
0.017060857266187668,
-0.004019445274025202,
0.00023641331063117832,
-0.008543834090232849,
-0.03678496181964874,
-0.010769163258373737,
0.015193010680377483,
-0.04886787384748459,
-0.04543603956699371,
-0.08222100138664246,
0.04318390041589737,
-0.02118084393441677,
-0.021717067807912827,
-0.05465909093618393,
-0.035891253501176834,
-0.08114854991436005,
-0.03295989707112312,
-0.005357770714908838,
-0.01350390538573265,
-0.03458644077181816,
0.013226856477558613,
-0.0690656378865242,
0.043612878769636154,
0.016846368089318275,
-0.05294317379593849,
-0.018446102738380432,
-0.057125721126794815,
0.02706143446266651,
0.0423259399831295,
0.09773574769496918,
-0.03233430162072182,
0.020805487409234047,
0.033120762556791306,
0.005867183208465576,
-0.06860091537237167,
-0.0049466658383607864,
-0.018749963492155075,
0.005295210983604193,
-0.021359585225582123,
0.006255945656448603,
0.02883097343146801,
0.005380113143473864,
0.06627727299928665,
-0.0019259375985711813,
-0.06963761150836945,
0.05987833812832832,
-0.016640815883874893,
-0.01197566743940115,
0.012931933626532555,
-0.08443739265203476,
0.005317553877830505,
-0.04203995317220688,
-0.02772277593612671,
-0.03950182721018791,
0.08164902776479721,
0.012699569575488567,
-0.03278115391731262,
0.010706604458391666,
0.027329545468091965,
0.009991639293730259,
0.010974716395139694,
0.026131978258490562,
0.004493109416216612,
-0.02504165656864643,
-0.04918960854411125,
0.0516204871237278,
0.0004169699386693537,
-0.043755870312452316,
0.05594602972269058,
0.003916668705642223,
0.03279902786016464,
-0.013253667391836643,
-0.01157349906861782,
0.02593536302447319,
-0.0032441546209156513,
-0.037106696516275406,
-0.019482802599668503,
0.032227057963609695,
-0.0037736757658421993,
-0.005518637597560883,
0.015854353085160255,
0.003313416847959161,
0.012065038084983826,
-0.018642717972397804,
-0.0327632799744606,
-0.03056476265192032,
-0.03571251407265663,
-0.01151094026863575,
-0.03771441429853439,
-0.03163721039891243,
0.006890477146953344,
0.008534897118806839,
0.0001389434328302741,
0.0019806770142167807,
-0.033245883882045746,
0.041646722704172134,
0.02405858039855957,
-0.0887271836400032,
-0.05966384708881378,
0.0006462615565396845,
-0.0035681233275681734,
0.06838642060756683,
0.02028713747859001,
-0.011350072920322418,
-0.0783601850271225,
0.009946953505277634,
-0.023593852296471596,
-0.03560526669025421,
-0.0033335252664983273,
0.07020958513021469,
-0.03372848406434059,
0.012645947746932507,
0.047509439289569855,
-0.019715165719389915,
-0.02586386725306511,
0.01636376604437828,
0.05455184727907181,
-0.04665147885680199,
-0.08036208897829056,
-0.027132930234074593,
-0.04965433478355408,
0.01821373961865902,
0.026221349835395813,
0.012931933626532555,
-0.06305993348360062,
0.03237004950642586,
-0.025631502270698547,
-0.014281430281698704,
-0.004115518648177385,
-0.015559430234134197,
-0.04035978764295578,
-0.009187303483486176,
-0.029206329956650734,
-0.011457317508757114,
-0.033228009939193726,
0.038000401109457016,
0.0690656378865242,
0.00667151901870966,
-0.05362239107489586,
0.03556951880455017,
-0.04540029168128967,
0.10302648693323135,
-0.026364343240857124,
0.015863290056586266,
-0.018008187413215637,
0.009893331676721573,
0.007337330374866724,
0.023772593587636948,
0.03178020566701889,
-0.011001527309417725,
-0.01715916581451893,
0.009687778539955616,
-0.012333150021731853,
0.0536581389605999,
0.054051369428634644,
0.020483752712607384,
0.0363023579120636,
0.023665348067879677,
0.05276443436741829,
0.005898463074117899,
0.014621038921177387,
0.0555170476436615,
-0.04482831805944443,
-0.006157638039439917,
-0.014674660749733448,
-0.01334303803741932,
-0.03651684895157814,
-0.03567676618695259,
-0.008963876403868198,
-0.004691959358751774,
0.022664397954940796,
0.004117752891033888,
-0.06334591656923294,
-0.038751114159822464,
-0.014433360658586025,
0.015219822525978088,
-0.022682271897792816,
-0.0976642519235611,
-0.01198460441082716,
0.053300656378269196,
0.035140540450811386,
0.02010839618742466,
0.04607950896024704,
-0.011287513189017773,
0.019893907010555267,
-0.033871475607156754,
0.020483752712607384,
0.059949833899736404,
-0.03331737965345383,
-0.04139648750424385,
0.08100555837154388,
0.0026922908145934343,
0.000746803532820195,
-0.04439933970570564,
-0.008852163329720497,
-0.026453712955117226,
0.002573874779045582,
-0.020555250346660614,
0.015961598604917526,
0.02600686065852642,
-0.024702047929167747,
0.01738259196281433,
0.05448035150766373,
-0.002844220958650112,
0.08450888842344284,
0.08415140956640244,
-0.04068152233958244,
0.008825351484119892,
-0.011233891360461712,
-0.0030877559911459684,
0.016891052946448326,
-0.016086718067526817,
-0.008566177450120449,
0.037106696516275406,
-0.07378441095352173,
-0.007672470528632402,
-0.03564101457595825,
0.002368322340771556,
-0.018517598509788513,
-0.001035582390613854,
-0.07135353237390518,
0.1147519201040268,
-0.06052180752158165,
-0.003615042893216014,
0.016068844124674797,
-0.010751289315521717,
0.001606437494046986,
0.01826736144721508,
0.05026205629110336,
-0.04618675261735916,
-0.057912182062864304,
-0.025095278397202492,
-0.018481850624084473,
-0.009138149209320545,
0.03932308778166771,
-0.0077752466313540936,
0.0055633229203522205,
-0.028169630095362663,
0.028026636689901352,
0.014629975892603397,
-0.00012351303303148597,
0.007659065071493387,
0.045579031109809875,
0.034961801022291183,
-0.020305011421442032,
-0.006836854852735996,
-0.030439645051956177,
-0.008861100301146507,
0.003018493764102459,
0.06120102107524872,
-0.03147634491324425,
0.03247729688882828,
0.031011616811156273,
-0.005804623942822218,
0.019983278587460518,
0.044470835477113724,
0.02493441291153431,
-0.02289676107466221,
-0.0075339460745453835,
-0.008785135112702847,
0.007985267788171768,
0.004269682802259922,
-0.02216392196714878,
-0.04243318736553192,
0.042576178908348083,
0.009410729631781578,
0.01434399001300335,
-0.03539077937602997,
0.05834116041660309,
0.015577305108308792,
0.02411220222711563,
0.08157753199338913,
0.027365293353796005,
0.03935883566737175,
0.01108196098357439,
0.09466139227151871,
-0.03338887542486191,
-0.02697206288576126,
0.019482802599668503,
0.039001353085041046,
0.02411220222711563,
-0.021502578631043434,
0.05251419544219971,
-0.012136534787714481,
0.0497615784406662,
-0.037928905338048935,
-0.02988554537296295,
0.029313573613762856,
0.004412675742059946,
-0.013557528145611286,
-0.024398189038038254,
0.016774872317910194,
0.0020745163783431053,
0.009294548071920872,
0.028312623500823975,
-0.03178020566701889,
-0.037142444401979446,
0.01933980919420719,
-0.021663445979356766,
-0.0010372581891715527,
-0.03728543594479561,
0.054194364696741104,
0.004278619773685932,
-0.07010234147310257,
-0.029295699670910835,
-0.00454896641895175,
-0.0890846699476242,
0.00819975696504116,
-0.002683353843167424,
0.015112577006220818,
-0.032048314809799194,
-0.013298353180289268,
-0.021609824150800705,
-0.0037625045515596867,
-0.06606278568506241,
0.02888459526002407,
-0.008034422062337399,
0.033120762556791306,
0.04693746566772461,
0.027168678119778633,
0.039001353085041046,
-0.020448004826903343,
-0.011305387131869793,
-0.016980424523353577,
0.027043558657169342,
0.01347709447145462,
0.016953613609075546,
0.052406951785087585,
0.005397987551987171,
0.004580245818942785,
-0.07013808935880661,
-0.0100273871794343,
0.02579236961901188,
-0.03864387050271034,
-0.04879637807607651,
0.005576728843152523,
0.019768787547945976,
-0.0036999450530856848,
-0.01017038058489561,
0.04407760500907898,
0.012985555455088615,
-0.0026386685203760862,
0.031261853873729706,
-0.014129499904811382,
0.006425749976187944,
-0.0095626600086689,
-0.007382015697658062,
-0.057054225355386734,
-0.03190532326698303,
-0.006582148373126984,
-0.047437943518161774,
0.0007283707964234054,
-0.041682470589876175,
0.07936114072799683,
0.02779427357017994,
-0.06213047727942467,
-0.05112001299858093,
0.054265860468149185,
0.034068092703819275,
-0.02582811936736107,
-0.00597442826256156,
-0.0005904048448428512,
0.0014243447221815586,
-0.008794072084128857,
0.002413007663562894,
-0.023772593587636948,
0.007833337411284447,
-0.0077752466313540936,
0.08829820156097412,
0.003081053262576461,
0.03060051053762436,
0.009821834973990917,
-0.06334591656923294,
-0.03186957538127899,
-0.04218294844031334,
-0.012860436923801899,
0.029402945190668106,
0.03279902786016464,
-0.0029000777285546064,
-0.05201372131705284,
-0.006796638015657663,
-0.03542652726173401,
0.033210135996341705,
0.01835673116147518,
-0.03421108424663544,
0.025095278397202492,
-0.01715022884309292,
-0.016640815883874893,
-0.05751895159482956,
0.009147086180746555,
-0.01200247835367918,
0.012958744540810585,
0.027025684714317322,
0.012154408730566502,
-0.06527632474899292,
0.034103840589523315,
0.020430130884051323,
-0.0007909302948974073,
0.042790669947862625,
0.03526565805077553,
0.02026926353573799,
0.042719170451164246,
0.015362815000116825,
-0.042719170451164246,
0.020573124289512634,
-0.03810764476656914,
-0.0002840310917235911
] |
711,081
|
yt_dlp.update
|
_get_version_info
| null |
def _get_version_info(self, tag: str) -> tuple[str | None, str | None]:
if _VERSION_RE.fullmatch(tag):
return tag, None
api_info = self._call_api(tag)
if tag == 'latest':
requested_version = api_info['tag_name']
else:
match = re.search(rf'\s+(?P<version>{_VERSION_RE.pattern})$', api_info.get('name', ''))
requested_version = match.group('version') if match else None
if re.fullmatch(_HASH_PATTERN, api_info.get('target_commitish', '')):
target_commitish = api_info['target_commitish']
else:
match = _COMMIT_RE.match(api_info.get('body', ''))
target_commitish = match.group('hash') if match else None
if not (requested_version or target_commitish):
self._report_error('One of either version or commit hash must be available on the release', expected=True)
return requested_version, target_commitish
|
(self, tag: str) -> tuple[str | None, str | None]
|
[
0.06663508713245392,
-0.018775785341858864,
-0.08231393247842789,
-0.014939275570213795,
0.012138161808252335,
-0.06378775089979172,
0.038161713629961014,
0.00804742518812418,
0.018128663301467896,
-0.031135816127061844,
0.020282655954360962,
0.009166021831333637,
-0.021835748106241226,
-0.06071854010224342,
-0.007141454610973597,
-0.00220830412581563,
0.027086680755019188,
0.026125242933630943,
0.0031431643292307854,
0.04374545440077782,
0.02202063985168934,
-0.002819603309035301,
-0.02712365984916687,
0.044337108731269836,
0.023314883932471275,
0.05051250010728836,
0.09311162680387497,
-0.04840473085641861,
0.07979939877986908,
-0.028085097670555115,
-0.013349204324185848,
-0.01861862652003765,
0.000748234917409718,
0.029749127104878426,
-0.049255236983299255,
0.03651617467403412,
0.07528803497552872,
0.03056265227496624,
-0.04174862056970596,
0.002784936223179102,
-0.050142716616392136,
-0.0075158607214689255,
0.0359245203435421,
-0.04230329394340515,
-0.009073575958609581,
-0.05054948106408119,
-0.02422085590660572,
-0.05243537947535515,
-0.06515595316886902,
-0.008028936572372913,
0.08534616231918335,
-0.017259670421481133,
-0.01781434752047062,
-0.042377252131700516,
0.002764135831966996,
0.018627870827913284,
0.04426315054297447,
0.05890659987926483,
-0.014467800967395306,
0.09251996874809265,
0.004236338660120964,
0.021392006427049637,
-0.023943517357110977,
0.035110995173454285,
-0.05128904804587364,
0.008514277637004852,
0.06659810990095139,
-0.056429047137498856,
-0.034426894038915634,
0.04060228914022446,
0.021835748106241226,
0.006730069871991873,
-0.052842140197753906,
-0.002056923694908619,
-0.010353953577578068,
-0.02923142910003662,
-0.0011330414563417435,
0.013275247067213058,
0.03919710963964462,
-0.048626601696014404,
-0.02412840910255909,
-0.017980748787522316,
0.023425819352269173,
-0.05354472994804382,
0.022741718217730522,
-0.000838947540614754,
0.020116252824664116,
0.006318685133010149,
-0.00685487175360322,
0.07713695615530014,
-0.07905983179807663,
0.004968973342329264,
-0.04337566718459129,
0.050438545644283295,
0.021114669740200043,
-0.008352497592568398,
0.004899638704955578,
-0.033336032181978226,
-0.036035455763339996,
0.007797820959240198,
0.02000531740486622,
-0.00834325235337019,
-0.05365566536784172,
0.05143696069717407,
-0.07144227623939514,
-0.04171163961291313,
-0.028824666514992714,
0.0033303676173090935,
0.008093648590147495,
-0.04367149621248245,
0.016252009198069572,
-0.08009522408246994,
-0.023314883932471275,
0.01847071386873722,
0.016612548381090164,
-0.009734565392136574,
-0.046555813401937485,
-0.01671423949301243,
-0.014745138585567474,
-0.03100639209151268,
-0.004388874396681786,
0.01603938266634941,
-0.008260050788521767,
-0.00616614893078804,
-0.00545431487262249,
-0.0013520229840651155,
-0.00727087864652276,
0.0002680934267118573,
-0.03808775544166565,
-0.012452477589249611,
0.04918127879500389,
0.04870055988430977,
-0.033188119530677795,
-0.005643829237669706,
-0.04200746864080429,
-0.0502166748046875,
-0.0015103367622941732,
0.039234086871147156,
-0.008477299474179745,
-0.014856074005365372,
-0.009808521717786789,
0.004950483795255423,
-0.042044445872306824,
-0.059868037700653076,
-0.06711580604314804,
-0.007441903930157423,
0.042968906462192535,
-0.05350775271654129,
0.06397263705730438,
-0.018479958176612854,
0.034426894038915634,
-0.051917679607868195,
0.01742607355117798,
-0.013598808087408543,
-0.01591920293867588,
-0.05287911742925644,
0.027585890144109726,
-0.06375077366828918,
0.02623617835342884,
-0.0055236490443348885,
0.02531171776354313,
-0.040121570229530334,
0.020911287516355515,
-0.03174595907330513,
0.0488484725356102,
0.01921028085052967,
0.014477045275270939,
-0.015133412554860115,
0.024609128013253212,
0.017703412100672722,
-0.012572657316923141,
0.08194414526224136,
-0.041637685149908066,
0.0331326499581337,
0.013302980922162533,
0.03941898047924042,
0.010113594122231007,
-0.041046030819416046,
0.05143696069717407,
-0.020375100895762444,
-0.029860062524676323,
-0.027826249599456787,
-0.015031721442937851,
0.08889608830213547,
-0.015346038155257702,
0.052102573215961456,
0.03777344152331352,
-0.03169049322605133,
-0.027696825563907623,
-0.008204584009945393,
-0.0013970903819426894,
-0.056835807859897614,
-0.01479136198759079,
0.013626541942358017,
-0.00665611308068037,
0.018951432779431343,
0.020911287516355515,
0.04614904895424843,
0.04363451898097992,
-0.03657164424657822,
0.06881681084632874,
-0.041452791541814804,
-0.03720027580857277,
0.058499835431575775,
0.01228607539087534,
-0.012202873826026917,
0.05502386763691902,
-0.021502941846847534,
-0.06530386209487915,
0.009605140425264835,
0.017629453912377357,
0.05628113076090813,
-0.049403149634599686,
0.01258190255612135,
-0.004566832911223173,
0.005223199725151062,
0.03492610529065132,
-0.014532512985169888,
0.001035395311191678,
-0.0032148100435733795,
0.06578458100557327,
-0.045927178114652634,
0.077432781457901,
0.05469106137752533,
0.046851638704538345,
-0.03690444678068161,
0.07610155642032623,
0.03304020315408707,
0.0067809149622917175,
-0.05517178028821945,
0.007991957478225231,
-0.038494519889354706,
0.03956689313054085,
0.013931614346802235,
-0.03243006020784378,
0.04052833095192909,
0.00010212395136477426,
-0.0059165447019040585,
0.05957220867276192,
-0.045372504740953445,
0.02697574719786644,
-0.022982079535722733,
0.01034470833837986,
0.09377723187208176,
-0.022131575271487236,
-0.07525105774402618,
-0.03631279245018959,
-0.01442157756537199,
-0.02481251023709774,
-0.052213508635759354,
-0.03464876487851143,
0.031819917261600494,
0.02860279567539692,
-0.016991576179862022,
0.026994235813617706,
-0.0645642951130867,
0.00795960146933794,
-0.028972581028938293,
0.0518067441880703,
-0.024109920486807823,
-0.021207114681601524,
-0.0345563180744648,
0.008149116300046444,
0.03636826202273369,
0.0062447283416986465,
0.003247166285291314,
0.06837306916713715,
0.002888937946408987,
-0.03845754265785217,
0.04792401194572449,
0.02594035118818283,
-0.009771543554961681,
-0.03605394437909126,
0.006891850382089615,
-0.0047887032851576805,
-0.06526688486337662,
0.006240105722099543,
-0.0077146198600530624,
0.008116760291159153,
0.014708160422742367,
-0.03681200370192528,
-0.03231912478804588,
-0.00018792541231960058,
0.03183840587735176,
0.03808775544166565,
0.015558663755655289,
-0.011537262238562107,
0.0006159215699881315,
0.026753876358270645,
0.010261507704854012,
-0.002724846126511693,
0.007890267297625542,
-0.028140565380454063,
0.00865756906569004,
0.012785283848643303,
0.07369796186685562,
-0.04200746864080429,
0.05450616776943207,
0.0803910493850708,
-0.0344453826546669,
-0.007049008272588253,
0.02019020915031433,
-0.012424743734300137,
-0.05332285910844803,
0.0005928100435994565,
0.027974164113402367,
0.07698903977870941,
-0.02048603631556034,
-0.03174595907330513,
-0.031376175582408905,
-0.007007407955825329,
0.04810890555381775,
0.04171163961291313,
-0.008611345663666725,
-0.10220830887556076,
0.010104348883032799,
-0.008652946911752224,
0.04060228914022446,
-0.03912315145134926,
0.021650856360793114,
-0.001677895081229508,
0.04208142310380936,
0.043264735490083694,
-0.010474133305251598,
0.03562869504094124,
-0.016880642622709274,
-0.08209206163883209,
-0.03217121213674545,
0.014153484255075455,
0.08453263342380524,
-0.04293192923069,
0.03620185703039169,
0.0515848733484745,
0.0772109106183052,
0.032947760075330734,
0.011056543327867985,
-0.042192358523607254,
-0.024054452776908875,
0.017509274184703827,
-0.030155889689922333,
0.0194136630743742,
-0.05354472994804382,
-0.00945722684264183,
0.013339960016310215,
0.041785597801208496,
0.005676185246556997,
0.04770214110612869,
0.011112011037766933,
-0.0029860062059015036,
-0.05154789611697197,
-0.04648185521364212,
-0.029767615720629692,
-0.030488694086670876,
-0.012674348428845406,
0.03396466374397278,
-0.018341287970542908,
-0.03812473639845848,
-0.0487375371158123,
0.054321277886629105,
0.03934502229094505,
-0.055060844868421555,
-0.004596877843141556,
-0.01095485221594572,
0.038309626281261444,
0.008320141583681107,
-0.0662652999162674,
-0.01672348380088806,
0.07517709583044052,
-0.00262315571308136,
-0.04766516387462616,
-0.03655315190553665,
0.030636608600616455,
0.018147151917219162,
-0.03856847807765007,
-0.02923142910003662,
0.0034898370504379272,
-0.005200088024139404,
-0.000379606441128999,
-0.03032229281961918,
-0.0688907653093338,
-0.041637685149908066,
0.024313300848007202,
-0.018442979082465172,
-0.007169188465923071,
0.005126131232827902,
-0.04256214573979378,
-0.04988386854529381,
-0.01142632681876421,
0.0265874732285738,
0.07269954681396484,
-0.029453299939632416,
0.02279718592762947,
-0.03777344152331352,
-0.00963287428021431,
0.008717658929526806,
0.03169049322605133,
0.05650300160050392,
-0.04603811353445053,
-0.017231937497854233,
0.014366110786795616,
-0.0028935601003468037,
0.004173937253654003,
-0.004982840269804001,
-0.012840751558542252,
0.009212245233356953,
-0.014606470242142677,
0.0287507101893425,
0.025293229147791862,
-0.03243006020784378,
-0.04248818755149841,
-0.04918127879500389,
-0.06127321720123291,
-0.012794528156518936,
-0.03047020547091961,
-0.005985879339277744,
0.06212371960282326,
0.05539365112781525,
0.0786900445818901,
-0.01713024638593197,
0.004453586880117655,
0.00785791128873825,
-0.01742607355117798,
-0.037218764424324036,
0.04644487798213959,
-0.03971480578184128,
0.019080856814980507,
-0.0019956782925873995,
-0.015003987587988377,
0.021946683526039124,
-0.014578736387193203,
0.033687327057123184,
0.03032229281961918,
0.016279742121696472,
-0.017500029876828194,
-0.017093267291784286,
-0.023518266156315804,
-0.005833343602716923,
0.044152215123176575,
0.012045715004205704,
0.030969414860010147,
-0.036238837987184525,
0.037218764424324036,
0.028140565380454063,
0.018748050555586815,
0.044337108731269836,
-0.0056068506091833115,
-0.01031697541475296,
0.007941112853586674,
0.011500284075737,
-0.07118342816829681,
-0.009669852443039417,
0.009900967590510845,
-0.024350279942154884,
-0.006868738681077957,
0.01757398620247841,
-0.036238837987184525,
-0.054321277886629105,
0.03749610111117363,
-0.005384980235248804,
-0.017305893823504448,
-0.003256410825997591,
0.045816242694854736,
0.013552585616707802,
0.03618336841464043,
-0.02736401930451393,
-0.07972544431686401,
0.057020701467990875,
-0.04992084577679634,
-0.07465939968824387,
-0.027696825563907623,
0.0359799861907959,
-0.022667761892080307,
0.011888557113707066,
0.06290026754140854,
-0.01672348380088806,
-0.02692027948796749,
0.0401955246925354,
-0.010279996320605278,
-0.010400176048278809,
-0.05753839761018753,
-0.006993541028350592,
0.0157158225774765,
-0.01594693772494793,
0.03211574628949165,
-0.002865826478227973,
0.01859089359641075,
0.0017391405999660492,
-0.008403342217206955,
-0.012101182714104652,
-0.03032229281961918,
-0.05017969384789467,
0.019099345430731773,
-0.012554168701171875,
-0.016649527475237846,
-0.012535679154098034,
0.03209725394845009,
0.01004888117313385,
0.03773646056652069,
-0.013737477362155914,
0.02688330039381981,
0.011139744892716408,
-0.04052833095192909,
0.09703133255243301,
-0.06811422109603882,
0.010353953577578068,
-0.06940846890211105,
-0.009716075845062733,
0.0018939876463264227,
0.052694227546453476,
0.0018084751209244132,
-0.04888544976711273,
-0.03875336796045303,
0.06397263705730438,
-0.009808521717786789,
0.018932944163680077,
0.027641357854008675,
-0.029157472774386406,
0.0036215726286172867,
-0.018655605614185333,
0.02899106964468956,
-0.02845488302409649,
0.04622300714254379,
0.07935565710067749,
-0.05946127697825432,
0.005537515971809626,
-0.03612790256738663,
-0.018063951283693314,
-0.02481251023709774,
-0.0158267579972744,
-0.033188119530677795,
-0.021022222936153412,
-0.02131805010139942,
-0.031135816127061844,
-0.03228214755654335,
-0.031043371185660362,
-0.024405747652053833,
-0.01959855481982231,
0.01786981336772442,
-0.041304878890514374,
-0.04559437185525894,
0.020911287516355515,
-0.008962640538811684,
-0.0359799861907959,
0.023647690191864967,
-0.00257924385368824,
0.018572403118014336,
0.0040537575259804726,
0.08571594208478928,
-0.0228896327316761,
-0.04622300714254379,
-0.04666674882173538,
0.03126524016261101,
0.04185955598950386,
-0.026014307513833046,
-0.0386054553091526,
0.0025954218581318855,
-0.02344430796802044,
-0.00038596210652031004,
0.012360031716525555,
-0.01270208228379488,
0.0038110867608338594,
0.018442979082465172,
-0.060755521059036255,
0.043116819113492966,
-0.010252262465655804,
-0.003938199952244759,
0.04688861593604088,
0.004550654906779528,
0.05487595126032829,
0.006827137898653746,
-0.028140565380454063,
-0.013367692939937115,
0.01781434752047062,
-0.011842334643006325,
0.030932435765862465,
-0.010668270289897919,
-0.018720317631959915,
0.029693659394979477,
0.044448044151067734,
0.023166971281170845,
0.07950357347726822,
-0.00936940312385559,
0.06974127143621445,
-0.007571328431367874,
-0.004356518387794495,
0.0400845892727375,
-0.000771346443798393,
0.027844738215208054,
0.04230329394340515,
0.04174862056970596,
-0.010594313032925129,
-0.046407897025346756,
0.03492610529065132,
-0.023037545382976532,
-0.019672511145472527,
-0.04855264723300934,
-0.031672004610300064,
0.000215803665923886,
-0.015022477135062218,
-0.030987903475761414,
-0.003915088716894388,
-0.029453299939632416,
0.009679097682237625,
-0.017657188698649406,
-0.004435097333043814,
0.008773126639425755,
-0.040269482880830765,
-0.040417395532131195,
-0.033391498029232025,
-0.028732221573591232,
0.029860062524676323,
-0.030581140890717506,
-0.03157955780625343,
-0.05335984006524086,
0.013404672034084797,
0.06600645184516907,
0.01400557067245245,
0.04555739462375641,
-0.018442979082465172,
-0.017259670421481133,
0.028510350733995438,
0.03254099562764168,
-0.013229024596512318,
-0.004354207310825586,
0.0004937194753438234,
0.026051286607980728,
0.0006453887326642871,
-0.02324092760682106,
0.01065902505069971,
0.0079133789986372,
0.0446329340338707,
0.015133412554860115,
0.06589552015066147,
0.028676753863692284,
-0.00744652608409524,
-0.000034053355193464085,
0.059720125049352646,
-0.014643448404967785,
0.0037833531387150288,
0.0806129202246666,
0.023370351642370224,
0.002821914618834853,
-0.00024931534426286817,
0.046001136302948,
0.03050718456506729,
0.06278932839632034,
0.024035964161157608,
-0.0315425805747509,
0.09037522226572037,
-0.02087431028485298,
0.013478628359735012,
-0.020763374865055084,
0.04333868995308876,
0.006683846469968557,
-0.04836775362491608,
-0.020966755226254463,
-0.045927178114652634,
0.0315980464220047,
-0.041637685149908066,
0.005463559180498123,
-0.021022222936153412,
0.0004726302286144346,
0.04836775362491608,
0.015484707430005074,
-0.027696825563907623,
0.0015842935536056757,
-0.01970949023962021,
-0.044928763061761856,
0.016409168019890785,
-0.017971504479646683,
0.022760208696126938,
-0.010058126412332058,
0.060311779379844666,
-0.006817893590778112,
-0.053581707179546356,
-0.05435825511813164,
0.04422617331147194,
0.06940846890211105,
0.004638478625565767,
0.008597479201853275,
0.07957752794027328,
0.0265874732285738,
-0.0009955279529094696,
-0.02496042288839817,
0.006531310733407736,
-0.010742226615548134,
-0.04962502047419548,
0.05347077175974846,
0.06334400922060013,
0.009595896117389202,
0.007492749486118555,
-0.07066573202610016,
-0.0017333627911284566,
-0.005482048727571964,
-0.048219840973615646,
-0.047739122062921524,
-0.03633128106594086,
0.025773948058485985,
0.03773646056652069,
-0.04148976877331734,
0.04781307652592659,
-0.024609128013253212,
0.013635787181556225,
0.06116228178143501,
0.012017982080578804,
-0.011075031943619251,
-0.03248552978038788,
-0.03381675109267235,
-0.07092458009719849,
-0.02377711422741413,
-0.031135816127061844,
-0.03411258012056351,
-0.006633001379668713,
-0.05243537947535515,
0.07861609011888504,
0.05824098736047745,
-0.023721646517515182,
0.028473371639847755,
-0.015688087791204453,
0.030137399211525917,
-0.0602378211915493,
-0.017888303846120834,
0.0371817871928215,
0.01798999309539795,
-0.0029721392784267664,
0.06278932839632034,
0.04111998528242111,
-0.02176179178059101,
0.0006020546425133944,
0.08216601610183716,
-0.032744377851486206,
0.03385372832417488,
-0.033742792904376984,
-0.016575569286942482,
0.01516114640980959,
-0.03583207353949547,
-0.017389094457030296,
-0.022963589057326317,
0.06744860857725143,
-0.007349458057433367,
0.027641357854008675,
0.002334261778742075,
0.017647944390773773,
0.006203127559274435,
0.009383270516991615,
-0.017712656408548355,
-0.014976253733038902,
-0.022094596177339554,
-0.05165883153676987,
-0.055800411850214005,
0.01778661273419857,
0.007127587683498859,
0.03498157113790512,
-0.03357639163732529,
0.028621286153793335,
-0.07055480033159256,
0.03660862147808075,
-0.009212245233356953,
0.009013486094772816,
0.025626035407185555,
0.032152723520994186,
0.039381999522447586,
-0.009073575958609581,
-0.0003174942685291171,
0.006887227762490511,
-0.011860823258757591,
-0.031283728778362274,
0.008232317864894867
] |
711,082
|
yt_dlp.update
|
_process_update_spec
| null |
def _process_update_spec(self, lockfile: str, resolved_tag: str):
lines = lockfile.splitlines()
is_version2 = any(line.startswith('lockV2 ') for line in lines)
for line in lines:
if is_version2:
if not line.startswith(f'lockV2 {self.requested_repo} '):
continue
_, _, tag, pattern = line.split(' ', 3)
else:
if not line.startswith('lock '):
continue
_, tag, pattern = line.split(' ', 2)
if re.match(pattern, self._identifier):
if _VERSION_RE.fullmatch(tag):
if not self._exact:
return tag
elif self._version_compare(tag, resolved_tag):
return resolved_tag
elif tag != resolved_tag:
continue
self._report_error(
f'yt-dlp cannot be updated to {resolved_tag} since you are on an older Python version', True)
return None
return resolved_tag
|
(self, lockfile: str, resolved_tag: str)
|
[
0.12202925235033035,
0.0028481080662459135,
-0.07256187498569489,
0.05230866000056267,
-0.01652858965098858,
-0.05886545404791832,
0.0363173633813858,
0.03872152045369148,
-0.03063480742275715,
-0.045569729059934616,
0.00709864217787981,
-0.04502332955598831,
-0.04433122277259827,
-0.036463070660829544,
-0.029068460687994957,
-0.01776709593832493,
0.023768384009599686,
0.05890188366174698,
-0.0435662642121315,
-0.04087069258093834,
-0.02573542296886444,
0.050596605986356735,
-0.022238465026021004,
0.053255751729011536,
0.04458621144294739,
-0.003631280967965722,
0.08050288259983063,
-0.03422283008694649,
0.00643385574221611,
-0.06862779706716537,
-0.011274046264588833,
-0.005937542766332626,
0.03846653550863266,
0.05008663237094879,
0.027738887816667557,
-0.0031850545201450586,
0.037628721445798874,
0.03247435390949249,
-0.03460530936717987,
-0.00289591820910573,
0.032601844519376755,
0.03427747264504433,
0.024150865152478218,
-0.055659908801317215,
-0.018850788474082947,
-0.0018281621159985662,
-0.026700729504227638,
0.0216920655220747,
0.015271870419383049,
0.03251077979803085,
0.07656880468130112,
-0.03456888347864151,
-0.03249256685376167,
0.0013011142145842314,
-0.03189152479171753,
0.0641108900308609,
0.011392432264983654,
0.04578829184174538,
0.025881130248308182,
0.05005020648241043,
0.008223314769566059,
-0.0039750575087964535,
-0.020799612626433372,
-0.004551053512841463,
-0.07223403453826904,
-0.014579763635993004,
0.07562170922756195,
-0.01788548193871975,
-0.04651682451367378,
-0.0004413884598761797,
-0.017257122322916985,
0.001559515600092709,
-0.024005157873034477,
-0.009889833629131317,
0.02555328980088234,
-0.003246524604037404,
-0.0165103767067194,
0.011274046264588833,
0.040287867188453674,
-0.009716806933283806,
0.01413353718817234,
-0.024988677352666855,
0.0646572932600975,
-0.056497722864151,
0.009320667013525963,
0.0008554569212719798,
0.07751590013504028,
0.008369021117687225,
-0.054312124848365784,
-0.02045355923473835,
0.009853406809270382,
0.03316645696759224,
-0.011784018948674202,
0.03099907375872135,
0.07525744289159775,
0.007116855587810278,
0.0439305305480957,
-0.043056290596723557,
-0.05219937860965729,
0.015517749823629856,
0.027775315567851067,
0.007813515141606331,
-0.053219325840473175,
0.004512350540608168,
-0.013632670976221561,
-0.03336680680513382,
-0.029159527271986008,
-0.012029899284243584,
-0.01034516654908657,
-0.0014069790486246347,
-0.01016303338110447,
-0.12261208146810532,
-0.06112390756607056,
0.04979522153735161,
0.007481121923774481,
-0.016273602843284607,
-0.022056331858038902,
-0.013468751683831215,
0.036535922437906265,
-0.02679179608821869,
0.004585203714668751,
0.0017382338410243392,
-0.027156062424182892,
0.003624450881034136,
-0.0407249853014946,
-0.07114123553037643,
-0.010791392996907234,
0.018577588722109795,
0.002135511953383684,
0.012394165620207787,
0.014179070480167866,
-0.00823242124170065,
0.01905113458633423,
-0.013978724367916584,
-0.018614014610648155,
-0.04199992120265961,
-0.04258274659514427,
-0.0036290043499320745,
0.03378571197390556,
0.0028549381531774998,
0.04848386347293854,
-0.023659104481339455,
-0.035388484597206116,
-0.09252367168664932,
-0.0664057731628418,
0.015790950506925583,
-0.04247346520423889,
0.004913043696433306,
0.007458355277776718,
-0.007626828271895647,
-0.033658217638731,
-0.07157835364341736,
-0.012885925360023975,
0.030343392863869667,
0.010299633257091045,
0.025334730744361877,
0.0029460047371685505,
-0.05267292633652687,
-0.022675585001707077,
-0.012612725608050823,
0.06141531839966774,
-0.05784551054239273,
0.03176403418183327,
-0.005668896250426769,
0.0022846334613859653,
-0.030325179919600487,
-0.05030519515275955,
-0.029851634055376053,
-0.03872152045369148,
0.018440987914800644,
-0.028012089431285858,
0.08261562883853912,
-0.017657814547419548,
0.05875617638230324,
0.013996937312185764,
0.06119675934314728,
0.040287867188453674,
-0.033803924918174744,
0.01679268293082714,
0.02813958190381527,
-0.014088003896176815,
0.0028344481252133846,
0.022839505225419998,
0.045424025505781174,
-0.03597130998969078,
0.06840923428535461,
-0.0005162338493391871,
-0.04138066619634628,
-0.004894830286502838,
-0.025261877104640007,
0.0002118721604347229,
-0.044112663716077805,
0.008719627745449543,
0.006779909133911133,
0.023495184257626534,
0.014761896803975105,
0.0010432818671688437,
0.0357709638774395,
0.04218205437064171,
-0.03464173898100853,
0.05026876926422119,
-0.050705887377262115,
-0.01926969364285469,
0.08800677210092545,
0.014479590579867363,
0.02810315601527691,
0.06290881335735321,
-0.025170810520648956,
0.016182536259293556,
0.009534673765301704,
-0.051835112273693085,
0.036463070660829544,
-0.01033606007695198,
0.02444227784872055,
-0.005637023132294416,
-0.0015230890130624175,
0.03695482760667801,
0.004633013624697924,
-0.07084982097148895,
0.0031258612871170044,
0.012284885160624981,
0.02815779484808445,
0.0793372318148613,
-0.0166469756513834,
-0.001947687123902142,
-0.023604463785886765,
0.027283554896712303,
0.06775355339050293,
0.004571543540805578,
0.03578917682170868,
0.03491493687033653,
-0.0540207102894783,
0.07533029466867447,
0.010955313220620155,
0.025152597576379776,
0.002004603622481227,
-0.06072321534156799,
0.018477413803339005,
0.009962687268853188,
0.013304831460118294,
-0.03422283008694649,
-0.0015173973515629768,
0.03416819125413895,
0.032656487077474594,
-0.0049403635784983635,
-0.08050288259983063,
-0.042910587042570114,
-0.021364226937294006,
0.019506467506289482,
0.0076996819116175175,
-0.0023700085002928972,
0.054567109793424606,
-0.008624007925391197,
0.04491405189037323,
0.025352943688631058,
-0.07678736001253128,
0.032638270407915115,
-0.02052641287446022,
0.0407249853014946,
0.03309360519051552,
0.0036335575859993696,
0.0036973042879253626,
-0.004400793928653002,
0.0021218520123511553,
-0.018495628610253334,
-0.0019169520819559693,
0.037810854613780975,
-0.0034149978309869766,
-0.02048998698592186,
0.03620808199048042,
-0.00319643784314394,
-0.0412713848054409,
0.006666075903922319,
0.03438675031065941,
0.03722802922129631,
-0.04225490614771843,
0.04531474411487579,
0.012958778068423271,
0.015135270543396473,
0.014270137064158916,
-0.004894830286502838,
0.030507313087582588,
0.03061659261584282,
0.08793391287326813,
0.020052867010235786,
0.008478301577270031,
-0.022584518417716026,
0.03886722773313522,
-0.016073256731033325,
0.008919973857700825,
-0.02538936957716942,
-0.012913244776427746,
0.05500423163175583,
-0.01081871334463358,
-0.05514993891119957,
0.0593390017747879,
-0.013578031212091446,
0.025116169825196266,
0.03307539224624634,
-0.02447870373725891,
-0.0019032921409234405,
0.04713607579469681,
-0.027538541704416275,
-0.02294878475368023,
-0.028449207544326782,
-0.025298302993178368,
0.03711874783039093,
-0.031472619622945786,
-0.041854213923215866,
-0.012986098416149616,
0.018195107579231262,
0.054567109793424606,
0.0029255147092044353,
-0.03340323269367218,
-0.024897610768675804,
0.007494781631976366,
-0.04385767877101898,
0.05252721905708313,
0.026737155392766,
0.012412378564476967,
0.0036677075549960136,
0.038903653621673584,
0.027793528512120247,
0.008737840689718723,
0.0026386550161987543,
-0.003729177638888359,
-0.008378127589821815,
0.01529008336365223,
-0.016182536259293556,
0.04648039489984512,
0.00412759417667985,
0.0018634505104273558,
0.022584518417716026,
0.018186001107096672,
-0.003952290862798691,
0.006479389034211636,
-0.006292702630162239,
-0.07620453834533691,
0.02322198450565338,
-0.03473280370235443,
0.052126526832580566,
-0.04720892757177353,
0.033894989639520645,
-0.0014069790486246347,
-0.011028165929019451,
0.00545944320037961,
0.07088624686002731,
0.0076086148619651794,
0.01675625517964363,
-0.014643510803580284,
-0.005901115946471691,
-0.02300342544913292,
-0.033712856471538544,
0.00005108267578179948,
0.027156062424182892,
-0.028904540464282036,
-0.0011417475761845708,
-0.004234597086906433,
0.009798767045140266,
0.004102550446987152,
-0.09842479228973389,
-0.008833460509777069,
0.005832816008478403,
0.0030234113801270723,
-0.005796389654278755,
-0.03291147202253342,
-0.037738002836704254,
0.012548978440463543,
-0.024824757128953934,
-0.00302568799816072,
-0.03737373650074005,
0.027483902871608734,
0.01016303338110447,
-0.07285328954458237,
-0.01667429506778717,
-0.04225490614771843,
-0.0593390017747879,
0.007713341619819403,
-0.01785816252231598,
-0.06720715761184692,
-0.05023233965039253,
0.044258370995521545,
-0.018978280946612358,
0.027338195592164993,
-0.05977611988782883,
-0.03170939162373543,
-0.03730088099837303,
-0.06269025057554245,
0.03088979423046112,
0.0591568686068058,
0.019888946786522865,
0.0030734979081898928,
0.02422371692955494,
0.01672893576323986,
-0.00739916181191802,
-0.010463553480803967,
0.025097956880927086,
-0.039049360901117325,
0.025061530992388725,
-0.026208968833088875,
-0.017211588099598885,
0.006916509009897709,
0.0022880486212670803,
0.02688286267220974,
-0.010053753852844238,
-0.030124833807349205,
0.027338195592164993,
0.04207277297973633,
-0.039122216403484344,
0.011255832388997078,
-0.06385590881109238,
0.003797477576881647,
-0.022438813000917435,
-0.04236418753862381,
-0.044258370995521545,
0.08684111386537552,
0.0005765654495917261,
-0.010071966797113419,
0.008177781477570534,
-0.0037451141979545355,
0.007708788383752108,
0.002217471832409501,
-0.02074497379362583,
0.009980900213122368,
-0.07310827076435089,
-0.034131765365600586,
0.03331216424703598,
0.0004738309362437576,
-0.03941362723708153,
0.0293963011354208,
0.01783994771540165,
0.04192706570029259,
-0.029013821855187416,
0.025881130248308182,
0.00023378506011795253,
-0.056024178862571716,
-0.025116169825196266,
-0.0271014217287302,
0.012594511732459068,
-0.03755586966872215,
-0.010445339605212212,
0.04859314113855362,
0.03083515353500843,
0.02817600779235363,
0.027156062424182892,
-0.009944473393261433,
-0.026518596336245537,
-0.016291815787553787,
-0.02582648955285549,
-0.04702679440379143,
-0.04921239614486694,
-0.005218116566538811,
-0.0540207102894783,
0.0016983922105282545,
-0.058136921375989914,
-0.0566798560321331,
0.02438763715326786,
0.01480743009597063,
-0.01150171272456646,
-0.04112568125128746,
-0.003722347551956773,
0.041599225252866745,
0.06804496794939041,
0.0619981475174427,
-0.01805850863456726,
-0.05092444643378258,
0.005755409598350525,
-0.05139799416065216,
-0.07576742023229599,
0.0002024809073191136,
0.03894008323550224,
-0.07788016647100449,
0.027228916063904762,
0.021145666018128395,
-0.06123318523168564,
-0.0029596646782010794,
0.01796744205057621,
0.03085336647927761,
0.008073055185377598,
-0.006820888724178076,
-0.02418729104101658,
-0.013150017708539963,
-0.0004857834428548813,
0.055659908801317215,
0.040360718965530396,
-0.05533207207918167,
0.021327799186110497,
-0.04469549283385277,
-0.05161655321717262,
-0.03358536586165428,
-0.03755586966872215,
-0.012321311980485916,
0.039195068180561066,
-0.039012935012578964,
0.017503002658486366,
-0.02935987524688244,
0.024041583761572838,
0.07168763130903244,
0.025316517800092697,
-0.017584962770342827,
0.004446327220648527,
-0.04199992120265961,
0.06480299681425095,
-0.04349341243505478,
0.03974146768450737,
-0.05088802054524422,
0.001461619045585394,
0.0089882742613554,
0.017657814547419548,
0.037847280502319336,
-0.0033694645389914513,
-0.027902808040380478,
0.0090565737336874,
-0.012430591508746147,
0.06156102567911148,
0.036426644772291183,
-0.01784905418753624,
0.014288350939750671,
-0.013204658403992653,
0.03305717930197716,
-0.01806761510670185,
-0.0511794351041317,
0.06520368903875351,
-0.04221848025918007,
0.02826707437634468,
-0.054312124848365784,
-0.019852520897984505,
-0.018240641802549362,
0.014388523995876312,
-0.06600508093833923,
0.003749667666852474,
-0.0014286073856055737,
-0.01344143133610487,
-0.051689404994249344,
0.004448603838682175,
0.024861183017492294,
0.0010478351032361388,
0.006829995661973953,
-0.13980545103549957,
-0.0460432767868042,
0.02440585009753704,
0.020016441121697426,
0.004999556578695774,
0.03465995192527771,
-0.002747934777289629,
0.04571543633937836,
-0.03078051283955574,
0.0024360318202525377,
-0.018368134275078773,
-0.04094354808330536,
-0.0536564439535141,
0.06840923428535461,
0.017676029354333878,
-0.011756698600947857,
-0.015554176643490791,
-0.07766160368919373,
-0.009625740349292755,
-0.005682556424289942,
0.001786043867468834,
-0.005892009474337101,
0.015936655923724174,
0.015526856295764446,
0.009174960665404797,
0.03853938728570938,
0.007991095073521137,
0.011064592748880386,
0.039231494069099426,
-0.031217632815241814,
0.03189152479171753,
0.060759641230106354,
0.02932344749569893,
-0.012457911856472492,
0.017202481627464294,
-0.02573542296886444,
-0.02952379360795021,
-0.03325752541422844,
0.04764604941010475,
0.037701576948165894,
-0.01017213985323906,
-0.027738887816667557,
-0.0022402384784072638,
-0.04261917248368263,
0.0722704604268074,
-0.044221945106983185,
-0.06633291393518448,
-0.0036039610859006643,
0.004300620406866074,
0.0665879026055336,
0.03369464352726936,
0.060905348509550095,
-0.045351170003414154,
-0.08210565149784088,
0.03560704365372658,
-0.008250635117292404,
-0.07460176199674606,
0.030070193111896515,
-0.004339323844760656,
-0.004954023286700249,
0.003255631309002638,
0.0065431357361376286,
0.0191239882260561,
-0.04403981193900108,
0.023713745176792145,
0.03079872764647007,
0.013068058528006077,
0.0026910181622952223,
-0.013277511112391949,
-0.06345520913600922,
-0.05343788489699364,
-0.0029960914980620146,
0.037847280502319336,
0.017557641491293907,
0.03067123331129551,
0.028868114575743675,
0.006324575748294592,
0.07700592279434204,
0.053401459008455276,
0.01689285598695278,
0.027829954400658607,
-0.019925374537706375,
0.008378127589821815,
0.03578917682170868,
0.03076229989528656,
-0.03850296139717102,
-0.011465285904705524,
0.024915823712944984,
0.02943272702395916,
-0.01928790658712387,
0.014397630468010902,
-0.012221138924360275,
-0.023713745176792145,
0.017648708075284958,
0.05759052187204361,
0.008856227621436119,
0.008123141713440418,
0.013250191695988178,
0.04068855941295624,
-0.06913776695728302,
-0.023804811760783195,
0.011574565432965755,
0.08312559872865677,
-0.03684554994106293,
-0.05504065752029419,
0.036426644772291183,
0.018204214051365852,
0.01925148069858551,
0.02196526527404785,
0.0040433574467897415,
0.04731820896267891,
0.05048732832074165,
0.010481766425073147,
0.0003528831002768129,
-0.02558971755206585,
-0.006889188662171364,
0.041453517973423004,
0.00384528748691082,
-0.05657057836651802,
-0.008155014365911484,
0.0012533041881397367,
0.03307539224624634,
-0.012567192316055298,
0.012958778068423271,
0.013131804764270782,
0.00764048844575882,
-0.050633035600185394,
-0.027174275368452072,
0.041708506643772125,
-0.0033603578340262175,
0.027538541704416275,
0.0002774685563053936,
0.014916710555553436,
-0.03894008323550224,
0.021382439881563187,
-0.023823024705052376,
-0.026427529752254486,
-0.07325398176908493,
0.011875085532665253,
0.03322109952569008,
0.04349341243505478,
0.036353789269924164,
0.026682516559958458,
0.0021764920093119144,
-0.0012191542191430926,
-0.05249079316854477,
0.005286416504532099,
0.050705887377262115,
-0.009917153976857662,
0.025225451216101646,
0.042910587042570114,
-0.007207922171801329,
-0.02325841225683689,
-0.0688827857375145,
-0.023731958121061325,
-0.006347342394292355,
-0.04433122277259827,
-0.06024966761469841,
-0.0044759237207472324,
0.06647862493991852,
0.0025749083142727613,
-0.008806141093373299,
0.05077873915433884,
-0.013568924739956856,
0.00239277514629066,
0.03282040357589722,
-0.01351428497582674,
0.01680178940296173,
-0.029232380911707878,
-0.03099907375872135,
-0.044367652386426926,
0.011747592128813267,
0.002686464926227927,
-0.045496877282857895,
0.05048732832074165,
-0.035206351429224014,
0.1119026467204094,
0.06509441137313843,
-0.05474924296140671,
-0.0329296849668026,
0.10833283513784409,
-0.01335947122424841,
-0.07412821799516678,
0.028613127768039703,
-0.04010573402047157,
0.002316506812348962,
-0.006415642332285643,
0.019907159730792046,
-0.013751057907938957,
-0.0023051234893500805,
-0.036390215158462524,
0.10228601098060608,
-0.0177488811314106,
0.02296699769794941,
-0.05853761360049248,
-0.046589676290750504,
0.03926791995763779,
0.016920175403356552,
-0.017357295379042625,
0.025371156632900238,
0.04582471773028374,
0.03165475279092789,
-0.03578917682170868,
-0.0012396442471072078,
-0.021437078714370728,
-0.008341701701283455,
0.0019146754639223218,
-0.012421485036611557,
0.0020216787233948708,
0.014916710555553436,
-0.020253213122487068,
-0.0023813918232917786,
0.027247129008173943,
-0.022293105721473694,
-0.005363823380321264,
0.005518636200577021,
0.01412443071603775,
-0.07795301824808121,
0.0337492860853672,
0.019633959978818893,
0.04513261094689369,
0.038976509124040604,
0.046881090849637985,
0.02558971755206585,
0.026646088808774948,
0.018513841554522514,
-0.018705081194639206,
-0.015982190147042274,
-0.054567109793424606,
-0.008195994421839714
] |
711,084
|
yt_dlp.update
|
_report_network_error
| null |
def _report_network_error(self, action, delim=';', tag=None):
if not tag:
tag = self.requested_tag
self._report_error(
f'Unable to {action}{delim} visit https://github.com/{self.requested_repo}/releases/'
+ tag if tag == "latest" else f"tag/{tag}", True)
|
(self, action, delim=';', tag=None)
|
[
-0.037692658603191376,
0.0017506235744804144,
-0.036493510007858276,
0.06486143916845322,
-0.032699186354875565,
-0.039339251816272736,
-0.005051639396697283,
0.026488667353987694,
0.026041224598884583,
-0.023732414469122887,
0.08368987590074539,
0.01231365092098713,
0.07781941443681717,
-0.02507474645972252,
-0.027365658432245255,
0.0027719137724488974,
-0.008564072661101818,
0.04406425729393959,
0.011007115244865417,
0.03898129612207413,
-0.05401540547609329,
-0.036869361996650696,
-0.032770778983831406,
-0.027079293504357338,
0.0037160201463848352,
0.0866251066327095,
0.021334117278456688,
0.0026757135055959225,
0.017799310386180878,
-0.02022445574402809,
-0.03328981250524521,
-0.04982733353972435,
-0.02877957932651043,
0.042596641927957535,
0.02351764217019081,
0.03495430201292038,
0.020850876346230507,
0.013235385529696941,
-0.05480290576815605,
-0.02142360433936119,
-0.08476373553276062,
-0.0379074327647686,
0.0015324946725741029,
-0.06285689026117325,
0.0020951551850885153,
-0.05430176854133606,
-0.02716878242790699,
0.03388043865561485,
-0.07359553873538971,
-0.0699801966547966,
-0.05218983441591263,
0.08032509684562683,
0.004295459482818842,
0.005270887166261673,
0.04069948196411133,
0.02675713412463665,
0.06285689026117325,
0.05258358642458916,
0.013566493056714535,
0.012662657536566257,
-0.018327293917536736,
0.0379074327647686,
0.028117362409830093,
0.068942129611969,
-0.0075349523685872555,
-0.0008904130081646144,
-0.021262524649500847,
-0.02305229939520359,
-0.052511993795633316,
0.026255996897816658,
0.0723784938454628,
0.038873910903930664,
-0.06607849150896072,
0.012421038001775742,
0.03794322535395622,
-0.0296744666993618,
0.0403057299554348,
-0.0032283063046634197,
-0.014756693504750729,
-0.013414362445473671,
0.037227317690849304,
-0.03488271310925484,
0.01641223579645157,
0.0035840242635458708,
0.053657449781894684,
-0.06965804100036621,
0.019938092678785324,
-0.022891219705343246,
-0.07846373319625854,
0.015069904737174511,
-0.015911098569631577,
-0.03737049922347069,
-0.017387662082910538,
-0.04084266349673271,
-0.009512653574347496,
0.05974268540740013,
0.04209550470113754,
-0.021083548665046692,
-0.03042617253959179,
-0.027705714106559753,
0.030139809474349022,
0.01299376506358385,
-0.05340688303112984,
0.009628988802433014,
-0.02138780988752842,
-0.07141201943159103,
0.013432260602712631,
0.020743491128087044,
-0.03490060940384865,
-0.0631074607372284,
-0.031482141464948654,
-0.007114354986697435,
-0.026506565511226654,
-0.029370205476880074,
0.0015392063651233912,
0.036404021084308624,
0.028493216261267662,
-0.008228490129113197,
0.0068906331434845924,
-0.048037558794021606,
-0.0043692877516150475,
-0.01785300485789776,
-0.05977848172187805,
0.0020806132815778255,
0.015177290886640549,
-0.02226479910314083,
-0.01190200261771679,
0.00564226508140564,
0.001455310732126236,
0.009485806338489056,
-0.06017223000526428,
0.021334117278456688,
-0.0485386960208416,
-0.032323334366083145,
0.006756400223821402,
-0.0018479425925761461,
-0.055017679929733276,
0.002702560042962432,
0.007673659827560186,
-0.048717670142650604,
-0.010953421704471111,
-0.04359891638159752,
-0.07846373319625854,
0.0006996901356615126,
0.005584097467362881,
0.011955696158111095,
-0.0404847078025341,
-0.016779139637947083,
0.05315631255507469,
-0.0066490136086940765,
0.03160742297768593,
0.013271180912852287,
-0.059492114931344986,
-0.040162548422813416,
0.03627873584628105,
0.05773813650012016,
0.004150040447711945,
0.00965583510696888,
0.02469889260828495,
0.016269054263830185,
-0.006116555538028479,
-0.07588645070791245,
0.016358541324734688,
0.0478585809469223,
0.017280276864767075,
-0.008031615056097507,
0.01545470580458641,
0.036905158311128616,
-0.03158952668309212,
0.05594836175441742,
-0.017262378707528114,
0.027687817811965942,
-0.006429766304790974,
-0.025772757828235626,
0.013360668905079365,
0.04445800930261612,
0.05541142821311951,
-0.030211400240659714,
-0.04574664682149887,
-0.02763412334024906,
-0.01190200261771679,
-0.026971906423568726,
0.023249175399541855,
0.011033962480723858,
-0.0064387149177491665,
-0.05032847076654434,
-0.0016443557105958462,
-0.030193502083420753,
-0.02462730184197426,
0.07012338191270828,
0.055304042994976044,
-0.012859532609581947,
-0.007740776054561138,
0.004957676399499178,
0.027741510421037674,
-0.08118418604135513,
0.029048046097159386,
-0.0016342881135642529,
0.08948874473571777,
0.01651962287724018,
0.013360668905079365,
0.06543416529893875,
-0.022103719413280487,
0.019687524065375328,
0.017844054847955704,
0.034005723893642426,
0.0066490136086940765,
-0.0197233185172081,
-0.017503997310996056,
0.053299494087696075,
-0.028296340256929398,
0.08039668947458267,
0.00014485990686807781,
0.059026774019002914,
-0.028654295951128006,
0.014121323823928833,
0.02351764217019081,
0.04478016868233681,
-0.007315704599022865,
0.023750312626361847,
0.03980459272861481,
-0.05100858211517334,
0.027490941807627678,
-0.005355901084840298,
0.03042617253959179,
-0.0067250789143145084,
0.022014230489730835,
0.034005723893642426,
0.004422981292009354,
-0.020027581602334976,
0.013485953211784363,
-0.022837527096271515,
0.0044140322133898735,
0.019651727750897408,
0.0636443942785263,
-0.02425144985318184,
0.006331328768283129,
-0.027079293504357338,
-0.005096383858472109,
0.0038681509904563427,
-0.03328981250524521,
-0.038551751524209976,
-0.019257977604866028,
0.04725005477666855,
0.05172449350357056,
-0.043813686817884445,
0.004988997243344784,
0.02881537564098835,
-0.025235826149582863,
-0.005628841929137707,
0.009637937881052494,
0.020439228042960167,
-0.04982733353972435,
-0.07173417508602142,
-0.008599868044257164,
-0.03506169095635414,
0.0205824114382267,
-0.014729847200214863,
0.04445800930261612,
-0.009324726648628712,
-0.012805839069187641,
0.009700579568743706,
0.009226289577782154,
-0.034309983253479004,
-0.03633242845535278,
-0.01708340086042881,
0.0020548852626234293,
0.010130126029253006,
0.033934131264686584,
0.035258565098047256,
0.023660823702812195,
0.04678471386432648,
0.0275267381221056,
0.006393970921635628,
-0.03456055372953415,
-0.029781853780150414,
0.030748331919312477,
0.03754947707056999,
0.005141128320246935,
0.010139074176549911,
0.006993545219302177,
-0.039733000099658966,
-0.00864461250603199,
0.06464666873216629,
-0.07338076829910278,
-0.01627800241112709,
0.014461380429565907,
0.03198327496647835,
0.020313944667577744,
-0.0008674815180711448,
0.0075349523685872555,
0.048717670142650604,
0.04209550470113754,
0.02018866129219532,
-0.01361123751848936,
0.016134820878505707,
0.03221594914793968,
0.08762737363576889,
0.04818074032664299,
0.00027266101096756756,
-0.0217815600335598,
-0.015105700120329857,
-0.024144062772393227,
-0.05841825157403946,
-0.008255336433649063,
-0.011651434004306793,
0.06081654876470566,
-0.026936111971735954,
0.01421976089477539,
-0.015069904737174511,
0.029567081481218338,
0.02308809570968151,
-0.031070491299033165,
0.022067924961447716,
0.0766739547252655,
0.054910290986299515,
0.012975867837667465,
-0.0060494388453662395,
0.006407394073903561,
0.025235826149582863,
0.043419938534498215,
0.04617619141936302,
-0.016510672867298126,
0.01008538156747818,
-0.06933587789535522,
-0.03758527338504791,
0.020510820671916008,
-0.00761996628716588,
0.0061299786902964115,
0.049970515072345734,
0.01974121667444706,
-0.005508032161742449,
-0.007736301980912685,
-0.03541964292526245,
0.00422386871650815,
0.00047289207577705383,
-0.03747788444161415,
-0.07452622801065445,
0.01684178225696087,
-0.018667351454496384,
-0.04810914769768715,
-0.009405266493558884,
0.008313504047691822,
0.02299860678613186,
0.07277224957942963,
0.007722878362983465,
0.013620186597108841,
-0.028511114418506622,
-0.018085675314068794,
0.05405120179057121,
0.004814494401216507,
0.10402171313762665,
-0.004461013711988926,
0.021513093262910843,
0.029889240860939026,
-0.014729847200214863,
-0.05183187872171402,
-0.031070491299033165,
0.022372186183929443,
0.04911142215132713,
-0.04850289970636368,
0.009208391420543194,
0.06779666990041733,
0.01088183093816042,
0.010237512178719044,
-0.09149329364299774,
0.061926208436489105,
0.024430427700281143,
-0.018040930852293968,
-0.05967109277844429,
-0.006197095382958651,
-0.039303455501794815,
-0.027705714106559753,
-0.004930829629302025,
-0.040592093020677567,
0.0699801966547966,
0.017772464081645012,
-0.04685630649328232,
-0.014407687820494175,
0.02339235693216324,
-0.017575589939951897,
0.03051566146314144,
0.033504586666822433,
0.007499156519770622,
0.04399266466498375,
-0.05508926883339882,
0.007709455210715532,
0.015562092885375023,
0.046713124960660934,
0.032323334366083145,
0.05018528550863266,
-0.07040974497795105,
0.055805180221796036,
0.03941084071993828,
-0.01128453016281128,
-0.02681082673370838,
0.005597521085292101,
-0.07141201943159103,
-0.035652317106723785,
0.031392652541399,
-0.027419351041316986,
0.05304892733693123,
-0.059062570333480835,
0.014568767510354519,
0.020761389285326004,
0.02555798552930355,
-0.06385916471481323,
-0.0010900847846642137,
-0.05809609219431877,
0.013110101222991943,
-0.043026186525821686,
-0.013647032901644707,
-0.0336119718849659,
-0.020922468975186348,
0.01893581822514534,
0.03253810852766037,
0.010380694642663002,
0.02800997719168663,
-0.03613555431365967,
0.0014251082902774215,
-0.0035146703012287617,
-0.039267659187316895,
0.061997801065444946,
0.02462730184197426,
0.009834812954068184,
-0.04581823572516441,
0.019848603755235672,
0.01253737322986126,
0.01691337302327156,
0.003691410645842552,
0.045889828354120255,
0.07474099844694138,
-0.008380620740354061,
-0.01590215042233467,
0.020045477896928787,
-0.017656128853559494,
-0.07789099961519241,
-0.005897308234125376,
0.04578243941068649,
-0.010183818638324738,
-0.013897601515054703,
-0.002251760568469763,
0.029531285166740417,
-0.011687229387462139,
0.0650046244263649,
-0.010953421704471111,
0.011937798000872135,
-0.013727572746574879,
-0.047572214156389236,
-0.008085307665169239,
-0.0015425621531903744,
-0.0349900983273983,
-0.013342771679162979,
0.010640211403369904,
-0.020779285579919815,
-0.028546908870339394,
0.018721045926213264,
0.04327675700187683,
-0.00380998314358294,
0.014550869353115559,
-0.005575148854404688,
0.05483870208263397,
-0.03737049922347069,
-0.017763515934348106,
-0.002926281886175275,
-0.0015291388845071197,
0.0396256148815155,
-0.016376439481973648,
0.004483385942876339,
-0.01787090115249157,
-0.038551751524209976,
-0.051652900874614716,
0.028511114418506622,
0.02514633722603321,
-0.025361109524965286,
0.0033245068043470383,
-0.008161373436450958,
0.005664637312293053,
-0.0003361420822329819,
-0.031124185770750046,
-0.042596641927957535,
-0.012394190765917301,
0.0387665219604969,
-0.0065818969160318375,
-0.037227317690849304,
-0.03740629553794861,
-0.007069610524922609,
0.017763515934348106,
0.024018779397010803,
0.021513093262910843,
-0.047178465873003006,
-0.03833697736263275,
-0.017387662082910538,
-0.02052871696650982,
0.017468202859163284,
0.01938326098024845,
-0.05029267445206642,
0.08275918662548065,
-0.03549123555421829,
-0.04649835079908371,
0.024609403684735298,
-0.03737049922347069,
0.03409521281719208,
-0.012671605683863163,
0.012080980464816093,
-0.04367050528526306,
0.04728585109114647,
0.023750312626361847,
0.03694095462560654,
-0.0010324764298275113,
0.009288931265473366,
-0.0035146703012287617,
0.03541964292526245,
0.043026186525821686,
-0.0071412017568945885,
-0.06507621705532074,
-0.03182219713926315,
-0.01108765508979559,
0.04077107086777687,
0.043026186525821686,
0.05444495007395744,
-0.008913079276680946,
0.03051566146314144,
-0.03660089522600174,
0.00965583510696888,
-0.08633873611688614,
0.04069948196411133,
0.018416782841086388,
-0.048395510762929916,
0.02430514246225357,
-0.02430514246225357,
0.043026186525821686,
0.0361892469227314,
-0.07191315293312073,
0.00035823462530970573,
0.03420259803533554,
0.018067777156829834,
0.04152277857065201,
-0.04864608123898506,
-0.015320472419261932,
-0.02145940065383911,
0.019973887130618095,
-0.05394381284713745,
-0.044994939118623734,
-0.04445800930261612,
-0.006429766304790974,
-0.043348345905542374,
0.061496663838624954,
-0.01622430980205536,
-0.006827990990132093,
-0.012904277071356773,
0.07681713998317719,
-0.0043961345218122005,
0.007883958518505096,
0.064145527780056,
0.04524550959467888,
0.034309983253479004,
0.024537812918424606,
0.06754610687494278,
0.008725152350962162,
-0.03912447765469551,
-0.03758527338504791,
-0.043455734848976135,
0.03083782084286213,
0.03320032358169556,
-0.005226142704486847,
0.03951822966337204,
-0.05562620237469673,
-0.021656276658177376,
-0.04155857115983963,
-0.0007841450860723853,
-0.03923186659812927,
0.019848603755235672,
0.0403057299554348,
0.005977848079055548,
-0.037263114005327225,
0.005924155004322529,
0.03490060940384865,
-0.002438568277284503,
0.025003155693411827,
0.008792269043624401,
-0.011660383082926273,
0.032287538051605225,
0.004537079483270645,
-0.005458813160657883,
0.02094036526978016,
0.013745470903813839,
-0.05870461463928223,
-0.011025013402104378,
-0.00007844247738830745,
-0.05852563679218292,
-0.08827169984579086,
0.0016040856717154384,
-0.0452813021838665,
-0.021656276658177376,
0.020027581602334976,
0.017423458397388458,
-0.0156963262706995,
0.016868628561496735,
0.035956576466560364,
0.03083782084286213,
0.016546469181776047,
0.04907562583684921,
-0.016349593177437782,
0.02886906825006008,
-0.02509264275431633,
-0.02065400220453739,
0.006250788923352957,
0.011141348630189896,
-0.0083627225831151,
0.02380400523543358,
0.0020783760119229555,
-0.015392064116895199,
0.011570894159376621,
-0.05032847076654434,
-0.002805472118780017,
0.028618499636650085,
0.05838245525956154,
0.026470771059393883,
0.039303455501794815,
0.017503997310996056,
-0.030640944838523865,
-0.012277855537831783,
0.019938092678785324,
-0.00017492253391537815,
0.07270065695047379,
0.010192767716944218,
-0.056664273142814636,
-0.04520971328020096,
0.015687376260757446,
-0.029728161171078682,
0.02425144985318184,
0.0242693480104208,
-0.02462730184197426,
-0.05140233412384987,
-0.006908530835062265,
0.0957171618938446,
0.03676197677850723,
-0.020009683445096016,
-0.01929377391934395,
0.012412088923156261,
0.03672618046402931,
-0.08741260319948196,
0.013485953211784363,
-0.026542361825704575,
0.01067600678652525,
-0.01847047731280327,
-0.020922468975186348,
0.0567716583609581,
0.00009109674283536151,
0.052082449197769165,
0.0014687340008094907,
0.01525783073157072,
0.009150223806500435,
-0.03362986817955971,
0.014085528440773487,
-0.013387516140937805,
0.00700696837157011,
0.008828064426779747,
-0.03787163645029068,
-0.006407394073903561,
-0.018524169921875,
0.05100858211517334,
0.03590288385748863,
-0.004917406477034092,
-0.003073938423767686,
0.030247194692492485,
-0.13809902966022491,
-0.04363471269607544,
0.0012785703875124454,
-0.0032462042290717363,
-0.04402846097946167,
0.03638612478971481,
0.005776498466730118,
0.029871342703700066,
-0.027240373194217682,
0.07345236092805862,
-0.008899655193090439,
-0.03509748354554176,
0.027383554726839066,
0.04066368564963341,
0.0069532752968370914,
-0.05072221904993057,
-0.054480746388435364,
0.014676153659820557,
0.024573609232902527,
-0.04435062035918236,
0.050006311386823654,
0.03543754294514656,
0.004474437329918146,
-0.007722878362983465,
-0.005333529319614172,
-0.0024072472006082535,
0.06049438938498497,
-0.06725973635911942,
-0.00925313588231802,
-0.04950517416000366,
-0.036797769367694855,
-0.009396318346261978,
0.0067742979153990746,
0.05054324120283127,
0.011812513694167137,
-0.015078852884471416,
0.0014843945391476154,
0.0033916232641786337,
-0.06425292044878006,
-0.056163135915994644,
-0.032072763890028,
0.014121323823928833,
-0.0403057299554348,
0.003275288036093116,
-0.07738986611366272,
-0.022855425253510475,
-0.02217531017959118,
0.00446325121447444,
-0.029048046097159386,
-0.05627052113413811,
-0.05852563679218292,
-0.03711993247270584,
0.03198327496647835,
-0.026041224598884583,
-0.04435062035918236,
0.020492922514677048,
0.03371935710310936,
-0.01977701298892498,
0.004662363324314356,
0.005937578156590462,
-0.05240460857748985,
0.04639096558094025,
0.0379074327647686,
0.0137633690610528,
0.08734101057052612,
0.01272529922425747,
0.012832685373723507,
0.019275875762104988,
-0.06657962501049042,
-0.0699801966547966,
0.03715572506189346,
0.11211149394512177,
0.07313019782304764,
0.0189537163823843,
-0.06350120902061462,
-0.03196537867188454,
-0.08726942539215088,
-0.0066848089918494225,
0.004543791059404612,
0.0009306829306297004,
0.02802787348628044,
-0.020475024357438087,
-0.007521528750658035,
-0.01314589660614729,
-0.043455734848976135,
0.014246608130633831,
0.021566787734627724,
0.054946087300777435,
-0.011382968164980412,
0.03951822966337204,
0.016698598861694336,
-0.019580136984586716,
-0.01048808079212904,
0.026667645201086998,
0.05487449839711189,
0.019222181290388107,
-0.03409521281719208,
-0.016868628561496735,
0.015562092885375023,
-0.010318052023649216,
-0.005387222394347191
] |
711,085
|
yt_dlp.update
|
_report_permission_error
| null |
def _report_permission_error(self, file):
self._report_error(f'Unable to write to {file}; try running as administrator', True)
|
(self, file)
|
[
-0.01967993564903736,
0.04732636362314224,
0.049284230917692184,
0.08607862144708633,
0.03932611644268036,
-0.03642307221889496,
0.009072011336684227,
-0.01314808800816536,
-0.02654934674501419,
-0.02725823037326336,
0.060018740594387054,
0.033756323158741,
0.040608856827020645,
-0.05404387041926384,
-0.02135087363421917,
0.021907852962613106,
-0.004422078374773264,
0.05188346654176712,
-0.012945549562573433,
0.05296367034316063,
-0.0027616892475634813,
-0.03237231448292732,
-0.0037870374508202076,
-0.019713692367076874,
-0.021755950525403023,
0.09039942920207977,
-0.02016940340399742,
0.048440322279930115,
0.04742763191461563,
-0.03942738473415375,
-0.07257609069347382,
-0.0006909497315064073,
0.03188284486532211,
0.009688064455986023,
0.01787397265434265,
-0.012126958929002285,
0.00832093320786953,
-0.0001451785647077486,
-0.08472836762666702,
-0.0017194626852869987,
-0.0494530126452446,
0.052558593451976776,
-0.01772207021713257,
-0.03689565882086754,
0.010827340185642242,
-0.028675995767116547,
0.002913592616096139,
0.07277863472700119,
-0.03682814911007881,
-0.014371754601597786,
-0.041216470301151276,
0.04438956454396248,
-0.010802023112773895,
-0.008666935376822948,
0.018785392865538597,
0.009991871193051338,
0.033368125557899475,
0.012472961097955704,
0.0392923578619957,
-0.10086388885974884,
0.0005063448334112763,
0.04357941076159477,
0.04516595974564552,
-0.08533598482608795,
0.043140579015016556,
0.008953864686191082,
-0.022532345727086067,
-0.02305556833744049,
-0.03436393663287163,
0.051950979977846146,
0.007962272502481937,
-0.021620923653244972,
-0.0010063603986054659,
0.0046583726070821285,
0.05377382040023804,
-0.012000372633337975,
-0.015257857739925385,
0.009679625742137432,
-0.010903292335569859,
0.023089325055480003,
0.034667741507291794,
-0.06825528293848038,
0.06295554339885712,
0.04141900688409805,
-0.010177531279623508,
-0.002620334504172206,
0.02884477749466896,
-0.04114895686507225,
-0.029401756823062897,
0.0030844840221107006,
0.008683813735842705,
-0.0038967453874647617,
-0.01822841353714466,
-0.041689056903123856,
-0.004276504274457693,
0.002500077709555626,
0.005523378495126963,
-0.029232975095510483,
-0.07790958881378174,
0.001857652678154409,
-0.044592101126909256,
-0.0037089758552610874,
0.07541162520647049,
-0.02870975248515606,
0.03065074048936367,
-0.01550259068608284,
-0.0030043127480894327,
0.003118240274488926,
-0.0412839837372303,
0.006717508193105459,
-0.0764918252825737,
0.040507588535547256,
0.016025813296437263,
-0.004502249415963888,
0.013316868804395199,
0.020810773596167564,
0.0077934907749295235,
-0.05272737517952919,
-0.014911855570971966,
0.004599298816174269,
0.07372380793094635,
-0.002953678136691451,
0.018532220274209976,
-0.0043503460474312305,
-0.019139835610985756,
0.021333996206521988,
-0.04992559924721718,
0.019393006339669228,
0.02109770104289055,
0.03453271836042404,
-0.08891415596008301,
-0.020236914977431297,
0.026093637570738792,
-0.00233973516151309,
-0.010894852690398693,
-0.029654929414391518,
0.028422823175787926,
-0.016928795725107193,
0.004363004583865404,
-0.0006498091970570385,
0.01648152433335781,
-0.0352078452706337,
-0.007662685122340918,
-0.018751638010144234,
0.007920077070593834,
0.010076262056827545,
-0.022414198145270348,
0.041182711720466614,
-0.009308305568993092,
-0.033722564578056335,
0.003111911006271839,
-0.004865129943937063,
-0.07541162520647049,
-0.02714008279144764,
-0.022971177473664284,
0.03946113958954811,
0.017435140907764435,
-0.025874221697449684,
-0.01055729016661644,
-0.02474338375031948,
-0.06089640408754349,
-0.030600106343626976,
-0.04644870012998581,
0.0762217789888382,
-0.01622835174202919,
-0.022110391408205032,
-0.01201725099235773,
0.017806459218263626,
0.006240699905902147,
0.010295677930116653,
0.019713692367076874,
0.02508094720542431,
0.04499717801809311,
0.04330936074256897,
-0.020692626014351845,
0.008401105180382729,
0.04550352320075035,
-0.032878659665584564,
-0.015781080350279808,
-0.005831404589116573,
0.01676001399755478,
-0.01905544474720955,
0.03232168033719063,
0.014202972874045372,
0.03267611935734749,
0.0137472627684474,
-0.01762080006301403,
0.002843970200046897,
-0.014447705820202827,
0.015882350504398346,
0.04027129337191582,
0.017654556781053543,
0.03557916358113289,
-0.017004746943712234,
0.005962210241705179,
-0.059546153992414474,
-0.013316868804395199,
-0.04786646366119385,
0.004192113410681486,
-0.025637926533818245,
-0.011477150022983551,
0.07318370789289474,
0.021755950525403023,
0.03622053563594818,
0.018194658681750298,
0.08418826758861542,
0.08216288685798645,
-0.003770159324631095,
-0.04287052899599075,
0.06298929452896118,
0.04249921068549156,
-0.019629301503300667,
0.007371536921709776,
0.04317433759570122,
-0.01002562791109085,
0.009097329340875149,
0.05282864347100258,
-0.0021730633452534676,
-0.06498092412948608,
0.06491340696811676,
-0.02992497943341732,
0.04695504531264305,
-0.01681908778846264,
-0.028929168358445168,
0.03169718757271767,
-0.0006550836260430515,
0.025249728932976723,
-0.007308243773877621,
0.0025739194825291634,
0.043140579015016556,
0.05093828961253166,
0.0057385750114917755,
-0.051343366503715515,
0.0109792435541749,
-0.04908169433474541,
-0.029519904404878616,
-0.005270205903798342,
-0.05887102708220482,
-0.009072011336684227,
0.022161025553941727,
-0.03898855298757553,
-0.0067808013409376144,
0.0450984463095665,
0.08999435603618622,
0.040507588535547256,
-0.04283677414059639,
-0.011367441155016422,
0.024692749604582787,
0.026346810162067413,
-0.03353690728545189,
0.03750327602028847,
0.017224162817001343,
-0.10896541178226471,
-0.04806900396943092,
-0.04260047897696495,
-0.05900605022907257,
-0.001995842671021819,
-0.04354565590620041,
0.015983618795871735,
0.02281927317380905,
-0.012472961097955704,
0.03591672703623772,
0.0540776289999485,
-0.07959740608930588,
-0.003945270087569952,
-0.04104768857359886,
-0.025300363078713417,
0.032524216920137405,
0.010675436817109585,
0.019983742386102676,
0.012287301011383533,
0.09357252717018127,
0.032878659665584564,
-0.012287301011383533,
-0.04148652032017708,
0.0016962551744654775,
0.06815401464700699,
0.08722633868455887,
0.011856907978653908,
0.04195911064743996,
0.05583295598626137,
0.03767205402255058,
0.04239794239401817,
0.09012938290834427,
-0.0213677529245615,
0.007434830069541931,
0.013721944764256477,
0.028895411640405655,
-0.011662809178233147,
-0.00263932254165411,
-0.01382321398705244,
0.0033608637750148773,
0.005713257472962141,
-0.03352002799510956,
-0.009282988496124744,
0.00840954389423132,
-0.04860910400748253,
-0.06987559050321579,
0.03380695730447769,
0.005641525611281395,
-0.028912290930747986,
0.03439769148826599,
-0.03267611935734749,
0.007177438121289015,
-0.006194285117089748,
-0.016844404861330986,
0.010903292335569859,
-0.020793894305825233,
-0.0354778952896595,
0.0213677529245615,
0.02411889284849167,
-0.032642364501953125,
-0.014616487547755241,
0.027460768818855286,
0.11517657339572906,
0.025182217359542847,
0.033368125557899475,
0.002017995109781623,
0.018886663019657135,
0.017452018335461617,
-0.03439769148826599,
0.04526722803711891,
0.038077130913734436,
-0.03319934383034706,
0.00781036913394928,
0.0019009029492735863,
0.061706557869911194,
-0.003850330598652363,
-0.05006062611937523,
0.005595110356807709,
-0.028085259720683098,
0.0022447954397648573,
-0.021924732252955437,
-0.055799201130867004,
-0.04935174435377121,
0.03427954390645027,
0.014675561338663101,
-0.03922484815120697,
0.03679439052939415,
0.005814526695758104,
-0.0607951357960701,
0.04006875306367874,
0.03895479440689087,
0.007548757828772068,
0.014346436597406864,
0.03380695730447769,
0.0003032794629689306,
-0.00786944292485714,
-0.03292929381132126,
-0.006417920812964439,
0.02678564190864563,
0.08776643872261047,
-0.06194285303354263,
-0.04209413379430771,
-0.023325618356466293,
-0.030195031315088272,
0.00657404400408268,
0.0041098324581980705,
-0.03135962411761284,
0.07196848094463348,
0.029739320278167725,
-0.0007579349330626428,
0.006590921897441149,
-0.01760392263531685,
-0.0014705098001286387,
-0.021030189469456673,
-0.002341844839975238,
-0.005088765639811754,
0.019122956320643425,
-0.011679687537252903,
0.04438956454396248,
-0.045064691454172134,
0.008139492943882942,
0.018397195264697075,
0.014987806789577007,
0.08358065783977509,
-0.002700505778193474,
0.017283236607909203,
-0.07689690589904785,
0.017316993325948715,
0.02449021115899086,
-0.025874221697449684,
0.0232749842107296,
-0.012194471433758736,
-0.04158778861165047,
-0.016861282289028168,
-0.04587484151124954,
-0.03159591928124428,
-0.013705067336559296,
0.04260047897696495,
0.026448078453540802,
-0.06103143095970154,
0.022886786609888077,
0.011131146922707558,
0.02003437653183937,
0.05154590308666229,
-0.045064691454172134,
0.01671781949698925,
0.007633148226886988,
0.06535223871469498,
-0.06707381457090378,
-0.007439049426466227,
-0.11517657339572906,
0.020253794267773628,
0.01646464690566063,
0.025401633232831955,
-0.010591045953333378,
-0.015240979380905628,
0.03561291843652725,
0.024692749604582787,
-0.0005933728534728289,
0.03439769148826599,
0.024929044768214226,
0.02052384428679943,
0.01573888584971428,
0.04958803951740265,
-0.03460023179650307,
-0.07136086374521255,
-0.015882350504398346,
0.002015885431319475,
0.016160840168595314,
0.008726009167730808,
0.05022940784692764,
0.009443331509828568,
0.023713815957307816,
-0.06785020977258682,
-0.043241847306489944,
0.019494276493787766,
0.03490403667092323,
0.00694114388898015,
-0.003915733192116022,
0.02896292507648468,
-0.02413577027618885,
-0.008548788726329803,
-0.004700568038970232,
-0.035545408725738525,
-0.061470262706279755,
0.02015252411365509,
-0.019764326512813568,
0.048575349152088165,
0.0555291511118412,
0.0091648418456316,
0.022768639028072357,
-0.04212788864970207,
0.04341062903404236,
0.018869783729314804,
0.013072135858237743,
0.032034751027822495,
0.022414198145270348,
0.0117725171148777,
0.021384630352258682,
0.0017068040324375033,
0.02170531451702118,
-0.03127523139119148,
-0.0063039930537343025,
0.019342372193932533,
-0.07392634451389313,
-0.013232478871941566,
0.014658682979643345,
-0.012397009879350662,
-0.00748124485835433,
0.0470900684595108,
-0.02978995442390442,
-0.07824715226888657,
0.01646464690566063,
-0.014329559169709682,
0.014667121693491936,
0.029013559222221375,
0.03053259290754795,
0.0029410196002572775,
0.03544414043426514,
-0.013367503881454468,
0.016667183488607407,
-0.016321182250976562,
-0.011333685368299484,
0.02943551354110241,
-0.012802084907889366,
0.021637802943587303,
0.01169656589627266,
0.07115832716226578,
0.014371754601597786,
-0.019933108240365982,
0.00869225338101387,
-0.0037216346245259047,
-0.001997952349483967,
-0.03584921360015869,
-0.05235605686903,
-0.04006875306367874,
-0.033958859741687775,
0.01967993564903736,
0.05451646074652672,
-0.03588297218084335,
-0.03169718757271767,
-0.060018740594387054,
-0.00832093320786953,
0.005658403504639864,
-0.05103955790400505,
0.053267475217580795,
-0.034937795251607895,
0.005527597852051258,
0.001090751145966351,
-0.06363067030906677,
-0.054111383855342865,
-0.01834656111896038,
0.013899166136980057,
0.009012938477098942,
0.04195911064743996,
-0.019814960658550262,
0.04840656742453575,
-0.031038938090205193,
0.027443889528512955,
0.055461637675762177,
-0.009443331509828568,
0.045436009764671326,
0.03041444718837738,
-0.007953833788633347,
-0.020777016878128052,
-0.021654680371284485,
-0.0005287611274980009,
0.012321057729423046,
-0.008776644244790077,
-0.06842406839132309,
0.03004312701523304,
0.0026118955574929714,
0.010422264225780964,
-0.11274611949920654,
0.032996803522109985,
0.0025718098040670156,
-0.018008997663855553,
0.015367565676569939,
-0.020253794267773628,
0.012126958929002285,
0.03380695730447769,
-0.04401824623346329,
0.02906419336795807,
0.032642364501953125,
0.0155616644769907,
-0.00048129132483154535,
-0.008801961317658424,
0.0161270834505558,
-0.005595110356807709,
0.0014483572449535131,
-0.022650491446256638,
-0.08634867519140244,
-0.00958679523319006,
-0.08310806751251221,
-0.06275300681591034,
-0.08796897530555725,
0.03767205402255058,
-0.0028798363637179136,
0.05947864055633545,
0.014793707989156246,
0.042532965540885925,
0.06643244624137878,
0.036760635673999786,
0.018042754381895065,
0.0741288810968399,
0.011510905809700489,
0.0015665043611079454,
0.02729198709130287,
-0.028034625574946404,
-0.020203158259391785,
0.0424654521048069,
-0.019933108240365982,
-0.026735007762908936,
-0.012776767835021019,
-0.03340188041329384,
0.04222916066646576,
-0.07075325399637222,
-0.05222102999687195,
-0.03249046206474304,
0.015578542836010456,
0.0017521640984341502,
-0.013418138027191162,
-0.05873600021004677,
-0.05107331648468971,
0.03689565882086754,
0.08013750612735748,
-0.027916477993130684,
0.047731440514326096,
-0.03679439052939415,
-0.013561602681875229,
-0.038448452949523926,
0.010616363026201725,
-0.0331655852496624,
0.027190716937184334,
0.04354565590620041,
-0.010093140415847301,
-0.03200099244713783,
0.05576544627547264,
-0.019156713038682938,
-0.030195031315088272,
-0.019983742386102676,
-0.10829028487205505,
0.01176407840102911,
0.05890478193759918,
0.00047337968135252595,
-0.07284614443778992,
0.01821153610944748,
0.028675995767116547,
-0.013198722153902054,
-0.0011519344989210367,
0.018768515437841415,
0.00708460807800293,
-0.011240855790674686,
-0.004654152784496546,
0.0328449010848999,
-0.003118240274488926,
-0.023359375074505806,
0.011080512776970863,
-0.0610651858150959,
0.007903198711574078,
-0.008312494494020939,
0.018532220274209976,
-0.03213601931929588,
0.026178028434515,
0.00898762047290802,
0.0407438799738884,
0.020085012540221214,
0.03659185394644737,
-0.03790834918618202,
0.021198971197009087,
-0.009966554120182991,
-0.015122832730412483,
-0.003242716658860445,
0.0033693029545247555,
0.015046880580484867,
0.011814712546765804,
-0.03463398665189743,
-0.002221588045358658,
-0.05022940784692764,
0.02415264956653118,
0.005443206988275051,
-0.022414198145270348,
-0.022532345727086067,
-0.03642307221889496,
-0.0325748510658741,
-0.02692066691815853,
0.015688251703977585,
0.00718165747821331,
0.019747449085116386,
-0.018042754381895065,
-0.042667992413043976,
-0.016979429870843887,
-0.011080512776970863,
0.07001060992479324,
-0.018312804400920868,
-0.025789830833673477,
-0.007304024416953325,
-0.04617865011096001,
0.0022321369033306837,
0.0277645755559206,
-0.018633490428328514,
-0.023342497646808624,
0.02219478227198124,
-0.03377320244908333,
-0.006865192204713821,
-0.040237534791231155,
-0.046752505004405975,
-0.0030802644323557615,
0.01638869382441044,
-0.03827967122197151,
0.005367255304008722,
-0.03473525494337082,
0.047495145350694656,
0.03392510488629341,
0.0016445658402517438,
-0.03141025826334953,
-0.035646677017211914,
0.05853346362709999,
0.06096391752362251,
-0.02619490586221218,
0.016987869516015053,
0.0041794548742473125,
0.04837280884385109,
0.022363563999533653,
0.0412839837372303,
-0.017122894525527954,
-0.0014873879263177514,
-0.04489590972661972,
-0.016000496223568916,
-0.009553039446473122,
0.004730104468762875,
-0.07156340032815933,
-0.011983494274318218,
0.05455021560192108,
-0.0062871151603758335,
0.026718128472566605,
-0.06042381748557091,
-0.01966305822134018,
-0.04513220489025116,
0.013983557000756264,
-0.031055817380547523,
0.020675746724009514,
-0.04158778861165047,
0.0072702681645751,
-0.0006202724180184305,
0.07082076370716095,
-0.020068133249878883,
0.028439702466130257,
-0.021300239488482475,
0.004346126690506935,
0.04003499820828438,
0.00958679523319006,
-0.041317738592624664,
-0.0480014905333519,
-0.02270112745463848,
-0.015004685148596764,
0.023933231830596924,
-0.06153777614235878,
0.019713692367076874,
-0.005223791114985943,
0.02425391785800457,
-0.01954491063952446,
-0.04621240496635437,
-0.06427203863859177,
-0.030127517879009247,
-0.009468648582696915,
0.06447457522153854,
-0.044727127999067307,
-0.04692128673195839,
0.0439169742166996,
-0.06727635115385056,
0.0011582637671381235,
0.022515466436743736,
-0.04438956454396248,
-0.02197536639869213,
-0.042060378938913345,
-0.024439577013254166,
-0.013316868804395199,
0.029958736151456833,
-0.0041098324581980705,
-0.034566473215818405,
0.08317557722330093,
0.028996681794524193,
0.03424578905105591,
-0.050735753029584885,
0.039393629878759384,
0.022498589009046555,
0.06201036274433136,
0.04786646366119385,
0.026448078453540802,
-0.04766392707824707,
-0.07973243296146393,
-0.0003979553875979036,
0.02845657989382744,
-0.017435140907764435,
0.0712258368730545,
0.009409574791789055,
0.03743576258420944,
0.02016940340399742,
0.012464522384107113,
-0.004035990219563246,
0.08925171941518784,
0.030093761160969734,
-0.049149204045534134,
0.036625608801841736,
-0.00009282988321501762,
0.02339313179254532,
-0.011586857959628105,
-0.0357479453086853,
0.021502777934074402,
-0.024557724595069885,
0.000707300438079983,
0.0003246408887207508,
0.006460116244852543,
-0.04786646366119385,
-0.0023123081773519516
] |
711,086
|
yt_dlp.update
|
_version_compare
|
Compare two version strings
This function SHOULD NOT be called if self._exact == True
|
def _version_compare(self, a: str, b: str):
"""
Compare two version strings
This function SHOULD NOT be called if self._exact == True
"""
if _VERSION_RE.fullmatch(f'{a}.{b}'):
return version_tuple(a) >= version_tuple(b)
return a == b
|
(self, a: str, b: str)
|
[
0.033694855868816376,
-0.015076333656907082,
-0.03304281085729599,
0.02199329435825348,
-0.0011388756101951003,
-0.07035034894943237,
0.011049516499042511,
0.05663978308439255,
-0.024213772267103195,
-0.05064802244305611,
0.030575614422559738,
0.014080643653869629,
0.024178527295589447,
-0.0004449765256140381,
-0.023843692615628242,
-0.06527496874332428,
0.009754237718880177,
-0.004462982527911663,
0.00840609148144722,
-0.017719758674502373,
-0.031315773725509644,
0.07507326453924179,
-0.014582893811166286,
0.04927343875169754,
0.039052195847034454,
0.08515352755784988,
0.03633828088641167,
-0.0120540177449584,
0.014679819345474243,
-0.0006691169110126793,
-0.03499894589185715,
-0.020830187946558,
0.05804961174726486,
0.024760080501437187,
0.022469110786914825,
-0.02978258766233921,
0.046383295208215714,
0.029888324439525604,
-0.060657791793346405,
-0.04000382870435715,
0.03982760012149811,
0.03365961089730263,
0.03210880234837532,
-0.035527631640434265,
-0.03233789652585983,
-0.031174790114164352,
-0.07017412036657333,
0.011216932907700539,
-0.0014263479970395565,
0.06837659329175949,
0.06820036470890045,
-0.07102001458406448,
0.007027104496955872,
0.006264917086809874,
-0.053185708820819855,
0.07429786026477814,
0.07676506042480469,
0.08585844188928604,
-0.029359638690948486,
0.04007432237267494,
-0.015728378668427467,
-0.052833251655101776,
-0.03224978223443031,
-0.011895411647856236,
-0.03450550511479378,
0.007661526557058096,
0.006956613156944513,
-0.04944966733455658,
-0.02021338976919651,
0.05205784738063812,
-0.052692268043756485,
-0.009807106107473373,
-0.0373956523835659,
-0.02289205975830555,
-0.02111215330660343,
0.07535523176193237,
-0.06446432322263718,
0.11236318200826645,
0.008533856831490993,
-0.015234938822686672,
0.0006927975919097662,
-0.07401590049266815,
0.04021530598402023,
-0.10045014321804047,
-0.039052195847034454,
-0.010926156304776669,
-0.011692749336361885,
0.00911981612443924,
0.03362436592578888,
0.046841491013765335,
-0.07584866881370544,
0.05656929314136505,
-0.007881811819970608,
0.04465625807642937,
0.03210880234837532,
-0.025605976581573486,
0.02024863474071026,
-0.046348050236701965,
-0.02468958869576454,
0.04271774739027023,
0.03633828088641167,
0.014644574373960495,
-0.051000479608774185,
-0.044021837413311005,
0.0035179578699171543,
-0.02946537546813488,
-0.04222430661320686,
-0.027703093364834785,
-0.03224978223443031,
-0.040532514452934265,
-0.04631280526518822,
-0.09065185487270355,
-0.00825189147144556,
0.02245148830115795,
0.0168562401086092,
0.004555502440780401,
0.013895603828132153,
-0.04744066670536995,
0.03647926449775696,
-0.018627334386110306,
0.04000382870435715,
0.047687385231256485,
-0.003531175199896097,
0.02629326656460762,
0.014600517228245735,
0.0005650320672430098,
0.013455032370984554,
-0.020266257226467133,
-0.034223541617393494,
-0.0022755481768399477,
0.08169945329427719,
0.024160902947187424,
0.0016829805681481957,
-0.0029936786741018295,
-0.018944544717669487,
0.022416243329644203,
-0.017543530091643333,
0.08268632739782333,
-0.004335216712206602,
0.04878000169992447,
-0.03362436592578888,
0.003542189486324787,
0.021041661500930786,
-0.030963316559791565,
-0.034135427325963974,
0.03873498737812042,
-0.024249017238616943,
0.0007142754620872438,
0.018433483317494392,
0.022469110786914825,
0.03424116224050522,
-0.012820610776543617,
0.025676466524600983,
-0.030469877645373344,
-0.03424116224050522,
-0.0357743501663208,
-0.01784311793744564,
-0.08078306168317795,
0.023191647604107857,
0.0031258498784154654,
0.08381418883800507,
-0.03616205230355263,
0.016697634011507034,
0.001195048331283033,
0.03958088159561157,
-0.00006935548299225047,
-0.012362416833639145,
-0.023843692615628242,
-0.019297001883387566,
0.005414615385234356,
0.023843692615628242,
0.07035034894943237,
-0.04937917739152908,
0.027562109753489494,
0.004084091633558273,
0.012424097396433353,
0.014723876491189003,
0.006969830486923456,
0.03764237090945244,
0.017719758674502373,
-0.014794368296861649,
-0.013789866119623184,
-0.05706273391842842,
0.05022507160902023,
0.0515996553003788,
0.04444478452205658,
0.006313379853963852,
0.01570194400846958,
0.04000382870435715,
-0.0018173545831814408,
-0.030787087976932526,
-0.010071448981761932,
0.028073173016309738,
-0.004101714119315147,
0.003335121087729931,
-0.007124030031263828,
0.0005452063633129001,
-0.04010956734418869,
0.05378488451242447,
0.02091830223798752,
-0.0028923475183546543,
-0.03336002305150032,
-0.010379848070442677,
0.005022507160902023,
0.08959448337554932,
-0.023667464032769203,
0.04183660447597504,
-0.02275107614696026,
0.01980806328356266,
-0.035439517349004745,
-0.04807508736848831,
-0.008018388412892818,
-0.019931424409151077,
0.030469877645373344,
-0.019596589729189873,
0.015146824531257153,
0.04694722592830658,
0.01676812581717968,
0.004652427975088358,
0.017376113682985306,
0.11017794907093048,
0.03233789652585983,
0.05646355450153351,
0.029342016205191612,
0.02164083905518055,
-0.0032315868884325027,
0.020354371517896652,
0.03295469656586647,
-0.04381036385893822,
0.001915381639264524,
0.0324612595140934,
0.013093764893710613,
0.055335693061351776,
0.007903840392827988,
-0.013578392565250397,
-0.02588794194161892,
-0.02606416866183281,
0.05480701103806496,
-0.014221626333892345,
-0.028073173016309738,
0.0024297479540109634,
0.029271524399518967,
-0.02271583117544651,
0.03304281085729599,
0.04987261816859245,
-0.09833540767431259,
-0.048991475254297256,
-0.03982760012149811,
0.026980556547641754,
0.01314663328230381,
-0.03274322301149368,
-0.005057753063738346,
-0.017094148322939873,
-0.048357054591178894,
-0.016477348282933235,
-0.017587587237358093,
-0.04588985815644264,
0.001068384270183742,
0.05681601166725159,
0.01406302023679018,
-0.009630878455936909,
0.030522746965289116,
-0.05371439456939697,
0.016036776825785637,
-0.017693324014544487,
-0.04433904588222504,
0.03979235514998436,
0.03424116224050522,
0.021570347249507904,
0.024583851918578148,
-0.00420304574072361,
-0.03515755012631416,
-0.06467579305171967,
0.07070280611515045,
-0.04056775942444801,
-0.038875967264175415,
0.021587969735264778,
-0.06464055180549622,
0.006564505398273468,
-0.0022865624632686377,
-0.024337131530046463,
0.02181706763803959,
-0.02964160405099392,
0.027473995462059975,
0.013261181302368641,
0.016891485080122948,
0.010309357196092606,
-0.11003696918487549,
-0.030082175508141518,
-0.021306004375219345,
0.004145771265029907,
-0.034100182354450226,
0.04208332300186157,
0.006344219669699669,
-0.05815534666180611,
0.03595057874917984,
0.050859495997428894,
-0.03714893013238907,
0.030346518382430077,
-0.02597605623304844,
-0.02759735658764839,
0.010793984867632389,
0.024707211181521416,
-0.01757877506315708,
0.017358489334583282,
0.005758260376751423,
-0.005432238336652517,
0.040849726647138596,
-0.028496120125055313,
-0.008666028268635273,
-0.05456028878688812,
0.029430130496621132,
-0.0008772866567596793,
-0.02361459657549858,
-0.0044717937707901,
0.07017412036657333,
-0.0020233215764164925,
0.023315006867051125,
-0.033606741577386856,
0.021253136917948723,
-0.004766976460814476,
0.08705679327249527,
-0.015349486842751503,
0.046841491013765335,
-0.015393543988466263,
-0.06583890318870544,
-0.01439785398542881,
-0.006053443066775799,
0.014256871305406094,
0.0019429173553362489,
0.03179159015417099,
0.011516520753502846,
0.08043061196804047,
0.031086677685379982,
0.02128838188946247,
0.007300258614122868,
0.010934967547655106,
-0.04493822157382965,
0.035386648029088974,
-0.005828751716762781,
0.06679053604602814,
-0.022962551563978195,
0.01285585667937994,
-0.024301886558532715,
-0.015807680785655975,
0.013217124156653881,
-0.03714893013238907,
0.05092998594045639,
-0.00420304574072361,
-0.04307020455598831,
-0.07620112597942352,
-0.02673383802175522,
-0.030734220519661903,
-0.02329738438129425,
0.023455990478396416,
0.01980806328356266,
-0.005930083338171244,
-0.0055335694923996925,
0.0228568147867918,
0.043211184442043304,
-0.012327171862125397,
0.01524375006556511,
-0.00005400434383773245,
-0.008688056841492653,
-0.03711368516087532,
-0.051705390214920044,
0.023191647604107857,
-0.005828751716762781,
-0.0178871750831604,
-0.003269035369157791,
-0.012397662736475468,
-0.0006718704826198518,
0.07465031743049622,
-0.10171899199485779,
-0.010159563273191452,
-0.05780288949608803,
-0.027738338336348534,
0.02548261545598507,
0.0031941384077072144,
-0.020847810432314873,
0.030910449102520943,
0.03233789652585983,
0.009155062027275562,
0.02736825868487358,
-0.015393543988466263,
0.0021609999239444733,
0.035210419446229935,
-0.028901444748044014,
0.017067713662981987,
0.0565340481698513,
-0.03365961089730263,
-0.010009769350290298,
-0.03388870880007744,
0.013472655788064003,
-0.01905028149485588,
0.009780672378838062,
-0.025852695107460022,
-0.030082175508141518,
-0.01698841154575348,
-0.053679149597883224,
0.01945560798048973,
0.02719203010201454,
-0.037184178829193115,
0.022610094398260117,
0.009895220398902893,
0.06344220042228699,
0.0848715603351593,
0.04225955158472061,
-0.055864378809928894,
0.04673575237393379,
-0.08776170760393143,
-0.03690221160650253,
-0.046665262430906296,
-0.08184043318033218,
-0.015525715425610542,
0.04183660447597504,
0.0022149698343127966,
-0.002156594069674611,
0.03424116224050522,
-0.005247198510915041,
-0.006820036098361015,
0.01310257613658905,
0.0382767915725708,
0.005630495026707649,
0.01820438541471958,
-0.019596589729189873,
-0.003123647067695856,
0.001403218018822372,
0.016160137951374054,
-0.020178142935037613,
-0.004907958675175905,
0.019297001883387566,
-0.03450550511479378,
-0.02239862084388733,
0.012512210756540298,
-0.034188296645879745,
0.012133319862186909,
-0.04606608301401138,
-0.023491235449910164,
-0.028954314067959785,
-0.0006245091208256781,
-0.015437601134181023,
0.0017391532892361283,
0.022592471912503242,
0.00636184262111783,
-0.034452639520168304,
-0.007137247361242771,
-0.024072788655757904,
-0.004112728405743837,
-0.024513360112905502,
-0.05974140390753746,
0.04299971088767052,
-0.07373393326997757,
-0.04479724168777466,
-0.012891101650893688,
-0.024425245821475983,
-0.02597605623304844,
0.011075950227677822,
-0.03362436592578888,
0.0070403218269348145,
-0.03298994153738022,
0.04592510312795639,
0.011208121664822102,
0.021217890083789825,
-0.02213427796959877,
0.009956900030374527,
0.03616205230355263,
-0.01399252936244011,
-0.03353625163435936,
0.047863613814115524,
0.01339335273951292,
-0.05064802244305611,
0.043211184442043304,
0.045678380876779556,
-0.02477770298719406,
0.041025955229997635,
-0.016257062554359436,
0.005044535733759403,
0.0006625083624385297,
-0.03855875879526138,
-0.04299971088767052,
0.04550215229392052,
-0.024848194792866707,
0.0706675574183464,
0.03600344806909561,
-0.04832180589437485,
0.011269801296293736,
-0.019702326506376266,
0.00807125773280859,
-0.07031510025262833,
-0.00014084498980082572,
0.023685086518526077,
-0.00015833013458177447,
0.05709797888994217,
0.04331692308187485,
-0.00037173161399550736,
-0.026504740118980408,
0.0228568147867918,
-0.021676084026694298,
0.016257062554359436,
-0.001786514651030302,
0.006908150389790535,
-0.029764965176582336,
0.00698745297268033,
0.06256105750799179,
0.024125657975673676,
0.001814050367102027,
-0.03806531801819801,
-0.013340484350919724,
-0.026927689090371132,
-0.0582963302731514,
-0.07123149186372757,
0.054983239620923996,
0.006538070738315582,
0.030787087976932526,
0.03721942380070686,
-0.04930868744850159,
-0.052339814603328705,
-0.005022507160902023,
0.0015772435581311584,
0.0006344220018945634,
-0.014547648839652538,
0.003980557434260845,
-0.09431739896535873,
-0.012935158796608448,
-0.06139794737100601,
-0.05406685173511505,
-0.010697059333324432,
0.05392586812376976,
-0.020495355129241943,
-0.005300066899508238,
0.021253136917948723,
0.04715869948267937,
-0.02477770298719406,
-0.0164156686514616,
0.029712095856666565,
-0.09593869745731354,
0.045184943825006485,
0.010582511313259602,
0.026399003341794014,
-0.007582223974168301,
-0.02847849763929844,
0.001081050606444478,
-0.021517477929592133,
-0.055018484592437744,
0.05692175030708313,
-0.0062869456596672535,
0.05773239955306053,
-0.028513742610812187,
0.004178814124315977,
-0.010723493993282318,
0.019561344757676125,
0.04525543376803398,
-0.021764198318123817,
-0.014838425442576408,
-0.035298533737659454,
-0.05022507160902023,
-0.0005008739535696805,
0.01401896309107542,
-0.01779906079173088,
0.02759735658764839,
0.017534717917442322,
0.03600344806909561,
0.030522746965289116,
-0.03764237090945244,
-0.008635188452899456,
0.07031510025262833,
-0.02521827444434166,
0.024072788655757904,
0.05378488451242447,
0.041166938841342926,
-0.022521980106830597,
0.04937917739152908,
0.0020508570596575737,
-0.04398658871650696,
0.0006564505165442824,
-0.011525332927703857,
0.02731539122760296,
-0.012935158796608448,
0.008128531277179718,
0.03441739082336426,
0.02315640263259411,
0.024249017238616943,
-0.0031258498784154654,
-0.0006019299034960568,
-0.038699742406606674,
0.020512977614998817,
0.03353625163435936,
0.029676850885152817,
-0.01390441507101059,
-0.06978641450405121,
-0.027738338336348534,
0.06583890318870544,
-0.04842754453420639,
-0.009472272358834743,
-0.03633828088641167,
-0.011481275781989098,
0.009763048961758614,
0.02856661193072796,
-0.019843310117721558,
0.019596589729189873,
0.027121540158987045,
0.02486581727862358,
-0.049343932420015335,
0.060657791793346405,
0.02763260155916214,
-0.018891677260398865,
-0.028672348707914352,
-0.0357743501663208,
0.0249539315700531,
0.05015458166599274,
0.03600344806909561,
-0.01524375006556511,
-0.056675031781196594,
0.03993333876132965,
0.03397682309150696,
-0.0133052384480834,
-0.006842064671218395,
-0.016477348282933235,
-0.0033659611362963915,
0.018539220094680786,
0.05604060739278793,
0.01802815869450569,
0.030928071588277817,
-0.037889089435338974,
0.02303304150700569,
-0.010776362381875515,
-0.02306828834116459,
0.01490891631692648,
-0.0765535831451416,
0.024742458015680313,
-0.028919069096446037,
0.02387893758714199,
-0.026487117633223534,
-0.02763260155916214,
-0.0353337787091732,
0.008525045588612556,
-0.029800210148096085,
0.0065997508354485035,
0.05607585236430168,
-0.003123647067695856,
-0.03388870880007744,
-0.04574887454509735,
0.01381630077958107,
-0.03568623587489128,
0.0398980937898159,
-0.009269610047340393,
-0.05995287746191025,
0.052339814603328705,
0.001419739448465407,
-0.015419978648424149,
0.04729968309402466,
0.052339814603328705,
-0.004073077347129583,
-0.06129221245646477,
0.015058710239827633,
-0.012291925959289074,
0.013455032370984554,
0.001847093109972775,
-0.01314663328230381,
0.0373956523835659,
0.0015805477742105722,
0.05255128815770149,
0.01587817259132862,
-0.01653902791440487,
-0.004696485120803118,
0.08219289034605026,
-0.019561344757676125,
-0.023914184421300888,
-0.0005011492758058012,
-0.010476773604750633,
0.02213427796959877,
0.03898170590400696,
-0.03810056298971176,
-0.03048750013113022,
-0.012318359687924385,
-0.004013600293546915,
0.038347285240888596,
0.022839190438389778,
-0.0037536632735282183,
0.02759735658764839,
0.013032084330916405,
-0.02419614978134632,
-0.0899469405412674,
0.02239862084388733,
0.015190881676971912,
-0.05191686376929283,
0.08621089905500412,
0.05480701103806496,
-0.0898764431476593,
0.012617948465049267,
-0.05343242734670639,
-0.040356285870075226,
-0.012036394327878952,
-0.010362225584685802,
0.03166823089122772,
0.007560195401310921,
0.021394118666648865,
-0.03406493738293648,
-0.030117420479655266,
0.026081793010234833,
-0.024019921198487282,
-0.012371229007840157,
0.019737573340535164,
0.022151900455355644,
-0.0110407043248415,
-0.0424005351960659,
-0.034540753811597824,
-0.027509242296218872,
-0.015816492959856987,
-0.0006167991668917239,
-0.0028042332269251347,
0.016785748302936554,
-0.08740925043821335,
0.06280777603387833,
-0.01672406867146492,
-0.012644382193684578,
-0.004035628866404295,
0.05593487247824669,
0.048991475254297256,
-0.08762072771787643,
-0.0291481651365757,
0.05382012948393822,
-0.02440762333571911,
-0.012556267902255058,
0.027914566919207573,
-0.012441719882190228,
-0.026945311576128006,
-0.0002815522893797606,
0.01963183470070362,
-0.02731539122760296,
0.04180135950446129,
-0.042330045253038406,
0.01890929974615574,
0.004031222779303789,
0.03824154660105705,
-0.017825495451688766,
-0.010485585778951645,
0.061327457427978516,
0.045361172407865524,
0.0353337787091732,
0.021834690123796463,
0.05508897453546524,
-0.017649266868829727,
-0.030963316559791565,
0.01486485917121172,
0.006815630476921797,
0.04194234311580658,
-0.035069435834884644,
-0.006709893699735403,
0.005203141365200281,
-0.04025055095553398,
-0.033606741577386856,
-0.03224978223443031,
0.054348815232515335,
-0.020090028643608093,
-0.0038704145699739456,
-0.004533473867923021,
-0.03281371295452118,
-0.021182645112276077,
0.024090413004159927,
0.07176017761230469,
0.015208504162728786,
0.02428426407277584,
-0.004068671725690365,
-0.009392970241606236,
-0.0084281200543046,
0.07450933754444122
] |
711,087
|
yt_dlp.update
|
query_update
|
Fetches info about the available update
@returns An `UpdateInfo` if there is an update available, else None
|
def query_update(self, *, _output=False) -> UpdateInfo | None:
"""Fetches info about the available update
@returns An `UpdateInfo` if there is an update available, else None
"""
if not self.requested_repo:
self._report_error('No target repository could be determined from input')
return None
try:
requested_version, target_commitish = self._get_version_info(self.requested_tag)
except network_exceptions as e:
self._report_network_error(f'obtain version info ({e})', delim='; Please try again later or')
return None
if self._exact and self._origin != self.requested_repo:
has_update = True
elif requested_version:
if self._exact:
has_update = self.current_version != requested_version
else:
has_update = not self._version_compare(self.current_version, requested_version)
elif target_commitish:
has_update = target_commitish != self.current_commit
else:
has_update = False
resolved_tag = requested_version if self.requested_tag == 'latest' else self.requested_tag
current_label = _make_label(self._origin, self._channel.partition("@")[2] or self.current_version, self.current_version)
requested_label = _make_label(self.requested_repo, resolved_tag, requested_version)
latest_or_requested = f'{"Latest" if self.requested_tag == "latest" else "Requested"} version: {requested_label}'
if not has_update:
if _output:
self.ydl.to_screen(f'{latest_or_requested}\nyt-dlp is up to date ({current_label})')
return None
update_spec = self._download_update_spec(('latest', None) if requested_version else (None,))
if not update_spec:
return None
# `result_` prefixed vars == post-_process_update_spec() values
result_tag = self._process_update_spec(update_spec, resolved_tag)
if not result_tag or result_tag == self.current_version:
return None
elif result_tag == resolved_tag:
result_version = requested_version
elif _VERSION_RE.fullmatch(result_tag):
result_version = result_tag
else: # actual version being updated to is unknown
result_version = None
checksum = None
# Non-updateable variants can get update_info but need to skip checksum
if not is_non_updateable():
try:
hashes = self._download_asset('SHA2-256SUMS', result_tag)
except network_exceptions as error:
if not isinstance(error, HTTPError) or error.status != 404:
self._report_network_error(f'fetch checksums: {error}')
return None
self.ydl.report_warning('No hash information found for the release, skipping verification')
else:
for ln in hashes.decode().splitlines():
if ln.endswith(_get_binary_name()):
checksum = ln.split()[0]
break
if not checksum:
self.ydl.report_warning('The hash could not be found in the checksum file, skipping verification')
if _output:
update_label = _make_label(self.requested_repo, result_tag, result_version)
self.ydl.to_screen(
f'Current version: {current_label}\n{latest_or_requested}'
+ (f'\nUpgradable to: {update_label}' if update_label != requested_label else ''))
return UpdateInfo(
tag=result_tag,
version=result_version,
requested_version=requested_version,
commit=target_commitish if result_tag == resolved_tag else None,
checksum=checksum)
|
(self, *, _output=False) -> yt_dlp.update.UpdateInfo | None
|
[
0.08708465099334717,
-0.06140877306461334,
-0.1016368567943573,
0.005618979223072529,
0.010323683731257915,
-0.0569135919213295,
-0.008357040584087372,
0.0013916497118771076,
0.010409397073090076,
-0.023009242489933968,
0.009747500531375408,
-0.0215616412460804,
0.0198854710906744,
0.02525683492422104,
0.012647464871406555,
0.015247433446347713,
0.003926142584532499,
-0.0023321143817156553,
0.007942760363221169,
0.01934262178838253,
0.010990342125296593,
0.003247579326853156,
0.015018864534795284,
0.07573240995407104,
0.025675877928733826,
0.0089046536013484,
0.08578942716121674,
-0.0384947694838047,
-0.013971257954835892,
0.00035743610351346433,
0.0083189457654953,
0.023752091452479362,
0.01912357658147812,
0.04049474373459816,
0.0013321265578269958,
0.07279910892248154,
0.05866594985127449,
0.0338091105222702,
-0.04118045046925545,
-0.004195186775177717,
-0.020171182230114937,
-0.03116152435541153,
0.0540945790708065,
-0.01355221588164568,
-0.005961832124739885,
-0.014037923887372017,
-0.09013223648071289,
0.009971306659281254,
-0.03855191171169281,
-0.015856949612498283,
0.06544682383537292,
0.009447503834962845,
-0.012952222488820553,
0.026380630210042,
-0.003764239838346839,
0.02845679596066475,
0.016152184456586838,
0.06270399689674377,
0.031142476946115494,
0.03215198963880539,
0.01239984855055809,
0.003414244158193469,
-0.007271339651197195,
0.04460898041725159,
-0.024990171194076538,
0.013952210545539856,
0.03502814471721649,
-0.04316137731075287,
-0.03607574850320816,
0.059770699590444565,
0.0057046920992434025,
0.04738989844918251,
-0.0311996191740036,
-0.013514121063053608,
0.022761626169085503,
-0.007614193018525839,
-0.019152147695422173,
-0.009576073847711086,
-0.016018852591514587,
-0.016561701893806458,
0.024133039638400078,
-0.026990147307515144,
0.057180255651474,
-0.09241791814565659,
0.025313977152109146,
-0.022418774664402008,
0.09302743524312973,
0.008099901489913464,
-0.02285686321556568,
0.015056959353387356,
-0.037085261195898056,
0.026628246530890465,
-0.018866436555981636,
0.02918059565126896,
0.04658990725874901,
-0.045066118240356445,
-0.003378530265763402,
-0.06647537648677826,
-0.046018484979867935,
0.0020928315352648497,
0.0031356760300695896,
0.0218283049762249,
-0.0011839141370728612,
-0.0008934414945542812,
-0.013076030649244785,
-0.019352145493030548,
-0.031580567359924316,
0.0025380642618983984,
0.013256981037557125,
-0.04239948093891144,
0.0070189619436860085,
-0.06746584177017212,
-0.02710443176329136,
-0.006347541697323322,
-0.0008434421033598483,
-0.007899903692305088,
-0.06567539274692535,
-0.01472362969070673,
-0.012390324845910072,
-0.0021464023739099503,
-0.028913933783769608,
0.05180888995528221,
-0.014314111322164536,
-0.04620895907282829,
-0.012256992980837822,
-0.04746608808636665,
-0.017818830907344818,
0.005776119884103537,
0.05443743243813515,
-0.015095054171979427,
0.021942589432001114,
-0.010971294716000557,
-0.03278055414557457,
0.023333048447966576,
-0.023199716582894325,
-0.021409261971712112,
0.008966557681560516,
-0.006457063835114241,
-0.0056570740416646,
0.019495001062750816,
0.024247324094176292,
0.0003010380023624748,
0.018380727618932724,
-0.050475575029850006,
-0.03811382129788399,
0.0061665913090109825,
0.0010684393346309662,
0.00387852406129241,
0.018114063888788223,
-0.009223696775734425,
0.020228324458003044,
-0.05470409616827965,
-0.01007606741040945,
0.0009327267180196941,
-0.03577099367976189,
-0.02908535860478878,
-0.02845679596066475,
-0.07089437544345856,
-0.001839263248257339,
0.01867596246302128,
0.025313977152109146,
-0.06506587564945221,
0.03264722228050232,
-0.027618709951639175,
0.000616063887719065,
-0.01853310689330101,
-0.050970807671546936,
-0.010904628783464432,
0.0038070965092629194,
0.0623992383480072,
-0.017323598265647888,
0.04220901057124138,
-0.07146579772233963,
-0.01152366865426302,
-0.01839977502822876,
0.049942247569561005,
0.03310435637831688,
-0.0626659020781517,
0.017247408628463745,
-0.024475891143083572,
-0.005290411412715912,
-0.05424695834517479,
-0.04449469596147537,
-0.004821369890123606,
0.003728525945916772,
0.04369470477104187,
-0.019018815830349922,
0.02845679596066475,
0.00571421580389142,
0.025904444977641106,
-0.015142672695219517,
-0.04567563161253929,
0.0134569788351655,
-0.003107104916125536,
-0.020094992592930794,
-0.00646182568743825,
-0.02417113445699215,
0.05112318694591522,
0.07839903980493546,
-0.04201853647828102,
0.04716132953763008,
-0.043542325496673584,
0.009761786088347435,
0.04289471358060837,
-0.027256811037659645,
-0.0042118532583117485,
0.017209313809871674,
-0.01731407456099987,
0.03390434756875038,
0.011952235363423824,
-0.023142574355006218,
0.07893236726522446,
-0.06925629824399948,
-0.007809428498148918,
-0.03676145523786545,
0.013523644767701626,
0.05032319575548172,
-0.008757036179304123,
-0.03706621378660202,
0.022647343575954437,
0.011780808679759502,
-0.03834239020943642,
0.04571372643113136,
0.026361582800745964,
-0.019771186634898186,
-0.011342719197273254,
0.053370777517557144,
0.057561203837394714,
0.023428285494446754,
-0.08853225409984589,
0.023294953629374504,
-0.02921869046986103,
0.03999951109290123,
0.007047533057630062,
0.012180803343653679,
0.0005169579526409507,
-0.04262804985046387,
0.04609467461705208,
-0.015095054171979427,
0.024361606687307358,
-0.02502826601266861,
-0.017514072358608246,
0.02895202673971653,
0.05108509212732315,
-0.04262804985046387,
-0.06620871275663376,
0.004295185673981905,
-0.009461789391934872,
-0.041904252022504807,
-0.02958059124648571,
0.01592361554503441,
-0.03657098114490509,
0.0047142282128334045,
-0.014047447592020035,
0.02948535420000553,
-0.0330091193318367,
0.009404647164046764,
-0.05321839824318886,
0.05565646290779114,
-0.006747536826878786,
-0.005204698536545038,
-0.018818818032741547,
-0.06118020415306091,
0.020437845960259438,
-0.062475427985191345,
-0.014523631893098354,
0.015390288084745407,
-0.024704460054636,
-0.04632324352860451,
0.04007570073008537,
0.043847084045410156,
0.017371216788887978,
-0.04102807119488716,
0.025771114975214005,
-0.03478052839636803,
-0.006623728666454554,
0.06765631586313248,
-0.013695070520043373,
-0.0266472939401865,
-0.022647343575954437,
0.018514059484004974,
0.007380862254649401,
0.024094944819808006,
0.05858976021409035,
0.002766632940620184,
-0.019380716606974602,
-0.030913908034563065,
0.0240378025919199,
-0.02011404000222683,
-0.006390398368239403,
0.03700907155871391,
0.015580762177705765,
0.028342511504888535,
-0.011799856089055538,
0.0062523046508431435,
0.0639992207288742,
-0.06453254818916321,
0.029885349795222282,
0.04201853647828102,
0.01068558357656002,
-0.03674240782856941,
0.03152342513203621,
0.0021975922863930464,
-0.018114063888788223,
0.031942468136548996,
-0.0009226077818311751,
0.07249435037374496,
-0.03439958021044731,
0.010742725804448128,
-0.013561739586293697,
0.03638050705194473,
0.009142745286226273,
0.03931380435824394,
-0.022609248757362366,
-0.08220852166414261,
-0.02904726378619671,
0.005504694767296314,
-0.0001106385316234082,
0.023256858810782433,
0.02569492533802986,
-0.047504182904958725,
0.06182781606912613,
0.06045640632510185,
0.025866350159049034,
-0.037409067153930664,
-0.0715038925409317,
-0.02769489958882332,
0.03792334720492363,
-0.00938083790242672,
0.009837974794209003,
0.006942772306501865,
-0.038209058344364166,
0.02727585844695568,
0.03116152435541153,
-0.019237861037254333,
-0.010580822825431824,
0.0014928389573469758,
-0.0772562026977539,
0.0685705915093422,
0.0009154650033451617,
0.05272316560149193,
0.027256811037659645,
-0.03624717518687248,
0.018961673602461815,
0.03125676140189171,
-0.001719026593491435,
0.0530279241502285,
-0.0004779703449457884,
0.049218446016311646,
-0.08609418570995331,
-0.07710382342338562,
0.01411411352455616,
-0.035237666219472885,
0.02047594077885151,
0.03270436450839043,
-0.030228203162550926,
-0.0006952296243980527,
-0.05180888995528221,
0.008285612799227238,
-0.012352230027318,
-0.09485598653554916,
0.057294540107250214,
-0.038304295390844345,
0.04342804104089737,
-0.06483730673789978,
-0.0745895653963089,
0.003719002241268754,
0.005290411412715912,
0.027028242126107216,
-0.020437845960259438,
-0.07390385866165161,
-0.007171341218054295,
0.021980684250593185,
-0.017866449430584908,
0.0007499908679164946,
0.05203745886683464,
-0.05565646290779114,
0.01619027927517891,
0.015180767513811588,
-0.043085187673568726,
-0.0016773605020716786,
0.01726645603775978,
-0.09653215855360031,
0.005633264780044556,
0.03539004549384117,
-0.020818794146180153,
-0.033847205340862274,
0.0034071013797074556,
0.011123673990368843,
0.026190156117081642,
0.025942539796233177,
0.02173306792974472,
0.00010014759027399123,
0.020190229639410973,
-0.0005797548219561577,
0.02011404000222683,
0.03693288192152977,
0.024323511868715286,
-0.05135175585746765,
-0.03518052399158478,
0.03756144642829895,
0.0400376059114933,
0.012790320441126823,
0.017161695286631584,
-0.03232341632246971,
-0.05973260477185249,
0.0699039101600647,
0.006309446878731251,
-0.04693276062607765,
0.03255198523402214,
-0.06948486715555191,
-0.03786620497703552,
-0.0767228752374649,
0.022018779069185257,
-0.05668502300977707,
0.09005604684352875,
0.035199571400880814,
0.030990097671747208,
0.0433899462223053,
0.03403767943382263,
0.03432339057326317,
0.014228397980332375,
0.045789916068315506,
0.017333121970295906,
-0.019733091816306114,
-0.011057008057832718,
-0.0011648667277768254,
0.00793799851089716,
-0.03443767502903938,
0.021771162748336792,
0.05058985948562622,
0.009533217176795006,
0.0013511739671230316,
0.015247433446347713,
-0.005857071373611689,
-0.011361765675246716,
0.018923578783869743,
-0.0075570507906377316,
-0.036094795912504196,
-0.004259471781551838,
-0.03219008445739746,
-0.005880880635231733,
0.028056800365447998,
0.025771114975214005,
0.02038070373237133,
-0.00028080015908926725,
-0.019380716606974602,
-0.04544706270098686,
-0.020628320053219795,
-0.03872333839535713,
-0.02186639979481697,
0.014095066115260124,
-0.019275955855846405,
0.03756144642829895,
-0.0266472939401865,
-0.04891368746757507,
-0.01920928992331028,
0.04426612704992294,
-0.035732898861169815,
-0.014456966891884804,
-0.0201521348208189,
0.017618833109736443,
0.03601860627532005,
0.049408920109272,
-0.006590395700186491,
-0.04323756694793701,
0.012076043523848057,
-0.06011355295777321,
-0.0688372552394867,
-0.005838023964315653,
-0.014304587617516518,
-0.05078033357858658,
0.022704483941197395,
0.06182781606912613,
0.005471361801028252,
-0.06392303109169006,
0.010114162229001522,
-0.009176078252494335,
-0.033713873475790024,
-0.06095163896679878,
-0.049408920109272,
0.05695168673992157,
-0.015104577876627445,
0.02782823145389557,
-0.03076152876019478,
-0.09447503834962845,
0.03161866217851639,
-0.025275882333517075,
0.009352266788482666,
-0.00055386230815202,
-0.017618833109736443,
0.01627599261701107,
0.025409214198589325,
-0.06007545813918114,
-0.06251352280378342,
-0.004666609689593315,
0.003419006010517478,
0.005695168394595385,
0.03958046808838844,
-0.009180840104818344,
0.03539004549384117,
-0.0172759797424078,
0.05470409616827965,
-0.019199766218662262,
-0.0036618600133806467,
-0.020818794146180153,
-0.016618844121694565,
0.022837815806269646,
0.04518040269613266,
0.07074199616909027,
-0.03409482166171074,
-0.008252279832959175,
0.06068497523665428,
-0.026533009484410286,
0.02529492974281311,
0.03567575663328171,
-0.0010946295224130154,
0.006214209832251072,
0.02123783528804779,
-0.009690358303487301,
-0.01943785883486271,
0.06064688041806221,
0.03860905393958092,
-0.053142208606004715,
-0.025447309017181396,
0.006880868226289749,
-0.01424744538962841,
-0.04689466580748558,
-0.009728453122079372,
-0.046018484979867935,
-0.02678062580525875,
-0.036323364824056625,
-0.02091403119266033,
-0.04228519648313522,
0.000501184375025332,
0.005257078912109137,
-0.015266479924321175,
-0.0005205293418839574,
-0.15314099192619324,
-0.0629325658082962,
0.055085040628910065,
0.005676120985299349,
-0.0050237481482326984,
-0.013580786995589733,
-0.011914140544831753,
0.00729514891281724,
0.015018864534795284,
0.05253269150853157,
0.04342804104089737,
-0.034113869071006775,
-0.0784752294421196,
0.035599566996097565,
0.09546550363302231,
0.03390434756875038,
0.008199900388717651,
0.04396136850118637,
0.03184723109006882,
0.027790136635303497,
0.027980610728263855,
-0.00022663413255941123,
-0.014876008965075016,
-0.0340757742524147,
-0.020418798550963402,
0.02011404000222683,
0.024228276684880257,
0.04685657098889351,
0.06510397046804428,
0.007623716723173857,
0.03824715316295624,
0.03196151554584503,
-0.005385648459196091,
0.017656927928328514,
-0.007752286270260811,
-0.00793799851089716,
0.03297102451324463,
-0.05478028208017349,
-0.0006368969916366041,
-0.015618856996297836,
0.04411374777555466,
-0.008899891749024391,
0.04327566176652908,
-0.04514230787754059,
0.09462741762399673,
-0.020399751141667366,
-0.0178093072026968,
0.015618856996297836,
-0.02318066917359829,
0.03815191611647606,
0.04693276062607765,
0.024113992229104042,
-0.020685462281107903,
-0.04106616601347923,
-0.0002226163342129439,
-0.004061855375766754,
-0.016333134844899178,
-0.0030452008359134197,
-0.03236151114106178,
-0.025237787514925003,
0.07687525451183319,
-0.023333048447966576,
-0.015266479924321175,
0.04205663129687309,
-0.010609393939375877,
-0.040380459278821945,
0.029104406014084816,
0.005071366671472788,
-0.04129473492503166,
-0.041866157203912735,
-0.05546598881483078,
-0.030742481350898743,
0.06110401451587677,
-0.0066284905187785625,
-0.021790210157632828,
-0.00029270476079545915,
-0.006557062733918428,
-0.009637977927923203,
0.025542546063661575,
0.06464683264493942,
-0.039123330265283585,
0.020094992592930794,
0.01030463632196188,
0.097751185297966,
0.02087593637406826,
0.01170461904257536,
-0.06365636736154556,
0.039618562906980515,
0.009195125661790371,
-0.011733190156519413,
0.016390277072787285,
0.019923565909266472,
0.0041356636211276054,
0.04632324352860451,
0.0335424467921257,
0.03700907155871391,
0.018780723214149475,
-0.013904592022299767,
0.04205663129687309,
-0.012323658913373947,
-0.007914189249277115,
0.03521861881017685,
0.05378982052206993,
0.046247053891420364,
0.031275808811187744,
0.03116152435541153,
-0.017304550856351852,
0.035599566996097565,
-0.023142574355006218,
-0.015152196399867535,
0.042551860213279724,
0.013123649172484875,
-0.024552080780267715,
-0.017371216788887978,
0.04788513109087944,
0.016437893733382225,
0.000616063887719065,
-0.03251389041543007,
-0.05588503181934357,
0.004868988413363695,
0.0042166151106357574,
-0.001272603520192206,
-0.007852285169064999,
-0.006114210933446884,
0.012123662047088146,
-0.01012368593364954,
-0.0068475352600216866,
0.016066471114754677,
-0.01587599702179432,
-0.009866545908153057,
0.0012392705539241433,
-0.02822822704911232,
0.03782811015844345,
0.0013904592487961054,
0.029599638655781746,
0.00760943116620183,
-0.021656878292560577,
-0.11839855462312698,
0.008214185945689678,
0.02628539316356182,
0.08647513389587402,
0.003523766528815031,
0.08746559917926788,
-0.0060808779671788216,
-0.024837791919708252,
0.011114150285720825,
-0.023390190675854683,
0.018323585391044617,
0.010447491891682148,
0.01284746266901493,
0.01758073829114437,
-0.0665515661239624,
-0.03946618363261223,
-0.05230412259697914,
-0.01636170595884323,
-0.030266297981142998,
0.013037935830652714,
-0.05596122145652771,
-0.07428480684757233,
0.024856839329004288,
-0.022285442799329758,
-0.03268531709909439,
0.09028461575508118,
-0.009014175273478031,
0.007790381088852882,
0.053294587880373,
-0.00598564138635993,
0.06773250550031662,
-0.07573240995407104,
-0.028380606323480606,
-0.022533059120178223,
-0.008671322837471962,
0.012437943369150162,
-0.017818830907344818,
-0.03106628730893135,
-0.04830417409539223,
0.08312279731035233,
0.027618709951639175,
-0.0288567915558815,
-0.012637941166758537,
0.009590359404683113,
0.014618868939578533,
-0.052113648504018784,
0.009961782954633236,
0.001123200636357069,
-0.004735656548291445,
-0.004771370440721512,
0.06479921191930771,
-0.02641872502863407,
-0.058551665395498276,
0.004471374209970236,
0.0745895653963089,
-0.026380630210042,
0.026437772437930107,
-0.002602349268272519,
-0.05565646290779114,
0.02958059124648571,
-0.028247274458408356,
0.0043380423448979855,
-0.0036713837180286646,
0.025580640882253647,
0.014571250416338444,
-0.022342585027217865,
0.006233257241547108,
0.0057046920992434025,
0.006918963044881821,
-0.0015964091289788485,
-0.0023380666971206665,
0.001673789112828672,
-0.05493266135454178,
0.00243568466976285,
0.0031594852916896343,
0.034609101712703705,
-0.03611384332180023,
0.016933126375079155,
0.05138985067605972,
0.062475427985191345,
-0.018685486167669296,
0.03426624834537506,
0.031447235494852066,
0.017742641270160675,
0.024647317826747894,
0.04316137731075287,
0.0031047239899635315,
0.030190108343958855,
0.018095016479492188,
-0.02295210026204586,
0.005671359598636627,
-0.07039914280176163,
0.006390398368239403
] |
711,089
|
yt_dlp.update
|
update
|
Update yt-dlp executable to the latest version
@param update_info `UpdateInfo | None` as returned by query_update()
|
def update(self, update_info=NO_DEFAULT):
"""Update yt-dlp executable to the latest version
@param update_info `UpdateInfo | None` as returned by query_update()
"""
if update_info is NO_DEFAULT:
update_info = self.query_update(_output=True)
if not update_info:
return False
err = is_non_updateable()
if err:
self._report_error(err, True)
return False
self.ydl.to_screen(f'Current Build Hash: {_sha256_file(self.filename)}')
update_label = _make_label(self.requested_repo, update_info.tag, update_info.version)
self.ydl.to_screen(f'Updating to {update_label} ...')
directory = os.path.dirname(self.filename)
if not os.access(self.filename, os.W_OK):
return self._report_permission_error(self.filename)
elif not os.access(directory, os.W_OK):
return self._report_permission_error(directory)
new_filename, old_filename = f'{self.filename}.new', f'{self.filename}.old'
if detect_variant() == 'zip': # Can be replaced in-place
new_filename, old_filename = self.filename, None
try:
if os.path.exists(old_filename or ''):
os.remove(old_filename)
except OSError:
return self._report_error('Unable to remove the old version')
try:
newcontent = self._download_asset(update_info.binary_name, update_info.tag)
except network_exceptions as e:
if isinstance(e, HTTPError) and e.status == 404:
return self._report_error(
f'The requested tag {self.requested_repo}@{update_info.tag} does not exist', True)
return self._report_network_error(f'fetch updates: {e}', tag=update_info.tag)
if not update_info.checksum:
self._block_restart('Automatically restarting into unverified builds is disabled for security reasons')
elif hashlib.sha256(newcontent).hexdigest() != update_info.checksum:
return self._report_network_error('verify the new executable', tag=update_info.tag)
try:
with open(new_filename, 'wb') as outf:
outf.write(newcontent)
except OSError:
return self._report_permission_error(new_filename)
if old_filename:
mask = os.stat(self.filename).st_mode
try:
os.rename(self.filename, old_filename)
except OSError:
return self._report_error('Unable to move current version')
try:
os.rename(new_filename, self.filename)
except OSError:
self._report_error('Unable to overwrite current version')
return os.rename(old_filename, self.filename)
variant = detect_variant()
if variant.startswith('win') or variant == 'py2exe':
atexit.register(Popen, f'ping 127.0.0.1 -n 5 -w 1000 & del /F "{old_filename}"',
shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
elif old_filename:
try:
os.remove(old_filename)
except OSError:
self._report_error('Unable to remove the old version')
try:
os.chmod(self.filename, mask)
except OSError:
return self._report_error(
f'Unable to set permissions. Run: sudo chmod a+rx {compat_shlex_quote(self.filename)}')
self.ydl.to_screen(f'Updated yt-dlp to {update_label}')
return True
|
(self, update_info=<class 'yt_dlp.utils.NO_DEFAULT'>)
|
[
0.0938100665807724,
-0.04791625589132309,
-0.07623040676116943,
0.013058345764875412,
-0.006845179013907909,
-0.08190879225730896,
-0.032514601945877075,
0.01969933696091175,
0.002773561514914036,
-0.022188492119312286,
0.02920869179069996,
-0.04768289625644684,
0.04075993224978447,
0.044843703508377075,
-0.026563962921500206,
-0.0387958325445652,
0.014370987191796303,
0.016130898147821426,
-0.05017205327749252,
0.011259541846811771,
0.01531414408236742,
0.020535537973046303,
-0.0009419413981959224,
0.03743457421660423,
0.04787736013531685,
0.002681190613657236,
0.07836952060461044,
0.02722514420747757,
-0.023549750447273254,
-0.05044430494308472,
-0.01661706157028675,
-0.013097239658236504,
0.04072103649377823,
0.042860157787799835,
0.03313688933849335,
0.062306687235832214,
0.035256560891866684,
0.004657444544136524,
-0.011716535314917564,
-0.01612117514014244,
0.016607338562607765,
-0.03496486321091652,
0.0432879813015461,
-0.011619302444159985,
0.0206716638058424,
0.00675280811265111,
-0.0889873281121254,
0.0193979162722826,
-0.03198954463005066,
-0.035489920526742935,
0.05542261525988579,
0.02524159848690033,
0.025552742183208466,
0.04239343851804733,
0.010287215001881123,
0.05071655660867691,
0.044649235904216766,
0.05215559899806976,
0.010121920146048069,
0.003699702676385641,
0.026525069028139114,
-0.02944204956293106,
-0.0020516091026365757,
0.0045115952380001545,
-0.00444110156968236,
-0.023608090355992317,
0.012183252722024918,
-0.04056546464562416,
-0.01778385415673256,
0.015440545976161957,
0.009718404151499271,
0.016247577965259552,
-0.023588642477989197,
-0.03585940599441528,
0.024988792836666107,
0.029344817623496056,
-0.032281242311000824,
-0.01739492267370224,
0.02724459208548069,
-0.002992335008457303,
0.009076668880879879,
-0.06308455020189285,
0.051611095666885376,
-0.04554377868771553,
0.009280857630074024,
0.04309351369738579,
0.10835607349872589,
-0.011658196337521076,
-0.05044430494308472,
0.019213173538446426,
-0.0023700459860265255,
0.02942260354757309,
-0.021546756848692894,
-0.017035162076354027,
0.0792640671133995,
-0.08859840035438538,
0.03463427349925041,
-0.052816782146692276,
0.009567693807184696,
0.004465410020202398,
0.013573679141700268,
-0.04371580481529236,
0.01211518980562687,
-0.013758420944213867,
0.004676891025155783,
-0.02028273232281208,
-0.018639501184225082,
0.051416631788015366,
-0.01642259582877159,
-0.07899181544780731,
-0.0643291249871254,
-0.09209877252578735,
-0.012124912813305855,
-0.03797907754778862,
0.005085268057882786,
-0.031308915466070175,
-0.053400177508592606,
-0.027789093554019928,
0.005109576042741537,
-0.02150786481797695,
-0.033117443323135376,
0.07121320068836212,
-0.034089770168066025,
-0.02703068032860756,
-0.0038795832078903913,
-0.04476591572165489,
-0.0013272258220240474,
0.022946907207369804,
0.005469337105751038,
-0.0039768158458173275,
-0.009854529984295368,
0.017151841893792152,
-0.01957293413579464,
0.021916242316365242,
0.017404645681381226,
-0.08346451818943024,
0.0025304800365120173,
-0.00891137309372425,
0.009669788181781769,
0.006675022188574076,
0.014293201267719269,
-0.018133891746401787,
0.02487211488187313,
-0.028780866414308548,
-0.023121926933526993,
-0.007744581438601017,
-0.016646230593323708,
-0.0012907636119052768,
0.009470460936427116,
0.0034225895069539547,
0.018717287108302116,
-0.02905311807990074,
-0.041265539824962616,
0.00231170654296875,
0.014020949602127075,
-0.024210931733250618,
-0.04912193864583969,
-0.07708605378866196,
-0.004834894090890884,
0.013622296042740345,
0.018163060769438744,
-0.03282574564218521,
0.03552881255745888,
-0.02963651530444622,
-0.00755983917042613,
-0.016257300972938538,
-0.07121320068836212,
0.04033210873603821,
0.017667174339294434,
0.04678835719823837,
-0.013350044377148151,
0.027711307629942894,
-0.006616682279855013,
0.021157827228307724,
-0.008099480532109737,
0.06755725294351578,
0.031872864812612534,
-0.07584147155284882,
0.03445925563573837,
-0.013165302574634552,
-0.02106059342622757,
-0.023958127945661545,
-0.034323129802942276,
0.021430078893899918,
0.01509050838649273,
0.052972353994846344,
-0.04869411513209343,
0.06483473628759384,
-0.009251687675714493,
0.005513092037290335,
-0.02561108209192753,
-0.020127160474658012,
0.0123291015625,
0.01808527484536171,
0.00729731097817421,
0.03004489094018936,
-0.028994780033826828,
-0.022946907207369804,
0.06747946888208389,
-0.03060884214937687,
0.030958879739046097,
-0.007885568775236607,
0.059350814670324326,
0.01531414408236742,
-0.008848171681165695,
-0.002703067846596241,
0.03127002343535423,
-0.023180266842246056,
0.01649065874516964,
0.03562604635953903,
0.04853854328393936,
0.05254453048110008,
-0.015032169409096241,
0.02508602663874626,
-0.006427078973501921,
-0.04391026869416237,
0.024813774973154068,
0.017249073833227158,
-0.0628511905670166,
0.029286477714776993,
-0.031133897602558136,
0.02763352170586586,
-0.01683097332715988,
0.045816030353307724,
0.0025572190061211586,
-0.0008738785400055349,
0.04095439612865448,
0.0700853019952774,
0.02763352170586586,
-0.054139144718647,
-0.006777116563171148,
-0.017657451331615448,
0.04239343851804733,
0.003874721471220255,
0.026194479316473007,
-0.02166343666613102,
-0.05347796157002449,
0.014915489591658115,
-0.027944667264819145,
0.017404645681381226,
-0.03792073577642441,
-0.02564997598528862,
0.03418700397014618,
0.03618999570608139,
-0.010403894819319248,
-0.05865073949098587,
0.004351161420345306,
-0.01005385722965002,
-0.036306675523519516,
-0.05122216418385506,
0.05880631133913994,
-0.010977567173540592,
-0.006135380826890469,
0.016198961064219475,
0.016257300972938538,
-0.012815264984965324,
0.03918476030230522,
-0.07292449474334717,
0.07043533772230148,
0.011201201938092709,
-0.012086019851267338,
0.006149965804070234,
-0.06557370722293854,
0.00794390868395567,
-0.022596869617700577,
-0.011784598231315613,
0.061723291873931885,
-0.010267768986523151,
-0.050405409187078476,
0.03618999570608139,
0.00099845789372921,
0.02722514420747757,
-0.050599876791238785,
0.029325369745492935,
-0.011852661147713661,
0.0005229294183664024,
0.04818850755691528,
-0.05028873309493065,
0.023608090355992317,
-0.0172199048101902,
0.037881843745708466,
0.01241661049425602,
0.042665690183639526,
0.04527152702212334,
0.0037993660662323236,
-0.030531054362654686,
-0.035256560891866684,
0.014555728994309902,
-0.05242785066366196,
0.005445029120892286,
0.02621392533183098,
0.046438317745923996,
0.03167840093374252,
-0.013281981460750103,
-0.03422589600086212,
0.04573824256658554,
-0.09069862216711044,
0.024522077292203903,
0.033914752304553986,
-0.034731507301330566,
-0.01183321513235569,
0.05748394876718521,
-0.051377736032009125,
-0.039904285222291946,
0.0025474957656115294,
0.006062456406652927,
0.05363353341817856,
-0.05324460566043854,
0.01603366620838642,
0.014137628488242626,
0.06607931852340698,
0.003473636694252491,
0.03185341879725456,
0.005080406554043293,
-0.03445925563573837,
-0.029578175395727158,
0.02448318339884281,
-0.017249073833227158,
0.029130904003977776,
0.026408391073346138,
-0.0660015270113945,
0.042237866669893265,
0.04593271017074585,
0.013194471597671509,
0.009275996126234531,
-0.08564252406358719,
0.02183845452964306,
0.0286447424441576,
-0.010540020652115345,
-0.030978325754404068,
0.032534047961235046,
-0.0005429836455732584,
0.030881091952323914,
-0.0006162119680084288,
-0.010540020652115345,
-0.01592670939862728,
-0.01927151344716549,
-0.08346451818943024,
0.05363353341817856,
-0.009451014921069145,
0.03185341879725456,
0.04713839292526245,
-0.05129995197057724,
0.010073303245007992,
0.003113875864073634,
-0.013301427476108074,
0.06658492237329483,
0.0007511223084293306,
0.05787288025021553,
-0.05526704341173172,
-0.03298131749033928,
0.019534042105078697,
-0.04674946144223213,
0.0027468225453048944,
0.012348547577857971,
-0.07144656032323837,
0.022402403876185417,
-0.05270010232925415,
0.02701123245060444,
-0.06514587998390198,
-0.11496789753437042,
0.03883472457528114,
-0.04157668352127075,
0.04954976215958595,
-0.03801796957850456,
-0.07451911270618439,
0.020768895745277405,
-0.002470924984663725,
-0.00903291441500187,
-0.011337327770888805,
-0.022363511845469475,
0.01023859903216362,
0.029967105016112328,
-0.04554377868771553,
0.02065221779048443,
0.018872858956456184,
-0.05709501728415489,
-0.023316392675042152,
0.013233364559710026,
-0.04297683387994766,
0.031114451587200165,
-0.004983173683285713,
-0.061334360390901566,
0.02880031429231167,
0.024774881079792976,
-0.029480941593647003,
0.010744208469986916,
-0.008945404551923275,
0.038037415593862534,
0.018075551837682724,
0.013952886685729027,
0.046010494232177734,
0.013962609693408012,
0.03158116713166237,
0.03862081095576286,
0.01310696266591549,
0.0067187766544520855,
0.03478984534740448,
-0.044804807752370834,
0.0023639691062271595,
-0.015722520649433136,
0.039651479572057724,
0.055189259350299835,
0.025786101818084717,
-0.02065221779048443,
-0.06141214817762375,
0.043210193514823914,
-0.012523566372692585,
-0.04297683387994766,
0.047410644590854645,
-0.03313688933849335,
0.021118933334946632,
-0.054178036749362946,
-0.016451766714453697,
-0.019495148211717606,
0.07813616842031479,
0.014769640751183033,
-0.014293201267719269,
0.03041437640786171,
0.02203292027115822,
0.022596869617700577,
0.06440691649913788,
0.051027700304985046,
0.03197009861469269,
-0.020029928535223007,
-0.00875093974173069,
-0.00045668965321965516,
0.019932694733142853,
-0.050210945308208466,
0.03163950890302658,
0.043871376663446426,
0.004783846903592348,
-0.03478984534740448,
0.054333608597517014,
-0.020710555836558342,
-0.024288717657327652,
0.020574430003762245,
-0.027108466252684593,
-0.0401376411318779,
0.014983552508056164,
-0.028489168733358383,
-0.01931040547788143,
0.03459538146853447,
0.012776371091604233,
0.016198961064219475,
0.01789080910384655,
-0.007482053246349096,
-0.0437546968460083,
-0.020924467593431473,
-0.01681152731180191,
-0.00126888626255095,
0.059934210032224655,
-0.016636507585644722,
0.004637998063117266,
-0.016111452132463455,
-0.040059857070446014,
-0.007671657018363476,
-0.0005912961205467582,
-0.034089770168066025,
-0.012154082767665386,
-0.04807182773947716,
0.04029321298003197,
0.06460137665271759,
0.02821691706776619,
0.004154265392571688,
-0.09832166880369186,
0.02668064273893833,
-0.054333608597517014,
-0.03144504129886627,
0.00670419167727232,
-0.0009717188659124076,
-0.07580257952213287,
0.05783398449420929,
0.09894395619630814,
-0.01583920046687126,
-0.041654471307992935,
0.012601352296769619,
-0.006218028720468283,
-0.03362305462360382,
-0.04713839292526245,
-0.028936440125107765,
0.047605108469724655,
-0.0025547880213707685,
0.041071075946092606,
-0.0524667426943779,
-0.07813616842031479,
0.043638017028570175,
-0.022596869617700577,
-0.004949142225086689,
0.030881091952323914,
-0.004424085840582848,
-0.017132394015789032,
0.0013916424941271544,
-0.03477039933204651,
-0.06335680186748505,
-0.02528049238026142,
-0.04130443558096886,
0.02625281736254692,
-0.017064331099390984,
-0.06759614497423172,
0.03690951690077782,
-0.04686614125967026,
0.05013315752148628,
-0.031114451587200165,
0.009154454804956913,
0.014740470796823502,
-0.018785350024700165,
0.038659706711769104,
0.012348547577857971,
0.046204958111047745,
-0.05604490637779236,
-0.0350426509976387,
0.056161582469940186,
-0.03716232255101204,
0.06782950460910797,
0.012552736327052116,
0.011055353097617626,
0.017278242856264114,
0.016218407079577446,
0.00019309799245093018,
-0.003668102202937007,
-0.00276140752248466,
0.06063428521156311,
-0.030939431861042976,
-0.026914000511169434,
-0.013097239658236504,
0.007467468269169331,
-0.02487211488187313,
0.041226647794246674,
0.01741436868906021,
-0.012251314707100391,
-0.020574430003762245,
0.0270695723593235,
-0.06763503700494766,
0.029772641137242317,
-0.0034639134537428617,
-0.031289469450712204,
-0.0003287679282948375,
-0.10470012575387955,
-0.06899629533290863,
0.02703068032860756,
-0.009966347366571426,
0.0010762440506368876,
-0.014332094229757786,
-0.00947532244026661,
0.02666119486093521,
0.009188486263155937,
0.00675767008215189,
-0.007472329773008823,
-0.032495155930519104,
-0.07965299487113953,
0.048577435314655304,
0.08595366775989532,
0.06401798129081726,
-0.030511608347296715,
0.025572190061211586,
0.03994317725300789,
0.013058345764875412,
0.008595366962254047,
0.018940921872854233,
-0.06277340650558472,
-0.018308909609913826,
0.00602356344461441,
-0.03298131749033928,
0.022830229252576828,
0.06440691649913788,
0.03899029642343521,
0.004888372030109167,
0.03634556755423546,
0.0047084917314350605,
0.01183321513235569,
0.05985642597079277,
0.04986090958118439,
-0.055733758956193924,
0.021935688331723213,
-0.04029321298003197,
0.02660285495221615,
-0.02386089414358139,
0.010792825371026993,
0.00007170908793341368,
-0.0009431567741557956,
-0.020224392414093018,
0.03377862647175789,
-0.010744208469986916,
-0.01969933696091175,
-0.001525337342172861,
-0.0014755056472495198,
0.07525807619094849,
0.04453255981206894,
0.009251687675714493,
-0.073041170835495,
-0.00035733002005144954,
-0.0051679159514606,
-0.03239792212843895,
-0.03935978189110756,
0.006733361631631851,
0.01687959022819996,
-0.031133897602558136,
0.06374572962522507,
0.015664180740714073,
-0.015051615424454212,
0.012669415213167667,
0.010676146484911442,
-0.02203292027115822,
0.023121926933526993,
-0.012183252722024918,
-0.018231123685836792,
-0.03480929136276245,
-0.05868963524699211,
0.0179588720202446,
0.0548781119287014,
-0.0234525166451931,
0.03004489094018936,
-0.031075557693839073,
-0.021974580362439156,
0.037473466247320175,
0.02564997598528862,
0.00806058757007122,
-0.0006007155170664191,
0.008804417215287685,
-0.03632612153887749,
0.04970533400774002,
-0.002737099304795265,
-0.016043389216065407,
-0.0735078901052475,
0.004287960473448038,
0.023102479055523872,
0.04227675870060921,
-0.010277491994202137,
-0.0112400958314538,
-0.004064325243234634,
0.014857150614261627,
0.052816782146692276,
0.009703819639980793,
0.01858116127550602,
0.003728872397914529,
0.006976443342864513,
-0.010180259123444557,
0.021021701395511627,
0.020710555836558342,
0.09871059656143188,
0.014584898948669434,
0.005931192077696323,
0.014857150614261627,
-0.01961182802915573,
-0.006514588370919228,
-0.0013576110359281301,
-0.010705315507948399,
0.02885865420103073,
-0.009426706470549107,
0.0008362008957192302,
-0.035509366542100906,
-0.002686052117496729,
0.017511602491140366,
0.008026556111872196,
0.0008513935026712716,
-0.025941673666238785,
-0.05262231454253197,
-0.010753932408988476,
0.014993276447057724,
-0.005065821576863527,
-0.0028173162136226892,
0.003891737200319767,
0.0010367432842031121,
0.032903533428907394,
0.008084896020591259,
0.027730753645300865,
-0.0014900905080139637,
0.018697841092944145,
-0.06187886372208595,
0.04849965125322342,
-0.008172404952347279,
-0.013388937339186668,
-0.0252610445022583,
-0.009776744060218334,
-0.08043085783720016,
0.014020949602127075,
0.03889306262135506,
0.0669349655508995,
0.010189983062446117,
0.035723280161619186,
-0.01989380270242691,
-0.035898298025131226,
-0.030978325754404068,
-0.02249963767826557,
0.03165895491838455,
0.05390578508377075,
0.03916531428694725,
-0.005683248862624168,
-0.047216180711984634,
-0.059934210032224655,
0.001694279140792787,
-0.02166343666613102,
-0.05900077894330025,
-0.017851917073130608,
-0.09349892288446426,
-0.04021542891860008,
0.02804189920425415,
-0.06257893890142441,
-0.05448918417096138,
0.042821262031793594,
-0.0013430260587483644,
0.01472102478146553,
0.03556770831346512,
0.011055353097617626,
0.04604938626289368,
-0.10306661576032639,
-0.037259556353092194,
-0.011415114626288414,
0.014089012518525124,
0.011804045177996159,
-0.045193739235401154,
-0.021780116483569145,
-0.032495155930519104,
0.04173225909471512,
0.010938674211502075,
-0.05013315752148628,
-0.043832484632730484,
0.027497395873069763,
-0.013116685673594475,
-0.0505220890045166,
0.050366517156362534,
0.009737851098179817,
-0.008177266456186771,
0.019835462793707848,
0.013068069703876972,
-0.013593126088380814,
-0.0401376411318779,
0.0017757114255800843,
0.03922365605831146,
-0.040837716311216354,
-0.017258796840906143,
-0.01687959022819996,
-0.0635901615023613,
0.04040989279747009,
-0.0009389028418809175,
0.025358278304338455,
0.014254308305680752,
0.049433086067438126,
0.022149600088596344,
-0.013388937339186668,
0.018464481458067894,
-0.029461495578289032,
-0.007992524653673172,
0.04103218391537666,
0.018094997853040695,
0.027769647538661957,
-0.017064331099390984,
-0.005483922082930803,
-0.014137628488242626,
0.028780866414308548,
0.0022934754379093647,
-0.022771889343857765,
0.05985642597079277,
0.06180107966065407,
-0.03282574564218521,
0.06681828200817108,
0.020613323897123337,
0.015518332831561565,
0.0274390559643507,
0.08758717775344849,
-0.017083778977394104,
0.021313399076461792,
-0.00005568089181906544,
0.042043402791023254,
0.0027468225453048944,
-0.0700853019952774,
0.00656806631013751
] |
711,090
|
yt_dlp.YoutubeDL
|
YoutubeDL
|
YoutubeDL class.
YoutubeDL objects are the ones responsible of downloading the
actual video file and writing it to disk if the user has requested
it, among some other tasks. In most cases there should be one per
program. As, given a video URL, the downloader doesn't know how to
extract all the needed information, task that InfoExtractors do, it
has to pass the URL to one of them.
For this, YoutubeDL objects have a method that allows
InfoExtractors to be registered in a given order. When it is passed
a URL, the YoutubeDL object handles it to the first InfoExtractor it
finds that reports being able to handle it. The InfoExtractor extracts
all the information about the video or videos the URL refers to, and
YoutubeDL process the extracted information, possibly using a File
Downloader to download the video.
YoutubeDL objects accept a lot of parameters. In order not to saturate
the object constructor with arguments, it receives a dictionary of
options instead. These options are available through the params
attribute for the InfoExtractors to use. The YoutubeDL also
registers itself as the downloader in charge for the InfoExtractors
that are added to it, so this is a "mutual registration".
Available options:
username: Username for authentication purposes.
password: Password for authentication purposes.
videopassword: Password for accessing a video.
ap_mso: Adobe Pass multiple-system operator identifier.
ap_username: Multiple-system operator account username.
ap_password: Multiple-system operator account password.
usenetrc: Use netrc for authentication instead.
netrc_location: Location of the netrc file. Defaults to ~/.netrc.
netrc_cmd: Use a shell command to get credentials
verbose: Print additional info to stdout.
quiet: Do not print messages to stdout.
no_warnings: Do not print out anything for warnings.
forceprint: A dict with keys WHEN mapped to a list of templates to
print to stdout. The allowed keys are video or any of the
items in utils.POSTPROCESS_WHEN.
For compatibility, a single list is also accepted
print_to_file: A dict with keys WHEN (same as forceprint) mapped to
a list of tuples with (template, filename)
forcejson: Force printing info_dict as JSON.
dump_single_json: Force printing the info_dict of the whole playlist
(or video) as a single JSON line.
force_write_download_archive: Force writing download archive regardless
of 'skip_download' or 'simulate'.
simulate: Do not download the video files. If unset (or None),
simulate only if listsubtitles, listformats or list_thumbnails is used
format: Video format code. see "FORMAT SELECTION" for more details.
You can also pass a function. The function takes 'ctx' as
argument and returns the formats to download.
See "build_format_selector" for an implementation
allow_unplayable_formats: Allow unplayable formats to be extracted and downloaded.
ignore_no_formats_error: Ignore "No video formats" error. Usefull for
extracting metadata even if the video is not actually
available for download (experimental)
format_sort: A list of fields by which to sort the video formats.
See "Sorting Formats" for more details.
format_sort_force: Force the given format_sort. see "Sorting Formats"
for more details.
prefer_free_formats: Whether to prefer video formats with free containers
over non-free ones of same quality.
allow_multiple_video_streams: Allow multiple video streams to be merged
into a single file
allow_multiple_audio_streams: Allow multiple audio streams to be merged
into a single file
check_formats Whether to test if the formats are downloadable.
Can be True (check all), False (check none),
'selected' (check selected formats),
or None (check only if requested by extractor)
paths: Dictionary of output paths. The allowed keys are 'home'
'temp' and the keys of OUTTMPL_TYPES (in utils/_utils.py)
outtmpl: Dictionary of templates for output names. Allowed keys
are 'default' and the keys of OUTTMPL_TYPES (in utils/_utils.py).
For compatibility with youtube-dl, a single string can also be used
outtmpl_na_placeholder: Placeholder for unavailable meta fields.
restrictfilenames: Do not allow "&" and spaces in file names
trim_file_name: Limit length of filename (extension excluded)
windowsfilenames: Force the filenames to be windows compatible
ignoreerrors: Do not stop on download/postprocessing errors.
Can be 'only_download' to ignore only download errors.
Default is 'only_download' for CLI, but False for API
skip_playlist_after_errors: Number of allowed failures until the rest of
the playlist is skipped
allowed_extractors: List of regexes to match against extractor names that are allowed
overwrites: Overwrite all video and metadata files if True,
overwrite only non-video files if None
and don't overwrite any file if False
playlist_items: Specific indices of playlist to download.
playlistrandom: Download playlist items in random order.
lazy_playlist: Process playlist entries as they are received.
matchtitle: Download only matching titles.
rejecttitle: Reject downloads for matching titles.
logger: Log messages to a logging.Logger instance.
logtostderr: Print everything to stderr instead of stdout.
consoletitle: Display progress in console window's titlebar.
writedescription: Write the video description to a .description file
writeinfojson: Write the video description to a .info.json file
clean_infojson: Remove internal metadata from the infojson
getcomments: Extract video comments. This will not be written to disk
unless writeinfojson is also given
writeannotations: Write the video annotations to a .annotations.xml file
writethumbnail: Write the thumbnail image to a file
allow_playlist_files: Whether to write playlists' description, infojson etc
also to disk when using the 'write*' options
write_all_thumbnails: Write all thumbnail formats to files
writelink: Write an internet shortcut file, depending on the
current platform (.url/.webloc/.desktop)
writeurllink: Write a Windows internet shortcut file (.url)
writewebloclink: Write a macOS internet shortcut file (.webloc)
writedesktoplink: Write a Linux internet shortcut file (.desktop)
writesubtitles: Write the video subtitles to a file
writeautomaticsub: Write the automatically generated subtitles to a file
listsubtitles: Lists all available subtitles for the video
subtitlesformat: The format code for subtitles
subtitleslangs: List of languages of the subtitles to download (can be regex).
The list may contain "all" to refer to all the available
subtitles. The language can be prefixed with a "-" to
exclude it from the requested languages, e.g. ['all', '-live_chat']
keepvideo: Keep the video file after post-processing
daterange: A utils.DateRange object, download only if the upload_date is in the range.
skip_download: Skip the actual download of the video file
cachedir: Location of the cache files in the filesystem.
False to disable filesystem cache.
noplaylist: Download single video instead of a playlist if in doubt.
age_limit: An integer representing the user's age in years.
Unsuitable videos for the given age are skipped.
min_views: An integer representing the minimum view count the video
must have in order to not be skipped.
Videos without view count information are always
downloaded. None for no limit.
max_views: An integer representing the maximum view count.
Videos that are more popular than that are not
downloaded.
Videos without view count information are always
downloaded. None for no limit.
download_archive: A set, or the name of a file where all downloads are recorded.
Videos already present in the file are not downloaded again.
break_on_existing: Stop the download process after attempting to download a
file that is in the archive.
break_per_url: Whether break_on_reject and break_on_existing
should act on each input URL as opposed to for the entire queue
cookiefile: File name or text stream from where cookies should be read and dumped to
cookiesfrombrowser: A tuple containing the name of the browser, the profile
name/path from where cookies are loaded, the name of the keyring,
and the container name, e.g. ('chrome', ) or
('vivaldi', 'default', 'BASICTEXT') or ('firefox', 'default', None, 'Meta')
legacyserverconnect: Explicitly allow HTTPS connection to servers that do not
support RFC 5746 secure renegotiation
nocheckcertificate: Do not verify SSL certificates
client_certificate: Path to client certificate file in PEM format. May include the private key
client_certificate_key: Path to private key file for client certificate
client_certificate_password: Password for client certificate private key, if encrypted.
If not provided and the key is encrypted, yt-dlp will ask interactively
prefer_insecure: Use HTTP instead of HTTPS to retrieve information.
(Only supported by some extractors)
enable_file_urls: Enable file:// URLs. This is disabled by default for security reasons.
http_headers: A dictionary of custom headers to be used for all requests
proxy: URL of the proxy server to use
geo_verification_proxy: URL of the proxy to use for IP address verification
on geo-restricted sites.
socket_timeout: Time to wait for unresponsive hosts, in seconds
bidi_workaround: Work around buggy terminals without bidirectional text
support, using fridibi
debug_printtraffic:Print out sent and received HTTP traffic
default_search: Prepend this string if an input url is not valid.
'auto' for elaborate guessing
encoding: Use this encoding instead of the system-specified.
extract_flat: Whether to resolve and process url_results further
* False: Always process. Default for API
* True: Never process
* 'in_playlist': Do not process inside playlist/multi_video
* 'discard': Always process, but don't return the result
from inside playlist/multi_video
* 'discard_in_playlist': Same as "discard", but only for
playlists (not multi_video). Default for CLI
wait_for_video: If given, wait for scheduled streams to become available.
The value should be a tuple containing the range
(min_secs, max_secs) to wait between retries
postprocessors: A list of dictionaries, each with an entry
* key: The name of the postprocessor. See
yt_dlp/postprocessor/__init__.py for a list.
* when: When to run the postprocessor. Allowed values are
the entries of utils.POSTPROCESS_WHEN
Assumed to be 'post_process' if not given
progress_hooks: A list of functions that get called on download
progress, with a dictionary with the entries
* status: One of "downloading", "error", or "finished".
Check this first and ignore unknown values.
* info_dict: The extracted info_dict
If status is one of "downloading", or "finished", the
following properties may also be present:
* filename: The final filename (always present)
* tmpfilename: The filename we're currently writing to
* downloaded_bytes: Bytes on disk
* total_bytes: Size of the whole file, None if unknown
* total_bytes_estimate: Guess of the eventual file size,
None if unavailable.
* elapsed: The number of seconds since download started.
* eta: The estimated time in seconds, None if unknown
* speed: The download speed in bytes/second, None if
unknown
* fragment_index: The counter of the currently
downloaded video fragment.
* fragment_count: The number of fragments (= individual
files that will be merged)
Progress hooks are guaranteed to be called at least once
(with status "finished") if the download is successful.
postprocessor_hooks: A list of functions that get called on postprocessing
progress, with a dictionary with the entries
* status: One of "started", "processing", or "finished".
Check this first and ignore unknown values.
* postprocessor: Name of the postprocessor
* info_dict: The extracted info_dict
Progress hooks are guaranteed to be called at least twice
(with status "started" and "finished") if the processing is successful.
merge_output_format: "/" separated list of extensions to use when merging formats.
final_ext: Expected final extension; used to detect when the file was
already downloaded and converted
fixup: Automatically correct known faults of the file.
One of:
- "never": do nothing
- "warn": only emit a warning
- "detect_or_warn": check whether we can do anything
about it, warn otherwise (default)
source_address: Client-side IP address to bind to.
impersonate: Client to impersonate for requests.
An ImpersonateTarget (from yt_dlp.networking.impersonate)
sleep_interval_requests: Number of seconds to sleep between requests
during extraction
sleep_interval: Number of seconds to sleep before each download when
used alone or a lower bound of a range for randomized
sleep before each download (minimum possible number
of seconds to sleep) when used along with
max_sleep_interval.
max_sleep_interval:Upper bound of a range for randomized sleep before each
download (maximum possible number of seconds to sleep).
Must only be used along with sleep_interval.
Actual sleep time will be a random float from range
[sleep_interval; max_sleep_interval].
sleep_interval_subtitles: Number of seconds to sleep before each subtitle download
listformats: Print an overview of available video formats and exit.
list_thumbnails: Print a table of all thumbnails and exit.
match_filter: A function that gets called for every video with the signature
(info_dict, *, incomplete: bool) -> Optional[str]
For backward compatibility with youtube-dl, the signature
(info_dict) -> Optional[str] is also allowed.
- If it returns a message, the video is ignored.
- If it returns None, the video is downloaded.
- If it returns utils.NO_DEFAULT, the user is interactively
asked whether to download the video.
- Raise utils.DownloadCancelled(msg) to abort remaining
downloads when a video is rejected.
match_filter_func in utils/_utils.py is one example for this.
color: A Dictionary with output stream names as keys
and their respective color policy as values.
Can also just be a single color policy,
in which case it applies to all outputs.
Valid stream names are 'stdout' and 'stderr'.
Valid color policies are one of 'always', 'auto', 'no_color' or 'never'.
geo_bypass: Bypass geographic restriction via faking X-Forwarded-For
HTTP header
geo_bypass_country:
Two-letter ISO 3166-2 country code that will be used for
explicit geographic restriction bypassing via faking
X-Forwarded-For HTTP header
geo_bypass_ip_block:
IP range in CIDR notation that will be used similarly to
geo_bypass_country
external_downloader: A dictionary of protocol keys and the executable of the
external downloader to use for it. The allowed protocols
are default|http|ftp|m3u8|dash|rtsp|rtmp|mms.
Set the value to 'native' to use the native downloader
compat_opts: Compatibility options. See "Differences in default behavior".
The following options do not work when used through the API:
filename, abort-on-error, multistreams, no-live-chat, format-sort
no-clean-infojson, no-playlist-metafiles, no-keep-subs, no-attach-info-json.
Refer __init__.py for their implementation
progress_template: Dictionary of templates for progress outputs.
Allowed keys are 'download', 'postprocess',
'download-title' (console title) and 'postprocess-title'.
The template is mapped on a dictionary with keys 'progress' and 'info'
retry_sleep_functions: Dictionary of functions that takes the number of attempts
as argument and returns the time to sleep in seconds.
Allowed keys are 'http', 'fragment', 'file_access'
download_ranges: A callback function that gets called for every video with
the signature (info_dict, ydl) -> Iterable[Section].
Only the returned sections will be downloaded.
Each Section is a dict with the following keys:
* start_time: Start time of the section in seconds
* end_time: End time of the section in seconds
* title: Section title (Optional)
* index: Section number (Optional)
force_keyframes_at_cuts: Re-encode the video when downloading ranges to get precise cuts
noprogress: Do not print the progress bar
live_from_start: Whether to download livestreams videos from the start
The following parameters are not used by YoutubeDL itself, they are used by
the downloader (see yt_dlp/downloader/common.py):
nopart, updatetime, buffersize, ratelimit, throttledratelimit, min_filesize,
max_filesize, test, noresizebuffer, retries, file_access_retries, fragment_retries,
continuedl, xattr_set_filesize, hls_use_mpegts, http_chunk_size,
external_downloader_args, concurrent_fragment_downloads, progress_delta.
The following options are used by the post processors:
ffmpeg_location: Location of the ffmpeg/avconv binary; either the path
to the binary or its containing directory.
postprocessor_args: A dictionary of postprocessor/executable keys (in lower case)
and a list of additional command-line arguments for the
postprocessor/executable. The dict can also have "PP+EXE" keys
which are used when the given exe is used by the given PP.
Use 'default' as the name for arguments to passed to all PP
For compatibility with youtube-dl, a single list of args
can also be used
The following options are used by the extractors:
extractor_retries: Number of times to retry for known errors (default: 3)
dynamic_mpd: Whether to process dynamic DASH manifests (default: True)
hls_split_discontinuity: Split HLS playlists to different formats at
discontinuities such as ad breaks (default: False)
extractor_args: A dictionary of arguments to be passed to the extractors.
See "EXTRACTOR ARGUMENTS" for details.
E.g. {'youtube': {'skip': ['dash', 'hls']}}
mark_watched: Mark videos watched (even with --simulate). Only for YouTube
The following options are deprecated and may be removed in the future:
break_on_reject: Stop the download process when encountering a video that
has been filtered out.
- `raise DownloadCancelled(msg)` in match_filter instead
force_generic_extractor: Force downloader to use the generic extractor
- Use allowed_extractors = ['generic', 'default']
playliststart: - Use playlist_items
Playlist item to start at.
playlistend: - Use playlist_items
Playlist item to end at.
playlistreverse: - Use playlist_items
Download playlist items in reverse order.
forceurl: - Use forceprint
Force printing final URL.
forcetitle: - Use forceprint
Force printing title.
forceid: - Use forceprint
Force printing ID.
forcethumbnail: - Use forceprint
Force printing thumbnail URL.
forcedescription: - Use forceprint
Force printing description.
forcefilename: - Use forceprint
Force printing final filename.
forceduration: - Use forceprint
Force printing duration.
allsubtitles: - Use subtitleslangs = ['all']
Downloads all the subtitles of the video
(requires writesubtitles or writeautomaticsub)
include_ads: - Doesn't work
Download ads as well
call_home: - Not implemented
Boolean, true iff we are allowed to contact the
yt-dlp servers for debugging.
post_hooks: - Register a custom postprocessor
A list of functions that get called as the final step
for each video file, after all postprocessors have been
called. The filename will be passed as the only argument.
hls_prefer_native: - Use external_downloader = {'m3u8': 'native'} or {'m3u8': 'ffmpeg'}.
Use the native HLS downloader instead of ffmpeg/avconv
if True, otherwise use ffmpeg/avconv if False, otherwise
use downloader suggested by extractor if None.
prefer_ffmpeg: - avconv support is deprecated
If False, use avconv instead of ffmpeg if both are available,
otherwise prefer ffmpeg.
youtube_include_dash_manifest: - Use extractor_args
If True (default), DASH manifests and related
data will be downloaded and processed by extractor.
You can reduce network I/O by disabling it if you don't
care about DASH. (only for youtube)
youtube_include_hls_manifest: - Use extractor_args
If True (default), HLS manifests and related
data will be downloaded and processed by extractor.
You can reduce network I/O by disabling it if you don't
care about HLS. (only for youtube)
no_color: Same as `color='no_color'`
no_overwrites: Same as `overwrites=False`
|
class YoutubeDL:
"""YoutubeDL class.
YoutubeDL objects are the ones responsible of downloading the
actual video file and writing it to disk if the user has requested
it, among some other tasks. In most cases there should be one per
program. As, given a video URL, the downloader doesn't know how to
extract all the needed information, task that InfoExtractors do, it
has to pass the URL to one of them.
For this, YoutubeDL objects have a method that allows
InfoExtractors to be registered in a given order. When it is passed
a URL, the YoutubeDL object handles it to the first InfoExtractor it
finds that reports being able to handle it. The InfoExtractor extracts
all the information about the video or videos the URL refers to, and
YoutubeDL process the extracted information, possibly using a File
Downloader to download the video.
YoutubeDL objects accept a lot of parameters. In order not to saturate
the object constructor with arguments, it receives a dictionary of
options instead. These options are available through the params
attribute for the InfoExtractors to use. The YoutubeDL also
registers itself as the downloader in charge for the InfoExtractors
that are added to it, so this is a "mutual registration".
Available options:
username: Username for authentication purposes.
password: Password for authentication purposes.
videopassword: Password for accessing a video.
ap_mso: Adobe Pass multiple-system operator identifier.
ap_username: Multiple-system operator account username.
ap_password: Multiple-system operator account password.
usenetrc: Use netrc for authentication instead.
netrc_location: Location of the netrc file. Defaults to ~/.netrc.
netrc_cmd: Use a shell command to get credentials
verbose: Print additional info to stdout.
quiet: Do not print messages to stdout.
no_warnings: Do not print out anything for warnings.
forceprint: A dict with keys WHEN mapped to a list of templates to
print to stdout. The allowed keys are video or any of the
items in utils.POSTPROCESS_WHEN.
For compatibility, a single list is also accepted
print_to_file: A dict with keys WHEN (same as forceprint) mapped to
a list of tuples with (template, filename)
forcejson: Force printing info_dict as JSON.
dump_single_json: Force printing the info_dict of the whole playlist
(or video) as a single JSON line.
force_write_download_archive: Force writing download archive regardless
of 'skip_download' or 'simulate'.
simulate: Do not download the video files. If unset (or None),
simulate only if listsubtitles, listformats or list_thumbnails is used
format: Video format code. see "FORMAT SELECTION" for more details.
You can also pass a function. The function takes 'ctx' as
argument and returns the formats to download.
See "build_format_selector" for an implementation
allow_unplayable_formats: Allow unplayable formats to be extracted and downloaded.
ignore_no_formats_error: Ignore "No video formats" error. Usefull for
extracting metadata even if the video is not actually
available for download (experimental)
format_sort: A list of fields by which to sort the video formats.
See "Sorting Formats" for more details.
format_sort_force: Force the given format_sort. see "Sorting Formats"
for more details.
prefer_free_formats: Whether to prefer video formats with free containers
over non-free ones of same quality.
allow_multiple_video_streams: Allow multiple video streams to be merged
into a single file
allow_multiple_audio_streams: Allow multiple audio streams to be merged
into a single file
check_formats Whether to test if the formats are downloadable.
Can be True (check all), False (check none),
'selected' (check selected formats),
or None (check only if requested by extractor)
paths: Dictionary of output paths. The allowed keys are 'home'
'temp' and the keys of OUTTMPL_TYPES (in utils/_utils.py)
outtmpl: Dictionary of templates for output names. Allowed keys
are 'default' and the keys of OUTTMPL_TYPES (in utils/_utils.py).
For compatibility with youtube-dl, a single string can also be used
outtmpl_na_placeholder: Placeholder for unavailable meta fields.
restrictfilenames: Do not allow "&" and spaces in file names
trim_file_name: Limit length of filename (extension excluded)
windowsfilenames: Force the filenames to be windows compatible
ignoreerrors: Do not stop on download/postprocessing errors.
Can be 'only_download' to ignore only download errors.
Default is 'only_download' for CLI, but False for API
skip_playlist_after_errors: Number of allowed failures until the rest of
the playlist is skipped
allowed_extractors: List of regexes to match against extractor names that are allowed
overwrites: Overwrite all video and metadata files if True,
overwrite only non-video files if None
and don't overwrite any file if False
playlist_items: Specific indices of playlist to download.
playlistrandom: Download playlist items in random order.
lazy_playlist: Process playlist entries as they are received.
matchtitle: Download only matching titles.
rejecttitle: Reject downloads for matching titles.
logger: Log messages to a logging.Logger instance.
logtostderr: Print everything to stderr instead of stdout.
consoletitle: Display progress in console window's titlebar.
writedescription: Write the video description to a .description file
writeinfojson: Write the video description to a .info.json file
clean_infojson: Remove internal metadata from the infojson
getcomments: Extract video comments. This will not be written to disk
unless writeinfojson is also given
writeannotations: Write the video annotations to a .annotations.xml file
writethumbnail: Write the thumbnail image to a file
allow_playlist_files: Whether to write playlists' description, infojson etc
also to disk when using the 'write*' options
write_all_thumbnails: Write all thumbnail formats to files
writelink: Write an internet shortcut file, depending on the
current platform (.url/.webloc/.desktop)
writeurllink: Write a Windows internet shortcut file (.url)
writewebloclink: Write a macOS internet shortcut file (.webloc)
writedesktoplink: Write a Linux internet shortcut file (.desktop)
writesubtitles: Write the video subtitles to a file
writeautomaticsub: Write the automatically generated subtitles to a file
listsubtitles: Lists all available subtitles for the video
subtitlesformat: The format code for subtitles
subtitleslangs: List of languages of the subtitles to download (can be regex).
The list may contain "all" to refer to all the available
subtitles. The language can be prefixed with a "-" to
exclude it from the requested languages, e.g. ['all', '-live_chat']
keepvideo: Keep the video file after post-processing
daterange: A utils.DateRange object, download only if the upload_date is in the range.
skip_download: Skip the actual
|
(params=None, auto_init=True)
|
[
0.031866855919361115,
0.002732508582994342,
-0.14597204327583313,
0.004015620797872543,
0.008929668925702572,
-0.027399539947509766,
-0.011376765556633472,
0.06361458450555801,
-0.02882908098399639,
0.012141172774136066,
-0.017859337851405144,
0.016797108575701714,
-0.014017445966601372,
0.04499083757400513,
0.05241651087999344,
0.034150153398513794,
-0.010622285306453705,
0.06091434136033058,
0.01660848967730999,
-0.004660900216549635,
-0.02386539615690708,
0.02670462429523468,
-0.008378700353205204,
0.011694441549479961,
-0.004755210131406784,
0.04713515192270279,
0.027796635404229164,
-0.023905105888843536,
-0.04240972176194191,
0.03687025234103203,
0.0035142889246344566,
0.01783948391675949,
-0.002112047979608178,
0.03490463271737099,
-0.05150319263339043,
0.01440461352467537,
-0.03361407294869423,
0.04113902151584625,
-0.11833424866199493,
0.005350852385163307,
-0.03329639881849289,
-0.021701229736208916,
0.0504707470536232,
-0.022852804511785507,
0.025612613186240196,
0.04916033521294594,
-0.062145333737134933,
-0.0016578707145527005,
-0.015456914901733398,
-0.06691046804189682,
0.012031972408294678,
0.03405087813735008,
0.011128581129014492,
0.002460746793076396,
-0.03571867570281029,
0.08323106914758682,
-0.0003122467896901071,
0.12024030089378357,
0.020172415301203728,
0.006274097599089146,
-0.040185991674661636,
-0.006725792773067951,
0.022435855120420456,
0.05738019570708275,
-0.009500492364168167,
0.023746268823742867,
-0.014752071350812912,
-0.02694288082420826,
-0.04201262816786766,
0.041893500834703445,
0.013411876745522022,
-0.03679083287715912,
0.009391291998326778,
-0.034150153398513794,
0.04729399085044861,
-0.020648928359150887,
-0.06933274865150452,
-0.03657243028283119,
0.012925434857606888,
0.020708493888378143,
0.0415361151099205,
-0.012687178328633308,
0.01888185739517212,
-0.010810905136168003,
0.05877002701163292,
-0.01684674620628357,
0.02620825543999672,
-0.043283332139253616,
-0.006199642550200224,
0.027617942541837692,
-0.057022809982299805,
-0.0033802692778408527,
0.010513084009289742,
0.012478703632950783,
-0.0911729633808136,
-0.0724300891160965,
-0.03019905835390091,
-0.05880973860621452,
-0.04467316344380379,
-0.034805357456207275,
-0.026843607425689697,
-0.03168816491961479,
-0.05317099019885063,
-0.01225037407130003,
0.0071526700630784035,
-0.10523011535406113,
-0.06730756908655167,
-0.004993467126041651,
-0.03728720173239708,
-0.00521186925470829,
-0.03540100157260895,
-0.02872980758547783,
-0.015228585340082645,
0.002955874428153038,
0.03738647326827049,
-0.03889543563127518,
-0.03575838729739189,
-0.03964991495013237,
-0.03466637432575226,
-0.016558852046728134,
-0.012031972408294678,
0.0390741266310215,
-0.06325720250606537,
0.0021033615339547396,
0.0374658927321434,
-0.06413080543279648,
0.004313441924750805,
0.0008152852533385158,
0.046777766197919846,
-0.026406804099678993,
0.02507653646171093,
0.026843607425689697,
-0.01954699121415615,
0.020370962098240852,
0.041893500834703445,
-0.03786298632621765,
0.01538742333650589,
0.03460681065917015,
-0.05634775012731552,
0.009267199784517288,
-0.019090332090854645,
-0.022018905729055405,
0.038061536848545074,
-0.01335231214761734,
-0.02001357637345791,
-0.049120623618364334,
-0.0014407095732167363,
-0.11206015199422836,
-0.02783634513616562,
0.00777809415012598,
0.04614241421222687,
-0.05495791882276535,
-0.025275083258748055,
0.01643972471356392,
0.0009040110744535923,
-0.004655936267226934,
0.0015933428658172488,
0.003571371315047145,
-0.028392277657985687,
0.04737340658903122,
0.03037775121629238,
-0.01518887560814619,
-0.021145297214388847,
0.03266104683279991,
0.011456185020506382,
-0.027895908802747726,
0.06913420557975769,
0.02150268293917179,
0.04288623854517937,
0.07711580395698547,
0.07679813355207443,
0.06381313502788544,
-0.0692136213183403,
-0.009177853353321552,
-0.00777809415012598,
0.05884944647550583,
0.03917340189218521,
-0.03728720173239708,
0.033991314470767975,
0.02970268949866295,
-0.0350039042532444,
0.014146502129733562,
-0.047016020864248276,
0.008835358545184135,
0.06953129917383194,
0.046698346734046936,
0.01693609170615673,
0.047095440328121185,
0.006388262379914522,
-0.0025302383583039045,
-0.026247965171933174,
-0.054679952561855316,
0.011257637292146683,
-0.010503157041966915,
-0.025016970932483673,
-0.015129311010241508,
-0.014106792397797108,
-0.0008419650257565081,
0.061827659606933594,
0.03490463271737099,
0.031072666868567467,
0.014414540491998196,
0.041814081370830536,
-0.048961788415908813,
-0.0029136829543858767,
0.02004336006939411,
0.012349647469818592,
-0.021542392671108246,
-0.04372013732790947,
0.02499711699783802,
0.016876528039574623,
0.0055394722148776054,
0.005618891213089228,
-0.022435855120420456,
0.016082338988780975,
-0.0749317854642868,
0.017402678728103638,
0.0252552293241024,
-0.021105587482452393,
0.021641666069626808,
0.006398189812898636,
-0.024877987802028656,
-0.050431039184331894,
0.014196138828992844,
0.03150947019457817,
-0.02434191107749939,
0.0806499496102333,
0.02108573354780674,
-0.027002446353435516,
-0.04038453847169876,
0.04618212208151817,
-0.017124712467193604,
0.016151830554008484,
0.09704996645450592,
0.005584145430475473,
-0.0003561443882063031,
-0.008413446135818958,
0.027796635404229164,
-0.050272200256586075,
-0.01470243465155363,
0.03949107602238655,
-0.023150626569986343,
0.0024024234153330326,
0.05674484372138977,
-0.022991787642240524,
0.00642797164618969,
-0.0252353735268116,
0.06305865198373795,
-0.001577210845425725,
-0.017978467047214508,
0.040662504732608795,
-0.012647468596696854,
-0.03696952387690544,
-0.005479908082634211,
-0.01759129948914051,
-0.03150947019457817,
-0.016747472807765007,
-0.0651235431432724,
0.04165524244308472,
-0.03019905835390091,
-0.003236322430893779,
-0.019596626982092857,
-0.05348866805434227,
0.05813467502593994,
0.007792985066771507,
-0.021701229736208916,
0.01371962483972311,
-0.039034418761730194,
-0.06714873015880585,
0.005286324303597212,
0.08049111068248749,
0.04518938809633255,
-0.030258622020483017,
-0.01433512195944786,
-0.04860440269112587,
-0.02394481562077999,
0.019497353583574295,
-0.05837293341755867,
0.01644965074956417,
-0.0006812657229602337,
0.024937553331255913,
-0.01189298927783966,
0.011466111987829208,
-0.021284280344843864,
0.06385283917188644,
-0.04808817803859711,
-0.04622183367609978,
0.011744078248739243,
-0.05138406530022621,
0.022654257714748383,
-0.021939486265182495,
-0.005509690381586552,
0.0289085004478693,
0.0012291324092075229,
-0.010324464179575443,
0.03210511431097984,
-0.05547414347529411,
-0.039451368153095245,
0.043839264661073685,
-0.01929880678653717,
-0.0504707470536232,
0.025354502722620964,
0.05400489270687103,
0.01979517564177513,
-0.06702960282564163,
0.031310923397541046,
0.01962641067802906,
-0.043601006269454956,
0.07401847094297409,
-0.016648199409246445,
0.05706252157688141,
-0.03436855226755142,
0.0333956703543663,
0.08323106914758682,
-0.008274463005363941,
0.02018234319984913,
0.008368772454559803,
0.041893500834703445,
0.018693236634135246,
0.05170173943042755,
-0.018871929496526718,
0.045785028487443924,
0.034884776920080185,
0.009172889403998852,
0.07620248943567276,
-0.06583831459283829,
0.02573174238204956,
0.008473009802401066,
0.01946757175028324,
-0.012111390940845013,
-0.032204385846853256,
0.02809445559978485,
-0.026108982041478157,
0.05162232369184494,
0.020887184888124466,
-0.0023912552278488874,
-0.046857185661792755,
-0.03143005073070526,
0.10681849718093872,
-0.005852184258401394,
-0.011009452864527702,
0.0017881675157696009,
-0.07691726088523865,
0.023309463635087013,
-0.00278710899874568,
-0.05110609903931618,
0.05813467502593994,
-0.015764662995934486,
0.0382799357175827,
-0.030973393470048904,
0.03808138892054558,
0.010691776871681213,
-0.021701229736208916,
0.04459374397993088,
0.01847483403980732,
-0.054084308445453644,
0.0126276146620512,
-0.05900828540325165,
-0.014910909347236156,
-0.011495893821120262,
-0.05741990730166435,
0.046380672603845596,
-0.0398881696164608,
0.023547720164060593,
-0.023885251954197884,
-0.061192307621240616,
0.038140952587127686,
-0.02849155105650425,
0.05579181760549545,
-0.03117194026708603,
-0.00459637213498354,
0.027419395744800568,
0.00944589264690876,
-0.06500441581010818,
-0.01445425022393465,
0.0014630460646003485,
0.014017445966601372,
0.02857097052037716,
-0.04006686434149742,
-0.012141172774136066,
0.017233913764357567,
0.03655257448554039,
-0.032760318368673325,
-0.008562356233596802,
0.023666849359869957,
-0.03240293636918068,
0.006820103153586388,
0.017243841663002968,
0.016628343611955643,
0.01669783517718315,
0.002583598019555211,
0.0341700054705143,
0.008597102016210556,
-0.024044089019298553,
0.04439519718289375,
-0.045705609023571014,
-0.0325617715716362,
0.058412641286849976,
0.004301032982766628,
-0.02801503799855709,
0.014712361618876457,
-0.03232351690530777,
-0.019884521141648293,
0.06933274865150452,
0.013441658578813076,
0.010671922005712986,
0.12754684686660767,
0.07600393891334534,
0.009981970302760601,
0.00956502091139555,
-0.00328844110481441,
-0.05062958598136902,
-0.078148253262043,
-0.007549764588475227,
-0.02702230028808117,
0.03510317951440811,
-0.040741924196481705,
0.02988138236105442,
0.03621504455804825,
0.03035789728164673,
0.0020177378319203854,
0.011297347024083138,
0.03889543563127518,
-0.006457753945142031,
-0.0029608379118144512,
-0.01196248084306717,
0.011744078248739243,
0.0019569327123463154,
-0.05170173943042755,
-0.05503733828663826,
0.005762838292866945,
0.015903646126389503,
-0.034805357456207275,
-0.0464203804731369,
0.04419665038585663,
0.030596153810620308,
-0.017402678728103638,
-0.01855425350368023,
-0.029682835564017296,
0.028034891933202744,
0.0047179823741316795,
-0.0472145713865757,
-0.0013674951624125242,
0.009103397838771343,
0.03575838729739189,
0.007574582938104868,
-0.05495791882276535,
0.002764772390946746,
0.010091171599924564,
0.010890324600040913,
-0.0618673674762249,
0.09021993726491928,
0.005867075640708208,
-0.03405087813735008,
-0.05062958598136902,
-0.02799518220126629,
0.022535128518939018,
0.004698127508163452,
-0.05090755224227905,
-0.07933954149484634,
0.03526201844215393,
-0.016241176053881645,
0.050192780792713165,
0.02555304951965809,
-0.007073251064866781,
0.03726734593510628,
0.018901711329817772,
-0.009708967059850693,
-0.06393226236104965,
-0.034467827528715134,
0.0018688273848965764,
0.014603160321712494,
-0.01927895098924637,
0.008522646501660347,
0.029682835564017296,
0.012170955538749695,
-0.004293587524443865,
-0.047333698719739914,
-0.0059216758236289024,
-0.07072257995605469,
0.02799518220126629,
-0.06226446107029915,
0.02728041261434555,
0.016876528039574623,
-0.001749698887579143,
-0.030397605150938034,
0.03365378454327583,
-0.040741924196481705,
0.0064527904614806175,
-0.0005072265630587935,
0.002421037293970585,
0.02880922704935074,
-0.012061754241585732,
-0.0240242350846529,
0.004047885071486235,
0.013997591100633144,
-0.045149676501750946,
0.02555304951965809,
0.00033659988548606634,
-0.06115259602665901,
0.05666542425751686,
-0.04836614429950714,
0.005045585799962282,
-0.06091434136033058,
0.034984052181243896,
-0.005246615037322044,
-0.0407022163271904,
0.003248731605708599,
-0.04681747406721115,
0.03192641958594322,
-0.022912370041012764,
0.03395160287618637,
-0.014851344749331474,
-0.010721559636294842,
0.043442171066999435,
0.030020365491509438,
-0.058015547692775726,
0.040583088994026184,
0.023408737033605576,
-0.007822766900062561,
-0.0018539362354204059,
0.025056680664420128,
0.03152932599186897,
-0.050748713314533234,
-0.03784313425421715,
0.02394481562077999,
-0.06814146786928177,
0.016727617010474205,
0.011495893821120262,
0.02497726120054722,
-0.028392277657985687,
-0.01954699121415615,
-0.014593233354389668,
-0.018693236634135246,
0.05587123706936836,
-0.00007131419260986149,
-0.03093368373811245,
-0.007569619454443455,
-0.0004901638603769243,
0.015010182745754719,
0.042370013892650604,
0.011039234697818756,
-0.03280002996325493,
-0.07239037752151489,
-0.03726734593510628,
-0.015685243532061577,
0.023587429895997047,
0.08577247709035873,
0.05837293341755867,
-0.016876528039574623,
0.022197598591446877,
-0.005187050439417362,
0.04753224551677704,
-0.02467944100499153,
-0.026148691773414612,
0.023508010432124138,
0.005956421606242657,
-0.020241906866431236,
0.05519617348909378,
0.013262965716421604,
-0.003611080814152956,
0.0062691341154277325,
-0.10800978541374207,
-0.04526880383491516,
0.004325851332396269,
0.011098799295723438,
0.050748713314533234,
0.0012371984776109457,
-0.014057155698537827,
-0.01669783517718315,
0.018772656098008156,
0.026406804099678993,
-0.01659856177866459,
-0.02410365268588066,
-0.029285740107297897,
-0.0187329463660717,
-0.011952552944421768,
0.029087193310260773,
0.03426928073167801,
-0.025791306048631668,
0.015466841869056225,
-0.02612883783876896,
0.0715961903333664,
-0.029504142701625824,
-0.01936829835176468,
-0.06313806772232056,
0.09760589897632599,
-0.0024123508483171463,
0.040344830602407455,
0.012875798158347607,
-0.03166830912232399,
0.0350039042532444,
-0.00242227828130126,
-0.009614657610654831,
0.005241651087999344,
0.042290594428777695,
0.022733677178621292,
-0.0066066645085811615,
0.0545608252286911,
0.012707033194601536,
-0.004536808002740145,
0.02801503799855709,
-0.009674221277236938,
-0.01595328375697136,
0.014950619079172611,
0.005886930041015148,
-0.032204385846853256,
-0.02297193370759487,
-0.024639731273055077,
-0.018196867778897285,
-0.02019226923584938,
0.00899419654160738,
0.00474280072376132,
-0.031310923397541046,
0.007058359682559967,
0.004176940768957138,
-0.02882908098399639,
0.06417051702737808,
0.00003272929825470783,
-0.030675571411848068,
0.007251943461596966,
0.024560311809182167,
-0.009892623871564865,
0.012687178328633308,
-0.07449498027563095,
0.001204934436827898,
-0.026148691773414612,
-0.038875579833984375,
-0.02150268293917179,
0.007792985066771507,
0.019517209380865097,
-0.019596626982092857,
0.03460681065917015,
0.0504707470536232,
0.019963940605521202,
-0.03655257448554039,
0.011495893821120262,
-0.040741924196481705,
0.045467354357242584,
0.016151830554008484,
0.0341700054705143,
-0.0028690097387880087,
-0.013987664133310318,
0.017948685213923454,
-0.024202927947044373,
0.028392277657985687,
0.021701229736208916,
-0.0038642287254333496,
0.05892886593937874,
-0.013054491020739079,
-0.0002618343860376626,
0.026148691773414612,
0.010741413570940495,
0.019080404192209244,
-0.04280681908130646,
0.0414964035153389,
0.002155480207875371,
0.004003211855888367,
0.054759372025728226,
-0.015347713604569435,
0.014603160321712494,
-0.04868382215499878,
0.05340924859046936,
-0.05642716959118843,
-0.003422460751608014,
-0.005807511042803526,
0.0023465820122510195,
-0.006661265157163143,
0.0062691341154277325,
-0.012270228937268257,
0.0317278727889061,
-0.01445425022393465,
0.049875106662511826,
-0.011327128857374191,
-0.0013290266506373882,
-0.03555983677506447,
-0.013789116404950619,
-0.020569510757923126,
0.043521586805582047,
-0.008815504610538483,
-0.0056337821297347546,
0.021204860880970955,
-0.013322530314326286,
0.012458848766982555,
-0.025195663794875145,
0.03109252266585827,
0.00716756097972393,
-0.00936647318303585,
-0.02712157368659973,
-0.04761166498064995,
-0.034408263862133026,
0.06286010146141052,
-0.02817387506365776,
-0.05634775012731552,
-0.010091171599924564,
-0.031370487064123154,
0.011823497712612152,
-0.015099529176950455,
0.04646008834242821,
-0.04101989045739174,
-0.008721194230020046,
-0.030119638890028,
0.017700500786304474,
0.050669293850660324,
-0.003261141013354063,
-0.001238439348526299,
-0.01847483403980732,
-0.014186210930347443,
-0.027081863954663277,
-0.0398881696164608,
0.028769517317414284,
0.016409942880272865,
0.05245622247457504,
-0.005643709562718868,
-0.008170225657522678,
-0.02182035893201828,
0.022892514243721962,
0.004410233814269304,
0.029126903042197227,
0.0044697984121739864,
0.030060075223445892,
-0.045387934893369675,
0.0374658927321434,
0.047016020864248276,
0.04256856068968773,
-0.010453520342707634,
-0.059802476316690445,
-0.0215622466057539,
0.06417051702737808,
0.0016057520406320691,
0.022892514243721962,
0.05714194104075432,
-0.02305135317146778,
0.03514288738369942,
-0.02384554222226143,
-0.055632978677749634,
0.039352092891931534,
0.014364903792738914,
-0.002931055845692754,
0.035857658833265305,
-0.028590824455022812,
0.0007358662551268935,
-0.021542392671108246,
0.01395788136869669,
-0.002777181565761566,
0.0052664694376289845,
0.04300536587834358,
0.003243768122047186,
0.006869739852845669,
-0.03843877464532852,
0.02751866914331913,
-0.0635351687669754,
-0.08688434213399887,
0.03843877464532852,
0.008904851041734219,
0.005623854696750641,
0.017889119684696198,
0.035460565239191055,
-0.0029186466708779335,
-0.04054337739944458,
-0.04939858987927437,
-0.012111390940845013,
0.04518938809633255,
0.03897485509514809,
0.014245775528252125,
0.09212598949670792,
-0.023349173367023468,
0.03119179606437683
] |
711,093
|
yt_dlp.YoutubeDL
|
__forced_printings
| null |
def __forced_printings(self, info_dict, filename=None, incomplete=True):
if (self.params.get('forcejson')
or self.params['forceprint'].get('video')
or self.params['print_to_file'].get('video')):
self.post_extract(info_dict)
if filename:
info_dict['filename'] = filename
info_copy = self._forceprint('video', info_dict)
def print_field(field, actual_field=None, optional=False):
if actual_field is None:
actual_field = field
if self.params.get(f'force{field}') and (
info_copy.get(field) is not None or (not optional and not incomplete)):
self.to_stdout(info_copy[actual_field])
print_field('title')
print_field('id')
print_field('url', 'urls')
print_field('thumbnail', optional=True)
print_field('description', optional=True)
print_field('filename')
if self.params.get('forceduration') and info_copy.get('duration') is not None:
self.to_stdout(formatSeconds(info_copy['duration']))
print_field('format')
if self.params.get('forcejson'):
self.to_stdout(json.dumps(self.sanitize_info(info_dict)))
|
(self, info_dict, filename=None, incomplete=True)
|
[
0.048917919397354126,
0.05181185156106949,
-0.11526916176080704,
-0.009196080267429352,
0.011122463271021843,
-0.024302059784531593,
-0.008001897484064102,
-0.013807195238769054,
0.022314660251140594,
0.02660325914621353,
-0.05404331535100937,
-0.029357723891735077,
-0.021512726321816444,
-0.011872095987200737,
0.019420728087425232,
0.03228652477264404,
0.002758824033662677,
0.05787864699959755,
0.009841113351285458,
0.011549579910933971,
0.050103385001420975,
0.009030464105308056,
-0.012499695643782616,
0.014295329339802265,
0.007247906178236008,
-0.0039246780797839165,
-0.007988822646439075,
-0.0399223193526268,
-0.03640078753232956,
0.02738775871694088,
0.017433328554034233,
-0.035982389003038406,
0.06171398237347603,
0.032059889286756516,
-0.014643995091319084,
0.004602398723363876,
-0.022140325978398323,
0.012316646054387093,
-0.12447395920753479,
-0.016064811497926712,
-0.01669241115450859,
0.022733058780431747,
-0.04480365291237831,
-0.011828512884676456,
-0.020937426015734673,
0.014068695716559887,
-0.008703588508069515,
0.05149805173277855,
-0.01788659393787384,
-0.02290739305317402,
-0.010747646912932396,
-0.009352980181574821,
-0.05359005182981491,
0.02219262719154358,
0.0042036110535264015,
-0.02283765934407711,
-0.01692776195704937,
0.02226235903799534,
0.0028111240826547146,
-0.034134455025196075,
0.006153964903205633,
-0.017224127426743507,
0.009544746950268745,
-0.02301199361681938,
0.04142158851027489,
0.021495293825864792,
0.04734892025589943,
-0.007805772591382265,
-0.027666691690683365,
0.0071302312426269054,
-0.01066047977656126,
-0.020100627094507217,
0.0032186282332986593,
0.01989142782986164,
-0.021442992612719536,
-0.02491222508251667,
-0.04382738471031189,
-0.05658858269453049,
0.01764252781867981,
-0.06453818082809448,
0.029915589839220047,
-0.017041077837347984,
-0.023203758522868156,
-0.05135858431458473,
-0.0455358512699604,
0.005596098490059376,
0.033524289727211,
-0.0067466977052390575,
0.0028045866638422012,
0.042990587651729584,
-0.019595060497522354,
0.01692776195704937,
0.011532146483659744,
0.015193145722150803,
-0.037900056689977646,
-0.026864757761359215,
-0.039887454360723495,
-0.02179165929555893,
-0.03450055420398712,
0.0016528974520042539,
-0.025504957884550095,
-0.04215378686785698,
-0.013310345821082592,
-0.00044536704081110656,
0.001610403647646308,
-0.0519164502620697,
-0.0048508234322071075,
0.018653661012649536,
0.00274356990121305,
0.043548453599214554,
-0.03049089014530182,
-0.03176352381706238,
-0.030787257477641106,
-0.01795632764697075,
0.06593284755945206,
-0.028381457552313805,
-0.0070692142471671104,
-0.02595822513103485,
0.020222660154104233,
-0.03228652477264404,
0.014103562571108341,
-0.07067470997571945,
-0.003935573622584343,
-0.04271165281534195,
-0.04693051800131798,
-0.01358056254684925,
-0.027823591604828835,
0.046756185591220856,
0.042502451688051224,
-0.015402344986796379,
0.011462412774562836,
0.005391256883740425,
-0.014896778389811516,
0.0375165231525898,
0.05683264881372452,
-0.045884519815444946,
-0.020222660154104233,
0.0024668159894645214,
0.03439595550298691,
0.0133800795301795,
-0.054182782769203186,
-0.0854930430650711,
0.0031772239599376917,
-0.014312761835753918,
-0.011349096894264221,
-0.0423281192779541,
-0.0027326741255819798,
-0.06213238090276718,
-0.017529211938381195,
0.0023229909129440784,
0.03315819054841995,
0.065479576587677,
-0.04724431782960892,
-0.017293861135840416,
0.006968972738832235,
-0.014216878451406956,
0.033663757145404816,
-0.007112797815352678,
-0.030386291444301605,
0.010608180426061153,
0.007561706006526947,
-0.06575851142406464,
0.0034626948181539774,
-0.0024014408700168133,
0.03057805635035038,
0.013798478990793228,
0.022663326933979988,
-0.018008626997470856,
0.07335944473743439,
0.06753671169281006,
0.03647052124142647,
0.03209475800395012,
-0.0011887350119650364,
0.02165219374001026,
0.0766369104385376,
0.06289944797754288,
0.0021072535309940577,
-0.06324811279773712,
0.026864757761359215,
0.0011876454809680581,
-0.04215378686785698,
-0.027509791776537895,
-0.03376835584640503,
0.031170791015028954,
0.03491895645856857,
-0.016483211889863014,
-0.015751011669635773,
0.025644425302743912,
0.02179165929555893,
-0.024772759526968002,
0.021146627143025398,
0.008498746901750565,
0.027910757809877396,
-0.013685162179172039,
0.0487087182700634,
-0.02219262719154358,
0.02348269335925579,
-0.022175192832946777,
0.06011011451482773,
-0.03640078753232956,
-0.003619594732299447,
-0.07517250627279282,
-0.031502023339271545,
-0.052509184926748276,
-0.029357723891735077,
0.05965684726834297,
0.017058512195944786,
0.010956846177577972,
0.022070592269301414,
-0.018461894243955612,
0.018235260620713234,
-0.021181493997573853,
0.01041641365736723,
-0.04773245006799698,
0.009745229966938496,
-0.03338482230901718,
0.015402344986796379,
-0.0033254073932766914,
-0.06652557849884033,
0.0029179032426327467,
0.011244496330618858,
0.013074995949864388,
-0.04724431782960892,
0.003172865603119135,
-0.015210578218102455,
0.015515661798417568,
0.06540984660387039,
-0.005121040157973766,
-0.035319920629262924,
-0.02377905882894993,
0.01971709355711937,
-0.014138428494334221,
-0.1485319584608078,
0.06750184297561646,
0.016648828983306885,
-0.010599463246762753,
-0.040515054017305374,
-0.02738775871694088,
0.020501593127846718,
-0.033245354890823364,
0.06753671169281006,
0.020571326836943626,
-0.015794595703482628,
0.0009621017961762846,
-0.014434795826673508,
-0.08904943615198135,
-0.03450055420398712,
0.007932163774967194,
-0.01461784541606903,
0.006219339556992054,
0.04177025333046913,
-0.019525326788425446,
-0.02667299099266529,
0.06262051314115524,
-0.010181063786149025,
-0.025417791679501534,
-0.028939323499798775,
-0.07607904076576233,
0.049371182918548584,
0.026411492377519608,
0.005709414836019278,
0.02219262719154358,
-0.04525692015886307,
0.056170184165239334,
0.07294104248285294,
-0.021530160680413246,
-0.036121856421232224,
-0.05958711355924606,
-0.031205657869577408,
0.020466726273298264,
-0.0838194414973259,
-0.014260462485253811,
-0.019263828173279762,
-0.011610596440732479,
-0.04992905259132385,
0.029427457600831985,
0.04215378686785698,
0.025417791679501534,
0.011802363209426403,
0.002357857534661889,
0.05094018578529358,
-0.0694892480969429,
0.026097692549228668,
-0.01933356001973152,
0.052021048963069916,
-0.03472718968987465,
-0.002442845143377781,
0.10271716862916946,
0.011375246569514275,
-0.035424523055553436,
0.01811322756111622,
0.057216182351112366,
0.07886837422847748,
0.0031510740518569946,
-0.03950392082333565,
0.005674548447132111,
-0.02058875933289528,
-0.028276856988668442,
-0.007247906178236008,
-0.03343712165951729,
0.0024014408700168133,
-0.01045999675989151,
0.06649070978164673,
0.022889958694577217,
-0.05383411794900894,
0.042990587651729584,
-0.0014066516887396574,
-0.046512119472026825,
0.03136255592107773,
-0.057460248470306396,
-0.00006162953650346026,
-0.006036289967596531,
0.04581478610634804,
0.10724983364343643,
-0.009143780916929245,
0.008211097680032253,
-0.015393628738820553,
0.033349957317113876,
-0.0034626948181539774,
0.04344385489821434,
0.0018446639878675342,
0.0391552560031414,
0.030944157391786575,
0.028625523671507835,
0.09281503409147263,
-0.07308050990104675,
0.010076463222503662,
0.004624190274626017,
0.03408215567469597,
0.035424523055553436,
-0.011767496354877949,
0.04912711679935455,
0.002935336669906974,
0.0503125861287117,
-0.031728655099868774,
0.018618794158101082,
-0.07838024199008942,
-0.010285663418471813,
0.024685591459274292,
-0.0043474361300468445,
0.009701646864414215,
-0.028538357466459274,
0.0075050476007163525,
-0.021669626235961914,
0.01692776195704937,
0.027021657675504684,
0.02404055930674076,
-0.006925389636307955,
0.027910757809877396,
-0.03265262395143509,
0.00042112384107895195,
-0.031902991235256195,
0.01877569407224655,
0.06059824675321579,
0.0015472078230232,
-0.051219116896390915,
0.03622645512223244,
0.0011010236339643598,
-0.04612858593463898,
0.0038919905200600624,
0.017433328554034233,
0.04058478772640228,
-0.04414118453860283,
-0.0024886075407266617,
0.07726451009511948,
0.011689046397805214,
0.04170051962137222,
-0.004094652831554413,
-0.01940329372882843,
0.015768444165587425,
-0.03144972398877144,
0.018793126568198204,
0.03776058927178383,
-0.08263397216796875,
-0.037969786673784256,
0.012368946336209774,
0.026289459317922592,
0.018427027389407158,
-0.006798997987061739,
-0.015358761884272099,
0.021129192784428596,
0.015402344986796379,
0.0060319313779473305,
-0.0025212951004505157,
-0.02763182483613491,
-0.030630357563495636,
-0.08514437079429626,
0.03321048989892006,
0.032687488943338394,
-0.00004838429595110938,
0.009998013265430927,
0.008298263885080814,
-0.018618794158101082,
0.020571326836943626,
0.04780218377709389,
-0.020414426922798157,
0.010154913179576397,
-0.004255911335349083,
-0.07067470997571945,
0.006219339556992054,
-0.00038489518919959664,
-0.06495658308267593,
-0.10362370312213898,
0.03734218701720238,
-0.009004313498735428,
-0.016413478180766106,
0.05550771579146385,
0.030281690880656242,
0.0023927241563796997,
0.04693051800131798,
0.05714644864201546,
-0.029497191309928894,
-0.044908251613378525,
0.01611711084842682,
-0.003512815572321415,
0.035319920629262924,
-0.05543798208236694,
-0.015463361516594887,
-0.03523275628685951,
0.03305358812212944,
0.05139344930648804,
0.050975050777196884,
0.0015177890891209245,
0.07621850818395615,
0.026951925829052925,
0.008917147293686867,
-0.023604726418852806,
0.046825919300317764,
0.09044410288333893,
-0.026951925829052925,
0.0022772285155951977,
0.003920319490134716,
-0.033663757145404816,
-0.003142357338219881,
0.06474737823009491,
0.008603347465395927,
0.04992905259132385,
-0.014870628714561462,
0.014225595630705357,
0.0327397882938385,
0.04734892025589943,
-0.02841632440686226,
0.012098729610443115,
-0.012665312737226486,
0.023761626332998276,
0.05372951552271843,
-0.009902129881083965,
-0.015332612209022045,
-0.029427457600831985,
0.03491895645856857,
-0.031902991235256195,
0.02484249137341976,
-0.00942271389067173,
-0.07175558060407639,
0.01134037971496582,
-0.016169412061572075,
0.008036764338612556,
-0.009335546754300594,
-0.023813925683498383,
-0.03584292158484459,
0.01301397942006588,
-0.010756363160908222,
-0.028939323499798775,
0.03699352219700813,
0.02299455925822258,
0.012787345796823502,
-0.004754940047860146,
0.04337412118911743,
-0.10850503295660019,
-0.018479326739907265,
0.060005515813827515,
0.02348269335925579,
0.00966678000986576,
0.002113790949806571,
0.01811322756111622,
0.06669991463422775,
0.0215650275349617,
0.0065636481158435345,
0.01795632764697075,
-0.028294291347265244,
-0.014321479015052319,
-0.0527183823287487,
-0.05355518311262131,
0.013074995949864388,
0.03131025657057762,
0.006851297803223133,
-0.03720272332429886,
0.010407696478068829,
0.006559289526194334,
-0.0002838363579940051,
0.007919088937342167,
-0.009483730420470238,
-0.04208405315876007,
-0.05522878095507622,
-0.02923569083213806,
0.01725027710199356,
0.03894605487585068,
0.051776982843875885,
0.008795114234089851,
-0.041874852031469345,
0.0017771098064258695,
-0.03340225666761398,
0.03223422169685364,
-0.025278326123952866,
-0.03758625313639641,
-0.03380322456359863,
0.026725292205810547,
0.04455958679318428,
-0.023203758522868156,
0.06038904935121536,
0.032147057354450226,
-0.042607054114341736,
0.008729739114642143,
-0.01129679661244154,
0.033349957317113876,
-0.0025452659465372562,
-0.015515661798417568,
-0.009954430162906647,
0.007178172934800386,
-0.01202027965337038,
-0.030525756999850273,
-0.013423662632703781,
0.011322946287691593,
-0.05156778544187546,
-0.005962198134511709,
0.034535422921180725,
-0.03762112185359001,
0.05630964785814285,
0.001456772442907095,
-0.035180456936359406,
0.03169379010796547,
0.00598834827542305,
0.07259237766265869,
-0.05376438423991203,
0.02139069326221943,
0.038841456174850464,
0.01582074537873268,
-0.041072919964790344,
-0.045710187405347824,
0.010555880144238472,
0.04093345254659653,
0.008755888789892197,
-0.005569948349148035,
-0.0367145873606205,
0.015053678303956985,
-0.029688958078622818,
0.011593163013458252,
-0.023046858608722687,
0.07782237231731415,
-0.026306891813874245,
-0.05087045207619667,
-0.02348269335925579,
0.013833345845341682,
0.004085936117917299,
-0.09469784051179886,
0.05965684726834297,
0.03547682240605354,
0.01113117951899767,
0.04525692015886307,
-0.047139719128608704,
0.04114265367388725,
0.02308172546327114,
0.014147145673632622,
-0.005317165050655603,
0.013458529487252235,
-0.017598943784832954,
0.011305512860417366,
0.05582151561975479,
-0.030560623854398727,
0.011471129953861237,
0.0558912493288517,
0.045954253524541855,
-0.008751530200242996,
-0.027021657675504684,
0.018165526911616325,
-0.029322857037186623,
0.04396685212850571,
0.05930818244814873,
-0.0051253982819616795,
-0.04257218539714813,
-0.028468623757362366,
0.003787390422075987,
0.06038904935121536,
-0.018461894243955612,
-0.05163751542568207,
-0.06805971264839172,
0.050905317068099976,
-0.019438160583376884,
0.08981650322675705,
-0.023970825597643852,
-0.06621178239583969,
0.024458959698677063,
-0.0001791001996025443,
-0.05463605001568794,
-0.008128289133310318,
0.03199015557765961,
0.026882192119956017,
-0.004042353015393019,
-0.019438160583376884,
-0.024493826553225517,
-0.02890445850789547,
0.007356864400207996,
-0.0018043494783341885,
-0.003338482230901718,
-0.04417605325579643,
-0.004388840403407812,
0.03066522441804409,
0.033262789249420166,
0.0037699572276324034,
0.02339552529156208,
-0.024336926639080048,
0.011941829696297646,
0.01169776264578104,
-0.025260891765356064,
-0.007940880954265594,
0.009169930592179298,
0.002176986774429679,
0.010643046349287033,
0.019507894292473793,
0.020658493041992188,
0.008119572885334492,
0.01253456249833107,
-0.062167245894670486,
0.0383184552192688,
-0.046268053352832794,
-0.0006161591736599803,
-0.030159657821059227,
-0.03042115643620491,
0.0065026311203837395,
-0.021739359945058823,
0.007757830899208784,
0.018810560926795006,
0.01009389664977789,
0.04190972074866295,
-0.09197823703289032,
-0.018810560926795006,
-0.0359126552939415,
-0.01425174530595541,
-0.05083558335900307,
0.036296188831329346,
0.01813066191971302,
-0.022698193788528442,
-0.00022472649288829416,
0.010006730444729328,
0.01980425976216793,
0.03894605487585068,
-0.036365922540426254,
-0.04006178677082062,
0.05679778382182121,
0.01145369652658701,
-0.013127296231687069,
0.045884519815444946,
0.0004769649531226605,
0.02163475938141346,
0.011601879261434078,
0.005395615007728338,
0.010250796563923359,
-0.008036764338612556,
0.014957794919610023,
0.04114265367388725,
-0.005565589759498835,
-0.047627851366996765,
0.01851419359445572,
-0.0790078416466713,
0.020170360803604126,
-0.0018664556555449963,
0.009841113351285458,
-0.03347199037671089,
-0.062271848320961,
-0.026760159060359,
0.011776212602853775,
0.023500125855207443,
0.05857598036527634,
-0.038597386330366135,
0.0019252931233495474,
0.015175712294876575,
-0.019263828173279762,
0.07084904611110687,
0.09323343634605408,
-0.036121856421232224,
0.0598660483956337,
-0.044280651956796646,
0.0021366721484810114,
-0.02642892487347126,
-0.015925345942378044,
0.01509726233780384,
-0.011532146483659744,
-0.005474064964801073,
-0.04208405315876007,
0.030856991186738014,
-0.005264865234494209,
-0.014216878451406956,
-0.030839556828141212,
-0.004815957043319941,
-0.023256059736013412,
-0.04965011775493622,
0.03319305554032326,
-0.022000860422849655,
0.08884023874998093,
-0.0375513881444931,
0.001663793227635324,
0.019908860325813293,
0.049789585173130035,
-0.006903597619384527,
-0.05024285241961479,
0.007038705982267857,
-0.006607231218367815,
0.015123412013053894,
-0.03289669007062912,
-0.052509184926748276,
0.024685591459274292,
0.07600931078195572,
0.0007038706098683178,
-0.0006433987291529775,
-0.06269025057554245,
0.0012857079273089767,
-0.021286092698574066,
0.019455593079328537,
0.07482384145259857,
-0.02308172546327114,
0.025295758619904518,
0.030002757906913757,
-0.030246824026107788,
0.011532146483659744,
0.07559090852737427,
0.07761317491531372,
-0.06042391434311867,
0.001097210100851953,
0.05174211785197258,
-0.008952014148235321,
0.05683264881372452,
0.005426123272627592,
-0.055054448544979095,
0.0065505728125572205,
-0.03305358812212944,
0.011035296134650707,
0.021687060594558716,
-0.034221623092889786,
0.026237158104777336,
-0.02020522765815258,
-0.02921825833618641,
0.04319978505373001,
0.04511745274066925,
0.04961525276303291,
-0.007853713817894459,
-0.01457426231354475,
0.04591938480734825,
0.003338482230901718,
-0.019664794206619263,
0.02665555849671364,
0.05662344768643379,
0.012203329242765903,
-0.07593957334756851,
0.013624145649373531,
0.009501163847744465,
0.06234158203005791,
0.020152926445007324,
0.04110778868198395,
0.011349096894264221,
-0.013301629573106766,
-0.0741962417960167,
-0.0191592276096344,
-0.008276472799479961,
0.07461464405059814,
-0.0002695355797186494,
0.05355518311262131,
-0.025417791679501534,
0.008729739114642143
] |
711,096
|
yt_dlp.YoutubeDL
|
__process_playlist
|
Process each entry in the playlist
|
def __process_playlist(self, ie_result, download):
"""Process each entry in the playlist"""
assert ie_result['_type'] in ('playlist', 'multi_video')
common_info = self._playlist_infodict(ie_result, strict=True)
title = common_info.get('playlist') or '<Untitled>'
if self._match_entry(common_info, incomplete=True) is not None:
return
self.to_screen(f'[download] Downloading {ie_result["_type"]}: {title}')
all_entries = PlaylistEntries(self, ie_result)
entries = orderedSet(all_entries.get_requested_items(), lazy=True)
lazy = self.params.get('lazy_playlist')
if lazy:
resolved_entries, n_entries = [], 'N/A'
ie_result['requested_entries'], ie_result['entries'] = None, None
else:
entries = resolved_entries = list(entries)
n_entries = len(resolved_entries)
ie_result['requested_entries'], ie_result['entries'] = tuple(zip(*resolved_entries)) or ([], [])
if not ie_result.get('playlist_count'):
# Better to do this after potentially exhausting entries
ie_result['playlist_count'] = all_entries.get_full_count()
extra = self._playlist_infodict(ie_result, n_entries=int_or_none(n_entries))
ie_copy = collections.ChainMap(ie_result, extra)
_infojson_written = False
write_playlist_files = self.params.get('allow_playlist_files', True)
if write_playlist_files and self.params.get('list_thumbnails'):
self.list_thumbnails(ie_result)
if write_playlist_files and not self.params.get('simulate'):
_infojson_written = self._write_info_json(
'playlist', ie_result, self.prepare_filename(ie_copy, 'pl_infojson'))
if _infojson_written is None:
return
if self._write_description('playlist', ie_result,
self.prepare_filename(ie_copy, 'pl_description')) is None:
return
# TODO: This should be passed to ThumbnailsConvertor if necessary
self._write_thumbnails('playlist', ie_result, self.prepare_filename(ie_copy, 'pl_thumbnail'))
if lazy:
if self.params.get('playlistreverse') or self.params.get('playlistrandom'):
self.report_warning('playlistreverse and playlistrandom are not supported with lazy_playlist', only_once=True)
elif self.params.get('playlistreverse'):
entries.reverse()
elif self.params.get('playlistrandom'):
random.shuffle(entries)
self.to_screen(f'[{ie_result["extractor"]}] Playlist {title}: Downloading {n_entries} items'
f'{format_field(ie_result, "playlist_count", " of %s")}')
keep_resolved_entries = self.params.get('extract_flat') != 'discard'
if self.params.get('extract_flat') == 'discard_in_playlist':
keep_resolved_entries = ie_result['_type'] != 'playlist'
if keep_resolved_entries:
self.write_debug('The information of all playlist entries will be held in memory')
failures = 0
max_failures = self.params.get('skip_playlist_after_errors') or float('inf')
for i, (playlist_index, entry) in enumerate(entries):
if lazy:
resolved_entries.append((playlist_index, entry))
if not entry:
continue
entry['__x_forwarded_for_ip'] = ie_result.get('__x_forwarded_for_ip')
if not lazy and 'playlist-index' in self.params['compat_opts']:
playlist_index = ie_result['requested_entries'][i]
entry_copy = collections.ChainMap(entry, {
**common_info,
'n_entries': int_or_none(n_entries),
'playlist_index': playlist_index,
'playlist_autonumber': i + 1,
})
if self._match_entry(entry_copy, incomplete=True) is not None:
# For compatabilty with youtube-dl. See https://github.com/yt-dlp/yt-dlp/issues/4369
resolved_entries[i] = (playlist_index, NO_DEFAULT)
continue
self.to_screen('[download] Downloading item %s of %s' % (
self._format_screen(i + 1, self.Styles.ID), self._format_screen(n_entries, self.Styles.EMPHASIS)))
entry_result = self.__process_iterable_entry(entry, download, collections.ChainMap({
'playlist_index': playlist_index,
'playlist_autonumber': i + 1,
}, extra))
if not entry_result:
failures += 1
if failures >= max_failures:
self.report_error(
f'Skipping the remaining entries in playlist "{title}" since {failures} items failed extraction')
break
if keep_resolved_entries:
resolved_entries[i] = (playlist_index, entry_result)
# Update with processed data
ie_result['entries'] = [e for _, e in resolved_entries if e is not NO_DEFAULT]
ie_result['requested_entries'] = [i for i, e in resolved_entries if e is not NO_DEFAULT]
if ie_result['requested_entries'] == try_call(lambda: list(range(1, ie_result['playlist_count'] + 1))):
# Do not set for full playlist
ie_result.pop('requested_entries')
# Write the updated info to json
if _infojson_written is True and self._write_info_json(
'updated playlist', ie_result,
self.prepare_filename(ie_copy, 'pl_infojson'), overwrite=True) is None:
return
ie_result = self.run_all_pps('playlist', ie_result)
self.to_screen(f'[download] Finished downloading playlist: {title}')
return ie_result
|
(self, ie_result, download)
|
[
0.007091416046023369,
0.031998325139284134,
-0.19307200610637665,
0.036191340535879135,
0.006898189429193735,
-0.005695353727787733,
-0.01765124872326851,
0.028655502945184708,
-0.006883697584271431,
0.007415070664137602,
0.02322583645582199,
-0.016781728714704514,
0.0032510373275727034,
0.051591500639915466,
0.04204610735177994,
0.05077994987368584,
0.020810503512620926,
0.0637647733092308,
-0.01866568811237812,
-0.0016738253179937601,
-0.0298728309571743,
-0.02595033124089241,
0.021061697974801064,
0.041930168867111206,
-0.01729377917945385,
-0.004439380951225758,
0.030838964506983757,
0.00043113683932460845,
-0.03626863285899162,
0.029467055574059486,
0.03279055282473564,
0.00837637297809124,
-0.0027703861705958843,
0.034201107919216156,
-0.03362142667174339,
0.02832701802253723,
-0.05526280403137207,
0.012907536700367928,
-0.09012088179588318,
0.021506119519472122,
-0.009023682214319706,
-0.01866568811237812,
0.034645527601242065,
-0.022472253069281578,
0.00837154220789671,
0.048654455691576004,
-0.051668789237737656,
0.015776950865983963,
0.01480115670710802,
-0.024559099227190018,
-0.023457707837224007,
0.0702185407280922,
0.008081702515482903,
0.030181994661688805,
0.01876230165362358,
0.043553274124860764,
-0.03435568884015083,
0.03532182052731514,
-0.037196118384599686,
-0.00279937032610178,
-0.02614355832338333,
-0.02028879150748253,
0.013670781627297401,
0.05665403604507446,
-0.010550172068178654,
0.012443793006241322,
-0.008830455131828785,
-0.045215021818876266,
-0.04907955601811409,
0.014607930555939674,
0.0382588654756546,
0.024462487548589706,
-0.006429614964872599,
-0.012762616388499737,
0.009216908365488052,
0.01701360195875168,
0.04308953136205673,
-0.06183250993490219,
0.04181423410773277,
0.0031785774044692516,
0.015226255171000957,
-0.0017003939719870687,
0.018066685646772385,
-0.0061639281921088696,
0.02104237675666809,
0.004750958643853664,
0.06496278196573257,
-0.015979839488863945,
-0.03304174914956093,
0.02741885371506214,
-0.04216204211115837,
0.027244949713349342,
0.005130166187882423,
-0.019960306584835052,
-0.03961145132780075,
-0.026897141709923744,
-0.06047992408275604,
-0.07361932843923569,
-0.05097317695617676,
-0.03543775528669357,
-0.012501760385930538,
-0.03939890116453171,
-0.039012450724840164,
-0.029080601409077644,
0.015033029019832611,
-0.07644043862819672,
-0.00937632005661726,
-0.013351957313716412,
-0.032288163900375366,
0.014965399168431759,
-0.006023839116096497,
0.01593153178691864,
-0.033833976835012436,
0.02094576321542263,
-0.01087865699082613,
-0.01378671731799841,
-0.02548658847808838,
-0.04513773322105408,
0.0320562906563282,
0.008637228980660439,
0.009260384365916252,
0.02158340997993946,
-0.04606521874666214,
0.028829406946897507,
0.04397837072610855,
-0.03995925933122635,
-0.006357154808938503,
0.017168182879686356,
0.07025718688964844,
-0.02050134167075157,
0.002190706552937627,
0.016723761335015297,
-0.01958351582288742,
0.015622369945049286,
0.04324411228299141,
-0.040384359657764435,
-0.03105151280760765,
-0.02222105860710144,
-0.06171657517552376,
-0.004734051413834095,
-0.008067210204899311,
-0.035457078367471695,
0.057040490210056305,
0.04235526919364929,
-0.03497401252388954,
-0.0879567414522171,
-0.014540300704538822,
-0.07253726571798325,
0.006144605576992035,
-0.0036133371759206057,
0.054567188024520874,
-0.031631194055080414,
-0.04231662303209305,
-0.011951064690947533,
0.017525652423501015,
-0.017728539183735847,
-0.012675664387643337,
0.009279707446694374,
-0.021506119519472122,
-0.013361618854105473,
0.009067158214747906,
-0.07976393401622772,
0.012327856384217739,
0.033544138073921204,
-0.020520664751529694,
0.002162930089980364,
0.03234613314270973,
-0.0038693624082952738,
0.020868472754955292,
0.05715642496943474,
0.07717470079660416,
0.06890460103750229,
0.004151956643909216,
-0.031534578651189804,
-0.050470784306526184,
0.03584353253245354,
0.019467579200863838,
-0.07037312537431717,
0.027476821094751358,
-0.011342400684952736,
-0.055224161595106125,
-0.003700289176777005,
-0.03758257254958153,
0.009501917287707329,
0.027360886335372925,
0.05317595973610878,
0.006656656041741371,
0.03478078544139862,
0.032288163900375366,
0.02604694478213787,
-0.06674046814441681,
-0.04861580953001976,
-0.0021593072451651096,
-0.016414599493145943,
-0.05402615666389465,
-0.014057234860956669,
-0.007569651585072279,
0.02730291709303856,
0.040461648255586624,
0.014153847470879555,
-0.054567188024520874,
-0.034085169434547424,
0.05263492465019226,
-0.02850092202425003,
-0.04162100702524185,
0.017728539183735847,
-0.040191132575273514,
-0.04015248641371727,
-0.0031423475593328476,
0.06932970136404037,
-0.011670886538922787,
0.05290544033050537,
0.047495096921920776,
-0.03613337129354477,
0.003077133558690548,
-0.019264690577983856,
-0.01949656382203102,
0.021873250603675842,
0.014231138862669468,
0.003016750095412135,
-0.06306915730237961,
-0.021544765681028366,
-0.05163014680147171,
0.005560095421969891,
0.0011140720453113317,
-0.0340658500790596,
0.07064364105463028,
0.029177214950323105,
-0.007902967743575573,
0.028520245105028152,
0.006047992501407862,
0.0017366240499541163,
0.03012402541935444,
0.040925391018390656,
0.0349353663623333,
-0.016549857333302498,
-0.058238495141267776,
0.026916464790701866,
-0.040191132575273514,
0.015516095794737339,
0.02003759704530239,
-0.03311903774738312,
0.00019066029926761985,
0.02156408689916134,
-0.04270307719707489,
-0.0030409034807235003,
-0.002635127631947398,
0.03731205686926842,
-0.012405146844685078,
0.00487172557041049,
0.043205466121435165,
0.03802699223160744,
-0.02293599583208561,
-0.009825572371482849,
0.02896466664969921,
-0.0688273087143898,
-0.014704544097185135,
-0.09213043749332428,
0.02749614417552948,
-0.024365874007344246,
0.02030811458826065,
-0.014356736093759537,
-0.002440693322569132,
-0.01949656382203102,
0.006154267117381096,
0.0013054871233180165,
0.022742770612239838,
-0.038780577480793,
-0.02384416200220585,
0.04745645076036453,
0.0745081752538681,
0.028075823560357094,
0.017979733645915985,
0.03060709312558174,
-0.036017436534166336,
0.030974222347140312,
0.012752954848110676,
0.008535784669220448,
-0.000634024734608829,
0.0002673471171874553,
0.040732163935899734,
0.02285870537161827,
-0.05016162246465683,
-0.012646680697798729,
0.041930168867111206,
-0.020056920126080513,
-0.0011937780072912574,
0.05935920774936676,
0.0007161460816860199,
0.023457707837224007,
-0.01106222253292799,
0.011922081001102924,
0.03497401252388954,
-0.05209388956427574,
-0.0035988453309983015,
0.04069352149963379,
-0.028211083263158798,
-0.013120085932314396,
0.04250985011458397,
0.04780425876379013,
-0.07257591187953949,
-0.01893620565533638,
0.05151420831680298,
0.0031109482515603304,
-0.056499455124139786,
0.04517637565732002,
0.02185392752289772,
0.015226255171000957,
0.005502127110958099,
-0.026781205087900162,
0.05236440524458885,
-0.0109173022210598,
-0.0019407195504754782,
0.04289630427956581,
-0.011883435770869255,
-0.0015264900866895914,
-0.0022305594757199287,
0.07474004477262497,
0.0039055924862623215,
0.013535522855818272,
-0.06388071179389954,
0.03995925933122635,
0.0520552434027195,
0.029660282656550407,
0.07017990201711655,
-0.06519465148448944,
0.04107997193932533,
0.03234613314270973,
0.013487216085195541,
-0.022336993366479874,
-0.025621846318244934,
0.037833765149116516,
-0.06720420718193054,
0.05344647541642189,
-0.05081859230995178,
0.028520245105028152,
-0.013390602543950081,
-0.02832701802253723,
0.10380132496356964,
0.0036447367165237665,
0.011999371461570263,
-0.009323183447122574,
-0.05437396466732025,
0.050200268626213074,
-0.01712953671813011,
-0.043746501207351685,
0.06581297516822815,
-0.007985088974237442,
0.004770281724631786,
-0.04834529384970665,
0.05897275730967522,
-0.05398751050233841,
-0.020829826593399048,
0.05132098123431206,
0.033544138073921204,
0.007096246816217899,
0.012327856384217739,
-0.12320127338171005,
-0.010067105293273926,
0.0024950383231043816,
-0.03595946729183197,
0.015970177948474884,
-0.006265372037887573,
0.03541843593120575,
-0.030259285122156143,
-0.05541738495230675,
0.03387262299656868,
-0.01069509144872427,
0.034278396517038345,
-0.018984513357281685,
-0.03822021931409836,
0.01949656382203102,
0.02776666171848774,
-0.0677838921546936,
-0.022356316447257996,
0.009115464054048061,
0.014318090863525867,
0.04278036579489708,
-0.0661221370100975,
-0.03868396207690239,
-0.0035988453309983015,
0.00960336159914732,
-0.07462411373853683,
0.003639905946329236,
0.011129851453006268,
-0.005666370037943125,
0.001781307626515627,
-0.009588869288563728,
0.02303260937333107,
0.02202783152461052,
0.021254925057291985,
0.048383940011262894,
0.06504007428884506,
-0.03147661313414574,
0.03920567408204079,
0.014086218550801277,
-0.0025674982462078333,
0.03194035589694977,
-0.04405566304922104,
-0.036191340535879135,
0.0170329250395298,
-0.04386243596673012,
-0.011854451149702072,
0.07400578260421753,
0.004994907416403294,
-0.04378514736890793,
0.08277827501296997,
0.04204610735177994,
-0.008729011751711369,
-0.009260384365916252,
0.015883225947618484,
-0.0436692088842392,
-0.052209824323654175,
-0.029621636494994164,
-0.0668177530169487,
0.028269050642848015,
-0.0832420140504837,
-0.022105121985077858,
0.022105121985077858,
0.054296672344207764,
0.04135049134492874,
0.040654875338077545,
0.05599706619977951,
0.00004675932723330334,
-0.01911010965704918,
-0.041930168867111206,
0.026916464790701866,
0.058856818825006485,
-0.06190979853272438,
-0.003736519254744053,
0.0218346044421196,
-0.009719297289848328,
-0.019139094278216362,
-0.05151420831680298,
0.050470784306526184,
0.019071465358138084,
-0.005820950958877802,
-0.011274771764874458,
-0.028442954644560814,
0.012308534234762192,
0.0402684211730957,
0.017728539183735847,
0.040113840252161026,
0.017071569338440895,
0.08780216425657272,
0.03588217869400978,
-0.03524453192949295,
0.0033597273286432028,
-0.014743189327418804,
0.03470349684357643,
-0.07709740847349167,
0.048577167093753815,
0.03750528022646904,
-0.04053894057869911,
-0.03713815286755562,
-0.02295531891286373,
0.010250670835375786,
0.019168078899383545,
-0.05244169756770134,
-0.04962058737874031,
0.04135049134492874,
-0.010337622836232185,
0.04444211721420288,
0.014453348703682423,
0.014376058243215084,
0.028926020488142967,
-0.025003520771861076,
0.00970480591058731,
-0.07323288172483444,
0.0007040693890303373,
-0.012965504080057144,
0.012955843470990658,
0.020791182294487953,
-0.023708902299404144,
0.014453348703682423,
0.011835129000246525,
-0.0010422159684821963,
-0.0031616701744496822,
0.028462277725338936,
-0.02960231341421604,
0.01101391576230526,
-0.04788155108690262,
0.03439433500170708,
0.0021617223974317312,
-0.00402635894715786,
-0.02540929615497589,
0.026104912161827087,
-0.010385929606854916,
0.03412381559610367,
0.00678225327283144,
-0.011970387771725655,
-0.043746501207351685,
0.006342662964016199,
-0.0005506958113983274,
0.04154371842741966,
-0.008072040975093842,
-0.005337884649634361,
0.04714728891849518,
0.03213358297944069,
-0.039920613169670105,
0.034452300518751144,
-0.0426257848739624,
0.052480343729257584,
-0.02722562663257122,
0.007405409123748541,
0.04668354615569115,
-0.004939354956150055,
0.015786612406373024,
-0.0191294327378273,
0.04614251106977463,
0.00378965656273067,
0.04405566304922104,
0.02040472812950611,
-0.040461648255586624,
0.01839517243206501,
0.03234613314270973,
-0.023438386619091034,
0.045485541224479675,
0.006888527888804674,
0.02139018289744854,
0.03918635472655296,
0.02722562663257122,
0.049040909856557846,
-0.0276893712580204,
-0.06766795367002487,
0.02438519522547722,
-0.016897665336728096,
0.009951169602572918,
-0.03632659837603569,
-0.04444211721420288,
-0.06156199425458908,
-0.02421129122376442,
0.017612604424357414,
-0.03306106850504875,
0.051398273557424545,
0.01784447580575943,
-0.015187609940767288,
-0.009893201291561127,
-0.018462801352143288,
0.029157893732190132,
0.032462067902088165,
0.044751279056072235,
0.019003834575414658,
-0.09784995019435883,
-0.010511526837944984,
0.02884873002767563,
-0.02948637865483761,
0.03943754732608795,
0.004608454182744026,
-0.027341563254594803,
-0.03849073871970177,
0.0014516147784888744,
0.058045268058776855,
-0.0364232137799263,
-0.0017511160112917423,
0.013265005312860012,
0.010183040983974934,
-0.04981381446123123,
0.031824421137571335,
0.030085381120443344,
0.021467475220561028,
-0.010173380374908447,
-0.08556073158979416,
-0.05031620338559151,
0.057967979460954666,
-0.04614251106977463,
0.0017728540115058422,
0.001160567277111113,
0.0012438962003216147,
-0.0044152275659143925,
0.033447522670030594,
0.02440451830625534,
-0.027341563254594803,
-0.025196747854351997,
0.0027365717105567455,
-0.10666108131408691,
0.0054586511105299,
-0.05901139974594116,
0.07539701461791992,
-0.05163014680147171,
0.020095566287636757,
-0.02185392752289772,
0.08648822456598282,
-0.033640749752521515,
0.0010301392758265138,
-0.049852460622787476,
0.040461648255586624,
0.013622474856674671,
0.044751279056072235,
0.006671147886663675,
0.0018742979736998677,
0.02950569987297058,
0.0020735629368573427,
-0.0033138361759483814,
-0.0106564462184906,
0.0017378316260874271,
0.016704438254237175,
-0.023708902299404144,
-0.04142777994275093,
-0.006564873270690441,
-0.022820061072707176,
0.027921242639422417,
-0.013265005312860012,
-0.0030264114029705524,
0.014743189327418804,
-0.034993335604667664,
-0.040384359657764435,
-0.01269498746842146,
-0.017274457961320877,
0.013467893935739994,
0.001748700626194477,
-0.0013864007778465748,
0.03508995100855827,
-0.06921376287937164,
-0.017912104725837708,
-0.02877143956720829,
-0.000681727600749582,
0.04417159780859947,
0.004719559568911791,
-0.0190424807369709,
0.0010035706218332052,
0.013921976089477539,
-0.006366816349327564,
0.03387262299656868,
-0.08888423442840576,
0.00682572927325964,
0.012975165620446205,
-0.011564611457288265,
0.027013078331947327,
0.005907902959734201,
0.0025554217863827944,
0.003864531870931387,
0.04606521874666214,
0.05251898616552353,
-0.009274876676499844,
-0.008226621896028519,
0.011342400684952736,
-0.010530848987400532,
0.012095985002815723,
-0.018627043813467026,
0.04660625383257866,
-0.014231138862669468,
-0.01260803546756506,
-0.025544555857777596,
-0.0011762669309973717,
0.02859753556549549,
0.03696424886584282,
-0.017912104725837708,
0.0449831523001194,
0.013139408081769943,
-0.015767289325594902,
0.026568656787276268,
0.0031254400964826345,
0.046297091990709305,
-0.01069509144872427,
0.06372612714767456,
0.005275086034089327,
-0.0004888029070571065,
-0.0062122349627316,
-0.022742770612239838,
0.015496772713959217,
-0.034471623599529266,
0.0007807561778463423,
-0.06948428601026535,
0.043939728289842606,
0.02622084878385067,
0.014549962244927883,
0.019322659820318222,
0.001898451242595911,
-0.008255606517195702,
-0.027380207553505898,
-0.019998952746391296,
0.058238495141267776,
0.020984407514333725,
-0.03141864389181137,
-0.03238477557897568,
-0.041930168867111206,
0.02376687154173851,
0.03051047958433628,
0.009714466519653797,
-0.03769850730895996,
-0.027186982333660126,
-0.027554111555218697,
0.025718459859490395,
-0.030201315879821777,
0.03508995100855827,
-0.0013211867772042751,
-0.07423765957355499,
-0.02757343463599682,
-0.06635401397943497,
0.02595033124089241,
0.058586303144693375,
-0.04459669813513756,
-0.037196118384599686,
-0.04050029441714287,
-0.04278036579489708,
0.0250228438526392,
-0.01379637885838747,
0.06546516716480255,
-0.017786508426070213,
-0.00015390195767395198,
-0.03387262299656868,
0.05514686927199364,
-0.00199144147336483,
-0.006859544198960066,
0.04645167291164398,
-0.10913437604904175,
0.007149383891373873,
-0.06260541826486588,
-0.0008369126589968801,
0.0009854555828496814,
0.03439433500170708,
-0.019071465358138084,
-0.015216594561934471,
-0.052132535725831985,
-0.008028564974665642,
0.039456870406866074,
-0.013815701007843018,
0.004535994492471218,
0.03771783038973808,
0.018356526270508766,
-0.016337309032678604,
-0.00040849309880286455,
0.07528108358383179,
-0.02276209183037281,
-0.014347074553370476,
-0.07729063928127289,
-0.030665060505270958,
0.0344136543571949,
0.0298728309571743,
-0.01775752380490303,
0.056035712361335754,
-0.025892363861203194,
0.02840430848300457,
0.032462067902088165,
-0.059513792395591736,
0.020617278292775154,
-0.00141055416315794,
0.02028879150748253,
-0.010067105293273926,
-0.002985350787639618,
-0.049581944942474365,
-0.036461856216192245,
0.02258818782866001,
-0.06728149950504303,
0.01379637885838747,
0.04135049134492874,
-0.022240381687879562,
-0.0016726177418604493,
-0.02778598479926586,
0.038278188556432724,
-0.037118829786777496,
-0.07245997339487076,
0.05306002125144005,
-0.013351957313716412,
0.01334229577332735,
0.0364232137799263,
0.03512859344482422,
-0.007081754505634308,
0.00023277766013052315,
-0.05816120281815529,
-0.04614251106977463,
0.00969514437019825,
0.07528108358383179,
0.008569599129259586,
0.03296445682644844,
-0.0026302970945835114,
-0.0027800477109849453
] |
711,098
|
yt_dlp.YoutubeDL
|
__exit__
| null |
def __exit__(self, *args):
self.restore_console_title()
self.close()
|
(self, *args)
|
[
0.010212908498942852,
-0.020093148574233055,
0.013647705316543579,
-0.010046574287116528,
0.006840486079454422,
-0.04201596975326538,
0.002272538375109434,
0.06613440066576004,
0.04174983501434326,
0.0002510604099370539,
0.0006159556214697659,
-0.017365271225571632,
0.05036593973636627,
-0.006183466874063015,
-0.06553559750318527,
0.0004293496604077518,
0.023020626977086067,
-0.0014595809625461698,
-0.0409514345228672,
-0.019960081204771996,
0.003628160571679473,
-0.011676647700369358,
0.030938126146793365,
-0.07937458902597427,
-0.00845392607152462,
0.017315370962023735,
-0.042182303965091705,
0.010029940865933895,
-0.012782768346369267,
-0.010445775464177132,
-0.0743180364370346,
-0.04946773499250412,
-0.005339321680366993,
0.06726547330617905,
0.00838739238679409,
-0.0034410348162055016,
-0.053892217576503754,
-0.01714903675019741,
0.02418496459722519,
0.02065868489444256,
0.061776451766490936,
-0.038456421345472336,
0.023935463279485703,
-0.019876914098858833,
-0.01558549702167511,
-0.02682967483997345,
0.07312043011188507,
-0.03416500613093376,
-0.002794411266222596,
-0.02060878463089466,
0.009356288239359856,
0.022405190393328667,
0.034331340342760086,
0.002821440575644374,
-0.011435463093221188,
0.04328010976314545,
0.024101797491312027,
0.004815369378775358,
-0.01808050647377968,
-0.08436460793018341,
0.0038672657683491707,
0.031004659831523895,
-0.04125083610415459,
0.01856287568807602,
0.03562874346971512,
-0.03160346299409866,
0.0321856290102005,
-0.008395709097385406,
0.022937459871172905,
-0.012766134925186634,
-0.022072523832321167,
-0.02609780617058277,
-0.03569527715444565,
0.038057222962379456,
0.024634066969156265,
-0.010628743097186089,
-0.06490352749824524,
0.002615602221339941,
0.024550899863243103,
-0.0019294745288789272,
-0.009422821924090385,
0.06663340330123901,
-0.003285096725448966,
0.06613440066576004,
0.020209582522511482,
-0.02826014906167984,
0.057152364403009415,
0.032767798751592636,
0.005318529903888702,
0.030805058777332306,
-0.007788590155541897,
0.009481038898229599,
0.007796906866133213,
0.031620096415281296,
0.014271457679569721,
-0.017731204628944397,
-0.01277445163577795,
0.010312709026038647,
-0.002399367978796363,
-0.03456420823931694,
-0.03226879611611366,
-0.013639388605952263,
0.03875582292675972,
-0.0230372603982687,
0.016042916104197502,
-0.005489022471010685,
-0.0004880863707512617,
-0.005622089374810457,
-0.03576181083917618,
-0.023935463279485703,
-0.07664670795202255,
-0.013522954657673836,
-0.0359281450510025,
-0.02920825220644474,
-0.010038257576525211,
-0.03712575137615204,
-0.06673320382833481,
0.05076513811945915,
0.02722887694835663,
-0.03632734715938568,
-0.024434465914964676,
0.043745845556259155,
-0.04560878500342369,
-0.03110446035861969,
0.007360280025750399,
0.05226214602589607,
-0.009206587448716164,
0.022870926186442375,
0.02318696118891239,
0.06017964333295822,
0.003154108766466379,
-0.0018962076865136623,
-0.05495675653219223,
-0.05259481444954872,
0.07997339218854904,
-0.013464737683534622,
0.015128077939152718,
-0.007414338644593954,
0.012508317828178406,
0.0102378586307168,
-0.003501330967992544,
0.017049236223101616,
-0.014570859260857105,
0.02920825220644474,
-0.04108450189232826,
0.005850798916071653,
0.04194943606853485,
-0.005060712341219187,
-0.026413841173052788,
0.013315037824213505,
-0.0024970893282443285,
0.02486693486571312,
-0.044743847101926804,
0.028210248798131943,
0.01882901042699814,
-0.010387558490037918,
-0.04527611657977104,
0.014263140968978405,
0.03842315450310707,
-0.01501164399087429,
0.03775782138109207,
-0.004752994515001774,
0.014421158470213413,
-0.06017964333295822,
-0.046041253954172134,
0.035129744559526443,
-0.0004558591463137418,
0.04866933077573776,
0.03606121242046356,
0.021457087248563766,
-0.0600133091211319,
-0.04534265026450157,
-0.022737858816981316,
-0.007905024103820324,
-0.09075183421373367,
0.06556886434555054,
0.00821274146437645,
-0.01030439231544733,
-0.011568530462682247,
0.039886895567178726,
0.0293413195759058,
-0.1222887635231018,
-0.06174318492412567,
0.019028611481189728,
0.033516302704811096,
-0.030921492725610733,
-0.011892881244421005,
0.06926148384809494,
-0.004407851025462151,
0.004594977013766766,
-0.0019752164371311665,
0.017431804910302162,
0.0076638394966721535,
0.02250499092042446,
0.06573519855737686,
-0.007809381932020187,
-0.023569529876112938,
-0.03576181083917618,
0.05189621075987816,
-0.05941450968384743,
-0.017232203856110573,
0.08003992587327957,
-0.016209248453378677,
-0.08815702795982361,
0.06194278597831726,
0.04710579290986061,
0.035528942942619324,
-0.06506986171007156,
-0.0713905543088913,
-0.01348968781530857,
0.0024243181105703115,
-0.00760562252253294,
-0.021307386457920074,
0.001379532739520073,
0.05585496127605438,
-0.04534265026450157,
0.014171657152473927,
-0.04514304921030998,
-0.011593480594456196,
0.026946108788251877,
-0.02995675429701805,
-0.011859615333378315,
0.0064371260814368725,
0.020691949874162674,
-0.036826349794864655,
-0.0009455048711970448,
0.022105790674686432,
0.015219561755657196,
0.08170326799154282,
-0.011743181385099888,
-0.05029940605163574,
0.00005925649020355195,
-0.02636394090950489,
-0.055189624428749084,
-0.035063210874795914,
0.018729209899902344,
-0.03902195766568184,
-0.0014543830184265971,
-0.060545578598976135,
0.02887558378279209,
-0.029025284573435783,
0.01145209651440382,
0.05006653815507889,
-0.0033433136995881796,
0.04101796820759773,
0.046174321323633194,
0.034697275608778,
0.008246008306741714,
0.014454425312578678,
0.012957419268786907,
0.010187958367168903,
-0.0466400571167469,
0.04667332395911217,
-0.007863440550863743,
0.006545243319123983,
-0.054923489689826965,
-0.01803060621023178,
-0.05951431021094322,
0.03260146453976631,
0.02609780617058277,
-0.005946440622210503,
0.04717232659459114,
-0.012075848877429962,
0.044610779732465744,
0.06703260540962219,
0.03320026770234108,
0.02508316934108734,
0.0016238357638940215,
0.011244178749620914,
-0.03359946981072426,
0.03002328798174858,
0.011701597832143307,
-0.06131071597337723,
-0.009031936526298523,
-0.025232870131731033,
0.017581505700945854,
-0.02791084721684456,
-0.09155023843050003,
-0.10033267736434937,
-0.017781104892492294,
0.14091816544532776,
0.04580838605761528,
0.0236526969820261,
0.0019492267165333033,
0.02215569093823433,
-0.03216899558901787,
-0.003106287680566311,
-0.027129076421260834,
-0.008807385340332985,
0.001573935616761446,
0.006096141412854195,
0.04960080236196518,
-0.00934797152876854,
0.05768463388085365,
-0.007796906866133213,
-0.016375582665205002,
-0.064371258020401,
0.003838157281279564,
-0.04886893182992935,
0.0015926480991765857,
-0.006557718385010958,
-0.05079840496182442,
-0.031337328255176544,
0.006615935359150171,
-0.03652694821357727,
0.03632734715938568,
0.028276782482862473,
0.0252162367105484,
0.0214238204061985,
0.02676314301788807,
0.029324686154723167,
0.044544246047735214,
-0.0029524287674576044,
0.0230372603982687,
-0.05495675653219223,
0.017381904646754265,
0.03875582292675972,
-0.016849635168910027,
-0.011984365060925484,
0.05049900710582733,
-0.05429141968488693,
-0.07478377223014832,
0.00982202310115099,
0.011493680067360401,
0.05279441550374031,
-0.003251829883083701,
-0.04487691447138786,
0.033433135598897934,
0.046174321323633194,
-0.039820361882448196,
-0.028376581147313118,
-0.01301563624292612,
-0.004382901359349489,
-0.04308050870895386,
0.011526946909725666,
-0.002509564394131303,
-0.0029274786356836557,
-0.019461078569293022,
0.031487029045820236,
-0.08915502578020096,
-0.06397206336259842,
-0.013847306370735168,
-0.053027283400297165,
-0.02162342146039009,
-0.030339322984218597,
0.031121093779802322,
-0.0019668997265398502,
-0.018130406737327576,
0.06134398281574249,
-0.027361944317817688,
0.01192614808678627,
0.03331670165061951,
-0.011493680067360401,
0.03308383375406265,
-0.0017672989051789045,
-0.03132069483399391,
0.009406188502907753,
0.004890219774097204,
-0.005975549109280109,
-0.03429807350039482,
0.02228875644505024,
-0.003709248499944806,
-0.04321357607841492,
0.0007739729480817914,
-0.035395875573158264,
-0.03163672983646393,
-0.0315701961517334,
0.013739189133048058,
-0.0058175320737063885,
0.0010115186451002955,
0.0037924153730273247,
-0.02819361537694931,
0.03516301140189171,
0.02905855141580105,
-0.00830006692558527,
-0.0070941452868282795,
0.036693282425403595,
0.017182303592562675,
0.005967232398688793,
-0.042248837649822235,
0.043612778186798096,
-0.026813041418790817,
-0.02697937563061714,
-0.029790421947836876,
-0.024484366178512573,
-0.013506321236491203,
-0.010029940865933895,
0.005613772664219141,
0.013572854921221733,
-0.027727879583835602,
0.02297072671353817,
-0.017232203856110573,
0.027594812214374542,
0.010279442183673382,
0.02149035409092903,
0.03170326352119446,
-0.004303892608731985,
0.016808051615953445,
0.00934797152876854,
0.04141716659069061,
-0.05685296282172203,
0.06463739275932312,
-0.058715905994176865,
-0.038722556084394455,
0.04377911239862442,
-0.02059215120971203,
-0.01979374699294567,
-0.01857950910925865,
0.05249501392245293,
-0.016541916877031326,
-0.02040918357670307,
-0.04481038078665733,
-0.022954093292355537,
-0.04391217976808548,
0.06783100962638855,
-0.02804391458630562,
0.05828343704342842,
0.022122424095869064,
0.07285429537296295,
-0.0053601134568452835,
-0.026413841173052788,
0.05169660970568657,
0.0372588187456131,
0.020109781995415688,
-0.002784015377983451,
-0.019544245675206184,
-0.05455755442380905,
0.01964404620230198,
0.05439122021198273,
-0.03942115977406502,
-0.08376580476760864,
-0.07917498797178268,
-0.0208083838224411,
0.038057222962379456,
-0.03542914241552353,
0.006366434041410685,
0.0036198438610881567,
0.021190952509641647,
-0.013498004525899887,
0.07538257539272308,
0.030389223247766495,
0.009988357312977314,
0.02155688777565956,
0.022039256989955902,
0.023087160661816597,
-0.0032331172842532396,
0.071856290102005,
0.022105790674686432,
0.003174900310114026,
0.022055890411138535,
-0.03752495348453522,
0.04221557080745697,
-0.05259481444954872,
-0.06497006118297577,
0.0372588187456131,
-0.04906853288412094,
-0.021506987512111664,
0.018546242266893387,
-0.01666666753590107,
0.037025950849056244,
-0.00111859617754817,
0.0838988721370697,
0.0033433136995881796,
-0.014745510183274746,
-0.008246008306741714,
-0.004241517279297113,
0.007002661935985088,
-0.0146706597879529,
-0.015552230179309845,
0.017232203856110573,
-0.036826349794864655,
0.05219561234116554,
-0.01212574914097786,
0.00251580192707479,
-0.02473386749625206,
-0.02268795855343342,
-0.01809713989496231,
-0.0024679808411747217,
-0.008566201664507389,
0.01328177098184824,
0.00945608876645565,
-0.00044338408042676747,
0.0214737206697464,
-0.0038298405706882477,
-0.0713905543088913,
-0.013922156766057014,
0.05399201810359955,
-0.06400533020496368,
0.025565536692738533,
0.028359947726130486,
0.008624418638646603,
-0.030655357986688614,
-0.029590820893645287,
0.019261477515101433,
0.030339322984218597,
-0.021224219352006912,
-0.01693280227482319,
-0.01706586964428425,
-0.013938790187239647,
-0.12860946357250214,
0.01162674743682146,
-0.013090486638247967,
-0.029224885627627373,
-0.03180306404829025,
-0.003328759456053376,
-0.005114770960062742,
0.010312709026038647,
0.012466734275221825,
0.017365271225571632,
-0.01192614808678627,
-0.031021293252706528,
-0.0026405523531138897,
0.016924485564231873,
-0.016724884510040283,
0.045642051845788956,
-0.026314040645956993,
-0.05718563124537468,
-0.0031187627464532852,
0.07844311743974686,
0.0642714649438858,
0.014712243340909481,
0.016766468062996864,
0.002759065479040146,
-0.05901530757546425,
0.022954093292355537,
-0.02812708169221878,
0.030505657196044922,
0.034797076135873795,
0.0505322702229023,
0.06846307963132858,
0.013597805052995682,
-0.017431804910302162,
0.028825683519244194,
-0.028276782482862473,
-0.007572355680167675,
0.018113773316144943,
-0.04703925922513008,
-0.015194611623883247,
0.05063207074999809,
-0.0003324081189930439,
0.01714903675019741,
-0.005152196157723665,
0.021922823041677475,
-0.006008815951645374,
0.012217232957482338,
-0.016151031479239464,
-0.0018359116511419415,
0.018047239631414413,
-0.01497006043791771,
0.04777112603187561,
-0.020442450419068336,
-0.0460745207965374,
0.06417166441679001,
-0.004536760039627552,
-0.07777778059244156,
0.06666667014360428,
0.011684964410960674,
0.05808383598923683,
0.05156354233622551,
0.0012682968517765403,
-0.015660347416996956,
0.07351963222026825,
0.05096473917365074,
-0.03752495348453522,
0.016791418194770813,
0.02100798487663269,
-0.004536760039627552,
0.03456420823931694,
0.0131071200594306,
-0.0192448440939188,
-0.022954093292355537,
-0.022870926186442375,
0.05495675653219223,
0.009239854291081429,
-0.04318030923604965,
0.01646706648170948,
0.08602795004844666,
0.04960080236196518,
0.006141883321106434,
0.004179141949862242,
-0.025998005643486977,
0.03000665456056595,
-0.0359281450510025,
-0.06051231175661087,
-0.040618766099214554,
0.03463074192404747,
0.026180973276495934,
-0.007314538117498159,
-0.02594810537993908,
0.00021454488160088658,
-0.004445276223123074,
0.06463739275932312,
-0.008940452709794044,
-0.0787757858633995,
0.04424484819173813,
-0.0038651865907013416,
0.0731869637966156,
-0.013764139264822006,
-0.017007652670145035,
0.011027945205569267,
-0.03361610323190689,
0.034198272973299026,
0.011901197955012321,
0.030738525092601776,
0.02533266879618168,
0.006590985227376223,
-0.023902196437120438,
-0.005251996219158173,
-0.042315371334552765,
0.07624751329421997,
-0.0651363953948021,
-0.024151697754859924,
0.004503493197262287,
-0.02508316934108734,
-0.04121756926178932,
-0.004794577602297068,
-0.006146041676402092,
-0.06357286125421524,
0.022654691711068153,
0.06260812282562256,
-0.0022434298880398273,
0.021506987512111664,
0.009497672319412231,
0.00830006692558527,
-0.02054225094616413,
0.0403858982026577,
-0.028642715886235237,
0.05652029812335968,
-0.00791334081441164,
-0.03216899558901787,
-0.017265470698475838,
-0.0077012646943330765,
0.0252162367105484,
-0.036826349794864655,
0.014703926630318165,
0.0070941452868282795,
0.0012163174105808139,
0.016126081347465515,
0.010021624155342579,
-0.030039921402931213,
0.02722887694835663,
-0.034530941396951675,
0.023336661979556084,
0.030322689563035965,
-0.03291749954223633,
-0.004162508528679609,
0.01897871121764183,
0.004037757869809866,
0.042581506073474884,
-0.08549568057060242,
0.005447438918054104,
0.016991019248962402,
-0.022455090656876564,
0.022105790674686432,
0.013065536506474018,
-0.040552232414484024,
0.004931803327053785,
-0.03639388084411621,
-0.025299401953816414,
0.05279441550374031,
0.013988690450787544,
0.0058549572713673115,
-0.0498669371008873,
0.012591484934091568,
0.08396540582180023,
0.008142049424350262,
-0.008957086130976677,
0.018463075160980225,
-0.029324686154723167,
-0.03739188611507416,
0.00029862154042348266,
-0.01595974899828434,
0.0003893255488947034,
-0.019827013835310936,
-0.02310379408299923,
0.03948769345879555,
-0.009589155204594135,
0.016259148716926575,
0.006541084963828325,
-0.016009649261832237,
-0.03795742243528366,
0.005771790165454149,
-0.021224219352006912,
-0.07238855957984924,
0.06324019283056259,
0.07325349748134613,
-0.07398536801338196,
0.05399201810359955,
-0.0068987030535936356,
-0.06413839757442474,
-0.03416500613093376,
0.012050898745656013,
-0.014304724521934986,
-0.03363273665308952,
-0.08296740055084229,
0.0022205589339137077,
-0.03062209114432335,
-0.07092481851577759,
-0.034863609820604324,
-0.04111776873469353,
0.012383567169308662,
-0.014712243340909481,
0.06719893962144852,
-0.0028068863321095705,
-0.007618097588419914,
0.016550233587622643,
-0.004736361093819141,
-0.013988690450787544,
0.02561543695628643,
0.02332002855837345,
0.006403859239071608,
0.021257486194372177,
0.020758483558893204,
0.029640721157193184,
0.003906770143657923,
-0.028077181428670883,
-0.026862941682338715,
-0.026996009051799774,
-0.01741517148911953,
0.01681636832654476,
-0.021324019879102707,
0.049367934465408325,
0.019693946465849876,
-0.02548236958682537,
0.027062542736530304,
-0.02067531645298004,
-0.062042586505413055,
-0.026247506961226463,
0.02250499092042446,
0.021739855408668518,
-0.07544910907745361,
-0.07218895852565765,
-0.08436460793018341,
0.10525616258382797,
-0.011435463093221188,
-0.03759148716926575,
0.02995675429701805,
0.010720226913690567,
0.05502329021692276,
-0.008774119429290295,
-0.029174985364079475,
-0.02243845723569393,
0.004994178656488657,
0.006674152333289385,
0.0669328048825264,
0.021506987512111664,
-0.026380574330687523,
0.0751829743385315,
0.006678310688585043,
0.024500999599695206,
0.04703925922513008,
0.011676647700369358,
0.0230372603982687,
0.04301397502422333,
0.019061878323554993,
-0.013231870718300343,
0.015136394649744034,
0.03908849135041237,
0.01857950910925865,
0.053626082837581635,
0.03035595640540123,
0.038256824016571045,
-0.005896540824323893,
-0.030738525092601776,
0.12188956141471863,
0.008807385340332985,
0.019677313044667244,
-0.002174817258492112
] |
711,099
|
yt_dlp.YoutubeDL
|
__init__
|
Create a FileDownloader object with the given options.
@param auto_init Whether to load the default extractors and print header (if verbose).
Set to 'no_verbose_header' to not print the header
|
def __init__(self, params=None, auto_init=True):
"""Create a FileDownloader object with the given options.
@param auto_init Whether to load the default extractors and print header (if verbose).
Set to 'no_verbose_header' to not print the header
"""
if params is None:
params = {}
self.params = params
self._ies = {}
self._ies_instances = {}
self._pps = {k: [] for k in POSTPROCESS_WHEN}
self._printed_messages = set()
self._first_webpage_request = True
self._post_hooks = []
self._progress_hooks = []
self._postprocessor_hooks = []
self._download_retcode = 0
self._num_downloads = 0
self._num_videos = 0
self._playlist_level = 0
self._playlist_urls = set()
self.cache = Cache(self)
self.__header_cookies = []
stdout = sys.stderr if self.params.get('logtostderr') else sys.stdout
self._out_files = Namespace(
out=stdout,
error=sys.stderr,
screen=sys.stderr if self.params.get('quiet') else stdout,
console=None if compat_os_name == 'nt' else next(
filter(supports_terminal_sequences, (sys.stderr, sys.stdout)), None)
)
try:
windows_enable_vt_mode()
except Exception as e:
self.write_debug(f'Failed to enable VT mode: {e}')
if self.params.get('no_color'):
if self.params.get('color') is not None:
self.params.setdefault('_warnings', []).append(
'Overwriting params from "color" with "no_color"')
self.params['color'] = 'no_color'
term_allow_color = os.getenv('TERM', '').lower() != 'dumb'
no_color = bool(os.getenv('NO_COLOR'))
def process_color_policy(stream):
stream_name = {sys.stdout: 'stdout', sys.stderr: 'stderr'}[stream]
policy = traverse_obj(self.params, ('color', (stream_name, None), {str}), get_all=False)
if policy in ('auto', None):
if term_allow_color and supports_terminal_sequences(stream):
return 'no_color' if no_color else True
return False
assert policy in ('always', 'never', 'no_color'), policy
return {'always': True, 'never': False}.get(policy, policy)
self._allow_colors = Namespace(**{
name: process_color_policy(stream)
for name, stream in self._out_files.items_ if name != 'console'
})
system_deprecation = _get_system_deprecation()
if system_deprecation:
self.deprecated_feature(system_deprecation.replace('\n', '\n '))
if self.params.get('allow_unplayable_formats'):
self.report_warning(
f'You have asked for {self._format_err("UNPLAYABLE", self.Styles.EMPHASIS)} formats to be listed/downloaded. '
'This is a developer option intended for debugging. \n'
' If you experience any issues while using this option, '
f'{self._format_err("DO NOT", self.Styles.ERROR)} open a bug report')
if self.params.get('bidi_workaround', False):
try:
import pty
master, slave = pty.openpty()
width = shutil.get_terminal_size().columns
width_args = [] if width is None else ['-w', str(width)]
sp_kwargs = {'stdin': subprocess.PIPE, 'stdout': slave, 'stderr': self._out_files.error}
try:
self._output_process = Popen(['bidiv'] + width_args, **sp_kwargs)
except OSError:
self._output_process = Popen(['fribidi', '-c', 'UTF-8'] + width_args, **sp_kwargs)
self._output_channel = os.fdopen(master, 'rb')
except OSError as ose:
if ose.errno == errno.ENOENT:
self.report_warning(
'Could not find fribidi executable, ignoring --bidi-workaround. '
'Make sure that fribidi is an executable file in one of the directories in your $PATH.')
else:
raise
self.params['compat_opts'] = set(self.params.get('compat_opts', ()))
self.params['http_headers'] = HTTPHeaderDict(std_headers, self.params.get('http_headers'))
self._load_cookies(self.params['http_headers'].get('Cookie')) # compat
self.params['http_headers'].pop('Cookie', None)
if auto_init and auto_init != 'no_verbose_header':
self.print_debug_header()
def check_deprecated(param, option, suggestion):
if self.params.get(param) is not None:
self.report_warning(f'{option} is deprecated. Use {suggestion} instead')
return True
return False
if check_deprecated('cn_verification_proxy', '--cn-verification-proxy', '--geo-verification-proxy'):
if self.params.get('geo_verification_proxy') is None:
self.params['geo_verification_proxy'] = self.params['cn_verification_proxy']
check_deprecated('autonumber', '--auto-number', '-o "%(autonumber)s-%(title)s.%(ext)s"')
check_deprecated('usetitle', '--title', '-o "%(title)s-%(id)s.%(ext)s"')
check_deprecated('useid', '--id', '-o "%(id)s.%(ext)s"')
for msg in self.params.get('_warnings', []):
self.report_warning(msg)
for msg in self.params.get('_deprecation_warnings', []):
self.deprecated_feature(msg)
if impersonate_target := self.params.get('impersonate'):
if not self._impersonate_target_available(impersonate_target):
raise YoutubeDLError(
f'Impersonate target "{impersonate_target}" is not available. '
f'Use --list-impersonate-targets to see available targets. '
f'You may be missing dependencies required to support this target.')
if 'list-formats' in self.params['compat_opts']:
self.params['listformats_table'] = False
if 'overwrites' not in self.params and self.params.get('nooverwrites') is not None:
# nooverwrites was unnecessarily changed to overwrites
# in 0c3d0f51778b153f65c21906031c2e091fcfb641
# This ensures compatibility with both keys
self.params['overwrites'] = not self.params['nooverwrites']
elif self.params.get('overwrites') is None:
self.params.pop('overwrites', None)
else:
self.params['nooverwrites'] = not self.params['overwrites']
if self.params.get('simulate') is None and any((
self.params.get('list_thumbnails'),
self.params.get('listformats'),
self.params.get('listsubtitles'),
)):
self.params['simulate'] = 'list_only'
self.params.setdefault('forceprint', {})
self.params.setdefault('print_to_file', {})
# Compatibility with older syntax
if not isinstance(params['forceprint'], dict):
self.params['forceprint'] = {'video': params['forceprint']}
if auto_init:
self.add_default_info_extractors()
if (sys.platform != 'win32'
and sys.getfilesystemencoding() in ['ascii', 'ANSI_X3.4-1968']
and not self.params.get('restrictfilenames', False)):
# Unicode filesystem API will throw errors (#1474, #13027)
self.report_warning(
'Assuming --restrict-filenames since file system encoding '
'cannot encode all characters. '
'Set the LC_ALL environment variable to fix this.')
self.params['restrictfilenames'] = True
self._parse_outtmpl()
# Creating format selector here allows us to catch syntax errors before the extraction
self.format_selector = (
self.params.get('format') if self.params.get('format') in (None, '-')
else self.params['format'] if callable(self.params['format'])
else self.build_format_selector(self.params['format']))
hooks = {
'post_hooks': self.add_post_hook,
'progress_hooks': self.add_progress_hook,
'postprocessor_hooks': self.add_postprocessor_hook,
}
for opt, fn in hooks.items():
for ph in self.params.get(opt, []):
fn(ph)
for pp_def_raw in self.params.get('postprocessors', []):
pp_def = dict(pp_def_raw)
when = pp_def.pop('when', 'post_process')
self.add_post_processor(
get_postprocessor(pp_def.pop('key'))(self, **pp_def),
when=when)
def pr
|
(self, params=None, auto_init=True)
|
[
0.019920118153095245,
-0.03745288774371147,
-0.12799689173698425,
-0.01265951432287693,
0.012385736219584942,
0.00774792954325676,
-0.024815276265144348,
0.023698261007666588,
-0.02816632390022278,
-0.009883400984108448,
0.013776530511677265,
0.04341030865907669,
-0.036598701030015945,
0.03344477340579033,
0.0066473400220274925,
0.03605114296078682,
-0.000011079470823460724,
0.06150158494710922,
-0.0010656825033947825,
-0.04765934869647026,
-0.02547234483063221,
0.0011204382171854377,
0.012933292426168919,
0.022625049576163292,
-0.00016392483667004853,
-0.01891261339187622,
-0.014159820042550564,
-0.038854632526636124,
-0.049849577248096466,
0.030860304832458496,
0.004361290484666824,
-0.04595097154378891,
-0.021245205774903297,
0.028188226744532585,
0.011334426701068878,
0.0031511897686868906,
-0.03053176961839199,
0.03554739058017731,
-0.08922986686229706,
-0.01571488194167614,
-0.020456723868846893,
-0.04102296009659767,
0.023566847667098045,
-0.027596864849328995,
-0.021497081965208054,
0.04884207248687744,
-0.040037356317043304,
0.047484129667282104,
-0.004520081914961338,
-0.044855859130620956,
0.023479238152503967,
-0.0027911709621548653,
0.011498694308102131,
0.02531902864575386,
0.007397492881864309,
0.055850800126791,
-0.013404191471636295,
0.07954905927181244,
0.00011011026072083041,
-0.01914258673787117,
-0.025976097211241722,
-0.013469898141920567,
0.018945466727018356,
0.05028762295842171,
0.010113375261425972,
-0.006307854782789946,
0.026939796283841133,
-0.04185524582862854,
-0.03434276580810547,
0.031145034357905388,
0.009932680986821651,
-0.0265236534178257,
-0.011422036215662956,
-0.0066090114414691925,
0.04700228199362755,
0.005029309540987015,
-0.057471565902233124,
-0.018890710547566414,
-0.009861499071121216,
0.0366206020116806,
0.032809607684612274,
0.03545978292822838,
0.022241760045289993,
-0.014236478134989738,
0.06045027822256088,
-0.02255934290587902,
0.06943020969629288,
0.00804908573627472,
-0.005051211919635534,
0.024552449584007263,
-0.05786580964922905,
-0.0014770346460863948,
0.034671299159526825,
0.006203819066286087,
-0.041001055389642715,
-0.04332269728183746,
-0.021913224831223488,
-0.021332815289497375,
-0.02913002483546734,
-0.05668308585882187,
-0.04135149344801903,
-0.0014606078621000051,
-0.04073822870850563,
-0.04849163442850113,
0.03182400390505791,
-0.04365123063325882,
-0.051952194422483444,
0.028429152444005013,
-0.0242020133882761,
-0.015035911463201046,
-0.009697231464087963,
-0.06912357360124588,
0.018562177196145058,
-0.034977931529283524,
0.02904241532087326,
-0.04356362298130989,
-0.037058647722005844,
-0.0035782840568572283,
0.0069046919234097,
-0.0037644533440470695,
-0.038022346794605255,
-0.002678921911865473,
-0.05510612204670906,
-0.0017768220277503133,
-0.016492411494255066,
-0.05059425160288811,
-0.00028336068498902023,
0.04351981729269028,
0.059924621134996414,
0.011695814318954945,
-0.009226333349943161,
0.029765190556645393,
-0.019427316263318062,
-0.0011929895263165236,
0.04281894490122795,
-0.06995586305856705,
-0.06728378683328629,
0.022011784836649895,
-0.03609494864940643,
0.01734660193324089,
0.00640641525387764,
-0.042709436267614365,
0.0034742483403533697,
-0.01676619052886963,
-0.05339774489402771,
-0.007287981919944286,
0.03611684963107109,
-0.05453666299581528,
-0.024158207699656487,
0.015254934318363667,
0.04266563057899475,
-0.008038134314119816,
-0.05519372969865799,
0.009489160031080246,
0.05081327632069588,
-0.0019629914313554764,
-0.02159564197063446,
0.007802685257047415,
-0.04853544011712074,
0.02063194289803505,
0.025297125801444054,
-0.060581691563129425,
0.0023805033415555954,
-0.0007871129782870412,
0.010217410512268543,
0.0053852214477956295,
0.03219634294509888,
0.0053468928672373295,
0.06474312394857407,
0.08739007264375687,
0.03806615248322487,
0.044658735394477844,
-0.052915893495082855,
-0.0028117045294493437,
0.029108121991157532,
0.12046250700950623,
0.029589971527457237,
-0.03640158101916313,
-0.007846489548683167,
0.03241536393761635,
-0.033313360065221786,
-0.04163622483611107,
-0.04836022108793259,
0.0012039405992254615,
0.03979643061757088,
0.041899051517248154,
0.04266563057899475,
0.029699483886361122,
0.015156373381614685,
0.024618156254291534,
-0.018726443871855736,
-0.007676747161895037,
0.03640158101916313,
-0.012298126704990864,
-0.0055823419243097305,
-0.0034441326279193163,
-0.011142781935632229,
-0.02367635816335678,
0.07306598871946335,
-0.033335261046886444,
-0.017839401960372925,
0.022690756246447563,
-0.00707443431019783,
-0.03140786290168762,
-0.031101228669285774,
0.015583467669785023,
-0.015057813376188278,
0.0005899925017729402,
-0.01966824196279049,
0.03379520773887634,
-0.003509839531034231,
-0.030575575307011604,
0.024026794359087944,
-0.0005913614295423031,
0.007611040025949478,
-0.055850800126791,
0.002067027147859335,
0.06566301733255386,
-0.0297870934009552,
0.012243371456861496,
0.027662571519613266,
0.0048814695328474045,
-0.05944277346134186,
-0.00320320762693882,
0.013820335268974304,
-0.006499500013887882,
0.07770926505327225,
0.025800878182053566,
-0.010524042882025242,
-0.011301573365926743,
0.027509257197380066,
-0.01232002954930067,
-0.0051881009712815285,
0.1020645946264267,
0.04207426682114601,
-0.050375230610370636,
-0.016514314338564873,
0.02680838294327259,
-0.057164937257766724,
0.002808966673910618,
0.008815665729343891,
0.001366838812828064,
0.043826449662446976,
0.017894158139824867,
-0.038088053464889526,
0.0025748861953616142,
0.028801489621400833,
0.04176763817667961,
-0.01418172288686037,
0.020522430539131165,
0.03865751251578331,
-0.01801462098956108,
-0.05252165347337723,
-0.011892935261130333,
-0.033839013427495956,
-0.014871643856167793,
-0.01720423623919487,
-0.0515141487121582,
0.040847741067409515,
-0.012517149560153484,
-0.00811479240655899,
0.002650175243616104,
-0.04726510867476463,
0.058216243982315063,
0.03278770297765732,
-0.013918895274400711,
0.01478403527289629,
-0.041001055389642715,
-0.0722775012254715,
0.006307854782789946,
-0.03009372390806675,
0.00320320762693882,
-0.05449285730719566,
0.007260603830218315,
-0.051952194422483444,
0.004287370014935732,
0.043454110622406006,
-0.04958674684166908,
-0.006745900493115187,
-0.004897896200418472,
0.07306598871946335,
0.014116015285253525,
0.03053176961839199,
0.0034331814385950565,
0.0260637067258358,
-0.0182336438447237,
-0.025187615305185318,
0.04476824775338173,
-0.033488575369119644,
-0.02175990864634514,
-0.024859081953763962,
0.048009783029556274,
0.06991206109523773,
-0.007736978121101856,
-0.0007207217277027667,
0.05225882679224014,
-0.05777819827198982,
-0.050156205892562866,
0.026392240077257156,
-0.04853544011712074,
-0.06741520017385483,
-0.0005280501209199429,
0.0661010667681694,
0.005081327632069588,
-0.08077558875083923,
0.04220568388700485,
0.005650786682963371,
-0.045994777232408524,
0.031254544854164124,
-0.02615131437778473,
0.04603857919573784,
0.006269525736570358,
0.022285563871264458,
0.03981833532452583,
-0.012046250514686108,
0.011903885751962662,
0.011334426701068878,
0.034452278167009354,
0.039139363914728165,
0.054930903017520905,
-0.05234643444418907,
0.02145327813923359,
0.049937184900045395,
0.005554964300245047,
0.11564400792121887,
-0.06189582496881485,
0.03828517347574234,
0.012626660987734795,
0.026195120066404343,
-0.00478290906175971,
-0.05777819827198982,
0.03881083056330681,
-0.04378264769911766,
0.04198665916919708,
-0.009264661930501461,
-0.037233866751194,
-0.0567706935107708,
-0.03894224390387535,
0.07525621354579926,
-0.048447828739881516,
-0.0071565681137144566,
0.01728089340031147,
-0.059924621134996414,
0.014554060995578766,
0.005491995252668858,
-0.03948980197310448,
0.04200856015086174,
0.016185780987143517,
0.04555673152208328,
-0.0784977525472641,
0.03478081151843071,
-0.013458947651088238,
0.009445355273783207,
0.09829740971326828,
0.024245817214250565,
-0.07122619450092316,
0.01847456768155098,
-0.05672689154744148,
0.0049827671609818935,
-0.0027021931018680334,
-0.023282118141651154,
0.06553160399198532,
-0.039511702954769135,
0.045907165855169296,
0.0026433307211846113,
-0.049849577248096466,
0.0592675544321537,
-0.02479337342083454,
0.035569291561841965,
-0.028801489621400833,
0.003063580486923456,
0.020818112418055534,
0.02510000579059124,
-0.08073177933692932,
-0.01981060765683651,
-0.0009999757166951895,
0.0041231028735637665,
-0.002751473104581237,
-0.031254544854164124,
0.0010889536933973432,
0.04014686867594719,
0.05458046868443489,
-0.019197342917323112,
0.0017467063153162599,
0.009067541919648647,
-0.059924621134996414,
-0.023785870522260666,
0.02175990864634514,
0.06386703252792358,
-0.01816793717443943,
-0.016558120027184486,
0.04656423628330231,
0.031232642009854317,
0.015068764798343182,
0.03826327249407768,
-0.026983601972460747,
-0.02904241532087326,
0.0685541182756424,
-0.005267497152090073,
-0.014094113372266293,
0.015287787653505802,
-0.013579409569501877,
-0.000830233097076416,
0.06342898309230804,
-0.007994330488145351,
-0.0381537601351738,
0.11984924226999283,
0.04516248777508736,
0.014992106705904007,
0.03778142109513283,
0.002658388577401638,
-0.0564640611410141,
-0.07429251074790955,
-0.03447417914867401,
-0.06750281155109406,
0.03134215250611305,
-0.0515141487121582,
0.01292234193533659,
0.004602215252816677,
0.03248107433319092,
0.01232002954930067,
0.043979767709970474,
0.0440673753619194,
0.0564640611410141,
0.02650175243616104,
-0.009850547648966312,
-0.011432986706495285,
0.028275836259126663,
-0.024486742913722992,
-0.05904852971434593,
0.018419813364744186,
0.017061872407794,
-0.010036717168986797,
-0.02628272958099842,
0.04608238488435745,
0.010666407644748688,
-0.015178276225924492,
0.0004209343169350177,
0.021935127675533295,
0.05230262875556946,
0.011088026687502861,
-0.027684474363923073,
-0.014959253370761871,
0.02027055434882641,
0.06767802685499191,
0.022011784836649895,
-0.04700228199362755,
0.022975485771894455,
-0.037233866751194,
-0.004008116200566292,
-0.04209617152810097,
0.0676342248916626,
-0.0130318533629179,
-0.05300350487232208,
-0.00024913836386986077,
-0.024223914369940758,
0.044658735394477844,
0.06478692591190338,
-0.04827261343598366,
-0.04238089919090271,
0.023698261007666588,
0.018825003877282143,
0.05309111252427101,
0.044724442064762115,
-0.011553449556231499,
0.016339097172021866,
0.03589782863855362,
0.005001931916922331,
-0.06145778298377991,
0.011268720030784607,
-0.025187615305185318,
0.03322574868798256,
-0.017313748598098755,
-0.010606176219880581,
0.00994910765439272,
0.01847456768155098,
-0.016503363847732544,
-0.0446806401014328,
-0.028407249599695206,
-0.019033076241612434,
-0.008065512403845787,
-0.058654289692640305,
0.024245817214250565,
0.009697231464087963,
-0.036686308681964874,
-0.05852287635207176,
0.07608850300312042,
-0.04757174104452133,
0.031320251524448395,
-0.011131830513477325,
-0.0013175586936995387,
0.0036877954844385386,
-0.03342286869883537,
-0.007611040025949478,
0.015506810508668423,
0.0010492558358237147,
-0.0004698722332250327,
0.008914225734770298,
0.033488575369119644,
-0.10127611458301544,
0.032283950597047806,
-0.05458046868443489,
0.031977321952581406,
-0.03502173721790314,
0.04879826679825783,
-0.01647051051259041,
-0.018496470525860786,
0.02494668960571289,
-0.04108866676688194,
0.038767024874687195,
-0.011268720030784607,
-0.0190768800675869,
0.020599089562892914,
-0.04012496769428253,
0.011498694308102131,
0.0029622826259583235,
-0.024815276265144348,
0.013316582888364792,
-0.0005923880962654948,
-0.011553449556231499,
0.02293168008327484,
0.017379455268383026,
0.02836344577372074,
-0.08590071648359299,
0.005300350487232208,
0.06115115061402321,
-0.03789093345403671,
0.028954805806279182,
0.023501140996813774,
-0.005513897631317377,
-0.03061937913298607,
-0.023939184844493866,
0.020840013399720192,
-0.049718163907527924,
0.03629206866025925,
0.01188198383897543,
-0.003854800248518586,
-0.017324699088931084,
-0.014006503857672215,
-0.04481205344200134,
0.04888587445020676,
0.0328972153365612,
-0.0446806401014328,
-0.05935516208410263,
-0.018868809565901756,
-0.02115759626030922,
0.01622958481311798,
0.020588137209415436,
0.03129835054278374,
-0.03188971057534218,
-0.0204786267131567,
-0.019274001941084862,
0.027574963867664337,
0.02277836576104164,
-0.06369180977344513,
0.03900795057415962,
0.04945533350110054,
-0.0018069376237690449,
0.0561574324965477,
0.007923147641122341,
-0.005147034302353859,
0.020281506702303886,
-0.09549391269683838,
-0.060362666845321655,
-0.0014907235745340586,
0.010666407644748688,
0.030444160103797913,
0.028538662940263748,
-0.05475568398833275,
-0.005163460969924927,
0.06071310490369797,
0.017762744799256325,
-0.007255128119140863,
-0.02339162863790989,
-0.031692590564489365,
-0.029370948672294617,
0.02674267627298832,
0.02658936008810997,
0.06382322311401367,
-0.020675746724009514,
0.010874479077756405,
-0.006674718111753464,
0.03732147440314293,
-0.07604469358921051,
-0.016054367646574974,
-0.02345733530819416,
0.04989337921142578,
0.023282118141651154,
0.052477847784757614,
-0.023588748648762703,
-0.0648307278752327,
0.00964795146137476,
0.00013192697952035815,
-0.07061292976140976,
-0.030071822926402092,
0.06334137916564941,
0.05712113156914711,
0.004980029538273811,
0.012341931462287903,
-0.017773695290088654,
-0.014882595278322697,
0.02739974483847618,
-0.0035837595351040363,
-0.012714270502328873,
0.039577409625053406,
-0.03307243436574936,
-0.0023120588157325983,
0.014422647655010223,
-0.021048085764050484,
0.0018425288144499063,
-0.013601312413811684,
0.0028336066752672195,
0.026173217222094536,
-0.004183334298431873,
-0.04564433917403221,
0.0022586719132959843,
-0.030071822926402092,
0.0446806401014328,
0.03524075821042061,
-0.01265951432287693,
-0.002743259770795703,
0.02457435242831707,
-0.021037133410573006,
0.026698872447013855,
-0.065487802028656,
-0.0057602981105446815,
-0.025800878182053566,
-0.012615709565579891,
0.00046405443572439253,
0.009779365733265877,
0.024530546739697456,
-0.0014879857189953327,
0.05826004967093468,
0.009407026693224907,
0.017029017210006714,
0.021102841943502426,
0.0052510700188577175,
-0.009680804796516895,
-0.007151092402637005,
0.025954194366931915,
0.07008727639913559,
-0.04349791631102562,
0.01601056195795536,
-0.0257570743560791,
-0.017083773389458656,
0.025603758171200752,
0.02122330293059349,
0.00021885162277612835,
0.0905878022313118,
0.01075949240475893,
0.0182336438447237,
0.025581855326890945,
0.01188198383897543,
0.020971426740288734,
-0.05839146301150322,
0.03105742484331131,
0.005352368112653494,
0.008925177156925201,
0.04853544011712074,
-0.0016385639319196343,
0.010923759080469608,
-0.027596864849328995,
0.022756462916731834,
-0.027684474363923073,
0.006630913354456425,
-0.03178019821643829,
0.005940991919487715,
-0.01161915622651577,
0.011224915273487568,
-0.011476791463792324,
0.04682706296443939,
-0.01734660193324089,
0.009511062875390053,
-0.0148935467004776,
-0.010934710502624512,
-0.027443548664450645,
-0.0056781647726893425,
0.01035977527499199,
0.06338518112897873,
-0.008952554315328598,
-0.010819723829627037,
0.010808772407472134,
-0.022241760045289993,
-0.004040969535708427,
-0.01622958481311798,
0.02674267627298832,
0.02882339246571064,
-0.014554060995578766,
-0.0111701600253582,
-0.06592584401369095,
-0.0376938134431839,
0.05725254490971565,
-0.01647051051259041,
-0.008914225734770298,
-0.022154150530695915,
-0.033554285764694214,
-0.010102423839271069,
-0.04595097154378891,
0.01667858101427555,
-0.05734015256166458,
0.019525878131389618,
-0.0418771468102932,
0.038613710552453995,
0.00502383429557085,
-0.013174218125641346,
0.042490411549806595,
-0.04787836968898773,
-0.03215253725647926,
-0.005467355251312256,
-0.034079939126968384,
0.008459753356873989,
0.020314360037446022,
0.0555441677570343,
0.012013397179543972,
-0.03841659054160118,
-0.02131091244518757,
-0.048666853457689285,
0.015627272427082062,
0.03418945148587227,
-0.0010164023842662573,
0.01653621718287468,
0.03835088014602661,
0.01396270003169775,
0.057471565902233124,
0.03889843821525574,
-0.0032141588162630796,
-0.07451153546571732,
-0.028100617229938507,
0.0713576078414917,
-0.021935127675533295,
0.023150702938437462,
0.028429152444005013,
-0.07061292976140976,
-0.005820529535412788,
-0.03298482298851013,
-0.08988693356513977,
0.06456790119409561,
-0.02048957720398903,
-0.021639447659254074,
0.008492606692016125,
-0.04244660586118698,
-0.027684474363923073,
-0.050462838262319565,
0.049849577248096466,
-0.015463005751371384,
0.029962310567498207,
0.055368948727846146,
-0.026917895302176476,
0.0001377447770209983,
0.011575351469218731,
0.04148290678858757,
-0.07021868973970413,
-0.07722742110490799,
0.045775752514600754,
0.02189132384955883,
0.014981155283749104,
0.027750181034207344,
0.0555441677570343,
-0.008749958127737045,
-0.014488354325294495,
-0.04023447632789612,
-0.02963377721607685,
0.03775952011346817,
0.02240602672100067,
0.05449285730719566,
0.059398967772722244,
-0.018189838156104088,
0.016207681968808174
] |
711,100
|
yt_dlp.YoutubeDL
|
_apply_header_cookies
|
Applies stray header cookies to the provided url
This loads header cookies and scopes them to the domain provided in `url`.
While this is not ideal, it helps reduce the risk of them being sent
to an unintended destination while mostly maintaining compatibility.
|
def _apply_header_cookies(self, url, cookies=None):
"""Applies stray header cookies to the provided url
This loads header cookies and scopes them to the domain provided in `url`.
While this is not ideal, it helps reduce the risk of them being sent
to an unintended destination while mostly maintaining compatibility.
"""
parsed = urllib.parse.urlparse(url)
if not parsed.hostname:
return
for cookie in map(copy.copy, cookies or self.__header_cookies):
cookie.domain = f'.{parsed.hostname}'
self.cookiejar.set_cookie(cookie)
|
(self, url, cookies=None)
|
[
-0.057050976902246475,
-0.000428393337642774,
-0.05472533404827118,
0.009061839431524277,
-0.053090114146471024,
0.03880919888615608,
-0.02122150920331478,
0.04382387176156044,
-0.0058413660153746605,
0.04553176835179329,
0.0039858464151620865,
0.010683431290090084,
0.020640099421143532,
0.016261344775557518,
-0.0011128574842587113,
-0.028198445215821266,
0.035357069224119186,
0.07184062898159027,
0.024709977209568024,
-0.09927596896886826,
-0.02056742273271084,
-0.037173982709646225,
-0.019023049622774124,
-0.0032704381737858057,
0.015561834909021854,
-0.03475749120116234,
-0.005396223161369562,
0.025473080575466156,
0.025818292051553726,
-0.0034589425195008516,
-0.005696013104170561,
0.028888870030641556,
-0.029888171702623367,
0.001317259855568409,
-0.002468726597726345,
-0.01747867465019226,
0.06831581890583038,
0.006963307969272137,
0.0035179920960217714,
-0.01567993499338627,
-0.054216597229242325,
-0.003483925247564912,
0.00789447408169508,
-0.022747714072465897,
-0.016497543081641197,
0.08444998413324356,
-0.01504401583224535,
0.08335983753204346,
0.008289651945233345,
-0.045132048428058624,
-0.05207264423370361,
0.009220818988978863,
0.09840384870767593,
-0.0386275090277195,
0.037537362426519394,
-0.02520054392516613,
0.047166988253593445,
0.006804328411817551,
-0.037864405661821365,
0.09934864193201065,
0.008330533280968666,
-0.013381542637944221,
-0.013981123454868793,
-0.03701045736670494,
-0.0021621230989694595,
0.02848915010690689,
0.032976917922496796,
-0.003383995033800602,
-0.04008103534579277,
-0.05290842056274414,
0.012009776197373867,
-0.03326762467622757,
0.02770787850022316,
0.0033135898411273956,
0.035157211124897,
-0.002514149295166135,
-0.023747015744447708,
-0.006245628464967012,
-0.042624711990356445,
0.0035588727332651615,
-0.051382217556238174,
-0.08982803672552109,
-0.029143238440155983,
0.006695313844829798,
-0.024946175515651703,
0.03112366981804371,
0.02451011724770069,
-0.020258547738194466,
0.047276001423597336,
0.07936263084411621,
-0.030941979959607124,
0.011110405437648296,
-0.035157211124897,
-0.05494336038827896,
0.0119098462164402,
0.032740719616413116,
-0.005623336881399155,
0.031632404774427414,
-0.042406681925058365,
0.02122150920331478,
-0.003274980466812849,
0.0060003455728292465,
-0.07176794856786728,
-0.024891668930649757,
-0.020512914285063744,
-0.07710966467857361,
-0.013799432665109634,
-0.06119353324174881,
-0.011119489558041096,
0.04113484546542168,
-0.052981097251176834,
-0.05174560099840164,
0.03895455226302147,
0.032395508140325546,
0.04073512554168701,
-0.054652657359838486,
0.014044715091586113,
-0.02191193588078022,
0.0025663855485618114,
0.0019134334288537502,
-0.011819000355899334,
0.027162807062268257,
0.02340180240571499,
0.05741436034440994,
-0.011001390404999256,
0.01658838987350464,
0.021294185891747475,
0.009693215601146221,
0.036519892513751984,
0.05770506337285042,
-0.012536679394543171,
0.0022427483927458525,
-0.007303978782147169,
-0.0545073039829731,
0.02985183335840702,
-0.0007642378332093358,
-0.08626689016819,
0.033540159463882446,
-0.034921012818813324,
0.01976798288524151,
-0.020385731011629105,
0.010592586360871792,
0.002037210389971733,
-0.0363382026553154,
0.04077146202325821,
-0.00982039887458086,
-0.013681333512067795,
-0.0760921984910965,
-0.09498806297779083,
0.011491956189274788,
0.007353943772614002,
0.034121572971343994,
-0.02485533058643341,
-0.02896154671907425,
-0.026708578690886497,
-0.031614236533641815,
-0.03043324500322342,
-0.005255412310361862,
0.011237588711082935,
0.023129265755414963,
0.04029906541109085,
0.019840657711029053,
0.008307821117341518,
0.008880147710442543,
-0.03779172897338867,
0.007081407122313976,
0.0030705779790878296,
-0.03304959461092949,
0.0011934827780351043,
0.029016055166721344,
0.01095596794039011,
0.01770578883588314,
0.03374002128839493,
0.045241061598062515,
-0.009611454792320728,
-0.02928859181702137,
-0.04338781163096428,
-0.05606984719634056,
-0.021167002618312836,
0.018141847103834152,
0.04338781163096428,
-0.044223591685295105,
-0.012218720279633999,
0.06224733963608742,
-0.008194264955818653,
-0.017424168065190315,
-0.03392171114683151,
-0.003290878375992179,
0.02521871216595173,
0.05290842056274414,
-0.05407124385237694,
-0.044659651815891266,
-0.0032272865064442158,
-0.053998567163944244,
0.04280640184879303,
-0.050110381096601486,
-0.0016681505367159843,
-0.024128565564751625,
0.0022404773626476526,
-0.00700873089954257,
-0.05269039422273636,
0.010810615494847298,
-0.013181682676076889,
-0.05992169678211212,
0.019677136093378067,
0.055670127272605896,
-0.000662036647554487,
-0.025345895439386368,
-0.027108298614621162,
0.024655470624566078,
0.02828929014503956,
0.01215512864291668,
-0.07790910452604294,
-0.007989862002432346,
-0.057959433645009995,
-0.0363200344145298,
-0.03621101751923561,
-0.049310941249132156,
0.08961000293493271,
0.019368261098861694,
0.018895864486694336,
0.0014319522306323051,
-0.013381542637944221,
0.008148841559886932,
0.007290351670235395,
-0.0024164903443306684,
0.012609356082975864,
0.026072660461068153,
0.006686229258775711,
-0.05926760658621788,
0.010383641347289085,
0.03112366981804371,
0.014653380028903484,
-0.035811297595500946,
0.07790910452604294,
-0.020967142656445503,
0.02509152889251709,
0.03441227599978447,
-0.007676445413380861,
0.04324246197938919,
0.004517292603850365,
0.0277987252920866,
0.05639689043164253,
0.02474631555378437,
-0.023656168952584267,
0.04902023449540138,
-0.0027321786619722843,
0.03677425906062126,
-0.04782107472419739,
0.006599925924092531,
-0.02158489264547825,
-0.0011753137223422527,
0.0317777581512928,
-0.018341707065701485,
0.0352117195725441,
-0.017760295420885086,
-0.004605866968631744,
0.020476577803492546,
-0.0221299659460783,
-0.014262744225561619,
0.0026095372159034014,
-0.035011857748031616,
0.07674628496170044,
-0.031977616250514984,
-0.06911525875329971,
0.023474479094147682,
0.0007517465855926275,
-0.005914042238146067,
-0.01826903037726879,
0.021748414263129234,
-0.011664562858641148,
0.00009155523730441928,
-0.013644995167851448,
-0.007144999224692583,
0.023456308990716934,
-0.022075457498431206,
-0.033431146293878555,
-0.06043042987585068,
0.013390627689659595,
0.022275317460298538,
0.06617186963558197,
-0.003613380016759038,
-0.0017374203307554126,
0.02020404115319252,
-0.01294548436999321,
0.01862332783639431,
-0.016488458961248398,
0.08299645036458969,
0.009179938584566116,
-0.046694591641426086,
-0.030378736555576324,
-0.0014489857712760568,
0.034012556076049805,
-0.002743534278124571,
-0.08415927737951279,
-0.003118271939456463,
0.002641333034262061,
0.015552750788629055,
0.010192865505814552,
0.012972738593816757,
-0.03779172897338867,
0.020730944350361824,
0.0025027936790138483,
-0.046730928122997284,
0.03997202217578888,
-0.10952334105968475,
-0.028652671724557877,
0.039790332317352295,
0.0002491154009476304,
0.03452129289507866,
0.05381687730550766,
0.007090491708368063,
-0.058286476880311966,
-0.039136242121458054,
0.017224308103322983,
-0.004755762405693531,
-0.0011264842469245195,
-0.02985183335840702,
-0.00149781524669379,
-0.009338918142020702,
-0.008762048557400703,
-0.06544510275125504,
-0.05098249763250351,
0.04585881158709526,
-0.01792381890118122,
0.03848215565085411,
0.04026272892951965,
-0.018877696245908737,
-0.06224733963608742,
0.024818992242217064,
-0.002421032637357712,
0.07972601801156998,
-0.057487037032842636,
0.028907040134072304,
0.0035111787728965282,
-0.007390281651169062,
-0.01962262950837612,
0.008612154051661491,
0.04189794883131981,
0.016724657267332077,
-0.08335983753204346,
-0.04927460104227066,
-0.09070014953613281,
-0.0164793748408556,
-0.015816202387213707,
-0.030269721522927284,
-0.019713474437594414,
0.06726200878620148,
0.01646120473742485,
-0.028452811762690544,
-0.00034748404868878424,
-0.030233385041356087,
0.057959433645009995,
0.037864405661821365,
0.03257719799876213,
0.02794407680630684,
0.006218374706804752,
-0.06849750876426697,
0.01601606234908104,
-0.011637309566140175,
0.08997339010238647,
-0.03953596577048302,
0.029561126604676247,
-0.004855692386627197,
0.012609356082975864,
-0.01681550219655037,
0.04720332473516464,
-0.0011628224747255445,
-0.024564623832702637,
-0.05407124385237694,
0.006177494302392006,
0.0029184119775891304,
0.04789375141263008,
0.010756107978522778,
0.014299082569777966,
0.020948974415659904,
0.04062610864639282,
0.002484624506905675,
-0.01401746179908514,
0.002729907399043441,
-0.0453864149749279,
-0.020185871049761772,
-0.01089237630367279,
0.008189721964299679,
-0.05396223068237305,
-0.030560428276658058,
0.056142523884773254,
-0.015516412444412708,
0.02487349882721901,
0.02997901663184166,
0.07209499180316925,
-0.0021927834022790194,
0.016197754070162773,
0.012854639440774918,
-0.04029906541109085,
-0.0010248508770018816,
-0.06413692981004715,
-0.023801522329449654,
0.03653806075453758,
-0.011055897921323776,
0.03237733989953995,
-0.04436894506216049,
0.012727455236017704,
0.03657440096139908,
-0.017760295420885086,
0.002283628797158599,
-0.040117375552654266,
-0.02078545093536377,
-0.022547854110598564,
-0.009111803956329823,
0.01294548436999321,
-0.04164357855916023,
0.017405997961759567,
-0.0021655296441167593,
0.030814794823527336,
0.04516838490962982,
0.047675721347332,
-0.09389791637659073,
-0.009270783513784409,
0.02065826766192913,
0.03713764250278473,
-0.0454227514564991,
-0.03350382298231125,
0.04360584169626236,
-0.006636264268308878,
-0.002283628797158599,
-0.0010027072858065367,
0.02451011724770069,
-0.019677136093378067,
-0.04662191495299339,
0.06802511215209961,
0.01061075460165739,
-0.030451413244009018,
-0.01276379358023405,
0.04981967434287071,
0.06802511215209961,
0.015143945813179016,
0.08219701051712036,
0.0030206129886209965,
-0.020385731011629105,
-0.04498669505119324,
-0.0317595899105072,
-0.045023031532764435,
-0.012836470268666744,
0.054907023906707764,
0.015452820807695389,
0.008403209038078785,
0.032995086163282394,
-0.07296711206436157,
-0.010937798768281937,
-0.0028025838546454906,
0.002188241109251976,
-0.03541157767176628,
0.0030342398677021265,
-0.011610055342316628,
0.06871554255485535,
0.03448495268821716,
0.02134869433939457,
0.016951771453022957,
0.05912225320935249,
0.035375241190195084,
0.003161423606798053,
0.06871554255485535,
-0.020058687776327133,
-0.032849736511707306,
0.017778465524315834,
-0.00032619215198792517,
-0.03677425906062126,
0.05799577012658119,
-0.06006704643368721,
-0.03101465478539467,
0.035811297595500946,
0.010692516341805458,
-0.004664916545152664,
-0.020240379497408867,
0.04473232850432396,
0.04687628149986267,
0.02679942362010479,
0.00394269498065114,
0.022002780809998512,
-0.03134169802069664,
0.007135914638638496,
0.030596766620874405,
-0.04360584169626236,
0.0035883975215256214,
-0.006259255111217499,
0.022329825907945633,
-0.04745769128203392,
0.11112222075462341,
-0.010120189748704433,
0.0352117195725441,
0.0002635939163155854,
-0.06889723241329193,
0.035011857748031616,
0.03739200904965401,
0.00309556070715189,
-0.00201563467271626,
0.05098249763250351,
0.01727881468832493,
-0.09070014953613281,
0.03228649124503136,
0.00048573955427855253,
-0.03097831830382347,
0.052181657403707504,
-0.05476167052984238,
0.023329125717282295,
-0.008162468671798706,
0.006958765909075737,
-0.0055461181327700615,
-0.013608656823635101,
-0.035484254360198975,
0.05857718363404274,
-0.021639399230480194,
-0.021857429295778275,
-0.027417173609137535,
-0.05516139045357704,
-0.08488603681325912,
0.01737874560058117,
-0.022202640771865845,
-0.004692170303314924,
-0.01716071553528309,
0.05755971372127533,
0.060103386640548706,
0.021548554301261902,
-0.01828720048069954,
0.005882246419787407,
-0.033449314534664154,
-0.002448286395519972,
0.03464847430586815,
0.041716255247592926,
-0.04415091499686241,
-0.014671549201011658,
0.007144999224692583,
0.040008362382650375,
0.03697412088513374,
0.0244192723184824,
-0.008198807016015053,
-0.040117375552654266,
0.005945838522166014,
-0.009711384773254395,
0.020803621038794518,
0.0465492382645607,
0.01090146042406559,
0.012645694427192211,
-0.045132048428058624,
-0.004723966121673584,
-0.01716071553528309,
-0.008880147710442543,
-0.012255058623850346,
0.04941995441913605,
-0.025909138843417168,
0.016624728217720985,
0.0771823450922966,
0.01083786878734827,
0.038554832339286804,
-0.015634510666131973,
-0.022184472531080246,
-0.035920314490795135,
-0.023347295820713043,
-0.015007677488029003,
0.057159993797540665,
0.010474487207829952,
0.036483556032180786,
0.02578195370733738,
-0.06213832646608353,
-0.04862051457166672,
0.005128228571265936,
-0.006536334287375212,
0.02509152889251709,
-0.020512914285063744,
0.06842483580112457,
-0.007817255333065987,
-0.0139084467664361,
0.07754572480916977,
-0.0025164205580949783,
0.003751919372007251,
0.036483556032180786,
-0.024837160483002663,
0.039136242121458054,
0.04553176835179329,
-0.02372884564101696,
0.03145071491599083,
-0.020240379497408867,
-0.0875023901462555,
0.0021496317349374294,
-0.0019906521774828434,
0.06675327569246292,
0.05487068369984627,
0.016306769102811813,
0.023747015744447708,
-0.0874297171831131,
0.013835770078003407,
-0.04266104847192764,
-0.0007165439310483634,
-0.038990892469882965,
-0.003908627666532993,
0.014489858411252499,
-0.031596068292856216,
-0.0806708112359047,
0.0408441387116909,
0.06904258579015732,
0.0007131372112780809,
0.008630323223769665,
0.008389582857489586,
-0.023329125717282295,
-0.013036330230534077,
-0.0999300554394722,
0.05236335098743439,
-0.0020269902888685465,
-0.06617186963558197,
-0.010883291251957417,
0.023183772340416908,
0.01610690727829933,
0.03688327595591545,
-0.02033122442662716,
0.017878394573926926,
-0.059994373470544815,
-0.04851150140166283,
-0.05348983407020569,
-0.00692696962505579,
0.0019611273892223835,
-0.056360550224781036,
-0.01929558627307415,
0.03617468103766441,
-0.0037473770789802074,
-0.05345349386334419,
0.028979716822504997,
0.04164357855916023,
-0.008194264955818653,
0.00592766935005784,
0.0016613372135907412,
0.03221381455659866,
-0.007363028358668089,
-0.0374646857380867,
0.014589788392186165,
0.06144789978861809,
0.0019633984193205833,
-0.0008681423496454954,
0.015243875794112682,
-0.024364763870835304,
0.019822489470243454,
-0.0030001727864146233,
0.022620530799031258,
-0.026763085275888443,
0.013517810963094234,
-0.02076728269457817,
-0.026363365352153778,
0.019586291164159775,
0.023983214050531387,
-0.07500205188989639,
-0.002093988936394453,
-0.018786851316690445,
0.046476561576128006,
0.011292096227407455,
0.015298383310437202,
-0.0017533182399347425,
-0.043206121772527695,
-0.010020258836448193,
0.0691879391670227,
-0.004049438517540693,
0.06849750876426697,
-0.009765892289578915,
0.036283694207668304,
-0.0073176054283976555,
0.004919284023344517,
-0.05388955399394035,
-0.0018225879175588489,
-0.021966442465782166,
-0.0025595722254365683,
0.010438148863613605,
0.023365464061498642,
-0.023765183985233307,
-0.03152339160442352,
0.032631706446409225,
0.04738501459360123,
-0.05843183025717735,
0.003261353587731719,
-0.006699855905026197,
0.0033794527407735586,
-0.018559737130999565,
0.04814811795949936,
-0.016415782272815704,
0.03779172897338867,
-0.03902722895145416,
0.032068464905023575,
0.015743525698781013,
0.04327879846096039,
-0.008861979469656944,
-0.06177494302392006,
0.0006302407127805054,
0.028452811762690544,
0.02111249603331089,
-0.0011412466410547495,
0.05414392054080963,
-0.017842058092355728,
0.04923826456069946,
-0.044659651815891266,
-0.012645694427192211,
0.0102201197296381,
0.06740736216306686,
-0.014335420913994312,
0.013036330230534077,
-0.012691116891801357,
0.025273218750953674,
-0.01667923480272293,
0.013327036052942276,
-0.0012604814255610108,
0.025582093745470047,
-0.007662818301469088,
0.0007738901767879725,
-0.061157193034887314,
-0.031814094632864,
-0.0009164040093310177,
0.05777774006128311,
0.018105508759617805,
0.03359466791152954,
0.05094616115093231,
-0.07234936207532883,
0.013517810963094234,
0.03359466791152954,
0.06431861966848373,
0.0071586258709430695,
0.012600271962583065,
0.026363365352153778,
-0.012745624408125877,
-0.06649891287088394,
0.011673647910356522,
0.033540159463882446,
-0.03811877593398094,
0.004335601814091206,
-0.000921514118090272,
0.06330114603042603,
-0.015470989979803562,
0.037537362426519394,
-0.03928159549832344,
-0.010392725467681885,
-0.00402899831533432,
-0.011555548757314682,
-0.044332604855298996,
0.04029906541109085,
-0.048075441271066666,
-0.0544709637761116,
0.004410549066960812,
0.04825713112950325,
-0.0283983051776886,
-0.04858417809009552,
0.019568121060729027,
-0.030033523216843605,
0.01780571974813938,
0.0760921984910965,
-0.02067643776535988,
0.03135986998677254,
0.013981123454868793,
0.004526377189904451,
0.018141847103834152,
-0.029470281675457954,
-0.04738501459360123,
0.040698785334825516,
0.022329825907945633,
0.03757370263338089,
-0.017842058092355728,
0.05519773066043854,
-0.004233400337398052,
-0.018696004524827003,
0.07282175868749619,
-0.021039819344878197,
0.03304959461092949,
-0.01101955957710743
] |
711,102
|
yt_dlp.YoutubeDL
|
_build_format_filter
|
Returns a function to filter the formats according to the filter_spec
|
def _build_format_filter(self, filter_spec):
" Returns a function to filter the formats according to the filter_spec "
OPERATORS = {
'<': operator.lt,
'<=': operator.le,
'>': operator.gt,
'>=': operator.ge,
'=': operator.eq,
'!=': operator.ne,
}
operator_rex = re.compile(r'''(?x)\s*
(?P<key>[\w.-]+)\s*
(?P<op>%s)(?P<none_inclusive>\s*\?)?\s*
(?P<value>[0-9.]+(?:[kKmMgGtTpPeEzZyY]i?[Bb]?)?)\s*
''' % '|'.join(map(re.escape, OPERATORS.keys())))
m = operator_rex.fullmatch(filter_spec)
if m:
try:
comparison_value = int(m.group('value'))
except ValueError:
comparison_value = parse_filesize(m.group('value'))
if comparison_value is None:
comparison_value = parse_filesize(m.group('value') + 'B')
if comparison_value is None:
raise ValueError(
'Invalid value %r in format specification %r' % (
m.group('value'), filter_spec))
op = OPERATORS[m.group('op')]
if not m:
STR_OPERATORS = {
'=': operator.eq,
'^=': lambda attr, value: attr.startswith(value),
'$=': lambda attr, value: attr.endswith(value),
'*=': lambda attr, value: value in attr,
'~=': lambda attr, value: value.search(attr) is not None
}
str_operator_rex = re.compile(r'''(?x)\s*
(?P<key>[a-zA-Z0-9._-]+)\s*
(?P<negation>!\s*)?(?P<op>%s)\s*(?P<none_inclusive>\?\s*)?
(?P<quote>["'])?
(?P<value>(?(quote)(?:(?!(?P=quote))[^\\]|\\.)+|[\w.-]+))
(?(quote)(?P=quote))\s*
''' % '|'.join(map(re.escape, STR_OPERATORS.keys())))
m = str_operator_rex.fullmatch(filter_spec)
if m:
if m.group('op') == '~=':
comparison_value = re.compile(m.group('value'))
else:
comparison_value = re.sub(r'''\\([\\"'])''', r'\1', m.group('value'))
str_op = STR_OPERATORS[m.group('op')]
if m.group('negation'):
op = lambda attr, value: not str_op(attr, value)
else:
op = str_op
if not m:
raise SyntaxError('Invalid filter specification %r' % filter_spec)
def _filter(f):
actual_value = f.get(m.group('key'))
if actual_value is None:
return m.group('none_inclusive')
return op(actual_value, comparison_value)
return _filter
|
(self, filter_spec)
|
[
0.05998273938894272,
-0.05401487275958061,
0.011774178594350815,
-0.003169239964336157,
-0.01345620397478342,
-0.05865232273936272,
-0.001325664110481739,
-0.0302574522793293,
-0.006248202174901962,
-0.05861430987715721,
0.034951917827129364,
0.026133164763450623,
0.026019128039479256,
-0.009574241004884243,
-0.00022821973834652454,
0.049301400780677795,
-0.03386858105659485,
-0.004205063451081514,
0.0592225007712841,
0.0121733034029603,
-0.03690953180193901,
-0.03953234851360321,
-0.012287338264286518,
0.036833506077528,
0.08240974694490433,
0.000004292112407711102,
-0.01532828900963068,
-0.039570361375808716,
-0.03915223106741905,
-0.03907620906829834,
0.046336475759744644,
-0.04356160759925842,
0.020735478028655052,
-0.007911221124231815,
-0.011584118939936161,
-0.05610552802681923,
0.000857049017213285,
0.02544895000755787,
-0.03622531518340111,
-0.019633132964372635,
0.013057079166173935,
-0.03137880191206932,
-0.022446012124419212,
-0.01499568484723568,
-0.04097680002450943,
0.027786681428551674,
-0.04124288260936737,
0.02020331099629402,
-0.027007436379790306,
0.032861266285181046,
-0.009731040336191654,
0.006020130589604378,
0.004798999056220055,
0.02776767499744892,
-0.036738477647304535,
-0.024327600374817848,
0.009455453604459763,
0.0644681379199028,
0.049035318195819855,
-0.01388383749872446,
-0.009507720358669758,
0.056865766644477844,
-0.007901718840003014,
0.01563238352537155,
-0.07245063036680222,
-0.0016939041670411825,
-0.023301279172301292,
0.0076403869315981865,
-0.02790071628987789,
0.009526725858449936,
-0.023776426911354065,
-0.012848014011979103,
0.006576054263859987,
0.007635635323822498,
-0.05184819921851158,
0.004941543564200401,
-0.06853540986776352,
0.025562986731529236,
-0.010671833530068398,
-0.038372986018657684,
0.06853540986776352,
0.047324784100055695,
0.03616829961538315,
-0.046868640929460526,
0.06287164241075516,
-0.02657030150294304,
-0.015100217424333096,
0.054699089378118515,
0.06667283177375793,
0.03373553976416588,
-0.061997368931770325,
-0.03394460305571556,
0.0012270708102732897,
-0.019956234842538834,
0.037460703402757645,
0.046868640929460526,
0.01705782860517502,
-0.01972816325724125,
0.03424869850277901,
-0.013133103027939796,
0.04348558560013771,
0.005402437876909971,
-0.044625941663980484,
-0.02921212650835514,
0.05184819921851158,
-0.035084959119558334,
-0.007022693753242493,
-0.000048925441660685465,
-0.05215229094028473,
-0.032519157975912094,
0.016924787312746048,
-0.0506698302924633,
-0.011327538639307022,
-0.03806889429688454,
0.026266206055879593,
0.026817377656698227,
-0.01916748844087124,
-0.01961412839591503,
0.02651328220963478,
-0.049757543951272964,
0.014891152270138264,
0.0012876522960141301,
-0.03512297198176384,
0.030048387125134468,
-0.0017687400104478002,
-0.01732391119003296,
0.00532641401514411,
-0.013133103027939796,
0.0710441917181015,
0.05580143257975578,
0.006623569410294294,
0.047400809824466705,
-0.0345337875187397,
0.01868283748626709,
0.023662392050027847,
-0.018416753038764,
-0.06150321289896965,
0.054889146238565445,
-0.00035368860699236393,
0.08507057279348373,
0.02020331099629402,
-0.053444694727659225,
-0.020089276134967804,
-0.022579053416848183,
-0.042801372706890106,
-0.023909470066428185,
0.019024943932890892,
0.06150321289896965,
0.01483413390815258,
0.022712094709277153,
-0.01980418711900711,
0.07936879247426987,
0.013674772344529629,
-0.012325350195169449,
0.10164375603199005,
-0.005891840439289808,
0.01368427462875843,
-0.04850315302610397,
0.012952546589076519,
0.032785240560770035,
0.060286834836006165,
0.01002563163638115,
0.004247826989740133,
-0.02790071628987789,
0.01716236211359501,
0.03839199244976044,
0.011631634086370468,
-0.016715722158551216,
0.01236336212605238,
-0.03343144431710243,
0.03234810382127762,
-0.020146293565630913,
-0.03519899770617485,
0.05618155002593994,
0.010462768375873566,
0.07070209085941315,
-0.0009544544154778123,
0.009712033905088902,
-0.06135116517543793,
-0.03749871626496315,
-0.01145107764750719,
0.013674772344529629,
-0.03670046478509903,
0.03742269054055214,
0.018416753038764,
-0.028984054923057556,
0.022312970831990242,
-0.043827690184116364,
-0.017333414405584335,
0.00817730464041233,
-0.015480335801839828,
-0.0526084341108799,
-0.017124349251389503,
0.012553421780467033,
-0.027862705290317535,
-0.02742556855082512,
-0.004483025521039963,
-0.016858266666531563,
0.07256466895341873,
-0.0044663953594863415,
-0.04458792880177498,
-0.002962550614029169,
0.004226445220410824,
0.02360537461936474,
-0.03922825679183006,
-0.047324784100055695,
0.04086276516318321,
0.028565924614667892,
-0.051468078047037125,
-0.009441199712455273,
-0.03343144431710243,
-0.05663769319653511,
-0.036339353770017624,
0.059108465909957886,
-0.011432071216404438,
0.022122912108898163,
0.061997368931770325,
0.05971665680408478,
-0.05203825607895851,
0.03677649050951004,
0.029383178800344467,
0.003938980400562286,
0.02256004698574543,
-0.011555610224604607,
0.06918161362409592,
0.0200512632727623,
0.015480335801839828,
0.021723786368966103,
0.03162588179111481,
-0.00024336509522981942,
0.049377426505088806,
-0.02178080379962921,
0.039494339376688004,
0.014358986169099808,
0.012116285040974617,
-0.03736567497253418,
0.05184819921851158,
0.0022842760663479567,
-0.03464782238006592,
-0.03865807503461838,
0.033906593918800354,
-0.03426770493388176,
-0.016554171219468117,
-0.023453326895833015,
0.014843637123703957,
-0.10947419703006744,
0.023263268172740936,
0.02282613143324852,
0.016449639573693275,
0.0021500466391444206,
-0.02012728713452816,
0.04071071743965149,
0.0060058762319386005,
-0.01788458786904812,
-0.01193572860211134,
0.010320223867893219,
-0.050289709120988846,
0.020222317427396774,
0.05500318482518196,
-0.02079249545931816,
-0.016592184081673622,
-0.03365951403975487,
-0.018540291115641594,
-0.03987445682287216,
0.005506970454007387,
-0.04261131212115288,
0.03782181441783905,
-0.004623194225132465,
0.037384677678346634,
0.04257329925894737,
-0.08385419845581055,
-0.04553822800517082,
-0.03162588179111481,
0.012610439211130142,
-0.07226057350635529,
-0.027976740151643753,
0.0697517916560173,
-0.026399247348308563,
0.020944543182849884,
0.002822381677106023,
0.01894892007112503,
0.02362438105046749,
-0.04854116588830948,
0.035940226167440414,
0.035351045429706573,
0.046944666653871536,
0.005849077366292477,
-0.05089790001511574,
0.006409752648323774,
0.00412904005497694,
-0.01102344412356615,
-0.02750159241259098,
0.01651616021990776,
-0.01897742785513401,
0.006557048298418522,
-0.004335729405283928,
0.08522262424230576,
-0.1460416167974472,
0.05960261821746826,
-0.07982493937015533,
-0.039760421961545944,
0.0004273366357665509,
0.08332203328609467,
-0.0013209126191213727,
-0.011223006062209606,
0.049035318195819855,
-0.022465018555521965,
-0.015195246785879135,
-0.006067645736038685,
-0.0017437947681173682,
-0.009365175850689411,
-0.0036348856519907713,
0.024916784837841988,
-0.03991246968507767,
0.05412891134619713,
0.035160984843969345,
-0.019785180687904358,
0.044435881078243256,
0.006975179072469473,
0.05234235152602196,
0.03346945717930794,
0.05374879017472267,
-0.021913845092058182,
0.002327039372175932,
0.009864081628620625,
-0.061807308346033096,
-0.027444573119282722,
-0.02934516780078411,
0.01026320643723011,
0.021913845092058182,
-0.029953356832265854,
0.01651616021990776,
0.07537754625082016,
0.04268733412027359,
0.021096590906381607,
0.02630421705543995,
0.02031734772026539,
-0.014235447160899639,
-0.057055823504924774,
-0.07203250378370285,
0.03867708146572113,
0.01847377046942711,
0.031606875360012054,
0.019481085240840912,
-0.05990671366453171,
-0.045956358313560486,
-0.011584118939936161,
-0.018853889778256416,
0.04679261893033981,
-0.02657030150294304,
0.06355585157871246,
-0.04348558560013771,
0.0220468882471323,
0.010871396400034428,
0.06496229767799377,
-0.023206248879432678,
-0.02643725834786892,
0.005221881438046694,
-0.0210585780441761,
-0.003470959374681115,
0.10293615609407425,
0.014358986169099808,
0.005183869507163763,
-0.011888213455677032,
0.03900018334388733,
-0.006789871025830507,
0.03770777955651283,
0.010510283522307873,
-0.006994185037910938,
-0.043105464428663254,
0.017095841467380524,
-0.01980418711900711,
0.053634755313396454,
-0.07085413485765457,
-0.05340668559074402,
-0.0018637697212398052,
0.03413466364145279,
0.0185783039778471,
-0.06070496514439583,
-0.004385619889944792,
0.03392559662461281,
0.10825782269239426,
-0.032918285578489304,
0.06207339093089104,
0.006010627839714289,
-0.023567361757159233,
-0.023339292034506798,
-0.007013191003352404,
0.05222831666469574,
-0.00802050530910492,
-0.031473834067583084,
-0.03326039016246796,
0.030048387125134468,
0.006428758148103952,
-0.012287338264286518,
0.027615627273917198,
-0.007469333242624998,
-0.004373741336166859,
-0.044625941663980484,
-0.01411190815269947,
-0.0016190683236345649,
-0.05485113710165024,
0.009940105490386486,
0.020184306427836418,
0.015888962894678116,
-0.04439786821603775,
0.0631377249956131,
0.0749974325299263,
-0.03407764434814453,
0.05945057421922684,
0.007098717615008354,
-0.05382481589913368,
-0.05610552802681923,
0.0035374800208956003,
-0.03434373065829277,
0.0011884650448337197,
-0.024745730683207512,
-0.0033521722070872784,
-0.04242125153541565,
0.009564737789332867,
-0.017276396974921227,
-0.015679897740483284,
0.020697465166449547,
0.02664632350206375,
0.01700081117451191,
0.0016380742890760303,
0.022084899246692657,
0.014957672916352749,
-0.02256004698574543,
0.057854074984788895,
-0.02229396440088749,
0.004492528270930052,
-0.05234235152602196,
-0.0236813984811306,
0.021400686353445053,
0.028851013630628586,
0.01002563163638115,
-0.009940105490386486,
0.052190303802490234,
0.002221318893134594,
-0.01371278427541256,
0.020032258704304695,
0.035693150013685226,
-0.009042074903845787,
-0.06488627195358276,
-0.04914935305714607,
-0.0011165988398715854,
0.059298526495695114,
-0.027919722720980644,
-0.05800612270832062,
0.02980130910873413,
0.04679261893033981,
-0.04500605911016464,
0.0036348856519907713,
0.044245824217796326,
0.012496404349803925,
0.043827690184116364,
0.046602558344602585,
-0.02387145720422268,
0.018483273684978485,
0.00942219328135252,
0.05800612270832062,
-0.01720987632870674,
0.005901343654841185,
-0.028337853029370308,
0.026209188625216484,
0.03825895115733147,
-0.030086399987339973,
-0.030485523864626884,
0.02242700569331646,
-0.046602558344602585,
-0.015385306440293789,
-0.035218000411987305,
0.08697117120027542,
-0.00728402566164732,
0.06621668487787247,
-0.03170190379023552,
-0.015138229355216026,
-0.011175490915775299,
-0.004494904074817896,
0.010139667429029942,
-0.06241549924015999,
-0.06408802419900894,
0.03624432161450386,
0.002411378314718604,
-0.036472395062446594,
0.07283075153827667,
0.0016772740054875612,
-0.003278524149209261,
0.00946020521223545,
-0.028394870460033417,
0.018407249823212624,
0.03702356666326523,
0.014168926514685154,
0.025505967438220978,
-0.0004178336530458182,
-0.013931352645158768,
-0.004763362929224968,
0.0058443257585167885,
-0.008756985887885094,
0.02065945416688919,
-0.005084088072180748,
-0.049377426505088806,
0.017808564007282257,
0.054623063653707504,
-0.05139205604791641,
0.000023701741156401113,
0.014092902652919292,
-0.02782469242811203,
-0.038163922727108,
-0.01953810453414917,
-0.0835501030087471,
0.012705469503998756,
-0.007968239486217499,
-0.010282211937010288,
-0.021875834092497826,
0.024688713252544403,
-0.007131977938115597,
-0.07191846519708633,
0.00907533522695303,
0.015432821586728096,
0.011850202456116676,
-0.022864142432808876,
-0.07389508187770844,
-0.007079711649566889,
-0.015888962894678116,
-0.011831196025013924,
-0.027083460241556168,
0.03850603103637695,
-0.10993034392595291,
-0.005345419980585575,
0.0038201934657990932,
0.05314060300588608,
-0.008243825286626816,
-0.006443012971431017,
0.018511783331632614,
-0.006400249432772398,
0.029060078784823418,
-0.07511146366596222,
0.025543980300426483,
0.025562986731529236,
0.08773140609264374,
0.014168926514685154,
-0.054166920483112335,
0.04090077802538872,
-0.0012365737929940224,
0.04576629772782326,
0.04188908636569977,
-0.004637448582798243,
-0.04093879088759422,
-0.03413466364145279,
0.030428506433963776,
0.0200512632727623,
0.022731101140379906,
0.054965171962976456,
-0.024878771975636482,
0.031739916652441025,
0.044625941663980484,
-0.018796872347593307,
-0.015993496403098106,
-0.01745695434510708,
0.014254452660679817,
-0.042269203811883926,
0.00251591089181602,
-0.07735416293144226,
-0.020868519321084023,
0.05321662500500679,
0.015062205493450165,
-0.037384677678346634,
0.01516673807054758,
-0.02603813447058201,
-0.013237635605037212,
0.038905154913663864,
-0.003335542045533657,
-0.05880437046289444,
-0.03474285453557968,
-0.024175552651286125,
0.02520187385380268,
-0.015993496403098106,
-0.0038867141120135784,
0.005939355585724115,
0.006414503790438175,
0.002520662499591708,
-0.05401487275958061,
-0.01689627766609192,
-0.017475958913564682,
0.03934229165315628,
0.05504119396209717,
0.023396309465169907,
0.027254514396190643,
0.01193572860211134,
-0.025829069316387177,
0.017970113083720207,
-0.03419168293476105,
-0.01878736913204193,
0.008063268847763538,
-0.00682313134893775,
0.015736917033791542,
-0.04238324239850044,
0.018274208530783653,
-0.01729540340602398,
-0.02314923144876957,
0.022008875384926796,
-0.02242700569331646,
0.05044175684452057,
-0.0009229758288711309,
0.04063469544053078,
-0.005958361551165581,
-0.022598059847950935,
-0.05888039618730545,
0.04378968104720116,
0.0585382878780365,
0.007141481153666973,
0.015280773863196373,
0.08126939088106155,
0.008833009749650955,
-0.028451887890696526,
-0.022008875384926796,
-0.004613691475242376,
-0.054166920483112335,
-0.014492027461528778,
0.04987157881259918,
-0.06435410678386688,
0.024308593943715096,
-0.008695216849446297,
-0.049757543951272964,
0.011717160232365131,
-0.0486932136118412,
-0.024878771975636482,
-0.09442149847745895,
-0.0009835573146119714,
0.003347420832142234,
0.041090838611125946,
0.0005473116179928184,
-0.030542541295289993,
0.006167426705360413,
0.022465018555521965,
0.007521599996834993,
-0.047590866684913635,
0.02236998826265335,
0.03803088143467903,
-0.05583944544196129,
0.005164863541722298,
-0.011270521208643913,
-0.018825381994247437,
0.01582244224846363,
-0.014330476522445679,
-0.05827220529317856,
0.0348568893969059,
-0.019386056810617447,
-0.016687212511897087,
0.027995746582746506,
0.01213529147207737,
-0.008695216849446297,
-0.056941788643598557,
0.02715948410332203,
0.02617117576301098,
-0.010633821599185467,
-0.0025230383034795523,
0.0011177867418155074,
-0.012962049804627895,
0.005402437876909971,
0.02143869735300541,
0.07286876440048218,
-0.04367564618587494,
-0.06131315603852272,
0.016715722158551216,
0.00763088371604681,
0.03734666854143143,
0.016582680866122246,
0.0022058766335248947,
-0.014767613261938095,
0.01919599622488022,
0.031606875360012054,
-0.02683638408780098,
-0.011146982200443745,
0.05409089848399162,
0.05808214470744133,
0.004858392756432295,
0.011394059285521507,
0.0005680993781425059,
0.011099467054009438,
-0.01069083996117115,
-0.02275010757148266,
0.047666892409324646,
0.00015575959696434438,
-0.06161724776029587,
-0.02413753978908062,
0.06598861515522003,
-0.011964237317442894,
-0.012258829548954964,
-0.04591834545135498,
-0.033640507608652115,
-0.045956358313560486,
-0.026874395087361336,
-0.03447677195072174,
-0.031739916652441025,
0.027121473103761673,
0.08210565149784088,
0.03525601327419281,
-0.006718598771840334,
-0.025239884853363037,
0.017713533714413643,
-0.03987445682287216,
0.024365611374378204,
-0.05865232273936272,
-0.03491390869021416,
-0.033184368163347244,
0.023054203018546104,
-0.04158499091863632,
-0.00763088371604681,
0.06150321289896965,
-0.03525601327419281,
-0.013389683328568935,
-0.002032447373494506,
0.02689340151846409,
-0.05530727654695511,
0.002466020407155156,
0.06275760382413864,
-0.015024193562567234,
0.038791120052337646,
0.02630421705543995,
0.003390184137970209,
0.019186493009328842,
0.007564363069832325,
0.048845257610082626,
-0.06393597275018692,
-0.03850603103637695,
-0.017742043361067772,
-0.04747683182358742,
0.0200512632727623,
0.10240399092435837,
-0.023168237879872322,
-0.0243466068059206,
0.025886086747050285,
-0.03244313597679138,
-0.013427695259451866,
-0.02715948410332203,
-0.011888213455677032,
0.05557336285710335,
0.00428346311673522,
0.04960549622774124,
-0.040558669716119766,
0.0043594869785010815,
-0.015385306440293789,
0.031283773481845856,
0.054623063653707504,
0.02961125038564205,
-0.05295054242014885,
0.013228132389485836,
-0.03998849168419838,
-0.026456264778971672,
-0.0044758981093764305,
-0.0017960610566660762,
0.052266329526901245,
-0.0014266332145780325,
0.01686776988208294,
0.06112309545278549,
-0.03326039016246796,
0.006975179072469473,
-0.001085714204236865,
0.06693891435861588,
0.022788118571043015,
-0.004832259379327297,
0.03960837423801422,
-0.014520536176860332,
0.0017877459758892655,
0.015337791293859482
] |
711,103
|
yt_dlp.YoutubeDL
|
_calc_cookies
| null |
def _calc_cookies(self, url):
self.deprecation_warning('"YoutubeDL._calc_cookies" is deprecated and may be removed in a future version')
return self.cookiejar.get_cookie_header(url)
|
(self, url)
|
[
-0.06941378116607666,
-0.005681601818650961,
-0.02566501684486866,
0.0215613953769207,
0.00946788676083088,
0.04889568313956261,
-0.014779988676309586,
0.046461328864097595,
-0.007629082538187504,
0.02390880510210991,
0.0012791211484000087,
0.02154400758445263,
0.02825586125254631,
0.02239602990448475,
0.04034067690372467,
-0.039401713758707047,
0.0779687911272049,
0.041036203503608704,
0.02914266102015972,
-0.05672037973999977,
-0.034793831408023834,
-0.018048975616693497,
-0.027229955419898033,
-0.02929915487766266,
-0.03220298886299133,
0.02396097034215927,
0.017188258469104767,
0.019248763099312782,
-0.004968684632331133,
-0.016675304621458054,
-0.07435204088687897,
0.06885736435651779,
-0.04729596525430679,
0.03173350542783737,
-0.029055720195174217,
0.0035906678531318903,
0.03512420877814293,
-0.050773609429597855,
-0.06600569188594818,
0.016240600496530533,
-0.06572747975587845,
-0.00766385905444622,
-0.002723430283367634,
-0.03128141164779663,
-0.03147268295288086,
0.03251597657799721,
-0.07014408707618713,
0.030794542282819748,
-0.03707168996334076,
-0.07622996717691422,
0.0332636684179306,
0.0054033901542425156,
0.05484245344996452,
-0.01983996108174324,
0.03015117719769478,
-0.010093863122165203,
0.059606827795505524,
-0.00025715550873428583,
-0.042809803038835526,
0.15245993435382843,
0.007442159112542868,
-0.0038732264656573534,
-0.00021327740978449583,
-0.004833925981074572,
0.02263946644961834,
0.035715408623218536,
0.043227121233940125,
-0.021265795454382896,
-0.03510682284832001,
-0.03602839633822441,
0.04051455855369568,
-0.007211765274405479,
0.02133534848690033,
-0.030359836295247078,
0.015179918147623539,
-0.06298014521598816,
0.0027147361543029547,
-0.041731733828783035,
-0.05626828595995903,
0.0013454137369990349,
-0.03512420877814293,
-0.06291058659553528,
0.05738113448023796,
-0.005685948766767979,
0.029664307832717896,
0.022795960307121277,
0.027542944997549057,
-0.016127577051520348,
-0.02976863645017147,
0.11810080707073212,
-0.03166395425796509,
0.022482970729470253,
-0.043853096663951874,
-0.021630948409438133,
-0.01893577352166176,
-0.028621014207601547,
0.0012682534288614988,
0.03787154704332352,
-0.0004474750312510878,
-0.005942425224930048,
0.006368436384946108,
0.06391910463571548,
-0.05564231052994728,
-0.03427218645811081,
-0.02307417057454586,
-0.058076661080121994,
-0.04124486446380615,
-0.02481299266219139,
0.008224628865718842,
-0.010015616193413734,
0.006551012862473726,
-0.04673954099416733,
0.014197483658790588,
0.037454232573509216,
0.09320086985826492,
-0.05244287848472595,
-0.013606283813714981,
-0.02133534848690033,
-0.022552523761987686,
0.03065543621778488,
-0.032029107213020325,
0.030951036140322685,
-0.012145672924816608,
0.03648049011826515,
-0.03541981056332588,
-0.006164124701172113,
-0.0025039040483534336,
0.010033003985881805,
0.026464873924851418,
0.050982266664505005,
0.002425657119601965,
0.010876333341002464,
0.02957736700773239,
-0.009633075445890427,
0.010085169225931168,
-0.031768281012773514,
0.03623705729842186,
0.05571186542510986,
-0.03533286973834038,
-0.0048078433610498905,
-0.03929738327860832,
0.04552236571907997,
-0.00875062309205532,
-0.02477821707725525,
0.01768382266163826,
-0.002919047838076949,
-0.006777059752494097,
-0.05891129747033119,
-0.07581265270709991,
-0.029803413897752762,
0.07449114322662354,
-0.00799423549324274,
0.009137511253356934,
-0.05324273556470871,
0.019509585574269295,
-0.0332636684179306,
-0.026638757437467575,
-0.016892658546566963,
-0.002137664705514908,
-0.01592761091887951,
0.03832364082336426,
0.0027016950771212578,
-0.017370834946632385,
-0.041523076593875885,
0.016118882223963737,
0.002606059890240431,
0.09793046861886978,
0.003931911662220955,
0.0028929654508829117,
0.014154013246297836,
0.007476935628801584,
0.02865578979253769,
0.030794542282819748,
0.03489816188812256,
-0.035280704498291016,
-0.011363203637301922,
-0.026830026879906654,
-0.01012863963842392,
0.02606494538486004,
0.012023955583572388,
0.008381123654544353,
-0.020361607894301414,
-0.0375237837433815,
0.051190927624702454,
0.016657916828989983,
0.0011443623807281256,
0.057902779430150986,
0.016936128959059715,
0.05519021674990654,
0.03521114960312843,
-0.03241164609789848,
-0.006811836268752813,
-0.007511712145060301,
-0.032237764447927475,
0.04121008887887001,
-0.06941378116607666,
-0.028394967317581177,
-0.0027560333255678415,
-0.01577111706137657,
-0.03428957611322403,
0.004720902536064386,
0.03340277448296547,
-0.04378354549407959,
-0.08054224401712418,
0.01619713008403778,
0.05988503620028496,
-0.03672392666339874,
-0.01855323277413845,
-0.03881051391363144,
0.02110930159687996,
0.006224983837455511,
-0.00037357507972046733,
-0.04917389154434204,
-0.03380270302295685,
-0.04653088375926018,
-0.06663166731595993,
0.0004146004212088883,
-0.002951650647446513,
0.05303407832980156,
-0.005351225379854441,
0.028968779370188713,
-0.018135916441679,
-0.007985541597008705,
-0.003981902729719877,
0.011389285326004028,
-0.0371064655482769,
0.022987229749560356,
0.04180128499865532,
-0.031803060322999954,
-0.11142373085021973,
0.008202893659472466,
0.008494147099554539,
0.04837403446435928,
0.005998936947435141,
0.05525977164506912,
0.008911464363336563,
-0.022535135969519615,
0.03943648934364319,
0.023195888847112656,
0.01552768237888813,
-0.010615509934723377,
0.006125001236796379,
0.06896168738603592,
0.11114551872015,
-0.012180449441075325,
0.057868003845214844,
0.02044854871928692,
0.047782834619283676,
-0.007794270757585764,
0.008685417473316193,
-0.041279640048742294,
-0.04548759013414383,
0.014710436575114727,
-0.03430696204304695,
-0.012615155428647995,
-0.003981902729719877,
-0.023595817387104034,
0.03082931786775589,
-0.007420423906296492,
-0.055294547230005264,
0.03042938932776451,
-0.02971647121012211,
0.04315756633877754,
-0.03541981056332588,
-0.06701420992612839,
0.03672392666339874,
0.04308801516890526,
0.004999113734811544,
-0.0671880915760994,
0.028412355110049248,
-0.018170692026615143,
-0.05588574707508087,
-0.05275586619973183,
-0.037002138793468475,
0.01411923673003912,
-0.10808519273996353,
-0.04555714130401611,
-0.018188079819083214,
0.01726650446653366,
0.020205114036798477,
0.030342448502779007,
-0.030359836295247078,
-0.010937191545963287,
0.0340983048081398,
-0.02976863645017147,
0.03860185295343399,
-0.018640173599123955,
0.0014801723882555962,
0.019561750814318657,
-0.029073107987642288,
-0.09104473143815994,
-0.02606494538486004,
0.05609440430998802,
-0.028638402000069618,
-0.018883610144257545,
-0.0038667060434818268,
-0.003942779265344143,
-0.0072552356868982315,
0.0016008032253012061,
0.05859830975532532,
-0.047956716269254684,
0.03164656460285187,
-0.07101350277662277,
-0.0022648160811513662,
-0.004933908116072416,
-0.03016856499016285,
0.004820884671062231,
0.0013160711387172341,
0.026899579912424088,
0.007503017783164978,
0.016066716983914375,
0.03507204353809357,
0.025978004559874535,
-0.011076297610998154,
-0.038775734603405,
0.012554296292364597,
-0.047574177384376526,
-0.0023778395261615515,
0.03801065310835838,
0.024204405024647713,
0.016084106639027596,
-0.013493260368704796,
0.0006145649822428823,
0.038775734603405,
0.018431516364216805,
-0.028568848967552185,
0.02368275821208954,
-0.024065298959612846,
0.03215082362294197,
0.017979422584176064,
-0.07776013016700745,
0.04225337877869606,
-0.059815485030412674,
-0.009946063160896301,
0.019961679354310036,
0.009772180579602718,
0.0002507707686163485,
-0.015284247696399689,
0.02416962943971157,
-0.029455648735165596,
-0.06454508006572723,
-0.09681762009859085,
-0.07776013016700745,
0.016084106639027596,
-0.016075411811470985,
-0.05522499606013298,
0.02178744226694107,
0.006342354230582714,
0.03362882137298584,
-0.05233854800462723,
-0.009520052000880241,
-0.029264377430081367,
0.009911286644637585,
0.07087439298629761,
0.030359836295247078,
0.020205114036798477,
-0.00491217290982604,
-0.051851678639650345,
0.030985811725258827,
0.022117819637060165,
0.022343866527080536,
-0.0018420647829771042,
0.0328463539481163,
0.013675836846232414,
0.0002261827321490273,
-0.03168134018778801,
0.04715685918927193,
-0.04183606430888176,
0.006064142566174269,
-0.015597235411405563,
-0.056198734790086746,
0.035437196493148804,
0.04614834114909172,
-0.003266812302172184,
-0.010328603908419609,
-0.007124823983758688,
0.0686139240860939,
0.018431516364216805,
0.002488689264282584,
-0.0032494240440428257,
-0.02931654267013073,
0.009198369458317757,
-0.06923989951610565,
0.0012063079047948122,
-0.03302023559808731,
0.004136223345994949,
-0.03428957611322403,
-0.015571152791380882,
0.008820176124572754,
0.03239426016807556,
0.02780376747250557,
0.019231373444199562,
0.009215758182108402,
0.020518101751804352,
-0.013901883736252785,
0.01100674457848072,
-0.06138042360544205,
-0.0038580119144171476,
0.05672037973999977,
-0.0002545744355302304,
0.05240810289978981,
-0.013754083774983883,
-0.005572925321757793,
-0.014719130471348763,
-0.03255075216293335,
-0.0008976669632829726,
-0.002065938198938966,
-0.028742732480168343,
-0.009154899045825005,
-0.05953727290034294,
-0.029038330540060997,
-0.04051455855369568,
-0.026482263579964638,
0.00592503696680069,
0.03644571453332901,
-0.014093154110014439,
0.012154367752373219,
-0.04802627116441727,
0.035680633038282394,
0.021404901519417763,
0.03860185295343399,
-0.02846452035009861,
-0.044096533209085464,
0.040236346423625946,
-0.009346169419586658,
0.0014758253237232566,
-0.007746452931314707,
0.037002138793468475,
-0.010102557018399239,
-0.03086409531533718,
0.07643862813711166,
0.029003554955124855,
-0.017944645136594772,
-0.03748900815844536,
0.008176811970770359,
0.04760895296931267,
-0.007972500286996365,
0.06913556903600693,
-0.03682825341820717,
0.04037545248866081,
-0.008441981859505177,
0.029420873150229454,
-0.024413064122200012,
0.04444429650902748,
0.08506318181753159,
-0.009754792787134647,
0.01065898034721613,
0.03208126872777939,
-0.05567708984017372,
-0.07191769033670425,
-0.01900532655417919,
0.03016856499016285,
-0.023665370419621468,
-0.021735278889536858,
-0.004177520517259836,
0.07056140899658203,
-0.035037267953157425,
0.0371064655482769,
-0.017309974879026413,
0.008437635377049446,
0.012432578951120377,
0.025578076019883156,
0.03477644547820091,
0.012406496331095695,
-0.025317251682281494,
0.010528569109737873,
0.003290720982477069,
-0.03467211499810219,
-0.010050392709672451,
-0.002734297886490822,
0.010276439599692822,
0.002434351248666644,
-0.02630838006734848,
-0.03644571453332901,
-0.05585097149014473,
0.01745777577161789,
-0.020848479121923447,
0.032672468572854996,
0.05435558408498764,
0.04458340257406235,
-0.042357709258794785,
0.036132726818323135,
0.00894624087959528,
-0.065518818795681,
0.00904187560081482,
-0.013614977709949017,
-0.030464164912700653,
-0.02976863645017147,
0.07720370590686798,
0.00743781216442585,
0.004799149464815855,
0.02780376747250557,
-0.041070982813835144,
-0.016736164689064026,
0.05692904070019722,
0.03811498358845711,
0.0358545146882534,
0.00894624087959528,
-0.0027060420252382755,
-0.001554072368890047,
-0.004986072890460491,
-0.008646293543279171,
-0.00048659852473065257,
0.027038685977458954,
0.007394341751933098,
-0.041523076593875885,
-0.018605398014187813,
0.014484389685094357,
0.047748059034347534,
0.01411923673003912,
-0.009650463238358498,
0.07956850528717041,
0.0011910932371392846,
0.003553717862814665,
-0.00416230596601963,
-0.05519021674990654,
-0.08506318181753159,
0.031577013432979584,
0.02691696770489216,
0.03508943319320679,
-0.017840316519141197,
0.09174025803804398,
0.08388078212738037,
-0.006794448010623455,
-0.04854791611433029,
0.013571507297456264,
-0.04350533336400986,
-0.008520228788256645,
-0.0025778040289878845,
0.03215082362294197,
-0.02416962943971157,
-0.04249681532382965,
-0.023439323529601097,
0.03227254003286362,
-0.03616750240325928,
-0.011328427121043205,
-0.036967359483242035,
-0.0007802964537404478,
-0.034359127283096313,
-0.017596881836652756,
0.0551554411649704,
-0.0439574271440506,
0.003771070623770356,
0.05644217133522034,
-0.05327751487493515,
0.052929747849702835,
0.013849719427525997,
0.07595175504684448,
-0.023665370419621468,
0.031194470822811127,
-0.015866752713918686,
0.030533717945218086,
0.06110221520066261,
-0.08861038088798523,
0.055051110684871674,
-0.03406352922320366,
0.026134498417377472,
-0.028412355110049248,
-0.012962919659912586,
-0.028534073382616043,
0.03430696204304695,
-0.04698297753930092,
-0.04924344643950462,
-0.031994327902793884,
-0.06527538597583771,
-0.05470334738492966,
0.028638402000069618,
-0.0004382375336717814,
-0.04256637021899223,
-0.025821510702371597,
0.045174602419137955,
0.03279418870806694,
0.05115615203976631,
0.05835487321019173,
-0.008685417473316193,
0.0006553186103701591,
-0.005938077811151743,
0.013501954264938831,
0.06562314927577972,
0.03251597657799721,
0.015362494625151157,
0.006455377675592899,
0.015179918147623539,
-0.026708310469985008,
0.02288290113210678,
-0.03237687051296234,
0.06798794865608215,
-0.002488689264282584,
0.03637615963816643,
0.022795960307121277,
-0.05084316059947014,
0.004725249484181404,
0.0064032129012048244,
-0.021422289311885834,
-0.05567708984017372,
0.002543027512729168,
-0.019909514114260674,
0.00374281476251781,
-0.05459901690483093,
0.05605962872505188,
0.06405821442604065,
0.007203070912510157,
0.019457420334219933,
0.007972500286996365,
0.015292941592633724,
0.00972001627087593,
-0.053138408809900284,
0.01811852864921093,
-0.025612851604819298,
-0.07428248971700668,
-0.03477644547820091,
0.015562458895146847,
-0.029420873150229454,
-0.017362140119075775,
0.012806425802409649,
0.05000852793455124,
-0.032707247883081436,
-0.03602839633822441,
-0.05178212746977806,
0.02632576785981655,
0.025717180222272873,
0.013197660446166992,
0.028099367395043373,
0.023578429594635963,
0.03251597657799721,
-0.009641769342124462,
0.02823847346007824,
0.002386533422395587,
0.0012345637660473585,
0.01987473852932453,
0.024865157902240753,
0.026621367782354355,
0.0661100223660469,
-0.03519376367330551,
-0.0015942826867103577,
0.05386871472001076,
0.004838272929191589,
-0.002573456848040223,
0.021648336201906204,
-0.0029168743640184402,
-0.004303585272282362,
0.04816537722945213,
-0.027316898107528687,
0.041105758398771286,
0.010563344694674015,
-0.03126402571797371,
-0.033767927438020706,
0.03453300893306732,
0.08388078212738037,
-0.06764018535614014,
-0.02740383893251419,
-0.003195085795596242,
0.05279064178466797,
0.0074943238869309425,
-0.003088583005592227,
-0.05369482934474945,
-0.009946063160896301,
0.03507204353809357,
0.044965941458940506,
-0.06882258504629135,
0.04854791611433029,
-0.005620742682367563,
-0.005903301294893026,
0.002216998254880309,
-0.012250002473592758,
-0.0108850272372365,
-0.029629530385136604,
0.04162740334868431,
0.0013356328709051013,
-0.05178212746977806,
0.07063096016645432,
0.015884140506386757,
0.0073769534938037395,
0.003025550628080964,
0.0001392416306771338,
-0.05519021674990654,
-0.016301458701491356,
-0.00042655481956899166,
0.05279064178466797,
0.017309974879026413,
0.05063450336456299,
0.04639177769422531,
-0.010345992632210255,
-0.01055465079843998,
-0.002436524722725153,
0.006098919082432985,
0.021074526011943817,
0.007694288622587919,
-0.072543665766716,
-0.0340113639831543,
-0.025769345462322235,
0.024239182472229004,
-0.019109657034277916,
0.014319201000034809,
0.01723172888159752,
0.025073816999793053,
0.02267424203455448,
0.07657773047685623,
0.06409298628568649,
-0.0031059712637215853,
-0.04263592138886452,
-0.013501954264938831,
0.011224097572267056,
0.04183606430888176,
-0.010241663083434105,
0.01743169315159321,
0.043053239583969116,
-0.036584820598363876,
-0.05564231052994728,
-0.0018485854379832745,
-0.014006213285028934,
-0.043540108948946,
-0.01422356627881527,
0.02067459560930729,
0.011702273972332478,
0.03992335870862007,
-0.019561750814318657,
-0.06211072951555252,
0.028742732480168343,
0.05345139652490616,
0.014197483658790588,
0.012736872769892216,
0.009772180579602718,
0.08485452830791473,
-0.051469139754772186,
0.014423530548810959,
0.02886444889008999,
0.001638839952647686,
-0.030742377042770386,
-0.0029690389055758715,
-0.030759764835238457,
0.021074526011943817,
-0.02653442695736885,
0.04847836494445801,
-0.03390703350305557,
0.011615332216024399,
-0.02521292306482792,
-0.0031255329959094524,
-0.019735632464289665,
0.02568240463733673,
-0.012997696176171303,
-0.014267036691308022,
-0.01678832806646824,
0.054251253604888916,
0.04677431657910347,
-0.05327751487493515,
-0.004925214219838381,
-0.04548759013414383,
0.01724911667406559,
-0.019544361159205437,
-0.023387158289551735,
0.007229153532534838,
0.006264107301831245,
-0.011432756669819355,
-0.01640578731894493,
-0.02505642920732498,
0.0020474630873650312,
-0.011650108732283115,
0.032446421682834625,
0.029907742515206337,
-0.058146215975284576,
0.04893045872449875,
-0.0053555723279714584,
0.04211427643895149,
-0.0006281495443545282,
-0.005481637082993984,
0.005564230959862471,
-0.016927434131503105
] |
711,104
|
yt_dlp.YoutubeDL
|
_calc_headers
| null |
def _calc_headers(self, info_dict, load_cookies=False):
res = HTTPHeaderDict(self.params['http_headers'], info_dict.get('http_headers'))
clean_headers(res)
if load_cookies: # For --load-info-json
self._load_cookies(res.get('Cookie'), autoscope=info_dict['url']) # compat
self._load_cookies(info_dict.get('cookies'), autoscope=False)
# The `Cookie` header is removed to prevent leaks and unscoped cookies.
# See: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-v8mc-9377-rwjj
res.pop('Cookie', None)
cookies = self.cookiejar.get_cookies_for_url(info_dict['url'])
if cookies:
encoder = LenientSimpleCookie()
values = []
for cookie in cookies:
_, value = encoder.value_encode(cookie.value)
values.append(f'{cookie.name}={value}')
if cookie.domain:
values.append(f'Domain={cookie.domain}')
if cookie.path:
values.append(f'Path={cookie.path}')
if cookie.secure:
values.append('Secure')
if cookie.expires:
values.append(f'Expires={cookie.expires}')
if cookie.version:
values.append(f'Version={cookie.version}')
info_dict['cookies'] = '; '.join(values)
if 'X-Forwarded-For' not in res:
x_forwarded_for_ip = info_dict.get('__x_forwarded_for_ip')
if x_forwarded_for_ip:
res['X-Forwarded-For'] = x_forwarded_for_ip
return res
|
(self, info_dict, load_cookies=False)
|
[
-0.039704903960227966,
0.014460902661085129,
-0.08541753143072128,
-0.044672828167676926,
-0.04166896641254425,
-0.0026765186339616776,
-0.0011745872907340527,
0.04417218640446663,
-0.02483963407576084,
0.011919173412024975,
0.017272209748625755,
0.02123885042965412,
0.06647008657455444,
-0.010455752722918987,
0.012073216959834099,
-0.01773434318602085,
0.04625178501009941,
0.04270876571536064,
-0.02029532939195633,
-0.1298592984676361,
-0.031521301716566086,
-0.038838405162096024,
-0.009001960046589375,
-0.0358923077583313,
-0.006840527057647705,
-0.0007816541474312544,
-0.02741987444460392,
0.004777778405696154,
0.06038534268736839,
0.021855026483535767,
-0.018745258450508118,
0.00479944096878171,
-0.007076407317072153,
0.007673328742384911,
-0.027920518070459366,
-0.03182939067482948,
0.07478848099708557,
-0.056457214057445526,
-0.04274727776646614,
0.014441647566854954,
-0.03485250845551491,
-0.03724019601941109,
-0.032580357044935226,
-0.01963101327419281,
-0.036392953246831894,
0.039897456765174866,
-0.043517496436834335,
0.04686795920133591,
-0.002955723786726594,
-0.07328654825687408,
-0.056688278913497925,
-0.019111113622784615,
0.038780637085437775,
-0.030365969985723495,
0.05834425613284111,
-0.033947501331567764,
0.04632880538702011,
0.0009597678435966372,
-0.08110429346561432,
0.05757403373718262,
0.03785637393593788,
-0.007240079343318939,
-0.01915925182402134,
-0.019910218194127083,
-0.004231402650475502,
0.00019375876581761986,
0.029095105826854706,
-0.028344139456748962,
-0.024396756663918495,
-0.054185062646865845,
0.04652136191725731,
-0.0072737764567136765,
0.028941061347723007,
0.006282116752117872,
0.012198378331959248,
-0.05360739678144455,
-0.00387517549097538,
-0.06038534268736839,
0.03893468156456947,
-0.03683583065867424,
-0.02865222841501236,
-0.08010300248861313,
0.017936525866389275,
-0.02491665631532669,
0.02374206855893135,
0.017743971198797226,
0.03727870434522629,
-0.01841791532933712,
0.04039810225367546,
0.09997471421957016,
-0.06666264683008194,
0.003817408811300993,
-0.019149623811244965,
-0.033793456852436066,
0.008510944433510303,
0.057920634746551514,
0.013421104289591312,
0.04509644955396652,
-0.013767704367637634,
0.029249150305986404,
0.008380969054996967,
-0.0008652953547425568,
-0.07829298824071884,
0.03360090032219887,
-0.014653458259999752,
-0.06708626449108124,
-0.006821271497756243,
-0.025648366659879684,
-0.030693314969539642,
0.024473778903484344,
-0.0010241535492241383,
-0.070706307888031,
-0.008024741895496845,
-0.015779906883835793,
0.06685519963502884,
-0.05514783784747124,
0.0014622168382629752,
-0.042169611901044846,
-0.047984782606363297,
0.008583152666687965,
-0.02017979510128498,
-0.013382593169808388,
0.02146991528570652,
0.031425025314092636,
-0.03685508295893669,
0.006465044338256121,
-0.00006874826067360118,
0.003990708384662867,
0.04975628852844238,
0.024531545117497444,
0.00536266528069973,
-0.004103834740817547,
-0.005425245501101017,
0.025513578206300735,
0.027804985642433167,
-0.014576436020433903,
-0.05853681266307831,
0.06292707473039627,
-0.01841791532933712,
0.004291576333343983,
-0.009810692630708218,
-0.028305629268288612,
-0.03485250845551491,
-0.018677864223718643,
-0.010600169189274311,
-0.0356227308511734,
-0.0000657395867165178,
-0.05395399406552315,
-0.07694509625434875,
-0.038645848631858826,
0.050449490547180176,
0.0008695075521245599,
-0.03111693635582924,
-0.025763899087905884,
-0.027727963402867317,
-0.04270876571536064,
-0.016607895493507385,
-0.06192578375339508,
0.002326308749616146,
0.013892864808440208,
-0.004655024502426386,
-0.03955085948109627,
0.03777934983372688,
-0.07817745208740234,
0.002101259771734476,
0.019409574568271637,
0.10421092808246613,
-0.05141226574778557,
0.03837627172470093,
0.026899974793195724,
-0.005117157008498907,
0.020680438727140427,
0.030654804781079292,
0.03090512566268444,
0.021027039736509323,
-0.06982055306434631,
-0.024493034929037094,
-0.07340207695960999,
-0.020776716992259026,
0.02021830715239048,
0.05872936546802521,
-0.06450602412223816,
-0.03465995565056801,
0.04016703739762306,
-0.048100315034389496,
0.008616849780082703,
0.016001345589756966,
0.0015284076798707247,
0.03184864670038223,
0.04324791952967644,
-0.021874282509088516,
-0.01913999766111374,
-0.01013803668320179,
-0.04024405777454376,
0.06531475484371185,
0.013372966088354588,
-0.02245194837450981,
-0.01614576205611229,
0.021816516295075417,
-0.057728078216314316,
-0.044672828167676926,
0.02622603252530098,
-0.04267025366425514,
-0.005694822873920202,
-0.01567400060594082,
0.03579603135585785,
-0.029383938759565353,
-0.011774756945669651,
-0.0475996695458889,
0.05341484025120735,
-0.001558494521304965,
-0.004842765629291534,
-0.07740723341703415,
0.001488693174906075,
-0.03425558656454086,
-0.014008398167788982,
0.006777946371585131,
-0.018745258450508118,
0.03475623205304146,
-0.042516209185123444,
0.06400538235902786,
-0.012804927304387093,
0.015250380150973797,
-0.015885813161730766,
0.01913999766111374,
0.0037066894583404064,
0.004358970560133457,
0.027997540310025215,
-0.01078309677541256,
-0.06373580545186996,
0.016511617228388786,
-0.012920460663735867,
-0.032676633447408676,
-0.00019059966143686324,
0.056611258536577225,
-0.031617581844329834,
-0.0029388752300292253,
0.02041086181998253,
0.04505794122815132,
0.004241030663251877,
-0.00012651484576053917,
0.05483974888920784,
0.018745258450508118,
0.06308111548423767,
-0.03078959323465824,
-0.02395387925207615,
-0.011389645747840405,
0.020507140085101128,
-0.060038741677999496,
-0.011043046601116657,
-0.03109768033027649,
-0.01539479661732912,
0.010686819441616535,
-0.009632579050958157,
0.009849203750491142,
-0.0028931433334946632,
-0.031675346195697784,
-0.011505179107189178,
-0.00017059195670299232,
-0.035102833062410355,
-0.005256759934127331,
-0.006859782617539167,
0.05225950852036476,
-0.030751081183552742,
-0.014412764459848404,
0.016925610601902008,
0.031656090170145035,
0.003227708162739873,
-0.08549455553293228,
0.03660476207733154,
0.011562946252524853,
-0.04032107815146446,
-0.03583453968167305,
0.0008616849663667381,
0.010455752722918987,
-0.009261909872293472,
0.023645790293812752,
-0.03109768033027649,
0.00011718795576598495,
0.019438456743955612,
0.0593070313334465,
-0.03776009380817413,
-0.056380193680524826,
-0.03672029450535774,
0.009512231685221195,
0.03109768033027649,
-0.03477548807859421,
0.06504517793655396,
0.03421707823872566,
-0.019399946555495262,
-0.04517347365617752,
0.0035020995419472456,
0.03204120323061943,
-0.03310025483369827,
-0.07806191593408585,
-0.03310025483369827,
-0.01422020886093378,
0.017551416531205177,
0.01908222958445549,
0.020930761471390724,
-0.04051363468170166,
0.04336345195770264,
0.009257095865905285,
-0.07390272617340088,
0.016983376815915108,
-0.04856244847178459,
0.010715702548623085,
0.011794012039899826,
-0.008616849780082703,
-0.00845317728817463,
0.02840190753340721,
0.04089874401688576,
0.025552088394761086,
0.007784048095345497,
0.012487211264669895,
-0.016964122653007507,
-0.023164402693510056,
0.046906471252441406,
0.0020579348783940077,
0.03899244964122772,
0.009261909872293472,
-0.017686204984784126,
-0.042516209185123444,
0.0354686863720417,
0.060000233352184296,
-0.04632880538702011,
0.03847254812717438,
-0.021778004243969917,
0.009603695943951607,
0.05360739678144455,
-0.029460960999131203,
0.03908872604370117,
-0.01841791532933712,
0.004734453279525042,
0.062310896813869476,
0.03215673565864563,
-0.04405665397644043,
0.03344685584306717,
0.0009790234034880996,
-0.025552088394761086,
-0.070706307888031,
-0.0841851755976677,
-0.07478848099708557,
0.021912792697548866,
-0.030539270490407944,
-0.08110429346561432,
0.04409516230225563,
0.06296558678150177,
-0.011466667987406254,
-0.05133524164557457,
-0.04517347365617752,
-0.06743286550045013,
0.06053938716650009,
0.04663689434528351,
0.036181140691041946,
-0.0036224466748535633,
-0.030327459797263145,
-0.07363314926624298,
0.03477548807859421,
0.021123316138982773,
0.0710529088973999,
0.042285144329071045,
-0.016954494640231133,
0.0036802131216973066,
0.018148336559534073,
-0.04998735710978508,
0.06219536066055298,
0.008308760821819305,
-0.00685496861115098,
-0.0598076768219471,
-0.027111785486340523,
-0.003047187579795718,
0.0354301743209362,
-0.03175237029790878,
-0.012246517464518547,
0.043324943631887436,
0.07251632958650589,
-0.005093087907880545,
-0.03111693635582924,
-0.03462144359946251,
-0.00505939032882452,
0.03931979089975357,
-0.030520014464855194,
0.003463588422164321,
-0.02878701686859131,
-0.02842116169631481,
0.04609774053096771,
-0.009647020138800144,
0.02861371822655201,
0.033947501331567764,
0.05329930782318115,
-0.009545928798615932,
0.02043011784553528,
0.02861371822655201,
0.0062002805061638355,
0.016896728426218033,
0.009935853071510792,
-0.00890568271279335,
-0.03841478377580643,
0.00598365580663085,
0.04417218640446663,
-0.04609774053096771,
0.014046909287571907,
0.028267117217183113,
-0.016097623854875565,
-0.021142572164535522,
0.004801847971975803,
-0.012410189025104046,
-0.00044468240230344236,
-0.015009685419499874,
-0.023222168907523155,
-0.04894755780696869,
0.019034091383218765,
0.008048811927437782,
0.002515253610908985,
0.03664327412843704,
-0.021893538534641266,
0.010956396348774433,
0.003723538015037775,
0.020526394248008728,
0.02518623322248459,
-0.04386409744620323,
-0.041206832975149155,
0.04082172363996506,
-0.018071314319968224,
0.031425025314092636,
-0.008207669481635094,
0.012776044197380543,
-0.015895439311861992,
-0.022914079949259758,
0.09057801216840744,
0.02624528668820858,
-0.04509644955396652,
-0.04313238710165024,
0.0837230458855629,
0.0298845823854208,
-0.010359475389122963,
0.07910171896219254,
0.004281948320567608,
-0.006455416325479746,
-0.055455926805734634,
0.0017101317644119263,
0.01655975542962551,
0.04020554572343826,
0.026803698390722275,
0.03687433898448944,
0.038780637085437775,
-0.007644445635378361,
-0.0592300109565258,
-0.04883202537894249,
0.017763227224349976,
0.009257095865905285,
-0.018831908702850342,
-0.04405665397644043,
-0.015577724203467369,
0.048100315034389496,
0.02616826444864273,
0.02383834682404995,
-0.015327402390539646,
0.017118167132139206,
-0.016482733190059662,
0.0011408901773393154,
0.026688164100050926,
-0.00017931712500285357,
-0.053106751292943954,
0.007235265336930752,
0.036258164793252945,
-0.009478534571826458,
-0.016569383442401886,
-0.022278647869825363,
-0.028324885293841362,
0.021989814937114716,
0.012227261438965797,
0.025667620822787285,
-0.038645848631858826,
0.04417218640446663,
0.009868458844721317,
0.02135438285768032,
0.018870418891310692,
-0.013382593169808388,
0.036566250026226044,
0.030192671343684196,
0.01183252315968275,
-0.06727882474660873,
0.028941061347723007,
-0.01603022962808609,
-0.021027039736509323,
-0.014903780072927475,
0.05106566473841667,
-0.017233699560165405,
0.026745932176709175,
0.033851221203804016,
-0.04151492193341255,
-0.004813882522284985,
0.023588024079799652,
0.05368441715836525,
0.011302996426820755,
0.010128408670425415,
-0.017070027068257332,
-0.029345428571105003,
0.008068067021667957,
-0.025321021676063538,
0.02736210823059082,
0.04139938950538635,
-0.04070619121193886,
-0.009781809523701668,
-0.004866835195571184,
0.024608567357063293,
0.001724573434330523,
0.017214443534612656,
-0.03088586963713169,
0.01003213133662939,
-0.025417299941182137,
-0.0027944587636739016,
-0.006753877270966768,
-0.018427541479468346,
-0.10960247367620468,
0.05083459988236427,
-0.02984607219696045,
-0.01246795617043972,
0.016858216375112534,
0.06824159622192383,
0.06088598445057869,
-0.04278578609228134,
-0.01739737205207348,
0.02867148444056511,
-0.036335185170173645,
0.028036052361130714,
0.04078321158885956,
-0.025609854608774185,
-0.04421069845557213,
-0.0039016518276184797,
0.021181082352995872,
0.03182939067482948,
0.019467340782284737,
0.009594067931175232,
0.0056081730872392654,
-0.029056595638394356,
-0.04629029333591461,
-0.009733670391142368,
0.044711340218782425,
0.03922351449728012,
-0.01606873981654644,
-0.012073216959834099,
0.009233026765286922,
0.006662413477897644,
-0.00533859571442008,
0.008794963359832764,
-0.053068239241838455,
0.016434594988822937,
-0.05483974888920784,
-0.0008797370246611536,
0.05699636787176132,
-0.036412205547094345,
-0.02385760098695755,
0.0063735805451869965,
0.022240137681365013,
-0.08233664929866791,
-0.01257386151701212,
0.01710853911936283,
0.04652136191725731,
-0.025956453755497932,
-0.007004199083894491,
0.020564906299114227,
-0.09273463487625122,
-0.023260680958628654,
0.00016668067837599665,
0.049640756100416183,
0.007264148909598589,
-0.01597246155142784,
0.048061802983284,
0.05037246644496918,
0.018013548105955124,
0.04494240880012512,
0.01910148561000824,
-0.004072544630616903,
0.03931979089975357,
0.028767762705683708,
0.07636743038892746,
0.03331206738948822,
0.06939692795276642,
0.036412205547094345,
-0.02012202888727188,
-0.05495528131723404,
0.010080269537866116,
-0.03130949288606644,
0.009810692630708218,
0.03125172480940819,
0.08826734870672226,
-0.01710853911936283,
-0.11283740401268005,
0.024377500638365746,
0.007220823783427477,
-0.035102833062410355,
-0.013835098594427109,
0.00404606806114316,
-0.013555892743170261,
0.03234929218888283,
-0.06342771649360657,
0.003930535167455673,
0.04190003499388695,
-0.014470530673861504,
-0.007086034864187241,
-0.013950631953775883,
-0.005988469813019037,
-0.014114303514361382,
-0.03371643275022507,
0.043440476059913635,
-0.032695889472961426,
-0.06412091851234436,
-0.006026980932801962,
-0.032695889472961426,
0.015211869031190872,
-0.00982513464987278,
0.03933904692530632,
0.024820378050208092,
-0.04552007466554642,
-0.02861371822655201,
0.011302996426820755,
-0.028767762705683708,
0.021932048723101616,
-0.06100152060389519,
-0.01198656763881445,
0.07035970687866211,
0.005170109681785107,
-0.002184299286454916,
0.07367166131734848,
0.02008351869881153,
-0.001252812915481627,
-0.010686819441616535,
0.026765186339616776,
0.027747219428420067,
0.03789488226175308,
-0.01552958507090807,
-0.007649259176105261,
0.10182324051856995,
0.024512289091944695,
0.05376144126057625,
0.02959574945271015,
0.01655975542962551,
0.04883202537894249,
-0.014730480499565601,
-0.005194179248064756,
0.007268962450325489,
-0.011312623508274555,
0.0003459978033788502,
-0.008506130427122116,
-0.013190038502216339,
0.12123281508684158,
-0.04528900608420372,
-0.03225301206111908,
0.006542066112160683,
0.009574811905622482,
0.01783062145113945,
0.00744226248934865,
-0.049255646765232086,
-0.057728078216314316,
-0.025571344420313835,
0.021874282509088516,
-0.03090512566268444,
0.035391665995121,
0.004777778405696154,
0.07062928378582001,
-0.04552007466554642,
0.027054019272327423,
-0.014123931527137756,
-0.023125892505049706,
-0.012188750319182873,
0.039820436388254166,
-0.07367166131734848,
0.05845978856086731,
0.01726258359849453,
-0.0025802410673350096,
0.028960317373275757,
0.012901205569505692,
0.016665661707520485,
0.0010000840993598104,
-0.006489113438874483,
0.05807467922568321,
0.004498573020100594,
0.09150227904319763,
-0.007374867796897888,
0.022143859416246414,
0.014903780072927475,
0.017079655081033707,
-0.04501942917704582,
0.05318377539515495,
-0.023453235626220703,
-0.054031018167734146,
0.042246632277965546,
0.027612430974841118,
0.018995581194758415,
0.016607895493507385,
0.047176048159599304,
-0.0032975096255540848,
-0.0012335573555901647,
-0.006840527057647705,
-0.015702884644269943,
0.0592300109565258,
0.03323504328727722,
-0.038568828254938126,
-0.050565022975206375,
-0.004765743855386972,
-0.0069079212844371796,
-0.042054079473018646,
0.018957069143652916,
0.011871034279465675,
0.009156004525721073,
0.030115649104118347,
0.0031025472562760115,
-0.020834483206272125,
0.0006173804285936058,
0.022240137681365013,
0.017329977825284004,
-0.0007575847557745874,
0.02874850668013096,
0.054108038544654846,
-0.01919776387512684,
0.025571344420313835,
0.009305234998464584,
0.07413379102945328,
0.017638064920902252,
0.026803698390722275,
0.0595766082406044,
-0.02385760098695755,
0.0005897005903534591,
0.044749852269887924,
-0.043671540915966034,
-0.01312264334410429,
0.006984943524003029,
-0.015221496112644672,
0.030365969985723495,
-0.04852393642067909,
0.02720806375145912,
-0.03901170566678047,
-0.025436555966734886,
-0.00016953892190940678,
-0.006099189165979624,
-0.02385760098695755,
0.051758863031864166,
-0.02258673682808876,
-0.00014343865041155368,
0.022952592000365257,
0.07467294484376907,
-0.046983491629362106,
-0.03733647242188454,
0.06119407340884209,
-0.04967926815152168,
0.04247770085930824,
0.033908989280462265,
0.014287603087723255,
0.020738206803798676,
0.005069018341600895,
-0.05730445683002472,
0.0030760709196329117,
0.005545592866837978,
-0.048177335411310196,
0.023106636479496956,
0.04016703739762306,
0.03308099880814552,
0.007885139435529709,
0.01013803668320179,
-0.03102065809071064,
-0.011187463067471981,
0.030635548755526543,
-0.0009375036461278796,
0.035391665995121,
-0.002962944796308875
] |
711,110
|
yt_dlp.YoutubeDL
|
_fill_common_fields
| null |
def _fill_common_fields(self, info_dict, final=True):
# TODO: move sanitization here
if final:
title = info_dict['fulltitle'] = info_dict.get('title')
if not title:
if title == '':
self.write_debug('Extractor gave empty title. Creating a generic title')
else:
self.report_warning('Extractor failed to obtain "title". Creating a generic title instead')
info_dict['title'] = f'{info_dict["extractor"].replace(":", "-")} video #{info_dict["id"]}'
if info_dict.get('duration') is not None:
info_dict['duration_string'] = formatSeconds(info_dict['duration'])
for ts_key, date_key in (
('timestamp', 'upload_date'),
('release_timestamp', 'release_date'),
('modified_timestamp', 'modified_date'),
):
if info_dict.get(date_key) is None and info_dict.get(ts_key) is not None:
# Working around out-of-range timestamp values (e.g. negative ones on Windows,
# see http://bugs.python.org/issue1646728)
with contextlib.suppress(ValueError, OverflowError, OSError):
upload_date = dt.datetime.fromtimestamp(info_dict[ts_key], dt.timezone.utc)
info_dict[date_key] = upload_date.strftime('%Y%m%d')
if not info_dict.get('release_year'):
info_dict['release_year'] = traverse_obj(info_dict, ('release_date', {lambda x: int(x[:4])}))
live_keys = ('is_live', 'was_live')
live_status = info_dict.get('live_status')
if live_status is None:
for key in live_keys:
if info_dict.get(key) is False:
continue
if info_dict.get(key):
live_status = key
break
if all(info_dict.get(key) is False for key in live_keys):
live_status = 'not_live'
if live_status:
info_dict['live_status'] = live_status
for key in live_keys:
if info_dict.get(key) is None:
info_dict[key] = (live_status == key)
if live_status == 'post_live':
info_dict['was_live'] = True
# Auto generate title fields corresponding to the *_number fields when missing
# in order to always have clean titles. This is very common for TV series.
for field in ('chapter', 'season', 'episode'):
if final and info_dict.get('%s_number' % field) is not None and not info_dict.get(field):
info_dict[field] = '%s %d' % (field.capitalize(), info_dict['%s_number' % field])
for old_key, new_key in self._deprecated_multivalue_fields.items():
if new_key in info_dict and old_key in info_dict:
if '_version' not in info_dict: # HACK: Do not warn when using --load-info-json
self.deprecation_warning(f'Do not return {old_key!r} when {new_key!r} is present')
elif old_value := info_dict.get(old_key):
info_dict[new_key] = old_value.split(', ')
elif new_value := info_dict.get(new_key):
info_dict[old_key] = ', '.join(v.replace(',', '\N{FULLWIDTH COMMA}') for v in new_value)
|
(self, info_dict, final=True)
|
[
0.053615231066942215,
0.03660695254802704,
-0.1255439817905426,
-0.009041295386850834,
-0.007966982200741768,
-0.06076392903923988,
0.034940265119075775,
0.018534403294324875,
0.025221247225999832,
0.01642593927681446,
-0.02010069228708744,
0.021747302263975143,
0.03562300279736519,
0.01596408523619175,
0.01976936124265194,
0.010733086615800858,
-0.03600453585386276,
0.09148726612329483,
0.006330412812530994,
-0.032731395214796066,
0.010612603276968002,
-0.05080394446849823,
-0.03747041895985603,
0.03600453585386276,
0.022128833457827568,
0.026626890525221825,
0.019819563254714012,
-0.009257161989808083,
0.025663020089268684,
0.02672729268670082,
0.006591460667550564,
-0.024096732959151268,
0.04510105401277542,
0.042811863124370575,
-0.05032201111316681,
-0.019427990540862083,
-0.06449892371892929,
-0.006290251389145851,
-0.11470045149326324,
0.057269901037216187,
-0.0110443364828825,
-0.026185117661952972,
-0.03383582830429077,
-0.03285187855362892,
-0.0049875215627253056,
0.0011376921320334077,
-0.01856452412903309,
0.0051757777109742165,
-0.00533140217885375,
-0.05988038331270218,
-0.0347796194255352,
-0.024719232693314552,
-0.010943933390080929,
0.03514106944203377,
-0.034679215401411057,
0.01948823221027851,
-0.0008402480743825436,
0.08875630050897598,
-0.008463977836072445,
-0.00331581081263721,
-0.006265150848776102,
0.01020095031708479,
-0.05257103964686394,
0.008614582009613514,
0.001700576744042337,
-0.015823520720005035,
0.05080394446849823,
-0.027831727638840675,
-0.014056427404284477,
-0.0012330750469118357,
0.031747445464134216,
0.010165809653699398,
-0.0027410034090280533,
0.03307276591658592,
-0.027791565284132957,
-0.016747228801250458,
-0.050884269177913666,
-0.03186792880296707,
0.0815674439072609,
-0.06662746518850327,
0.03660695254802704,
-0.0258035846054554,
0.005381603725254536,
-0.043574925512075424,
-0.007389665115624666,
0.01337368693202734,
0.009944922290742397,
-0.009924842044711113,
-0.0029518497176468372,
0.04253073409199715,
-0.03532179445028305,
-0.0018574565183371305,
0.013514251448214054,
0.021446092054247856,
-0.024940118193626404,
0.0011163564631715417,
-0.03722945228219032,
-0.04682798683643341,
-0.015170902013778687,
0.016245214268565178,
0.009558371268212795,
-0.07883647829294205,
-0.07357536256313324,
-0.03020123951137066,
0.010883690789341927,
-0.04558298736810684,
-0.015371708199381828,
-0.012209011241793633,
0.016265295445919037,
-0.002218907466158271,
-0.07104520499706268,
-0.07096488028764725,
-0.08192889392375946,
-0.012690946459770203,
0.002242753282189369,
-0.02407665178179741,
-0.001504790736362338,
-0.014176911674439907,
-0.04265121743083,
-0.00791678112000227,
0.002257813699543476,
-0.015823520720005035,
-0.046747662127017975,
0.010226051323115826,
0.0027108825743198395,
-0.043253637850284576,
-0.0022339678835123777,
0.02919720858335495,
0.07474003732204437,
-0.011887721717357635,
-0.019237225875258446,
0.03313300758600235,
0.02156657725572586,
0.0016804961487650871,
0.017751259729266167,
-0.08474017679691315,
-0.012460019439458847,
0.05429797247052193,
-0.03481977805495262,
-0.02399633079767227,
-0.031104866415262222,
-0.030823737382888794,
0.040362026542425156,
-0.02648632600903511,
-0.0029493398033082485,
-0.05530200153589249,
-0.004226968623697758,
0.0022051020059734583,
-0.04245041310787201,
-0.018333597108721733,
0.06212941184639931,
-0.004824366886168718,
-0.02678753435611725,
0.0169480349868536,
-0.002866507275030017,
-0.06421779096126556,
0.028092775493860245,
-0.04241025075316429,
0.008002123795449734,
0.02897632122039795,
0.05373571440577507,
-0.10064402222633362,
0.04831394925713539,
0.004076363984495401,
0.006656722631305456,
0.028112854808568954,
0.08465985953807831,
-0.05891651287674904,
0.06650698184967041,
0.05369555577635765,
0.06666763126850128,
0.06325392425060272,
-0.021024400368332863,
0.0023594717495143414,
0.013524292036890984,
0.07072391360998154,
0.003376052714884281,
-0.09333468228578568,
0.04457895830273628,
0.039860013872385025,
-0.059960704296827316,
-0.01843400113284588,
-0.03158679977059364,
0.010120628401637077,
0.028554629534482956,
0.013875702396035194,
-0.011094537563621998,
0.019146863371133804,
0.018444040790200233,
0.045783791691064835,
0.030582770705223083,
-0.03562300279736519,
-0.02994019165635109,
-0.02498028054833412,
0.032530590891838074,
0.03297236189246178,
-0.008368594571948051,
-0.021747302263975143,
0.03333381563425064,
0.01731952652335167,
-0.037450339645147324,
-0.02045210264623165,
-0.0129017923027277,
-0.019458111375570297,
-0.021325608715415,
0.026165036484599113,
0.010843530297279358,
-0.002602949272841215,
-0.021968187764286995,
0.020311538130044937,
0.02696826122701168,
0.0152010228484869,
-0.02893616072833538,
-0.022610768675804138,
-0.008448917418718338,
-0.07353519648313522,
0.04317331314086914,
-0.005271160509437323,
-0.03239002451300621,
0.003925759345293045,
0.03821340203285217,
-0.03654671087861061,
-0.004698862787336111,
-0.016506262123584747,
0.04518137499690056,
-0.0098947212100029,
0.03261091187596321,
0.0030020512640476227,
-0.03118518926203251,
-0.013564452528953552,
-0.004001061897724867,
-0.009703955613076687,
-0.09542306512594223,
0.04000057652592659,
0.005220958963036537,
-0.026667051017284393,
0.01806250959634781,
-0.04783201590180397,
-0.006581420078873634,
-0.026385923847556114,
0.05542248487472534,
-0.0171689223498106,
-0.04514121264219284,
0.024177055805921555,
-0.03702864795923233,
-0.10666820406913757,
-0.026908019557595253,
0.051647331565618515,
-0.05144652724266052,
-0.0017884294502437115,
0.03847445175051689,
-0.01031139399856329,
-0.018423961475491524,
0.06811343133449554,
0.0040186322294175625,
-0.04445847123861313,
-0.0010504670208320022,
-0.044056862592697144,
0.024197136983275414,
-0.07542277872562408,
-0.014307435601949692,
-0.03186792880296707,
-0.05980005860328674,
0.07474003732204437,
0.023454153910279274,
-0.008920811116695404,
0.049237657338380814,
-0.02012077160179615,
-0.06831423938274384,
-0.005215938668698072,
0.03781178966164589,
-0.014919893816113472,
-0.05124571919441223,
0.011004175059497356,
-0.02403649128973484,
0.026426084339618683,
0.03365510329604149,
-0.050402332097291946,
-0.019207105040550232,
0.004329881630837917,
0.0450608916580677,
-0.028855837881565094,
0.016887793317437172,
-0.022269397974014282,
0.061004895716905594,
-0.02502044104039669,
-0.009432867169380188,
0.04763120785355568,
-0.020923996344208717,
-0.01545203011482954,
-0.023735282942652702,
0.029277531430125237,
0.022450122982263565,
0.03831380605697632,
-0.04984007775783539,
0.010652763769030571,
-0.0323699451982975,
0.03917727246880531,
-0.029096804559230804,
-0.03967928886413574,
-0.019478192552924156,
0.031526558101177216,
0.0047666351310908794,
-0.0238356851041317,
0.003310790751129389,
0.0051155355758965015,
0.005542248487472534,
-0.019869765266776085,
0.05345458537340164,
-0.03088397905230522,
0.0021210145205259323,
0.006716964300721884,
0.019387830048799515,
0.057510871440172195,
0.0014759248588234186,
-0.06666763126850128,
-0.009222020395100117,
0.06052296236157417,
0.002484975615516305,
0.053615231066942215,
0.004774165339767933,
-0.014528322033584118,
-0.036165181547403336,
0.021004319190979004,
0.039418239146471024,
-0.10506175458431244,
0.023393912240862846,
0.0010460743214935064,
0.019668959081172943,
0.006019162945449352,
-0.03022131882607937,
0.021144883707165718,
0.009965003468096256,
0.052651360630989075,
0.0029443195089697838,
0.010135688818991184,
-0.08763178437948227,
-0.028855837881565094,
0.0653824731707573,
-0.006691863760352135,
-0.04152670502662659,
-0.02576342411339283,
-0.052611202001571655,
0.03612501919269562,
0.03463905304670334,
-0.050643302500247955,
0.0564265176653862,
-0.01583356224000454,
0.027028502896428108,
-0.09437887370586395,
-0.04807298257946968,
-0.06405714899301529,
0.001764583750627935,
0.046948470175266266,
0.0608040913939476,
-0.04224960505962372,
-0.007836458273231983,
-0.07180826365947723,
0.0038228463381528854,
0.01999024860560894,
-0.009146718308329582,
0.007078415248543024,
-0.0042169285006821156,
0.02921728976070881,
0.029598820954561234,
-0.019387830048799515,
0.007565370295196772,
0.03526155278086662,
0.012590543366968632,
-0.04413718357682228,
-0.0028112856671214104,
-0.002813795581459999,
0.0446191169321537,
-0.08337469398975372,
-0.01191784255206585,
0.016496222466230392,
0.02407665178179741,
0.04590427875518799,
-0.08060356974601746,
-0.03590413182973862,
0.018534403294324875,
0.042611055076122284,
-0.039096951484680176,
0.00468631274998188,
0.019016338512301445,
-0.02893616072833538,
0.0309442225843668,
0.02014085277915001,
0.010702965781092644,
0.002478700364008546,
-0.01778138056397438,
0.05638635531067848,
-0.03112494759261608,
-0.009663794189691544,
0.05156701058149338,
0.003162696259096265,
0.0013064948143437505,
-0.021245285868644714,
-0.02530157007277012,
0.0009299832745455205,
0.024237297475337982,
-0.053093135356903076,
-0.02234972082078457,
0.018383799120783806,
0.004194337874650955,
-0.023976249620318413,
0.07441874593496323,
0.029779545962810516,
-0.021405931562185287,
0.020321577787399292,
0.02479955554008484,
-0.025944149121642113,
-0.029799627140164375,
-0.017942026257514954,
-0.025201166048645973,
0.04630588740110397,
-0.022008350118994713,
0.02106456086039543,
-0.019126782193779945,
0.03241010755300522,
0.0299602709710598,
0.021887866780161858,
-0.04273154214024544,
0.07273197174072266,
-0.01880549266934395,
0.00025649843155406415,
-0.018203074112534523,
0.00009059807052835822,
0.04542234167456627,
-0.038896143436431885,
0.05831409618258476,
0.00359191931784153,
-0.044257666915655136,
-0.015331546775996685,
0.046024762094020844,
0.004224458709359169,
0.023193106055259705,
0.0056075104512274265,
-0.014377717860043049,
0.03654671087861061,
-0.008840489201247692,
-0.013223082758486271,
0.0686756893992424,
0.00009099026647163555,
0.032530590891838074,
0.03576356917619705,
0.009457968175411224,
-0.0011979339178651571,
-0.013614654541015625,
-0.01239977777004242,
0.0009362584678456187,
0.04666734114289284,
-0.04028170555830002,
-0.03479969874024391,
0.0012054642429575324,
-0.02576342411339283,
-0.007605531252920628,
0.02327342890202999,
0.002351941540837288,
-0.02572326362133026,
-0.0485549159348011,
0.00656133983284235,
-0.02279149368405342,
0.07317374646663666,
0.03198841214179993,
0.012108608148992062,
-0.0012406052555888891,
-0.04393637552857399,
-0.10843530297279358,
0.014528322033584118,
0.012781308963894844,
-0.0046662320382893085,
0.06229005381464958,
0.04755088686943054,
-0.03090406022965908,
-0.02025129646062851,
0.04253073409199715,
-0.019327588379383087,
0.0001308377250097692,
-0.03994033485651016,
0.0671495646238327,
0.02431762032210827,
-0.00890073087066412,
-0.030020514503121376,
0.013192961923778057,
-0.003863007528707385,
-0.00494736060500145,
0.00041039747884497046,
-0.018032388761639595,
0.04984007775783539,
-0.03785195201635361,
-0.026406003162264824,
-0.004713923670351505,
-0.00723906047642231,
-0.0505228191614151,
-0.000731059757526964,
0.020281417295336723,
0.06811343133449554,
0.043574925512075424,
-0.023715201765298843,
0.018966136500239372,
-0.034719377756118774,
0.03407679870724678,
-0.017098641023039818,
0.018313517794013023,
-0.028373902663588524,
-0.017901863902807236,
0.031546641141176224,
-0.023755362257361412,
0.022389881312847137,
-0.017460091039538383,
-0.0321490578353405,
0.03319324925541878,
-0.04971959441900253,
0.025140924379229546,
-0.005843457765877247,
-0.07421793788671494,
0.03921743482351303,
-0.004972461145371199,
-0.014899813570082188,
0.012088527902960777,
0.005160716827958822,
0.029779545962810516,
-0.06040247902274132,
-0.00930736307054758,
0.006792266853153706,
-0.0050301929004490376,
0.012851591221988201,
0.01249014027416706,
-0.06237037852406502,
-0.06618569791316986,
-0.05767151340842247,
0.040843963623046875,
-0.01740988902747631,
0.052852168679237366,
0.014247193932533264,
0.040100980550050735,
-0.03070325404405594,
-0.02773132361471653,
0.015261264517903328,
0.049157336354255676,
0.005963941570371389,
0.00275606382638216,
-0.061245862394571304,
0.021245285868644714,
-0.022630847990512848,
0.0036596914287656546,
0.05698877573013306,
0.027028502896428108,
-0.009176839143037796,
-0.09453951567411423,
-0.009096517227590084,
0.024899957701563835,
0.02160673774778843,
-0.061245862394571304,
-0.002060772618278861,
0.0035542682744562626,
-0.0299602709710598,
0.06530214846134186,
0.014960055239498615,
0.02873535454273224,
-0.003938309848308563,
-0.049237657338380814,
0.025703182443976402,
-0.009608572348952293,
0.018293436616659164,
-0.02108464203774929,
0.07377616316080093,
-0.01473916880786419,
0.03556276112794876,
0.021164964884519577,
0.015331546775996685,
-0.030301641672849655,
-0.044016700237989426,
0.014789369888603687,
-0.042570896446704865,
-0.03869533911347389,
0.02919720858335495,
0.0378318727016449,
-0.03771138936281204,
0.018956096842885017,
0.033233411610126495,
0.0962262898683548,
-0.010592522099614143,
-0.008443896658718586,
-0.05465942248702049,
0.0024397943634539843,
0.02775140479207039,
0.1143791601061821,
0.008187869563698769,
-0.06819375604391098,
0.014126709662377834,
0.0095131890848279,
-0.018072549253702164,
0.00465368153527379,
0.006591460667550564,
0.027410034090280533,
-0.05084410682320595,
-0.03172736614942551,
-0.0347796194255352,
-0.028072694316506386,
-0.0064408560283482075,
-0.03305268660187721,
-0.011947963386774063,
-0.01863480731844902,
-0.04815330356359482,
0.027389952912926674,
0.0384945310652256,
-0.015431949868798256,
0.0041466462425887585,
0.01556247379630804,
0.006079405080527067,
0.028132935985922813,
-0.0400206595659256,
0.04277170076966286,
0.00891077145934105,
0.011004175059497356,
0.012962034903466702,
0.03578364849090576,
-0.05823377147316933,
-0.0299602709710598,
0.011245142668485641,
-0.04903685301542282,
0.03590413182973862,
-0.08706952631473541,
-0.005436825565993786,
0.032028574496507645,
-0.032008495181798935,
-0.0056677525863051414,
-0.07293277978897095,
-0.0002831679885275662,
-0.011204981245100498,
0.036727435886859894,
0.02823334001004696,
-0.027630921453237534,
0.05321361869573593,
0.0235143955796957,
0.0023820626083761454,
0.02596423029899597,
0.06229005381464958,
0.05915747955441475,
-0.03556276112794876,
0.001807254971936345,
0.029558660462498665,
-0.01769101805984974,
0.04594443738460541,
0.01372509729117155,
-0.04212912172079086,
0.03212897852063179,
0.030502447858452797,
-0.012962034903466702,
0.02051234431564808,
-0.025622859597206116,
0.02064286731183529,
-0.007595491129904985,
0.006666762754321098,
-0.024136895313858986,
-0.010753166861832142,
-0.010512200184166431,
0.021646898239850998,
0.003594429465010762,
-0.014136750251054764,
0.04907701537013054,
-0.05718958005309105,
0.03992025554180145,
0.01373513787984848,
0.012841550633311272,
0.0045131174847483635,
0.029638981446623802,
-0.01483957190066576,
0.025823665782809258,
-0.03490010276436806,
0.10385692119598389,
0.004382593557238579,
0.04883604496717453,
0.01644602045416832,
0.013303404673933983,
0.09815403074026108,
0.058796029537916183,
0.02550237625837326,
0.08835469186306,
-0.024337701499462128,
0.0008389930590055883,
-0.008238070644438267,
0.004678782541304827,
-0.014166871085762978,
-0.015261264517903328,
-0.00875012669712305,
-0.005266140215098858,
-0.0038278663996607065,
0.023213187232613564,
-0.014879732392728329,
-0.03708888962864876,
-0.026807615533471107,
-0.03337397426366806,
-0.06550295650959015,
-0.011114617809653282,
0.007997103035449982,
0.04144638031721115,
-0.02498028054833412,
-0.002358216792345047,
0.002469915198162198,
0.02652648650109768,
-0.004887118935585022,
-0.01939786970615387,
0.015391788445413113,
-0.0279923714697361,
0.02722930908203125,
-0.015251223929226398,
-0.041084930300712585,
0.022891895845532417,
0.06012134999036789,
-0.023715201765298843,
-0.02650640718638897,
-0.014990176074206829,
0.014176911674439907,
0.03269123658537865,
0.021687060594558716,
0.04654685780405998,
-0.013875702396035194,
0.04638621211051941,
0.004026162438094616,
-0.013614654541015625,
0.06819375604391098,
-0.0044679357670247555,
0.04449863359332085,
-0.02867511287331581,
-0.0378318727016449,
0.052852168679237366,
0.034217361360788345,
0.009729055687785149,
0.052611202001571655,
-0.052169427275657654,
0.016606666147708893,
-0.0006858783890493214,
-0.0262453593313694,
0.013162840157747269,
0.017269326373934746,
0.0025527477264404297,
0.011867641471326351,
-0.008770206943154335,
0.02722930908203125,
0.009227041155099869,
0.03239002451300621,
-0.03981985151767731,
0.0019465641817077994,
0.05477990582585335,
-0.05084410682320595,
-0.02941809594631195,
0.004611010197550058,
0.031546641141176224,
0.018514323979616165,
-0.07036246359348297,
-0.0129017923027277,
0.011817439459264278,
0.008418796584010124,
0.01729944720864296,
0.06381618231534958,
0.025582699105143547,
0.03182777017354965,
0.018363717943429947,
-0.029116885736584663,
0.016616705805063248,
0.054820068180561066,
0.03162696212530136,
0.06204908713698387,
0.0069328309036791325,
0.028112854808568954
] |
711,111
|
yt_dlp.YoutubeDL
|
_forceprint
| null |
def _forceprint(self, key, info_dict):
if info_dict is None:
return
info_copy = info_dict.copy()
info_copy.setdefault('filename', self.prepare_filename(info_dict))
if info_dict.get('requested_formats') is not None:
# For RTMP URLs, also include the playpath
info_copy['urls'] = '\n'.join(f['url'] + f.get('play_path', '') for f in info_dict['requested_formats'])
elif info_dict.get('url'):
info_copy['urls'] = info_dict['url'] + info_dict.get('play_path', '')
info_copy['formats_table'] = self.render_formats_table(info_dict)
info_copy['thumbnails_table'] = self.render_thumbnails_table(info_dict)
info_copy['subtitles_table'] = self.render_subtitles_table(info_dict.get('id'), info_dict.get('subtitles'))
info_copy['automatic_captions_table'] = self.render_subtitles_table(info_dict.get('id'), info_dict.get('automatic_captions'))
def format_tmpl(tmpl):
mobj = re.fullmatch(r'([\w.:,]|-\d|(?P<dict>{([\w.:,]|-\d)+}))+=?', tmpl)
if not mobj:
return tmpl
fmt = '%({})s'
if tmpl.startswith('{'):
tmpl, fmt = f'.{tmpl}', '%({})j'
if tmpl.endswith('='):
tmpl, fmt = tmpl[:-1], '{0} = %({0})#j'
return '\n'.join(map(fmt.format, [tmpl] if mobj.group('dict') else tmpl.split(',')))
for tmpl in self.params['forceprint'].get(key, []):
self.to_stdout(self.evaluate_outtmpl(format_tmpl(tmpl), info_copy))
for tmpl, file_tmpl in self.params['print_to_file'].get(key, []):
filename = self.prepare_filename(info_dict, outtmpl=file_tmpl)
tmpl = format_tmpl(tmpl)
self.to_screen(f'[info] Writing {tmpl!r} to: {filename}')
if self._ensure_dir_exists(filename):
with open(filename, 'a', encoding='utf-8', newline='') as f:
f.write(self.evaluate_outtmpl(tmpl, info_copy) + os.linesep)
return info_copy
|
(self, key, info_dict)
|
[
0.030384769663214684,
0.011757501401007175,
-0.08289904147386551,
-0.017963383346796036,
0.002111924346536398,
-0.02305316925048828,
-0.024419425055384636,
0.004779491573572159,
0.02974974922835827,
-0.009785088710486889,
-0.012123119086027145,
-0.017819060012698174,
0.006364637520164251,
-0.009804331697523594,
-0.00797143206000328,
0.024188509210944176,
0.005671887658536434,
0.04983948916196823,
0.0379665307700634,
-0.019878067076206207,
0.030846603214740753,
0.0009380985284224153,
0.03211664408445358,
-0.029538076370954514,
-0.010651025921106339,
0.0024462721776217222,
-0.008380346931517124,
-0.015731189399957657,
0.013758777640759945,
0.020551573485136032,
0.010651025921106339,
-0.038640037178993225,
0.10106448084115982,
0.04599088057875633,
-0.020763246342539787,
-0.013037163764238358,
-0.02770998701453209,
-0.011863337829709053,
-0.09205873310565948,
-0.0146439578384161,
0.042796533554792404,
0.002857592422515154,
0.008967259898781776,
-0.05380355566740036,
-0.023149384185671806,
0.03434883803129196,
-0.03244377672672272,
0.05965344235301018,
-0.00605193804949522,
-0.05422690510749817,
-0.042373187839984894,
-0.018386730924248695,
-0.0387362502515316,
0.009881304576992989,
-0.041680436581373215,
-0.014990332536399364,
-0.019781852141022682,
0.0044691977091133595,
0.0039640674367547035,
-0.04514418542385101,
0.022533606737852097,
-0.0023837322369217873,
-0.014143639244139194,
0.012123119086027145,
0.021263565868139267,
-0.024380939081311226,
0.023226356133818626,
-0.029807478189468384,
-0.027652258053421974,
-0.017511172220110893,
0.014230232685804367,
-0.0026242705062031746,
-0.010564432479441166,
0.030307797715067863,
-0.021917829290032387,
-0.024573370814323425,
-0.03588828071951866,
-0.061539262533187866,
0.024881258606910706,
-0.07085289806127548,
0.007254628464579582,
-0.06350205093622208,
0.011112859472632408,
-0.037369996309280396,
-0.0017234553815796971,
-0.005060920957475901,
0.07905043661594391,
0.0071343593299388885,
-0.003728340147063136,
0.07728007435798645,
-0.024111537262797356,
-0.0001716840488370508,
0.0045461696572601795,
-0.00654263561591506,
-0.02490050159394741,
-0.017299499362707138,
0.008572776801884174,
-0.05903766676783562,
-0.021917829290032387,
-0.0049454630352556705,
-0.001905061537399888,
-0.061269860714673996,
-0.0005324911908246577,
-0.02343803085386753,
0.013749156147241592,
-0.07589457184076309,
0.011998039670288563,
0.03627314046025276,
-0.025150662288069725,
0.05538148805499077,
-0.06392540037631989,
-0.04695303365588188,
-0.005999019835144281,
-0.03188572824001312,
0.07031409442424774,
-0.04448992386460304,
-0.04314291104674339,
-0.007548084948211908,
0.01929115317761898,
-0.015413680113852024,
-0.011613178066909313,
-0.06100045517086983,
-0.02351500280201435,
-0.02994217909872532,
-0.02770998701453209,
-0.018531054258346558,
-0.016000593081116676,
0.034791428595781326,
0.06484906375408173,
-0.011035886593163013,
-0.013575969263911247,
0.042988963425159454,
-0.004151687026023865,
0.039371274411678314,
0.07177656143903732,
-0.0458754226565361,
-0.08967259526252747,
0.0037812585942447186,
0.038370635360479355,
0.0481845885515213,
-0.03665800392627716,
-0.08797920495271683,
-0.007471112534403801,
0.016741450875997543,
0.024380939081311226,
-0.06096196919679642,
0.015076926909387112,
0.014874874614179134,
-0.0031967510003596544,
-0.013210351578891277,
0.04518267139792442,
0.06946739554405212,
-0.05765216797590256,
-0.010073734447360039,
-0.00670620147138834,
0.005503511056303978,
0.027498312294483185,
-0.012498358264565468,
-0.018232787027955055,
-0.013710670173168182,
0.008159051649272442,
-0.061308346688747406,
0.02724815346300602,
-0.026112813502550125,
-0.014018558897078037,
0.012671546079218388,
0.03692740574479103,
-0.026882534846663475,
0.0952145904302597,
0.04364322870969772,
0.024380939081311226,
0.0009771859040483832,
-0.02809484675526619,
0.007793433498591185,
0.07239233702421188,
0.06080802530050278,
0.008062836714088917,
-0.08212932199239731,
-0.010304651223123074,
0.02297619730234146,
-0.01333543099462986,
-0.05045526847243309,
-0.04541358724236488,
0.05014737695455551,
-0.005772913806140423,
0.002176869660615921,
-0.0025184336118400097,
0.005133082624524832,
0.00748554477468133,
0.036561787128448486,
-0.014942225068807602,
0.0015911593800410628,
-0.009366552345454693,
-0.03588828071951866,
0.03679270297288895,
-0.043797172605991364,
0.025304606184363365,
-0.029999909922480583,
0.015894755721092224,
-0.0026892158202826977,
-0.02643994614481926,
-0.06076953932642937,
-0.0009970302926376462,
-0.026882534846663475,
0.011286046355962753,
0.013575969263911247,
0.03244377672672272,
0.00376682635396719,
-0.040641315281391144,
0.0310197900980711,
0.01449001394212246,
-0.024958230555057526,
-0.0024065834004431963,
-0.04495175555348396,
-0.003745177760720253,
-0.018915913999080658,
-0.006249179132282734,
0.017299499362707138,
-0.11861413717269897,
0.0022201663814485073,
-0.014287961646914482,
0.0051667578518390656,
-0.03704286366701126,
0.004166119731962681,
-0.017001232132315636,
-0.006018262822180986,
0.05796005576848984,
0.006220314651727676,
-0.006196260917931795,
0.0034108299296349287,
0.0387362502515316,
-0.015134655870497227,
-0.1071452796459198,
0.07508636265993118,
0.0007017698371782899,
-0.07905043661594391,
-0.03184724226593971,
-0.005195622332394123,
0.014307204633951187,
0.01798262633383274,
0.03140465170145035,
0.03125070780515671,
0.00003756528167286888,
-0.00866418145596981,
-0.0003364526492077857,
-0.07847314327955246,
-0.012171226553618908,
0.005214865319430828,
-0.040294937789440155,
0.0037018810398876667,
0.042681075632572174,
-0.02655540406703949,
-0.03207815811038017,
0.023765161633491516,
0.015125034376978874,
-0.04460538178682327,
-0.05730579048395157,
-0.06300173699855804,
0.017193662002682686,
0.003769231727346778,
-0.03509931638836861,
0.04849247634410858,
-0.04710697755217552,
0.019897310063242912,
0.038947924971580505,
-0.039717648178339005,
-0.043912630528211594,
-0.0166740994900465,
-0.05553543195128441,
0.06034619361162186,
-0.02924942970275879,
0.030654173344373703,
-0.028922298923134804,
0.024303967133164406,
-0.03908262774348259,
0.02913397178053856,
0.0632326528429985,
0.009082717821002007,
-0.021417509764432907,
0.004837220534682274,
0.06061559543013573,
-0.04795367270708084,
0.009635955095291138,
-0.030750388279557228,
0.04953160136938095,
-0.05449630692601204,
-0.015519516542553902,
0.06692731380462646,
0.0275560412555933,
-0.012777382507920265,
0.007341221906244755,
0.04957008734345436,
0.042488645762205124,
0.039371274411678314,
-0.08005107194185257,
-0.02613205648958683,
0.006720633711665869,
-0.020801732316613197,
-0.004692897666245699,
-0.034560512751340866,
-0.0012117106234654784,
-0.00034216541098430753,
0.09837045520544052,
0.01952207088470459,
-0.0026362973731011152,
0.03153935447335243,
-0.031039033085107803,
-0.03355987370014191,
0.02805636078119278,
-0.012334792874753475,
0.0033843708224594593,
-0.038409121334552765,
0.07104532420635223,
0.07058349251747131,
0.012209712527692318,
-0.006201071664690971,
-0.027498312294483185,
0.03209739923477173,
0.013422024436295033,
0.05322626605629921,
-0.017693981528282166,
0.04337382689118385,
0.010824213735759258,
0.040371909737586975,
0.09382909536361694,
-0.1025269478559494,
0.040949203073978424,
0.004457170609384775,
0.01468244381248951,
0.01477865967899561,
-0.0023500570096075535,
0.0462602823972702,
-0.006398312747478485,
0.0298652071505785,
-0.03398321941494942,
0.040679801255464554,
-0.08197537809610367,
-0.03200118616223335,
0.014624714851379395,
-0.014807524159550667,
0.015307843685150146,
-0.0064752851612865925,
0.00617701793089509,
-0.029076242819428444,
0.01250797975808382,
0.0028239169623702765,
0.01613529399037361,
0.0010228882310912013,
-0.014999954961240292,
-0.020474601536989212,
0.010035248473286629,
-0.016693342477083206,
0.05072467029094696,
0.03409867733716965,
0.01468244381248951,
-0.039602190256118774,
0.010092977434396744,
-0.04372020065784454,
-0.042873505502939224,
0.027883173897862434,
0.04525964334607124,
0.05538148805499077,
-0.0481845885515213,
0.013806886039674282,
0.06615759432315826,
-0.006037505809217691,
0.04191135615110397,
0.0260165985673666,
0.015692703425884247,
0.016856908798217773,
-0.024727314710617065,
-0.0004958091303706169,
0.03311728313565254,
-0.07481696456670761,
-0.03496461361646652,
0.03253998979926109,
0.01629886031150818,
0.031269948929548264,
-0.03177027031779289,
-0.061192888766527176,
0.06100045517086983,
0.02797938883304596,
0.0242847241461277,
0.006898632273077965,
-0.011613178066909313,
-0.07728007435798645,
-0.020282169803977013,
0.04976251721382141,
0.038678523153066635,
-0.02924942970275879,
0.03153935447335243,
0.013027542270720005,
0.0026387027464807034,
0.0059316689148545265,
0.040564339607954025,
-0.026035841554403305,
0.05376506969332695,
-0.002034952165558934,
-0.08066684752702713,
0.022572092711925507,
0.04441295191645622,
-0.059999819844961166,
-0.08497729152441025,
0.02424623817205429,
-0.02505444549024105,
-0.009948655031621456,
0.05719033256173134,
0.007418194320052862,
-0.007341221906244755,
0.04545207694172859,
0.03261696174740791,
-0.03588828071951866,
-0.042796533554792404,
-0.014047423377633095,
0.009549361653625965,
0.03559963405132294,
-0.08690159767866135,
0.03051947057247162,
-0.049724031239748,
0.037100594490766525,
0.036523301154375076,
0.041064660996198654,
0.020609302446246147,
0.07720310240983963,
0.04926219955086708,
-0.018011491745710373,
-0.040795259177684784,
0.006691769231110811,
0.03896716982126236,
-0.005445782095193863,
0.02974974922835827,
-0.06092348322272301,
-0.004813166800886393,
0.03152010962367058,
0.07608700543642044,
0.009717738255858421,
0.05515057221055031,
-0.010179571807384491,
-0.014008937403559685,
0.026035841554403305,
0.03305955231189728,
-0.041718922555446625,
0.029268672689795494,
-0.0215906985104084,
0.029999909922480583,
0.06688883155584335,
-0.0038437985349446535,
-0.040217965841293335,
-0.02667086198925972,
0.05449630692601204,
-0.010583675466477871,
0.035022344440221786,
-0.007302735932171345,
-0.04645271226763725,
-0.018646512180566788,
-0.042758047580718994,
0.03434883803129196,
0.000868943810928613,
-0.017915276810526848,
-0.0031462381593883038,
-0.005176379345357418,
0.01602945663034916,
0.020705517381429672,
0.03232831880450249,
0.03223210200667381,
-0.021436752751469612,
-0.011516963131725788,
0.03406019136309624,
-0.08089776337146759,
-0.04302745312452316,
-0.0026218651328235865,
0.04652968421578407,
-0.0036994756665080786,
0.040795259177684784,
-0.022187232971191406,
0.05130195990204811,
0.011863337829709053,
0.016039079055190086,
-0.02709420956671238,
-0.037600912153720856,
-0.03379078954458237,
-0.04645271226763725,
-0.024765800684690475,
0.016010213643312454,
0.010574053972959518,
-0.00822159182280302,
0.013268080540001392,
0.010583675466477871,
0.0005607543862424791,
0.017732467502355576,
-0.01210387609899044,
0.007499977480620146,
-0.05053224042057991,
-0.019570177420973778,
-0.02378440462052822,
-0.0013818913139402866,
-0.025227634236216545,
0.04833853244781494,
-0.012873598374426365,
-0.0493391714990139,
0.02497747354209423,
-0.03315576910972595,
0.02936488762497902,
-0.007981053553521633,
-0.005359188187867403,
0.005902804434299469,
0.033348198980093,
0.04764578118920326,
-0.024188509210944176,
0.019339261576533318,
0.02563173696398735,
-0.02794090285897255,
-0.024842772632837296,
-0.013431645929813385,
0.007105494849383831,
-0.016385454684495926,
-0.06973680108785629,
-0.03394473344087601,
0.0072979251854121685,
-0.02782544493675232,
0.004026607610285282,
-0.0016404696507379413,
-0.010381623171269894,
-0.05595877766609192,
0.006759120151400566,
0.014172503724694252,
0.02347651682794094,
0.07185353338718414,
-0.016077565029263496,
-0.035753581672906876,
-0.018915913999080658,
0.006537824869155884,
0.06750460714101791,
-0.05680547282099724,
0.02778695896267891,
0.018704241141676903,
0.017626630142331123,
-0.04872339218854904,
-0.02974974922835827,
0.015673460438847542,
0.038101229816675186,
0.0435662567615509,
0.003333857748657465,
-0.10198814421892166,
0.05499662458896637,
-0.013075649738311768,
0.002602621912956238,
-0.006850524339824915,
0.009939033538103104,
-0.028075603768229485,
-0.06076953932642937,
-0.008312995545566082,
0.061308346688747406,
0.026035841554403305,
-0.06865918636322021,
0.07339297980070114,
0.019550934433937073,
-0.008500616066157818,
0.05607423558831215,
-0.011468855664134026,
0.023187870159745216,
0.016702964901924133,
-0.011497720144689083,
-0.018030734732747078,
0.030538713559508324,
0.00033043918665498495,
-0.01925266720354557,
0.0678509846329689,
-0.01398969441652298,
0.014345690608024597,
0.029807478189468384,
0.0001282368612010032,
0.0014829172287136316,
-0.03194345533847809,
0.0024113941472023726,
-0.05311080813407898,
0.03409867733716965,
0.06288627535104752,
0.02978823520243168,
-0.04649119824171066,
-0.016625991091132164,
0.023996079340577126,
0.08828709274530411,
0.006763930898159742,
0.013441267423331738,
-0.05869128927588463,
0.034560512751340866,
-0.010862699709832668,
0.08551609516143799,
-0.03207815811038017,
-0.08851801604032516,
0.02570870891213417,
-0.013758777640759945,
-0.05719033256173134,
0.03165481239557266,
0.02397683635354042,
0.029653534293174744,
-0.0072594392113387585,
-0.006797606125473976,
-0.012238577008247375,
-0.008043593727052212,
0.028729867190122604,
-0.003497423604130745,
0.02224496193230152,
-0.02286073938012123,
-0.03009612485766411,
0.06273233145475388,
0.03423338010907173,
0.008707478642463684,
0.020147468894720078,
-0.023149384185671806,
0.027344368398189545,
0.02232193388044834,
-0.040833745151758194,
-0.00637906976044178,
-0.024862015619874,
0.004603898618370295,
-0.0023981647100299597,
0.022187232971191406,
0.0005078359972685575,
-0.014172503724694252,
0.024534884840250015,
-0.061269860714673996,
0.04745335131883621,
-0.041680436581373215,
0.03573433682322502,
0.009727359749376774,
-0.016500912606716156,
0.017876790836453438,
-0.07828070968389511,
-0.008697857148945332,
0.006249179132282734,
0.006614797282963991,
0.0735854059457779,
-0.037408482283353806,
0.013864615000784397,
0.003432478290051222,
0.0009182541398331523,
-0.04583693668246269,
0.030384769663214684,
0.04729940742254257,
-0.05107104405760765,
-0.017126310616731644,
0.005753670819103718,
-0.019089102745056152,
0.04468235373497009,
0.0052533517591655254,
-0.05257200077176094,
0.02705572359263897,
0.008370725437998772,
-0.02497747354209423,
0.030942818149924278,
-0.017501549795269966,
0.02574719674885273,
0.02374591864645481,
0.05503511056303978,
0.0281333327293396,
-0.04629876837134361,
-0.006249179132282734,
0.00443792762234807,
-0.009265527129173279,
-0.030615687370300293,
-0.01798262633383274,
-0.06808190047740936,
0.036022983491420746,
-0.01841559447348118,
0.006383880507200956,
-0.012527222745120525,
-0.030230825766921043,
-0.024996716529130936,
0.020917192101478577,
-0.0032616963144391775,
-0.021359780803322792,
-0.042681075632572174,
0.005917236674576998,
0.022572092711925507,
-0.0016055916203185916,
0.05745973438024521,
0.0651184692978859,
-0.026497675105929375,
0.07327751815319061,
-0.05338020995259285,
0.0006464460748247802,
0.008673802949488163,
-0.03406019136309624,
0.022610578685998917,
0.010583675466477871,
-0.0010613743215799332,
-0.0581909716129303,
-0.02089794911444187,
0.013104514218866825,
-0.01682804338634014,
-0.02617054246366024,
-0.02736361138522625,
-0.031346920877695084,
-0.02578568272292614,
0.03040401265025139,
-0.017732467502355576,
0.07881952077150345,
-0.03742772340774536,
-0.018819699063897133,
-0.003148643532767892,
0.038178205490112305,
-0.010968536138534546,
-0.044143546372652054,
-0.004041039850562811,
-0.0011251168325543404,
0.011786365881562233,
-0.039525218307971954,
0.00912601500749588,
0.03448353707790375,
0.06076953932642937,
0.04452840983867645,
-0.01721290498971939,
-0.09036534279584885,
-0.019656771793961525,
-0.02155221253633499,
0.003071671351790428,
0.0547272227704525,
-0.04595239460468292,
0.04360474273562431,
0.020955678075551987,
-0.019320018589496613,
0.012940948829054832,
0.05572786182165146,
0.06084651127457619,
-0.061269860714673996,
-0.035753581672906876,
0.05776762589812279,
0.018203921616077423,
0.05107104405760765,
0.02482352964580059,
-0.041488006711006165,
0.018146192654967308,
0.007086251862347126,
-0.00803397223353386,
-0.014384176582098007,
-0.031039033085107803,
0.04922371357679367,
0.006297287065535784,
-0.018078841269016266,
0.02617054246366024,
0.023264842107892036,
0.0294803474098444,
0.004630357958376408,
-0.009352120570838451,
0.07566365599632263,
0.02282225340604782,
-0.0031654811464250088,
0.0470300056040287,
0.05926858261227608,
0.021051893010735512,
-0.08667068183422089,
0.02636297419667244,
0.05299535021185875,
0.036099955439567566,
0.018588783219456673,
0.02724815346300602,
0.012113497592508793,
0.019916553050279617,
-0.014913360588252544,
-0.018069220706820488,
0.007490355521440506,
0.05984587222337723,
0.006547446362674236,
0.010083355940878391,
-0.021686913445591927,
-0.013806886039674282
] |
711,116
|
yt_dlp.YoutubeDL
|
_format_text
| null |
def _format_text(self, handle, allow_colors, text, f, fallback=None, *, test_encoding=False):
text = str(text)
if test_encoding:
original_text = text
# handle.encoding can be None. See https://github.com/yt-dlp/yt-dlp/issues/2711
encoding = self.params.get('encoding') or getattr(handle, 'encoding', None) or 'ascii'
text = text.encode(encoding, 'ignore').decode(encoding)
if fallback is not None and text != original_text:
text = fallback
return format_text(text, f) if allow_colors is True else text if fallback is None else fallback
|
(self, handle, allow_colors, text, f, fallback=None, *, test_encoding=False)
|
[
0.04246589168906212,
-0.08710772544145584,
0.03258642926812172,
0.06222481653094292,
0.0025883137714117765,
-0.03460443764925003,
-0.02263677679002285,
0.05225761607289314,
0.08542312681674957,
-0.06499738246202469,
0.016696816310286522,
-0.023373788222670555,
-0.04211493581533432,
-0.04334328696131706,
-0.021934861317276955,
0.07236749678850174,
-0.050608113408088684,
0.009081033058464527,
0.06306711584329605,
-0.025163672864437103,
-0.003323131473734975,
-0.05773255601525307,
-0.00261463550850749,
-0.0059882174246013165,
0.019337773323059082,
-0.001172418356873095,
0.005330171436071396,
-0.022250723093748093,
-0.03363930433988571,
-0.014450686983764172,
0.07945684343576431,
-0.03432366997003555,
0.014520878903567791,
0.07342036813497543,
-0.023022830486297607,
0.028146814554929733,
-0.04099186882376671,
-0.01968873105943203,
-0.05001148581504822,
-0.06769976019859314,
-0.0366399921476841,
0.0013961539370939136,
0.047624971717596054,
0.00540913688018918,
-0.042992327362298965,
0.022724516689777374,
-0.033323440700769424,
0.06029454991221428,
-0.02809417061507702,
-0.014547199942171574,
0.03937746211886406,
-0.014784096740186214,
-0.04509807750582695,
0.01965363696217537,
-0.04681776836514473,
-0.007106895092874765,
0.003770602634176612,
0.028901373967528343,
-0.015082410536706448,
-0.0822645053267479,
0.018337544053792953,
0.005058179143816233,
0.0321652814745903,
0.0273045152425766,
-0.049028802663087845,
0.0064839450642466545,
0.030550874769687653,
-0.02719922922551632,
0.017609307542443275,
0.022215627133846283,
0.0350431352853775,
0.016916165128350258,
0.0015836970414966345,
-0.011414902284741402,
-0.004325554706156254,
0.007620171178132296,
-0.013827736489474773,
0.018741145730018616,
0.014722678810358047,
-0.004641416948288679,
0.04927447438240051,
0.03502558916807175,
0.05839937552809715,
-0.027427351102232933,
0.03432366997003555,
-0.08844136446714401,
0.014362947084009647,
0.04808121547102928,
0.014108503237366676,
0.023637007921934128,
0.03874573856592178,
-0.10549791157245636,
0.021425973623991013,
0.03800872713327408,
-0.012915246188640594,
-0.010835821740329266,
0.011221875436604023,
-0.04530864953994751,
0.003027010941877961,
0.017205705866217613,
-0.020022142678499222,
0.05074849724769592,
0.036815471947193146,
-0.05601286143064499,
0.030392944812774658,
-0.11469300836324692,
-0.0027988883666694164,
-0.018741145730018616,
0.014819192700088024,
0.012748541310429573,
-0.002647537738084793,
-0.07127952575683594,
0.06520795822143555,
-0.03413064405322075,
0.0786847397685051,
-0.042711563408374786,
-0.047484587877988815,
-0.02040819451212883,
0.03930727392435074,
-0.034692175686359406,
-0.017065322026610374,
-0.007111282087862492,
-0.04471202194690704,
-0.06310220807790756,
-0.01817961409687996,
0.030814094468951225,
0.007778102066367865,
-0.0049660527147352695,
0.08317699283361435,
-0.005027470178902149,
0.026637695729732513,
0.0725780725479126,
0.030919380486011505,
-0.008879232220351696,
0.004847604315727949,
-0.004044788423925638,
-0.0776318609714508,
0.059522442519664764,
0.062400296330451965,
0.04520336166024208,
0.029445357620716095,
-0.06889301538467407,
0.006808581296354532,
-0.023268502205610275,
-0.03274436295032501,
0.011757086031138897,
0.007010381668806076,
-0.026181451976299286,
0.005575841758400202,
0.05689025670289993,
0.036920759826898575,
0.05924167484045029,
-0.03439386188983917,
0.04236060380935669,
-0.007909711450338364,
0.0029107562731951475,
0.0075280447490513325,
0.017293445765972137,
0.009940879419445992,
0.08977500349283218,
0.03220037743449211,
-0.022882448509335518,
0.045905277132987976,
0.04408029839396477,
0.012529193423688412,
0.05141531676054001,
0.021320685744285583,
-0.019846662878990173,
0.04952014237642288,
-0.017688272520899773,
0.004314587451517582,
-0.034411411732435226,
-0.019144747406244278,
0.04625623673200607,
0.03535899892449379,
0.05450374633073807,
0.014178694225847721,
-0.001702145324088633,
0.00008417502976953983,
-0.005062566138803959,
-0.020934632048010826,
-0.0186885017901659,
-0.008879232220351696,
-0.009037163108587265,
0.03014727495610714,
-0.024268731474876404,
0.010054940357804298,
-0.002450124127790332,
-0.0409567728638649,
-0.022373558953404427,
0.006598006468266249,
-0.021496163681149483,
-0.011888694949448109,
-0.013941798359155655,
0.0132925258949399,
0.02935761958360672,
0.009984749369323254,
-0.03183187171816826,
-0.0499412938952446,
-0.063944511115551,
0.015389499254524708,
-0.022162985056638718,
0.014266434125602245,
0.002209937432780862,
0.0068129682913422585,
-0.02554972656071186,
-0.012099269777536392,
0.0036389934830367565,
-0.11013055592775345,
-0.009238963946700096,
-0.07721071690320969,
-0.03227056935429573,
-0.057837843894958496,
0.056784968823194504,
0.02091708406805992,
-0.02881363406777382,
0.050608113408088684,
0.033253248780965805,
-0.036745280027389526,
0.037061143666505814,
-0.042746659368276596,
-0.01979401893913746,
0.022759612649679184,
0.020671414211392403,
0.0682612881064415,
-0.007453465834259987,
-0.0036960241850465536,
0.036850567907094955,
0.03639432415366173,
-0.014977123588323593,
-0.032077543437480927,
0.0242511834949255,
-0.02023271657526493,
0.06387431919574738,
0.03365685045719147,
-0.04860765486955643,
0.03302512690424919,
-0.06422527879476547,
-0.04509807750582695,
0.01708287000656128,
-0.0017405312974005938,
0.026830723509192467,
0.003860535565763712,
0.00830015167593956,
-0.006299692206084728,
-0.04053562507033348,
-0.01124819740653038,
0.038710642606019974,
0.004215880297124386,
0.00393511401489377,
-0.03955294191837311,
0.050502825528383255,
-0.032253019511699677,
-0.02486535906791687,
-0.06650649756193161,
-0.03330589458346367,
-0.000049387712351744995,
-0.009361798875033855,
-0.013582066632807255,
0.02274206466972828,
0.00511082261800766,
-0.0035139648243784904,
-0.030094631016254425,
0.055275849997997284,
-0.004318974446505308,
-0.006268983706831932,
-0.0506783053278923,
0.013125821016728878,
-0.009195093996822834,
0.021969957277178764,
-0.017468923702836037,
-0.02665524370968342,
0.021180301904678345,
-0.02863815613090992,
-0.021443521603941917,
0.01065156888216734,
0.03279700502753258,
-0.004264137241989374,
0.016995130106806755,
-0.011107813566923141,
0.007361339405179024,
0.008001837879419327,
0.0038956315256655216,
0.004777412861585617,
0.07454343140125275,
0.02051348239183426,
-0.01500344555824995,
-0.016231797635555267,
-0.0013709288323298097,
-0.02537424862384796,
-0.03244604915380478,
-0.009598695673048496,
0.044220682233572006,
0.02253149077296257,
-0.017468923702836037,
0.019951950758695602,
0.04222022369503975,
-0.06520795822143555,
-0.0016703397268429399,
-0.07573669403791428,
-0.03790344297885895,
0.012985438108444214,
0.03741209954023361,
0.019127199426293373,
-0.02698865346610546,
-0.06134742125868797,
-0.019232487305998802,
-0.03618374839425087,
0.01930267922580242,
-0.031744133681058884,
-0.02511102892458439,
0.001305124256759882,
0.06650649756193161,
0.02949800156056881,
0.01101130060851574,
0.0048958612605929375,
-0.022724516689777374,
0.013459230773150921,
-0.019109651446342468,
-0.039903901517391205,
0.00015779391105752438,
-0.06201424077153206,
0.023952869698405266,
0.0140119893476367,
0.04622114077210426,
-0.045764897018671036,
-0.02335624024271965,
0.010827047750353813,
0.025707658380270004,
0.04330819100141525,
-0.02270696870982647,
0.04685286432504654,
0.04513317346572876,
-0.05131002888083458,
-0.04948504641652107,
-0.042746659368276596,
0.00025417021242901683,
-0.0265850517898798,
-0.0016165992710739374,
-0.06376902759075165,
-0.037061143666505814,
0.03272681310772896,
-0.012344940565526485,
0.013432909734547138,
-0.012704672291874886,
0.07636841386556625,
-0.015319307334721088,
-0.02256658673286438,
0.02016252465546131,
-0.01512628048658371,
0.016275666654109955,
-0.03327079862356186,
-0.003996531944721937,
0.0026804402004927397,
-0.032463595271110535,
0.00014943124551791698,
-0.007536818739026785,
0.0002695246075745672,
-0.02088198810815811,
-0.0009585534571669996,
-0.023093022406101227,
-0.026813175529241562,
0.00558900274336338,
0.033253248780965805,
0.01029183715581894,
0.018460379913449287,
-0.017065322026610374,
0.06211952865123749,
-0.00033039384288713336,
0.03874573856592178,
0.00697967316955328,
-0.0032639075070619583,
0.0011680313618853688,
-0.05436336249113083,
-0.017293445765972137,
0.022320915013551712,
-0.030428040772676468,
0.022268271073698997,
-0.0017032420728355646,
-0.0016144057735800743,
0.012432679533958435,
0.02777830883860588,
-0.07120933383703232,
-0.012195782735943794,
-0.016231797635555267,
-0.0321652814745903,
-0.019460609182715416,
-0.002242839662358165,
0.039938997477293015,
-0.04797593131661415,
-0.034797463566064835,
-0.044431254267692566,
0.08296642452478409,
0.0037464743945747614,
0.007225343491882086,
-0.00222529168240726,
0.02939271554350853,
0.04937976226210594,
0.03244604915380478,
0.04036014527082443,
-0.031498461961746216,
-0.02507593482732773,
-0.025532178580760956,
-0.03913179412484169,
-0.03614865243434906,
0.07405209541320801,
0.0319722555577755,
0.08977500349283218,
0.014547199942171574,
0.11111323535442352,
0.008809040300548077,
-0.007541205268353224,
-0.029147043824195862,
-0.03611355647444725,
-0.052117232233285904,
0.020109880715608597,
-0.0653834342956543,
0.022233175113797188,
-0.07022665441036224,
-0.0037640223745256662,
-0.03158619999885559,
-0.0024742523673921824,
-0.008414212614297867,
0.023549268022179604,
0.021355781704187393,
-0.04218512773513794,
0.01173076406121254,
0.0132925258949399,
0.022619228810071945,
-0.006905094720423222,
0.02328605018556118,
-0.0628916323184967,
-0.025426892563700676,
-0.030199917033314705,
0.022987734526395798,
0.019565897062420845,
-0.0012864796444773674,
0.018600763753056526,
0.00045487418537959456,
-0.02551463060081005,
0.07461362332105637,
0.008598465472459793,
0.0016034384025260806,
0.03497294336557388,
0.053485967218875885,
-0.0179690383374691,
-0.030428040772676468,
-0.03639432415366173,
-0.027760760858654976,
-0.0015804067952558398,
0.009405668824911118,
0.08093086630105972,
-0.04937976226210594,
0.017223253846168518,
-0.023163214325904846,
-0.027760760858654976,
0.07250788062810898,
-0.011037622578442097,
0.007141991052776575,
0.07777224481105804,
-0.030445588752627373,
0.03818420693278313,
-0.014836740680038929,
0.003492030082270503,
0.019916854798793793,
-0.03563976287841797,
0.025233864784240723,
-0.041342828422784805,
-0.05109945312142372,
-0.0072385044768452644,
-0.017609307542443275,
-0.010949882678687572,
-0.017398731783032417,
0.02328605018556118,
-0.011976434849202633,
0.023847581818699837,
-0.035236161202192307,
-0.0028690798208117485,
-0.007681588642299175,
0.0359380766749382,
0.009993523359298706,
-0.025672562420368195,
0.014529652893543243,
0.00679980730637908,
-0.007361339405179024,
-0.012564288452267647,
0.10212871432304382,
-0.02242620289325714,
0.05439845845103264,
0.008712527342140675,
0.0129327941685915,
-0.010712986811995506,
0.02400551363825798,
-0.0018162066116929054,
-0.04804611951112747,
-0.05552152171730995,
-0.00025458147865720093,
-0.04948504641652107,
0.02476007118821144,
-0.047203823924064636,
0.023601911962032318,
0.0006657230551354587,
-0.006927029229700565,
-0.004222461022436619,
0.03944765403866768,
-0.05699554458260536,
0.025672562420368195,
0.03521861508488655,
0.013108273036777973,
0.013476778753101826,
-0.045694705098867416,
0.03134053200483322,
-0.003864922560751438,
-0.034797463566064835,
0.008651109412312508,
-0.021496163681149483,
-0.011099040508270264,
-0.03230566531419754,
0.003851761808618903,
-0.028006430715322495,
-0.08387891203165054,
0.026286737993359566,
-0.044466350227594376,
-0.054889798164367676,
0.004658964462578297,
0.019355321303009987,
0.018986815586686134,
0.06443584710359573,
0.01947815716266632,
-0.04927447438240051,
-0.03632413223385811,
0.0015047314809635282,
0.04653700441122055,
-0.06204933673143387,
-0.0388159304857254,
-0.021654095500707626,
-0.021829575300216675,
0.05092397704720497,
-0.0510292612016201,
0.01893417350947857,
0.01944306120276451,
0.03291983902454376,
-0.050432633608579636,
-0.07201653718948364,
0.022847352549433708,
-0.049098994582891464,
0.042922139167785645,
-0.0307263545691967,
0.0016407276270911098,
0.008414212614297867,
-0.0249706469476223,
-0.0005077920504845679,
0.056328725069761276,
0.05159079656004906,
-0.0006092407857067883,
-0.01896926760673523,
0.019285131245851517,
0.06271615624427795,
0.03155110403895378,
-0.009124902077019215,
-0.02088198810815811,
0.03418328985571861,
-0.030533326789736748,
-0.0023163214791566133,
-0.01749524660408497,
-0.012423905543982983,
0.0007627847953699529,
0.08317699283361435,
-0.026356929913163185,
-0.007589462213218212,
0.058188799768686295,
-0.021689191460609436,
0.052117232233285904,
-0.016889844089746475,
-0.06492719054222107,
-0.015214020386338234,
0.027427351102232933,
0.0005332913133315742,
0.052011944353580475,
0.02723432518541813,
-0.03518351912498474,
-0.040149569511413574,
0.01471390575170517,
-0.015082410536706448,
-0.002133165253326297,
-0.040114473551511765,
0.04818650335073471,
0.02476007118821144,
-0.03200735151767731,
0.002662892220541835,
-0.038500070571899414,
0.012502871453762054,
0.08240488916635513,
-0.06373393535614014,
0.020180072635412216,
-0.002840564586222172,
0.033253248780965805,
0.007010381668806076,
-0.004066723398864269,
-0.017372410744428635,
-0.006720841862261295,
0.03035784885287285,
-0.050643209367990494,
0.021513711661100388,
0.060996465384960175,
0.029445357620716095,
0.02314566634595394,
-0.05685516074299812,
-0.029620837420225143,
-0.0013369298540055752,
-0.03535899892449379,
0.04243079572916031,
0.004073303658515215,
-0.06583967804908752,
0.04544903337955475,
0.001387380063533783,
0.0074183703400194645,
-0.00300507596693933,
0.017065322026610374,
-0.0031783615704625845,
0.0441855862736702,
0.054819606244564056,
-0.0697002187371254,
0.021110111847519875,
0.013362717814743519,
0.034586891531944275,
-0.03920198604464531,
-0.03418328985571861,
-0.04811631143093109,
-0.04509807750582695,
-0.028480224311351776,
0.035376545041799545,
-0.02235601097345352,
0.06566420197486877,
-0.02411079965531826,
0.027006201446056366,
-0.03535899892449379,
0.0036982176825404167,
0.02853286825120449,
-0.015108732506632805,
0.021724287420511246,
-0.03288474306464195,
-0.012853829190135002,
-0.01045854203402996,
0.002012523589655757,
0.03399026021361351,
-0.01794271729886532,
-0.03765777125954628,
-0.0028932082932442427,
-0.016679268330335617,
-0.02325095422565937,
0.045835088938474655,
-0.005119596607983112,
-0.02019762061536312,
0.008172929286956787,
0.09152979403734207,
-0.002557604806497693,
-0.017758464440703392,
0.03762267529964447,
0.007058638613671064,
0.006032086908817291,
0.05134512484073639,
-0.004014079924672842,
0.02709394134581089,
0.0006196598405949771,
-0.06261087208986282,
0.025426892563700676,
0.02242620289325714,
0.027444899082183838,
-0.07412228733301163,
0.0034964170772582293,
0.0029963022097945213,
0.001289769890718162,
0.015696587041020393,
-0.003224424785003066,
0.023707197979092598,
0.02623409405350685,
0.015819422900676727,
0.09216151386499405,
0.010037392377853394,
0.05253838002681732,
-0.018390187993645668,
-0.07826358824968338,
0.0278485007584095,
-0.008602852933108807,
0.04116734862327576,
-0.061277229338884354,
-0.029691029340028763,
0.053836923092603683,
-0.01176586002111435,
-0.04565960913896561,
-0.05766236409544945,
-0.04176397621631622,
-0.018951721489429474,
0.03230566531419754,
-0.015082410536706448,
0.020180072635412216,
-0.022408654913306236,
0.009116129018366337,
-0.005220497027039528,
0.022443750873208046,
-0.03402535617351532,
-0.00580396456643939,
-0.014380495063960552,
0.00034163545933552086,
-0.041413020342588425,
-0.04257117956876755,
0.010519959963858128,
-0.006558523513376713,
-0.04509807750582695,
-0.03864045441150665,
0.03818420693278313,
0.018460379913449287,
0.055100373923778534,
-0.028199458494782448,
0.02367210201919079,
-0.00448567932471633,
-0.05085378512740135,
0.05152060464024544,
-0.02332114428281784,
-0.016679268330335617,
0.03493784740567207,
-0.005760094616562128,
0.027251873165369034,
-0.01835509203374386,
0.03570995479822159,
-0.04948504641652107,
-0.027550186961889267,
0.012318618595600128,
-0.008914328180253506,
0.03892121836543083,
0.04074620082974434,
-0.04523845762014389,
0.010125132277607918,
-0.041518308222293854,
0.008545822463929653,
0.05899600312113762,
0.012406357564032078,
0.0029963022097945213,
-0.013713675551116467,
-0.02939271554350853,
-0.003316551214084029,
-0.07419247925281525,
0.008036932907998562,
0.07278864830732346,
0.04499278962612152,
0.023093022406101227,
0.019092103466391563,
-0.0336042083799839,
0.041307732462882996,
0.0470634400844574,
0.006137374322861433,
-0.06068060174584389,
0.09454803168773651,
0.10226909816265106,
0.007633331697434187,
-0.006111052352935076,
0.041272636502981186,
-0.002467671874910593,
0.035552024841308594,
0.0026957944501191378,
0.06306711584329605,
0.033393632620573044,
0.04969562217593193,
-0.04948504641652107,
-0.032463595271110535,
-0.031200148165225983,
0.0441855862736702
] |
711,117
|
yt_dlp.YoutubeDL
|
_get_available_impersonate_targets
| null |
def _get_available_impersonate_targets(self):
# todo(future): make available as public API
return [
(target, rh.RH_NAME)
for rh in self._request_director.handlers.values()
if isinstance(rh, ImpersonateRequestHandler)
for target in rh.supported_targets
]
|
(self)
|
[
0.04683510214090347,
0.00038037929334677756,
-0.0010843315394595265,
-0.06554775685071945,
0.005890031345188618,
0.01883740723133087,
0.054712239652872086,
-0.06458539515733719,
-0.03254219889640808,
0.05588846653699875,
0.00766327790915966,
-0.001535997143946588,
0.01007810141891241,
-0.0273382980376482,
-0.006928137969225645,
-0.02439773827791214,
0.013089948333799839,
0.05043506249785423,
0.052074648439884186,
-0.022009646520018578,
0.01456913910806179,
0.004475443623960018,
-0.0171265359967947,
-0.05813398212194443,
-0.0342530719935894,
0.07214174419641495,
-0.03845896199345589,
0.0034640689846128225,
0.02696404606103897,
-0.019746307283639908,
-0.02969074621796608,
-0.039385683834552765,
0.04059755057096481,
-0.01607506163418293,
0.017171088606119156,
0.024166058748960495,
0.01978195086121559,
0.08155153691768646,
-0.0142750833183527,
-0.06932593137025833,
-0.057456765323877335,
-0.05100535228848457,
0.052538007497787476,
0.0035487215500324965,
-0.007115264423191547,
0.05011427402496338,
-0.02259775996208191,
0.002791304374113679,
0.022633401677012444,
-0.02022748999297619,
0.023880911991000175,
0.0410609133541584,
-0.006366758141666651,
-0.004589056130498648,
0.01554932538419962,
0.036748092621564865,
-0.004101190250366926,
0.018267115578055382,
0.0026643257588148117,
-0.011878080666065216,
0.0035665431059896946,
-0.01220778003334999,
0.03377188742160797,
-0.0507202073931694,
0.021777966991066933,
-0.0056939939968287945,
-0.010603838600218296,
-0.010862250812351704,
-0.033041201531887054,
0.02826501987874508,
0.01608397252857685,
-0.048367761075496674,
-0.028781846165657043,
0.014488941989839077,
0.04134605824947357,
-0.048296473920345306,
0.0350193977355957,
0.0434846468269825,
-0.015362199395895004,
-0.03575008362531662,
-0.04074012488126755,
-0.008180104196071625,
-0.007961789146065712,
0.06298144906759262,
0.03035014495253563,
-0.02837195061147213,
-0.020940352231264114,
-0.03166894242167473,
-0.04605095461010933,
-0.03753224015235901,
-0.053393442183732986,
-0.0016718866536393762,
0.002717790426686406,
-0.017661182209849358,
-0.024718526750802994,
0.0641220360994339,
-0.0368906632065773,
0.03184715658426285,
-0.029049169272184372,
0.017420591786503792,
-0.03924311324954033,
0.010416711680591106,
0.0286570955067873,
0.06005871295928955,
0.024148236960172653,
0.0196571983397007,
-0.05845477059483528,
0.02808680571615696,
-0.0074182311072945595,
0.021617572754621506,
-0.019621556624770164,
0.021243318915367126,
0.045908380299806595,
-0.04163120314478874,
0.04056190699338913,
-0.04227278009057045,
-0.01710871420800686,
-0.011503827758133411,
-0.011379077099263668,
-0.007079621311277151,
-0.0423797108232975,
0.020102739334106445,
0.021154211834073067,
-0.024379916489124298,
0.013758257031440735,
-0.014889927580952644,
0.00019046809757128358,
-0.013410736806690693,
-0.015772094950079918,
-0.013303807005286217,
-0.09295734763145447,
-0.021991826593875885,
-0.009962261654436588,
0.053393442183732986,
-0.020779957994818687,
-0.0007290138746611774,
-0.060949791222810745,
-0.03810252994298935,
0.0588468462228775,
-0.02940560132265091,
-0.058882489800453186,
0.006242007482796907,
-0.0015449079219251871,
0.016894854605197906,
-0.026037324219942093,
0.009917707182466984,
0.0300828218460083,
0.0406331941485405,
0.05164692923426628,
-0.05268058180809021,
-0.01646713726222515,
-0.004528908059000969,
-0.03623126447200775,
-0.045730166137218475,
-0.05275186896324158,
0.06380124390125275,
-0.02224132791161537,
0.0010392207186669111,
-0.010808786377310753,
-0.05496174097061157,
-0.040704481303691864,
-0.06757941842079163,
-0.0867554321885109,
0.03346892073750496,
0.031134294345974922,
-0.05143307149410248,
0.04191634804010391,
-0.005890031345188618,
0.04152427241206169,
0.03706888109445572,
-0.03728273883461952,
0.0060192374512553215,
0.060379501432180405,
-0.024843277409672737,
0.02268686704337597,
0.02600168064236641,
-0.022098755463957787,
-0.023756161332130432,
-0.02165321633219719,
0.04519551992416382,
0.00842069461941719,
0.007400409784168005,
-0.0038494605105370283,
-0.034181784838438034,
0.019710663706064224,
0.005689538549631834,
-0.012475104071199894,
-0.031241223216056824,
-0.06283888220787048,
0.06604676693677902,
0.04605095461010933,
0.003954162355512381,
0.06248244643211365,
0.05692211538553238,
-0.03036796674132347,
0.024272987619042397,
-0.051290497183799744,
0.01693049818277359,
-0.07089423388242722,
-0.04925883933901787,
-0.0368906632065773,
-0.01958591304719448,
-0.03927875682711601,
0.056993402540683746,
-0.006678635720163584,
0.03264912962913513,
0.016057239845395088,
-0.01599486544728279,
0.020084917545318604,
-0.025235353037714958,
0.009703848510980606,
0.016796836629509926,
-0.03015410713851452,
-0.0063088382594287395,
0.004141288809478283,
0.10286614298820496,
0.03544711694121361,
0.04376979172229767,
0.009240487590432167,
-0.017376037314534187,
-0.022276971489191055,
0.006366758141666651,
0.015290913172066212,
-0.014916659332811832,
0.018267115578055382,
0.027463050559163094,
-0.03746095299720764,
0.008728117682039738,
0.022187862545251846,
0.017260197550058365,
0.030849149450659752,
-0.02808680571615696,
-0.006571706384420395,
0.08376140892505646,
0.00666526984423399,
0.04095398262143135,
0.02211657725274563,
-0.05332215875387192,
0.07025265693664551,
0.06554775685071945,
-0.006999424193054438,
0.05022120475769043,
0.02345319464802742,
-0.008924154564738274,
0.030760042369365692,
-0.03206101804971695,
0.007355855777859688,
-0.007039522752165794,
-0.002075099851936102,
-0.042522281408309937,
0.023952199146151543,
0.00859891064465046,
-0.03927875682711601,
-0.02828284166753292,
-0.06266066431999207,
-0.033700600266456604,
0.002243290888145566,
0.009623651392757893,
-0.006380124483257532,
-0.010185031220316887,
-0.008585544303059578,
0.006451410707086325,
-0.028122447431087494,
-0.010612748563289642,
-0.0599517859518528,
0.02628682553768158,
0.008291488513350487,
0.0057920124381780624,
-0.07934165745973587,
0.028977883979678154,
0.054427094757556915,
-0.0015404525911435485,
-0.053464729338884354,
-0.007057344540953636,
0.02922738529741764,
0.05571024864912033,
-0.0007111923187039793,
0.004408612381666899,
-0.06964672356843948,
-0.026179896667599678,
-0.02224132791161537,
0.03496593236923218,
0.013784989714622498,
-0.005217266734689474,
-0.049900416284799576,
-0.02448684722185135,
-0.03992033377289772,
-0.022544294595718384,
-0.012074118480086327,
-0.025467032566666603,
-0.01268005184829235,
0.059345848858356476,
0.048367761075496674,
-0.06187651306390762,
-0.0007017246098257601,
0.03817381709814072,
-0.0045667788945138454,
-0.04266485571861267,
0.03656987473368645,
-0.03141944110393524,
-0.02110074646770954,
-0.010808786377310753,
-0.06832792609930038,
-0.028336307033896446,
0.01599486544728279,
-0.0327204167842865,
0.06854178756475449,
0.010559284128248692,
-0.012189958244562149,
0.00339501048438251,
0.010880072601139545,
-0.027855124324560165,
0.011459274217486382,
-0.05506867170333862,
-0.01362459547817707,
-0.03434217721223831,
0.018133454024791718,
0.023987842723727226,
0.00737813301384449,
0.02639375440776348,
-0.02138589136302471,
0.10151170194149017,
-0.02117203362286091,
-0.043449003249406815,
0.04049062356352806,
0.0014045629650354385,
0.00983751006424427,
0.05189643055200577,
-0.050078630447387695,
0.04170249029994011,
-0.07506448030471802,
-0.03717580810189247,
-0.03430653363466263,
0.008897421881556511,
0.036462947726249695,
0.018204741179943085,
-0.02439773827791214,
0.059630997478961945,
0.01456022821366787,
0.03927875682711601,
-0.09324248880147934,
-0.023970020934939384,
-0.010122655890882015,
0.03746095299720764,
-0.005974683444947004,
0.01758989691734314,
0.04362722113728523,
0.0900346040725708,
-0.003653423162177205,
-0.06740120053291321,
-0.02013838104903698,
0.081266388297081,
-0.05228850618004799,
-0.028870955109596252,
-0.0030430343467742205,
0.005310829728841782,
-0.04295000061392784,
0.024237344041466713,
0.019728485494852066,
0.03100954368710518,
0.035126328468322754,
-0.03387881815433502,
0.04038369283080101,
-0.01890869252383709,
-0.003308130195364356,
-0.011281058192253113,
0.07221303135156631,
-0.025894751772284508,
0.06590419262647629,
-0.07734564691781998,
-0.023613588884472847,
-0.022722510620951653,
-0.004798459354788065,
0.01864136941730976,
-0.01409686729311943,
0.04038369283080101,
0.014248350635170937,
-0.03735402598977089,
-0.04662124440073967,
0.04437572509050369,
0.0040811412036418915,
0.05738547816872597,
0.0663319081068039,
0.04116784408688545,
-0.01503250002861023,
-0.029904605820775032,
-0.018873048946261406,
0.025288816541433334,
-0.04840340092778206,
0.041381701827049255,
0.03056400455534458,
-0.06921900063753128,
-0.0742090493440628,
0.049508340656757355,
0.025573963299393654,
-0.04872418940067291,
-0.04049062356352806,
0.025270996615290642,
-0.035322364419698715,
0.00045695636072196066,
0.0397421158850193,
0.06194780021905899,
-0.006914771627634764,
-0.000030456796594080515,
-0.0518251471221447,
0.021724501624703407,
-0.00012015641550533473,
-0.0074806069023907185,
-0.0035242168232798576,
0.009089004248380661,
0.0027623444329947233,
-0.02933431603014469,
0.033700600266456604,
-0.029102634638547897,
-0.024433381855487823,
0.014872105792164803,
-0.06626062095165253,
0.03970647230744362,
0.019532447680830956,
0.0013722614385187626,
0.05927456542849541,
-0.04423315450549126,
-0.06344481557607651,
0.01314341276884079,
0.03774609789252281,
0.013499844819307327,
-0.04230842366814613,
-0.0434846468269825,
0.0027712550945580006,
-0.03632037341594696,
-0.003459613537415862,
0.06536954641342163,
0.007917235605418682,
-0.03774609789252281,
0.07271203398704529,
-0.02298983372747898,
-0.026607614010572433,
0.027569979429244995,
-0.002673236420378089,
-0.007075165864080191,
-0.08262082934379578,
-0.00880385935306549,
-0.016672085970640182,
0.024183880537748337,
0.05275186896324158,
-0.03562533110380173,
-0.045159876346588135,
0.038922324776649475,
0.025859108194708824,
-0.005738547537475824,
0.01214540470391512,
-0.04120348393917084,
0.039955973625183105,
0.019443340599536896,
-0.00973949208855629,
0.04305693134665489,
0.04982912912964821,
0.07174966484308243,
-0.029922427609562874,
0.004056636244058609,
0.01451567467302084,
-0.05549639090895653,
0.027373941615223885,
-0.0013098858762532473,
0.04330643266439438,
0.01628001034259796,
0.024094771593809128,
-0.0450173020362854,
-0.008425150066614151,
0.0340392105281353,
0.00020174581732135266,
-0.006807842291891575,
0.026625435799360275,
-0.018587904050946236,
-0.013981026597321033,
0.008750393986701965,
0.05777755007147789,
0.061234936118125916,
0.03678373619914055,
-0.03256002068519592,
-0.00619299802929163,
-0.021350249648094177,
0.023435372859239578,
-0.008585544303059578,
-0.03566097468137741,
-0.037318382412195206,
-0.025573963299393654,
-0.044019293040037155,
-0.004883111920207739,
0.0010336514096707106,
0.05941713601350784,
0.00730684632435441,
-0.008496436290442944,
-0.07060908526182175,
0.02942342311143875,
-0.01824929378926754,
0.021724501624703407,
-0.0012686734553426504,
0.056423112750053406,
0.048189543187618256,
0.026536328718066216,
0.0021630937699228525,
0.005150435492396355,
-0.0408470556139946,
-0.015469128265976906,
-0.05474788323044777,
0.028229378163814545,
-0.007057344540953636,
-0.04640738666057587,
0.03223923221230507,
0.048759832978248596,
0.05645875632762909,
-0.036266908049583435,
0.026643257588148117,
0.016716638579964638,
-0.033611495047807693,
-0.01628001034259796,
0.014061223715543747,
0.06693784147500992,
0.015299824066460133,
0.004700440913438797,
-0.004571234341710806,
-0.009133557789027691,
-0.020922530442476273,
0.03232834115624428,
0.007329123560339212,
-0.04248663783073425,
0.061698298901319504,
-0.047048963606357574,
-0.020280953496694565,
0.03644512593746185,
0.009810778312385082,
-0.02477199211716652,
-0.001772133051417768,
-0.020441347733139992,
0.023132406175136566,
-0.006732100620865822,
-0.03264912962913513,
0.021047282963991165,
0.02799769677221775,
0.010746411047875881,
0.017661182209849358,
-0.05531817302107811,
0.03553622588515282,
0.011307790875434875,
-0.07827236503362656,
-0.09830381721258163,
-0.05685082823038101,
0.01938987523317337,
0.021332427859306335,
-0.005435580853372812,
-0.008068718947470188,
-0.019247302785515785,
0.04451829940080643,
-0.03298773989081383,
-0.016779014840722084,
0.054819170385599136,
-0.025769999250769615,
-0.08012580871582031,
0.035714440047740936,
-0.04925883933901787,
-0.10315128415822983,
-0.023488838225603104,
-0.0013544398825615644,
-0.000649930618237704,
0.0070929876528680325,
0.026162074878811836,
0.05243108049035072,
-0.04059755057096481,
-0.005894486326724291,
-0.017661182209849358,
-0.02307894267141819,
-0.006326659582555294,
-0.008269211277365685,
-0.014150331728160381,
-0.0014791908906772733,
0.025841286405920982,
-0.019033443182706833,
0.07210610061883926,
-0.02202746830880642,
0.05096970871090889,
0.0011088362662121654,
0.03416396304965019,
-0.05485481396317482,
0.02960163913667202,
-0.034752074629068375,
-0.032114479690790176,
0.007235560100525618,
0.008946431800723076,
-0.03227487578988075,
-0.040989626199007034,
0.035411473363637924,
-0.009855331853032112,
0.016315653920173645,
-0.02031659707427025,
-0.012537479400634766,
-0.0015293140895664692,
0.04690638929605484,
0.01956809125840664,
-0.037211451679468155,
0.06397946178913116,
-0.007667733356356621,
0.012706784531474113,
-0.025110602378845215,
0.01587902568280697,
-0.05553203448653221,
-0.03100954368710518,
-0.06291016936302185,
-0.022348256781697273,
-0.027855124324560165,
-0.007877136580646038,
-0.02224132791161537,
0.019158195704221725,
-0.03885103762149811,
-0.004883111920207739,
0.04651431366801262,
-0.0057831015437841415,
0.08575742691755295,
0.04494601488113403,
0.011878080666065216,
-0.014417655766010284,
-0.0476548969745636,
-0.03377188742160797,
-0.02290072664618492,
0.018873048946261406,
-0.028158091008663177,
-0.03150854632258415,
0.03478771820664406,
0.029298672452569008,
0.08055352419614792,
-0.005587064195424318,
-0.024843277409672737,
0.0762050598859787,
0.0036734724417328835,
-0.007146452087908983,
0.008830591104924679,
0.0025418023578822613,
-0.04587274044752121,
-0.0007033953443169594,
-0.010630570352077484,
-0.0032390716951340437,
0.01310777012258768,
0.031152116134762764,
0.003931885585188866,
-0.023684876039624214,
0.01730475015938282,
-0.04323514550924301,
0.03913618251681328,
-0.010389978997409344,
0.017652271315455437,
0.031633298844099045,
0.03945697098970413,
-0.019621556624770164,
-0.0006337797967717052,
-0.09295734763145447,
-0.02013838104903698,
-0.10072755068540573,
0.0410609133541584,
0.039955973625183105,
0.009293952025473118,
0.02298983372747898,
0.05538946017622948,
0.0766327828168869,
0.033433277159929276,
0.06643883883953094,
0.0025017037987709045,
-0.03452039510011673,
-0.06326659768819809,
0.05535381659865379,
0.019158195704221725,
0.08532971143722534,
-0.00666526984423399,
0.004709351807832718,
0.0450173020362854,
-0.012599854730069637,
0.006825664080679417,
0.04273614287376404,
0.01684138923883438,
0.021902717649936676,
-0.022383900359272957,
0.03245308995246887,
-0.08219311386346817,
-0.024522488936781883,
0.020886888727545738,
-0.008808313868939877,
0.0006521583418361843,
0.0739951878786087,
0.01507705356925726,
-0.0014624831965193152,
-0.01644931547343731,
0.03566097468137741,
-0.04466086998581886,
0.026732364669442177,
0.08525842428207397,
0.06579726189374924,
0.02231261320412159,
-0.02466506138443947,
-0.02127896249294281,
-0.026072965934872627,
0.04359157755970955,
0.03649858757853508,
-0.021635394543409348,
-0.034359999001026154,
-0.020958174020051956,
-0.017527520656585693,
0.00889296643435955,
0.017545342445373535,
0.02070867270231247,
0.015772094950079918,
-0.0191047303378582,
-0.025181887671351433,
0.029672924429178238,
0.027480870485305786,
-0.009195934049785137,
0.053571660071611404,
-0.029637282714247704,
-0.004250445868819952,
0.015424574725329876,
-0.006816753186285496,
-0.023417551070451736,
0.01693049818277359,
0.012769159860908985,
-0.009659294970333576,
0.02486109919846058,
0.013927562162280083,
0.01862354762852192,
-0.010764232836663723,
0.023239336907863617,
0.034645143896341324,
0.0557815358042717,
-0.0013510982971638441,
0.001452458556741476,
-0.01546021830290556,
0.04323514550924301,
-0.022918548434972763,
-0.0048563797026872635,
-0.020298775285482407,
0.003795995842665434,
-0.05588846653699875,
0.0353580079972744,
-0.020191846415400505,
0.02204529009759426,
-0.012582032941281796,
0.06896950304508209,
-0.04462522640824318,
-0.025859108194708824,
-0.0031588745769113302,
-0.06034385785460472,
0.04943705350160599,
0.05089842155575752,
0.025484854355454445,
0.00042298398329876363,
0.021154211834073067,
-0.07221303135156631,
0.0325065553188324,
-0.0022755926474928856,
0.028692739084362984,
-0.05674390122294426,
-0.023595767095685005,
0.022437365725636482,
-0.028728382661938667,
0.010336514562368393,
-0.01675228215754032,
-0.05303701385855675,
-0.004453166387975216,
-0.03223923221230507,
-0.009899886325001717,
-0.036748092621564865
] |
711,120
|
yt_dlp.YoutubeDL
|
_impersonate_target_available
| null |
def _impersonate_target_available(self, target):
# todo(future): make available as public API
return any(
rh.is_supported_target(target)
for rh in self._request_director.handlers.values()
if isinstance(rh, ImpersonateRequestHandler))
|
(self, target)
|
[
0.06635470688343048,
-0.020404931157827377,
0.007318786811083555,
0.02104097418487072,
0.01438831351697445,
0.018548374995589256,
0.07391845434904099,
-0.0479610450565815,
-0.05975361540913582,
0.056453071534633636,
0.022863149642944336,
-0.015514280647039413,
0.04022539034485817,
-0.013666318729519844,
0.005148506257683039,
-0.015617422759532928,
0.04734219238162041,
0.029911188408732414,
0.04325089231133461,
-0.028364058583974838,
0.0024044986348599195,
0.02700602263212204,
0.03579028323292732,
-0.01913284696638584,
-0.043491557240486145,
0.0719243735074997,
-0.025269797071814537,
0.04545125365257263,
0.03816255182027817,
0.004946520086377859,
-0.008479134179651737,
-0.0107955327257514,
0.051571015268564224,
0.0029932677280157804,
0.06387929618358612,
0.03675294294953346,
-0.000978774856775999,
0.050745878368616104,
-0.020198646932840347,
-0.09165888279676437,
-0.0733683630824089,
-0.0007574493065476418,
0.03881578519940376,
0.03331487625837326,
-0.016064371913671494,
0.06298539787530899,
-0.03070194460451603,
0.041016146540641785,
0.012196545489132404,
-0.005045364145189524,
0.03558399900794029,
0.06002866104245186,
-0.0036293102893978357,
-0.0195454154163599,
0.014396908693015575,
0.013081847690045834,
0.004198740236461163,
0.04160061851143837,
-0.007830198854207993,
-0.03799064829945564,
-0.009532042779028416,
0.010615034028887749,
0.06772993505001068,
-0.060338087379932404,
0.0032059981022030115,
-0.0008691864786669612,
-0.025029132142663002,
-0.01616751402616501,
-0.0019457314629107714,
0.04462612047791481,
-0.014981379732489586,
-0.03585904464125633,
-0.05720944702625275,
0.030650373548269272,
0.033142972737550735,
-0.04483240470290184,
0.025854269042611122,
0.02377423830330372,
-0.008113839663565159,
-0.026215266436338425,
-0.009652375243604183,
-0.06669851392507553,
-0.009626589715480804,
0.010236846283078194,
-0.01234266348183155,
-0.01844523288309574,
-0.014053101651370525,
-0.04331965371966362,
0.0003172154538333416,
-0.030856657773256302,
-0.028071822598576546,
0.033486779779195786,
0.016365202143788338,
-0.023482002317905426,
0.0069878725335001945,
0.04005349054932594,
0.0038570822216570377,
0.019768889993429184,
-0.05366823822259903,
0.011981666088104248,
-0.06700793653726578,
0.04056919738650322,
0.07020534574985504,
0.029928378760814667,
0.04840799421072006,
0.04782352223992348,
-0.042460136115550995,
0.020937832072377205,
0.0044823805801570415,
0.006210009567439556,
0.0031135999597609043,
-0.005543884355574846,
0.020679976791143417,
-0.010073537938296795,
-0.0004402338236104697,
-0.028278106823563576,
0.009609399363398552,
0.03627161309123039,
-0.03379620611667633,
0.005389171186834574,
0.006678446661680937,
0.034913577139377594,
0.05160539597272873,
-0.04538249224424362,
0.043972887098789215,
-0.023688286542892456,
-0.008298635482788086,
-0.00032581062987446785,
0.05009264498949051,
-0.025115083903074265,
-0.07763157039880753,
-0.0008192270761355758,
-0.02973928488790989,
0.05579983815550804,
0.0019930049311369658,
0.030822277069091797,
-0.061919599771499634,
-0.001374152721837163,
0.027934299781918526,
-0.018737468868494034,
-0.016416773200035095,
-0.012978705577552319,
0.0010867516975849867,
0.0006897623534314334,
-0.04132557287812233,
0.030048711225390434,
-0.010159489698708057,
0.041634999215602875,
0.054665274918079376,
-0.029636142775416374,
-0.00580603675916791,
-0.025458890944719315,
0.02253653295338154,
-0.03267883509397507,
-0.09262154251337051,
0.04297584667801857,
-0.0024345817510038614,
0.026301218196749687,
0.012626303359866142,
-0.05879095941781998,
0.005823227111250162,
-0.021333210170269012,
-0.06525452435016632,
0.03501671925187111,
-0.013442845083773136,
-0.04558877646923065,
-0.02035336010158062,
-0.05105530470609665,
0.06312292069196701,
0.06618280708789825,
-0.01463757362216711,
0.031355176120996475,
0.09172764420509338,
-0.001015841611661017,
0.04510744661092758,
0.04297584667801857,
0.0032296348363161087,
-0.0575876347720623,
-0.05194920301437378,
0.03261007368564606,
0.029240766540169716,
-0.009600804187357426,
-0.026610644534230232,
-0.016502724960446358,
0.011637859046459198,
0.03481043502688408,
-0.03501671925187111,
-0.03926273435354233,
-0.03309140354394913,
0.08271990716457367,
0.011706620454788208,
-0.008440456353127956,
0.07226818054914474,
0.018531184643507004,
-0.03575590252876282,
-0.006932003889232874,
-0.0260433629155159,
0.02631840854883194,
-0.049783218652009964,
-0.04125681146979332,
-0.0311832744628191,
-0.03331487625837326,
-0.02475408837199211,
0.03854073956608772,
-0.019150037318468094,
0.05112406611442566,
0.00013201643014326692,
-0.005470825359225273,
0.026816928759217262,
-0.018256139010190964,
0.013253751210868359,
-0.029172005131840706,
-0.009342948906123638,
0.056590594351291656,
0.02322414703667164,
0.13752271234989166,
0.04813294857740402,
0.005092637613415718,
-0.006235795095562935,
-0.00390650425106287,
-0.012832587584853172,
0.004310477524995804,
0.019992364570498466,
-0.010202465578913689,
-0.005707192234694958,
0.005298921838402748,
-0.022106776013970375,
0.04878618195652962,
0.03922835364937782,
0.026490312069654465,
0.026215266436338425,
-0.013631938025355339,
-0.03137236833572388,
0.05359947681427002,
0.0008654260891489685,
0.01234266348183155,
0.03640913590788841,
-0.016279250383377075,
0.06250406801700592,
0.0438697449862957,
0.0356527604162693,
0.0260433629155159,
-0.0017340753693133593,
-0.031355176120996475,
-0.011190910823643208,
-0.04414479061961174,
0.013623342849314213,
0.00897335633635521,
0.005200077313929796,
-0.033400826156139374,
0.020336169749498367,
0.005513801239430904,
-0.04582944139838219,
-0.0747435912489891,
-0.05830962955951691,
-0.02434151992201805,
-0.0018576309084892273,
0.02912043407559395,
-0.01911565661430359,
0.012789611704647541,
-0.03212874382734299,
0.001596552669070661,
0.020748738199472427,
0.02062840573489666,
-0.08526407927274704,
0.03678732365369797,
-0.0002080299600493163,
-0.0024925991892814636,
-0.04737657308578491,
0.0078860679641366,
0.0024453257210552692,
-0.03503391146659851,
-0.028123393654823303,
-0.0322318859398365,
0.016949674114584923,
0.03596218675374985,
0.027865538373589516,
-0.006596792489290237,
-0.04514182731509209,
0.015987014397978783,
0.010021967813372612,
0.026576263830065727,
0.029911188408732414,
-0.002406647428870201,
-0.041153669357299805,
0.008049376308918,
-0.03647789731621742,
0.004512463696300983,
0.04029415175318718,
-0.04005349054932594,
-0.03042689897119999,
0.0445573590695858,
0.05800020322203636,
-0.02994556911289692,
-0.010357178747653961,
0.051227208226919174,
0.016330821439623833,
-0.06845192611217499,
-0.00293739908374846,
-0.03788750618696213,
-0.010915865190327168,
-0.0025892946869134903,
-0.08856462687253952,
-0.031028561294078827,
0.022295869886875153,
-0.018135806545615196,
0.0760500580072403,
0.00505395932123065,
-0.04105052724480629,
0.03352116048336029,
-0.008530705235898495,
-0.006248687859624624,
-0.015497090294957161,
-0.049920741468667984,
0.06050999090075493,
-0.020748738199472427,
0.021608255803585052,
0.005543884355574846,
-0.028553152456879616,
0.0003078145091421902,
-0.02666221559047699,
0.11043073236942291,
-0.0075078802183270454,
-0.028415629640221596,
0.005238755606114864,
-0.00138382229488343,
0.05772515758872032,
0.022863149642944336,
-0.050333309918642044,
0.022175537422299385,
-0.08368256688117981,
-0.049989502876996994,
-0.006295961327850819,
-0.0072930012829601765,
0.02982523664832115,
-0.01892656274139881,
-0.04070672020316124,
0.007426226045936346,
0.020112695172429085,
0.06326044350862503,
-0.08863338828086853,
0.007267215754836798,
0.0023056541103869677,
0.010477511212229729,
0.025046322494745255,
0.01787795126438141,
0.026782548055052757,
0.08347628265619278,
0.04823609068989754,
-0.10479230433702469,
-0.06642346829175949,
0.04338841512799263,
-0.012196545489132404,
-0.03372744470834732,
-0.004278245382010937,
-0.016468344256281853,
-0.020714357495307922,
0.05291186273097992,
-0.001443988410755992,
0.025613604113459587,
0.04555439576506615,
-0.011328432708978653,
0.011766786687076092,
0.01844523288309574,
-0.0284500103443861,
0.0016298589762300253,
0.04809856787323952,
-0.02351638302206993,
0.011904309503734112,
-0.061919599771499634,
-0.003876421367749572,
-0.04634515196084976,
-0.0315442718565464,
0.017259100452065468,
-0.005307517014443874,
0.06174769625067711,
-0.010357178747653961,
-0.0479610450565815,
-0.013262346386909485,
0.03329768404364586,
0.04961131885647774,
0.06535767018795013,
0.05098654329776764,
0.01470633503049612,
-0.006188522092998028,
-0.04916436970233917,
-0.006785886362195015,
-0.002451772103086114,
-0.030254995450377464,
0.01637379825115204,
0.061713315546512604,
-0.07783785462379456,
-0.05995989963412285,
0.06391368061304092,
-0.030340947210788727,
-0.030667563900351524,
-0.052396152168512344,
0.0030856658704578876,
0.020473692566156387,
0.028346868231892586,
0.03138955682516098,
0.04802980646491051,
-0.0014751459239050746,
0.0044479998759925365,
-0.04576067999005318,
0.016666032373905182,
-0.0051742917858064175,
-0.02590584009885788,
0.008191196247935295,
0.04610448703169823,
-0.021401971578598022,
-0.06260721385478973,
-0.0101079186424613,
-0.006059594452381134,
-0.030323756858706474,
0.041428714990615845,
-0.06023494526743889,
-0.0022755709942430258,
-0.014173434115946293,
-0.004233120940625668,
0.09083374589681625,
-0.02097221277654171,
-0.05023016780614853,
0.017078600823879242,
-0.002037055091932416,
-0.026696596294641495,
-0.03008309192955494,
-0.05844715237617493,
0.04435107484459877,
-0.04008787125349045,
-0.017843570560216904,
0.07185561209917068,
0.018668707460165024,
-0.014267981052398682,
0.04851113632321358,
-0.027195116505026817,
-0.03343520686030388,
0.041428714990615845,
-0.012858373112976551,
-0.025304177775979042,
-0.08285742998123169,
-0.010030562989413738,
-0.05834401026368141,
0.009171045385301113,
0.058928482234478,
-0.04734219238162041,
-0.01808423548936844,
0.06711108237504959,
0.024100854992866516,
-0.01995798386633396,
-0.004048324655741453,
-0.026920070871710777,
-0.017388027161359787,
0.034225963056087494,
-0.029292337596416473,
0.025596413761377335,
0.06415434181690216,
0.0713055208325386,
0.013425654731690884,
0.010168084874749184,
-0.042735181748867035,
-0.05806896463036537,
-0.006863242480903864,
-0.03365868330001831,
0.05741573125123978,
0.051708538085222244,
0.018960943445563316,
-0.012866968289017677,
0.017516955733299255,
0.044729262590408325,
0.01740521751344204,
-0.00877566821873188,
0.04758285731077194,
-0.013778056018054485,
0.013984340243041515,
0.004033283330500126,
0.027521731331944466,
0.08938976377248764,
0.022725626826286316,
0.03434629738330841,
-0.04373222216963768,
0.0015020058490335941,
0.008655335754156113,
-0.034088440239429474,
-0.02994556911289692,
-0.0637073963880539,
0.0005774879246018827,
-0.02324133738875389,
0.009007737040519714,
-0.03248973935842514,
0.053977664560079575,
0.005960749927908182,
0.015222044661641121,
-0.040259771049022675,
0.018737468868494034,
-0.02906886301934719,
0.0023615227546542883,
0.004364197142422199,
0.04686086252331734,
0.03168179467320442,
0.0202158372849226,
0.03785312548279762,
-0.027848348021507263,
-0.008577979169785976,
-0.005990833044052124,
-0.043285273015499115,
-0.02425556816160679,
0.022983482107520103,
-0.012385639362037182,
0.07825042307376862,
0.03596218675374985,
0.04692962393164635,
-0.0008262106566689909,
0.03226626664400101,
0.01878903992474079,
0.02528698742389679,
0.003895760513842106,
0.02193487249314785,
0.03902206942439079,
-0.047995425760746,
0.03926273435354233,
-0.0029481430537998676,
-0.01563461311161518,
-0.027109164744615555,
-0.0020531711634248495,
-0.012514566071331501,
-0.04847675561904907,
0.051708538085222244,
-0.04995512217283249,
-0.03297106921672821,
-0.004273947793990374,
0.020576834678649902,
-0.0016395285492762923,
-0.03854073956608772,
-0.032197505235672,
0.041497476398944855,
0.009136664681136608,
-0.03740617632865906,
-0.022931911051273346,
0.015307996422052383,
0.01664884202182293,
-0.008522110059857368,
-0.034982338547706604,
0.01842804253101349,
-0.020748738199472427,
-0.03950339928269386,
-0.06353548914194107,
-0.07556872814893723,
0.058928482234478,
-0.000016250241969828494,
0.012196545489132404,
0.017671668902039528,
0.023344479501247406,
0.05160539597272873,
0.020869070664048195,
-0.044247932732105255,
0.07591253519058228,
-0.019837651401758194,
-0.0987413078546524,
0.04995512217283249,
-0.03419158235192299,
-0.08684559166431427,
0.008414670825004578,
-0.0016438261372968554,
-0.011251076124608517,
-0.051433492451906204,
0.016279250383377075,
0.03627161309123039,
0.013657723553478718,
-0.015479899942874908,
-0.005823227111250162,
-0.030736325308680534,
-0.0043384116142988205,
0.015101712197065353,
0.012729445472359657,
-0.007731354795396328,
0.018806230276823044,
-0.04552001506090164,
0.042391374707221985,
-0.011087768711149693,
-0.023121004924178123,
-0.012041832320392132,
0.025716746225953102,
-0.05720944702625275,
0.016812151297926903,
-0.025991791859269142,
-0.04861427843570709,
0.030117472633719444,
0.0016782068414613605,
-0.01477509643882513,
-0.03309140354394913,
0.014766501262784004,
-0.0066010900773108006,
-0.04930189251899719,
0.0070222532376646996,
0.005135613493621349,
-0.012394234538078308,
0.01004775334149599,
0.05934104695916176,
0.009128069505095482,
0.043972887098789215,
-0.025132274255156517,
0.00707812188193202,
-0.0452449694275856,
-0.01830771006643772,
-0.018754659220576286,
-0.0637073963880539,
-0.051020924001932144,
-0.0045812251046299934,
-0.06745488941669464,
-0.014620383270084858,
-0.009059308096766472,
-0.013417059555649757,
-0.027401398867368698,
0.004748831037431955,
0.05614364519715309,
-0.04077548161149025,
0.08203229308128357,
0.02475408837199211,
0.020714357495307922,
-0.02000955492258072,
-0.01789514161646366,
-0.025183845311403275,
-0.03181931748986244,
0.002634419361129403,
-0.02315538562834263,
-0.011706620454788208,
0.042735181748867035,
0.00320384930819273,
0.0465858168900013,
-0.0107955327257514,
-0.01086429413408041,
0.05751887336373329,
0.030787896364927292,
-0.0030212020501494408,
-0.015024355612695217,
0.02336166985332966,
-0.005896286107599735,
0.004963710438460112,
-0.0209034513682127,
-0.008371694944798946,
-0.010288417339324951,
-0.02289753034710884,
-0.008242767304182053,
-0.02069716714322567,
-0.005720084998756647,
-0.016425369307398796,
0.034982338547706604,
-0.00013396376743912697,
0.00040477875154465437,
-0.005230160430073738,
0.01982046104967594,
0.03240378946065903,
0.0037990647833794355,
-0.0229491014033556,
-0.03953777998685837,
-0.08395761251449585,
0.04022539034485817,
0.0356527604162693,
0.02255372330546379,
0.003053433960303664,
0.01665743812918663,
0.042047567665576935,
0.007735652383416891,
0.07013658434152603,
0.010322798043489456,
-0.0486486591398716,
-0.08877091109752655,
0.03609970957040787,
0.04851113632321358,
0.03668418154120445,
0.002634419361129403,
-0.015359567478299141,
-0.004916436970233917,
-0.014620383270084858,
-0.023396050557494164,
0.02939547970890999,
-0.013580367900431156,
-0.0016696116654202342,
-0.03616847097873688,
0.005101232789456844,
-0.06975839287042618,
0.005264541134238243,
-0.006252985447645187,
-0.01350301131606102,
0.006656958721578121,
0.053840141743421555,
-0.00452105887234211,
-0.0038570822216570377,
-0.04496992379426956,
0.02322414703667164,
-0.06948334723711014,
0.0016384541522711515,
0.117925725877285,
0.019029704853892326,
0.003193105338141322,
-0.02851877175271511,
0.033349256962537766,
-0.019837651401758194,
0.04050043597817421,
0.02879381738603115,
0.010735366493463516,
-0.01623627543449402,
-0.020301789045333862,
-0.02255372330546379,
0.010150894522666931,
-0.016098752617836,
0.006304556503891945,
0.02693726122379303,
-0.041222430765628815,
-0.03137236833572388,
-0.00001677065301919356,
0.043010227382183075,
-0.03372744470834732,
0.054183948785066605,
-0.02941267006099224,
-0.018118616193532944,
-0.006132653448730707,
0.014001530595123768,
-0.043629080057144165,
-0.012351258657872677,
0.04139433428645134,
-0.026730976998806,
0.00908509362488985,
-0.024513423442840576,
-0.011577692814171314,
-0.005707192234694958,
0.0041643595322966576,
0.05762201547622681,
0.026696596294641495,
-0.01796390302479267,
-0.015789326280355453,
-0.04968007653951645,
0.05291186273097992,
-0.02420399710536003,
-0.014861047267913818,
-0.053083766251802444,
0.03805940970778465,
-0.0424945168197155,
0.018548374995589256,
-0.02700602263212204,
-0.019287560135126114,
0.007017955649644136,
0.025183845311403275,
-0.04675772041082382,
0.009901635348796844,
-0.021092545241117477,
-0.07515615969896317,
0.06425748765468597,
0.06078503653407097,
0.028123393654823303,
-0.008711203932762146,
0.03606532886624336,
-0.04400726780295372,
0.06436062604188919,
0.020955022424459457,
-0.03216312453150749,
-0.03802502900362015,
0.01172381080687046,
0.031131703406572342,
-0.07309331744909286,
0.035480860620737076,
0.02145354263484478,
-0.04902684688568115,
-0.017439598217606544,
-0.044041648507118225,
-0.013460035435855389,
-0.023825809359550476
] |
711,122
|
yt_dlp.YoutubeDL
|
_load_cookies
|
Loads cookies from a `Cookie` header
This tries to work around the security vulnerability of passing cookies to every domain.
See: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-v8mc-9377-rwjj
@param data The Cookie header as string to load the cookies from
@param autoscope If `False`, scope cookies using Set-Cookie syntax and error for cookie without domains
If `True`, save cookies for later to be stored in the jar with a limited scope
If a URL, save cookies in the jar with the domain of the URL
|
def _load_cookies(self, data, *, autoscope=True):
"""Loads cookies from a `Cookie` header
This tries to work around the security vulnerability of passing cookies to every domain.
See: https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-v8mc-9377-rwjj
@param data The Cookie header as string to load the cookies from
@param autoscope If `False`, scope cookies using Set-Cookie syntax and error for cookie without domains
If `True`, save cookies for later to be stored in the jar with a limited scope
If a URL, save cookies in the jar with the domain of the URL
"""
for cookie in LenientSimpleCookie(data).values():
if autoscope and any(cookie.values()):
raise ValueError('Invalid syntax in Cookie Header')
domain = cookie.get('domain') or ''
expiry = cookie.get('expires')
if expiry == '': # 0 is valid
expiry = None
prepared_cookie = http.cookiejar.Cookie(
cookie.get('version') or 0, cookie.key, cookie.value, None, False,
domain, True, True, cookie.get('path') or '', bool(cookie.get('path')),
cookie.get('secure') or False, expiry, False, None, None, {})
if domain:
self.cookiejar.set_cookie(prepared_cookie)
elif autoscope is True:
self.deprecated_feature(
'Passing cookies as a header is a potential security risk; '
'they will be scoped to the domain of the downloaded urls. '
'Please consider loading cookies from a file or browser instead.')
self.__header_cookies.append(prepared_cookie)
elif autoscope:
self.report_warning(
'The extractor result contains an unscoped cookie as an HTTP header. '
f'If you are using yt-dlp with an input URL{bug_reports_message(before=",")}',
only_once=True)
self._apply_header_cookies(autoscope, [prepared_cookie])
else:
self.report_error('Unscoped cookies are not allowed; please specify some sort of scoping',
tb=False, is_error=False)
|
(self, data, *, autoscope=True)
|
[
-0.04068120941519737,
0.03076826222240925,
-0.07770225405693054,
0.040185559540987015,
-0.022246940061450005,
0.02281884104013443,
-0.02512550726532936,
0.0313592255115509,
0.018739281222224236,
0.015393662266433239,
0.011895536445081234,
0.040376193821430206,
0.013029806315898895,
0.006348098628222942,
-0.005943002179265022,
-0.052729252725839615,
0.0024329612497240305,
0.10019701719284058,
-0.025049254298210144,
-0.09402048587799072,
-0.04430324584245682,
0.015336472541093826,
-0.033399004489183426,
-0.00024171744007617235,
0.0039365836419165134,
-0.006238484289497137,
-0.010542037896811962,
0.037821702659130096,
-0.022418510168790817,
0.02308572828769684,
-0.0010949516436085105,
0.03208363428711891,
-0.06496793031692505,
0.05943955481052399,
0.012048043310642242,
-0.009274324402213097,
0.04590456932783127,
-0.021484404802322388,
-0.059515807777643204,
0.0033122587483376265,
-0.09066533297300339,
-0.014488153159618378,
0.027432173490524292,
-0.05002225562930107,
-0.0318167470395565,
0.04449388012290001,
-0.0006237292545847595,
0.07034379243850708,
-0.002754655433818698,
-0.03843173012137413,
-0.006024021655321121,
-0.003750715870410204,
0.052767377346754074,
-0.038774874061346054,
0.0423969104886055,
0.022685397416353226,
0.019921209663152695,
0.06580671668052673,
-0.030653880909085274,
0.09485927224159241,
0.004403635859489441,
-0.025964295491576195,
-0.015622423030436039,
-0.00030039684497751296,
-0.012877299450337887,
0.053186770528554916,
0.029624460265040398,
-0.0370401069521904,
-0.0379551462829113,
-0.05006038025021553,
0.0039008399471640587,
0.003750715870410204,
0.014945673756301403,
-0.0016263427678495646,
0.06470104306936264,
-0.045332666486501694,
-0.04895470663905144,
-0.036696966737508774,
-0.07331767678260803,
0.03972804173827171,
-0.020340604707598686,
-0.06355723738670349,
0.003774545155465603,
0.016937794163823128,
0.038755808025598526,
0.004815881140530109,
0.07674908638000488,
0.014030632562935352,
0.0025425755884498358,
0.06778930127620697,
-0.051776085048913956,
-0.010665949434041977,
-0.007792147807776928,
0.019006168469786644,
-0.00396517850458622,
-0.02726060338318348,
0.005099448375403881,
0.04872594401240349,
-0.018672559410333633,
0.011133002117276192,
-0.009636527858674526,
-0.007001018617302179,
-0.05597002059221268,
-0.02773718722164631,
-0.015813056379556656,
-0.03604881092905998,
-0.042511291801929474,
-0.01444049458950758,
-0.038336414843797684,
-0.03008197993040085,
-0.06573045998811722,
-0.04979349300265312,
0.030386993661522865,
0.05982081964612007,
0.038031402975320816,
-0.044570133090019226,
-0.00587628036737442,
-0.019730577245354652,
-0.03336087986826897,
-0.025411456823349,
-0.06149839609861374,
0.050212886184453964,
-0.029281320050358772,
0.07312704622745514,
0.021293772384524345,
-0.011990852653980255,
0.002552107209339738,
0.05352991074323654,
0.01186694111675024,
0.04518016055226326,
0.05139481648802757,
0.010866114869713783,
0.004563291557133198,
-0.03093983232975006,
0.04895470663905144,
-0.030634818598628044,
-0.02678401954472065,
0.04007118195295334,
-0.056236907839775085,
0.0029810327105224133,
-0.006367161870002747,
-0.02304760180413723,
-0.024324845522642136,
-0.0029166939202696085,
-0.004377423785626888,
-0.004260660614818335,
0.009078924544155598,
-0.11407513916492462,
-0.07312704622745514,
-0.0024424928706139326,
0.03023448772728443,
0.009526913985610008,
-0.03679228201508522,
-0.02138908952474594,
0.004846859257668257,
-0.05444495379924774,
-0.05463558807969093,
-0.02954820729792118,
-0.0021339047234505415,
0.031587984412908554,
-0.010608759708702564,
-0.0028142284136265516,
-0.0015774929197505116,
-0.011094874702394009,
-0.014116417616605759,
0.01746203750371933,
0.02116032876074314,
-0.04281630367040634,
0.033665891736745834,
0.06092649698257446,
-0.006024021655321121,
0.041024349629879,
-0.013001210987567902,
0.028099391609430313,
-0.03212175890803337,
-0.01503145880997181,
-0.047162748873233795,
-0.048764072358608246,
0.013878125697374344,
0.017786113545298576,
-0.014573938213288784,
-0.04491327330470085,
-0.028023138642311096,
0.057418838143348694,
0.02304760180413723,
0.029300382360816002,
-0.001585833146236837,
0.028309088200330734,
0.05989707261323929,
0.06679800897836685,
-0.07629156112670898,
-0.011333166621625423,
-0.03137828782200813,
0.0040509640239179134,
0.05398743227124214,
-0.051318563520908356,
-0.012505563907325268,
-0.03162611275911331,
-0.007658704649657011,
-0.03280803933739662,
-0.01139035727828741,
0.03654446080327034,
0.03303680196404457,
-0.07183073461055756,
-0.01617526076734066,
0.05841013044118881,
-0.00904079806059599,
0.029662586748600006,
-0.057876359671354294,
0.025068316608667374,
-0.019463689997792244,
-0.003977093379944563,
-0.08509883284568787,
-0.021751292049884796,
-0.0013356265844777226,
-0.06641674041748047,
-0.01524115540087223,
-0.03766919672489166,
0.07518588751554489,
0.0019611429888755083,
0.036639776080846786,
0.020855315029621124,
-0.05837200582027435,
0.01742391102015972,
-0.008135288953781128,
-0.00855468213558197,
0.04151999577879906,
0.053415533155202866,
0.009741376154124737,
-0.05616065487265587,
-0.0004560312954708934,
0.018634432926774025,
0.06527294218540192,
-0.01918727159500122,
0.0683993324637413,
-0.012105233035981655,
0.03610600158572197,
0.04590456932783127,
0.005099448375403881,
0.04190126433968544,
0.0077301920391619205,
-0.03326556086540222,
0.028270961716771126,
0.04277817904949188,
-0.027146223932504654,
0.07076318562030792,
0.021713165566325188,
0.06580671668052673,
0.0071344622410833836,
-0.012639007531106472,
-0.03536253049969673,
0.0071916524320840836,
0.005618925206363201,
-0.028042200952768326,
-0.006124103907495737,
0.00021252666192594916,
0.05192859098315239,
-0.02352418564260006,
0.03860330209136009,
-0.05326302349567413,
0.013239502906799316,
-0.017910026013851166,
0.027317794039845467,
0.03290335834026337,
-0.05890578031539917,
0.005480715539306402,
0.06775117665529251,
-0.03141641616821289,
-0.02493487298488617,
-0.0013392010005190969,
0.0032884294632822275,
-0.005228126421570778,
0.006438649725168943,
-0.016728097572922707,
0.00007930655556265265,
-0.02886192500591278,
0.019692450761795044,
-0.04430324584245682,
0.02283790335059166,
0.03999492898583412,
0.03095889464020729,
0.013077463954687119,
0.026688702404499054,
0.00956027489155531,
0.0012581817572936416,
-0.013554048724472523,
-0.039022695273160934,
0.029529143124818802,
-0.006248015910387039,
-0.013754213228821754,
-0.06538732349872589,
-0.013982973992824554,
0.04887845367193222,
0.018748814240098,
-0.021770356222987175,
0.013496858067810535,
-0.03349432349205017,
-0.021941926330327988,
0.03953740745782852,
-0.009202837012708187,
-0.01744297333061695,
0.00035386360832490027,
0.051318563520908356,
-0.03357057645916939,
0.0008798931958153844,
-0.08120991289615631,
-0.014345177449285984,
-0.00023605799651704729,
-0.015593827702105045,
0.010437188670039177,
0.07937982678413391,
-0.0008953821379691362,
0.003233622293919325,
0.034314047545194626,
-0.038565173745155334,
0.022990411147475243,
-0.027203412726521492,
0.0038984569255262613,
0.023638565093278885,
0.02424859255552292,
0.004951707553118467,
-0.032712724059820175,
-0.005418759770691395,
0.009460192173719406,
0.024172339588403702,
-0.029738839715719223,
0.04975536838173866,
0.019492285326123238,
0.018720218911767006,
0.03236958384513855,
-0.017309529706835747,
0.03953740745782852,
-0.05524561554193497,
0.02933850884437561,
0.05303426459431648,
-0.0031549858395010233,
-0.03896550461649895,
-0.03496219962835312,
0.05955393239855766,
-0.02447735331952572,
-0.07003878057003021,
-0.09806191921234131,
-0.09051282703876495,
0.0006558987079188228,
-0.019139612093567848,
-0.06050710007548332,
0.018234102055430412,
0.04354071244597435,
0.04426512122154236,
0.015488979406654835,
0.029719777405261993,
-0.05116605758666992,
0.06370974332094193,
0.049984127283096313,
0.021713165566325188,
-0.039918672293424606,
0.008893056772649288,
-0.04407448694109917,
0.006047850474715233,
-0.0060430848971009254,
0.06412913650274277,
-0.00944589450955391,
-0.001222437946125865,
0.03812671825289726,
-0.003479063045233488,
-0.04590456932783127,
0.0433119535446167,
-0.0031669004820287228,
0.02117939107120037,
-0.03522908687591553,
0.020779062062501907,
-0.029186002910137177,
0.020550301298499107,
-0.04121498391032219,
0.00886446237564087,
0.01535553578287363,
0.06668362766504288,
-0.009517381899058819,
-0.026021484285593033,
0.012762919068336487,
-0.027527490630745888,
0.006028787232935429,
-0.02491581067442894,
0.000502796086948365,
-0.05406368523836136,
-0.03812671825289726,
-0.0012546073412522674,
0.011876472271978855,
0.0455995537340641,
0.05280550569295883,
0.07057255506515503,
0.01119972299784422,
0.08082864433526993,
0.011009089648723602,
-0.035476911813020706,
-0.012619943358004093,
-0.04960285872220993,
0.014421431347727776,
0.02861410193145275,
0.02350512146949768,
0.03193112462759018,
-0.025544900447130203,
0.05543624982237816,
0.03450467810034752,
0.00943636242300272,
0.031016085296869278,
0.03568660840392113,
-0.06237531080842018,
-0.000828660384286195,
0.03379933536052704,
0.02535426802933216,
-0.021236581727862358,
0.013029806315898895,
-0.03519096225500107,
0.02045498415827751,
0.04819217324256897,
0.013782808557152748,
-0.02464892342686653,
0.04601895064115524,
0.030806388705968857,
-0.005242423620074987,
-0.03824109956622124,
-0.019597133621573448,
0.030101044103503227,
-0.006343332584947348,
0.0167566929012537,
-0.007110632956027985,
0.03095889464020729,
-0.0428544320166111,
-0.05699944496154785,
0.05166170373558998,
0.04266379773616791,
-0.04491327330470085,
-0.059477679431438446,
0.047620270401239395,
0.04125310853123665,
-0.06664550304412842,
0.058333877474069595,
-0.009827161207795143,
-0.035076580941677094,
-0.05372054502367973,
-0.005618925206363201,
-0.004165343940258026,
-0.014926610514521599,
0.02865222841501236,
0.004460826050490141,
-0.025678344070911407,
0.08448880910873413,
-0.019654322415590286,
-0.022742588073015213,
-0.040604956448078156,
0.031149528920650482,
-0.03023448772728443,
-0.006657877936959267,
-0.040376193821430206,
0.0540255606174469,
0.06168903037905693,
0.014888483099639416,
0.02119845524430275,
-0.014392836019396782,
0.04220627620816231,
0.010427657514810562,
0.09859569370746613,
-0.02140815183520317,
-0.020893441513180733,
0.05101354792714119,
-0.006796087604016066,
-0.002759421244263649,
0.022189749404788017,
-0.05570313706994057,
-0.03076826222240925,
0.05589376762509346,
0.005104214418679476,
-0.03193112462759018,
-0.011028152890503407,
0.03515283390879631,
0.03448561578989029,
0.038069527596235275,
0.012886830605566502,
-0.00991294626146555,
0.02535426802933216,
-0.018262697383761406,
0.023829199373722076,
-0.030215423554182053,
-0.03299867361783981,
-0.09020781517028809,
0.03728793188929558,
-0.013506390154361725,
0.060430847108364105,
0.011190191842615604,
0.015879778191447258,
0.01769079640507698,
-0.07327955216169357,
0.0362585075199604,
0.05452120676636696,
-0.010303745977580547,
0.00668647326529026,
0.0198258925229311,
0.009722312912344933,
-0.08098115026950836,
0.005566501058638096,
-0.022304130718111992,
0.001285585225559771,
0.04140561446547508,
0.01802440546452999,
-0.003340853611007333,
-0.026898398995399475,
0.007110632956027985,
0.0028237600345164537,
-0.0202834140509367,
-0.0419393889605999,
0.036696966737508774,
-0.01783377304673195,
-0.06317596882581711,
-0.007129696197807789,
-0.023200107738375664,
-0.08044737577438354,
0.06458666175603867,
-0.03471437841653824,
0.06416726857423782,
0.00004840306064579636,
0.05429244786500931,
0.07998985797166824,
0.01058016438037157,
-0.04220627620816231,
0.004053346812725067,
-0.035724736750125885,
-0.009674654342234135,
0.0027808675076812506,
0.03869861736893654,
-0.05299613997340202,
-0.04803966358304024,
0.01235305704176426,
0.006891404278576374,
-0.003145454218611121,
0.0036172724794596434,
-0.03801233693957329,
-0.02285696752369404,
0.019864020869135857,
-0.027565617114305496,
0.03463812172412872,
0.038317352533340454,
0.008640467189252377,
-0.008230605162680149,
-0.019301651045680046,
-0.0009865288157016039,
-0.034333109855651855,
0.03071107156574726,
-0.01656605862081051,
0.06439602375030518,
0.0010794627014547586,
-0.021522533148527145,
0.05471184104681015,
-0.02884286269545555,
-0.0011682264739647508,
-0.06557795405387878,
0.019730577245354652,
-0.016270577907562256,
-0.021522533148527145,
-0.013449199497699738,
0.021960990503430367,
-0.005966831464320421,
-0.0460570752620697,
-0.02935757301747799,
-0.029662586748600006,
-0.04510390758514404,
0.02910974994301796,
-0.020607491955161095,
-0.026860272511839867,
-0.020302478224039078,
0.0517379567027092,
0.027851568534970284,
0.023905452340841293,
0.0911991074681282,
-0.011476142331957817,
0.03244583681225777,
-0.010303745977580547,
-0.03137828782200813,
0.028823798522353172,
0.004467974882572889,
0.01897757314145565,
0.027050906792283058,
-0.015326940454542637,
-0.054406825453042984,
0.0076634702272713184,
-0.006996252574026585,
0.05955393239855766,
0.062489692121744156,
0.023142917081713676,
-0.013115591369569302,
-0.04796341061592102,
0.01955900713801384,
-0.02472517639398575,
-0.04609520360827446,
-0.008402175270020962,
0.029033495113253593,
0.037554819136857986,
-0.015069585293531418,
-0.03372308239340782,
-0.014030632562935352,
0.016480274498462677,
0.04373134672641754,
-0.03170236572623253,
-0.018653497099876404,
0.01686154119670391,
-0.010170302353799343,
-0.04140561446547508,
0.06054522842168808,
-0.005780963692814112,
-0.06923811882734299,
-0.029757903888821602,
-0.005742836743593216,
0.01746203750371933,
0.006900935899466276,
0.025258950889110565,
0.021484404802322388,
-0.04731525853276253,
-0.05333928018808365,
-0.028537848964333534,
-0.02516363374888897,
-0.007782616186887026,
-0.05467371270060539,
0.03290335834026337,
0.05032726749777794,
-0.0347525030374527,
-0.07465211302042007,
0.014164076186716557,
0.006209889426827431,
-0.03334181383252144,
-0.02283790335059166,
0.022685397416353226,
0.048344679176807404,
0.022876031696796417,
-0.012410246767103672,
0.028518784791231155,
0.08487007766962051,
0.007768318988382816,
0.0016537463525310159,
0.03187393769621849,
0.014421431347727776,
0.014526279643177986,
-0.015689143911004066,
0.010599227622151375,
0.026421815156936646,
-0.014011569321155548,
-0.010665949434041977,
-0.0045346966944634914,
0.01399250514805317,
0.07560528069734573,
-0.06527294218540192,
-0.009307685308158398,
0.011943194083869457,
0.01779564656317234,
0.004529930651187897,
-0.03467625007033348,
0.007039145566523075,
0.04289255663752556,
-0.010275150649249554,
0.041329361498355865,
-0.017309529706835747,
0.035495974123477936,
0.013878125697374344,
0.006457712966948748,
-0.01563195511698723,
0.047391511499881744,
-0.03723074123263359,
-0.02026434987783432,
0.0034933604765683413,
0.06691239029169083,
-0.01731906086206436,
0.029243193566799164,
0.025888042524456978,
-0.00158464175183326,
0.0094077680259943,
0.016918731853365898,
-0.07560528069734573,
0.0027093798853456974,
-0.05841013044118881,
0.05597002059221268,
0.028957242146134377,
0.023104790598154068,
-0.009345811791718006,
-0.0091790072619915,
-0.03195019066333771,
-0.010094048455357552,
0.067941814661026,
0.05562688037753105,
-0.01955900713801384,
-0.0465145967900753,
-0.0633666068315506,
-0.0023376443423330784,
0.033170245587825775,
0.0022554337047040462,
0.01046578399837017,
-0.005981129128485918,
-0.020340604707598686,
-0.028823798522353172,
0.0024389184545725584,
0.036411017179489136,
0.01700451597571373,
-0.0365825854241848,
-0.03023448772728443,
0.007715894374996424,
0.02068374492228031,
0.004815881140530109,
0.017967216670513153,
-0.03961366042494774,
0.016823414713144302,
-0.014602532610297203,
-0.00884539820253849,
-0.0028928646352142096,
0.004360743332654238,
-0.000597815029323101,
0.0007142802351154387,
-0.021732229739427567,
-0.021331898868083954,
-0.012686665169894695,
-0.06351911276578903,
0.024591732770204544,
-0.00196710042655468,
0.05299613997340202,
0.039461154490709305,
-0.0045442283153533936,
0.028804736211895943,
0.02350512146949768,
-0.014993332326412201,
-0.0036553991958498955,
0.004489420913159847,
0.01200991589576006,
0.011714434251189232,
-0.011409420520067215,
0.05882952734827995,
-0.05105167627334595,
0.0044203163124620914,
-0.0759102925658226,
-0.09752814471721649,
0.01514583919197321,
-0.023390742018818855,
-0.04151999577879906,
0.026841210201382637,
-0.06443415582180023,
-0.056236907839775085,
-0.016127601265907288,
0.061841536313295364,
-0.005418759770691395,
-0.03261740878224373,
0.033399004489183426,
-0.0460570752620697,
0.04487514868378639,
0.031568922102451324,
-0.03357057645916939,
-0.0020624171011149883,
-0.04678148403763771,
0.006367161870002747,
-0.01582258753478527,
0.007706362754106522,
-0.008440302684903145,
0.03406622260808945,
0.039194267243146896,
0.004491804167628288,
-0.07057255506515503,
0.008402175270020962,
-0.0022590081207454205,
0.01432611420750618,
0.05917266756296158,
0.0027093798853456974,
0.0225710179656744,
0.0032121760305017233
] |
711,124
|
yt_dlp.YoutubeDL
|
_match_entry
|
Returns None if the file should be downloaded
|
def _match_entry(self, info_dict, incomplete=False, silent=False):
"""Returns None if the file should be downloaded"""
_type = 'video' if 'playlist-match-filter' in self.params['compat_opts'] else info_dict.get('_type', 'video')
assert incomplete or _type == 'video', 'Only video result can be considered complete'
video_title = info_dict.get('title', info_dict.get('id', 'entry'))
def check_filter():
if _type in ('playlist', 'multi_video'):
return
elif _type in ('url', 'url_transparent') and not try_call(
lambda: self.get_info_extractor(info_dict['ie_key']).is_single_video(info_dict['url'])):
return
if 'title' in info_dict:
# This can happen when we're just evaluating the playlist
title = info_dict['title']
matchtitle = self.params.get('matchtitle', False)
if matchtitle:
if not re.search(matchtitle, title, re.IGNORECASE):
return '"' + title + '" title did not match pattern "' + matchtitle + '"'
rejecttitle = self.params.get('rejecttitle', False)
if rejecttitle:
if re.search(rejecttitle, title, re.IGNORECASE):
return '"' + title + '" title matched reject pattern "' + rejecttitle + '"'
date = info_dict.get('upload_date')
if date is not None:
dateRange = self.params.get('daterange', DateRange())
if date not in dateRange:
return f'{date_from_str(date).isoformat()} upload date is not in range {dateRange}'
view_count = info_dict.get('view_count')
if view_count is not None:
min_views = self.params.get('min_views')
if min_views is not None and view_count < min_views:
return 'Skipping %s, because it has not reached minimum view count (%d/%d)' % (video_title, view_count, min_views)
max_views = self.params.get('max_views')
if max_views is not None and view_count > max_views:
return 'Skipping %s, because it has exceeded the maximum view count (%d/%d)' % (video_title, view_count, max_views)
if age_restricted(info_dict.get('age_limit'), self.params.get('age_limit')):
return 'Skipping "%s" because it is age restricted' % video_title
match_filter = self.params.get('match_filter')
if match_filter is None:
return None
cancelled = None
try:
try:
ret = match_filter(info_dict, incomplete=incomplete)
except TypeError:
# For backward compatibility
ret = None if incomplete else match_filter(info_dict)
except DownloadCancelled as err:
if err.msg is not NO_DEFAULT:
raise
ret, cancelled = err.msg, err
if ret is NO_DEFAULT:
while True:
filename = self._format_screen(self.prepare_filename(info_dict), self.Styles.FILENAME)
reply = input(self._format_screen(
f'Download "{filename}"? (Y/n): ', self.Styles.EMPHASIS)).lower().strip()
if reply in {'y', ''}:
return None
elif reply == 'n':
if cancelled:
raise type(cancelled)(f'Skipping {video_title}')
return f'Skipping {video_title}'
return ret
if self.in_download_archive(info_dict):
reason = ''.join((
format_field(info_dict, 'id', f'{self._format_screen("%s", self.Styles.ID)}: '),
format_field(info_dict, 'title', f'{self._format_screen("%s", self.Styles.EMPHASIS)} '),
'has already been recorded in the archive'))
break_opt, break_err = 'break_on_existing', ExistingVideoReached
else:
try:
reason = check_filter()
except DownloadCancelled as e:
reason, break_opt, break_err = e.msg, 'match_filter', type(e)
else:
break_opt, break_err = 'break_on_reject', RejectedVideoReached
if reason is not None:
if not silent:
self.to_screen('[download] ' + reason)
if self.params.get(break_opt, False):
raise break_err()
return reason
|
(self, info_dict, incomplete=False, silent=False)
|
[
0.06806875020265579,
0.035742051899433136,
-0.16020381450653076,
0.03796600177884102,
-0.018079521134495735,
-0.06532852351665497,
0.030897017568349838,
-0.0002845092094503343,
-0.013651478104293346,
0.01946949027478695,
-0.021564370021224022,
0.022855056449770927,
-0.0027451880741864443,
-0.009511357173323631,
0.019558845087885857,
0.03131400793790817,
0.021524658426642418,
0.08951397985219955,
0.015190372243523598,
-0.006547745317220688,
-0.01692783273756504,
0.01764267310500145,
-0.026687398552894592,
0.0377475768327713,
-0.011735307052731514,
0.023788319900631905,
0.009799279272556305,
-0.03347838670015335,
-0.0523422472178936,
0.040249522775411606,
0.024662015959620476,
-0.0019856696017086506,
0.00778878852725029,
0.046663232147693634,
-0.056790146976709366,
0.04348616302013397,
-0.05754470080137253,
0.03562290966510773,
-0.10087200999259949,
-0.01271821279078722,
-0.03224727138876915,
-0.013065705075860023,
0.038760267198085785,
-0.004882264882326126,
0.007332084700465202,
0.007207980379462242,
-0.04269189387559891,
0.008354704827070236,
-0.010394980199635029,
-0.02910991571843624,
0.010126914829015732,
0.045590970665216446,
0.002081229817122221,
0.011765091679990292,
0.0029288625810295343,
0.04539240524172783,
-0.05659158155322075,
0.11183290928602219,
0.000006069478331482969,
-0.002822132781147957,
-0.017116472125053406,
-0.015537863597273827,
0.007227837108075619,
0.08173015713691711,
-0.017066828906536102,
0.022676344960927963,
0.029507048428058624,
-0.06433568894863129,
-0.05031686648726463,
0.019270922988653183,
0.010871540755033493,
0.0143067492172122,
-0.017861098051071167,
0.005619444884359837,
0.019906336441636086,
-0.012072870507836342,
-0.03188985213637352,
-0.021226806566119194,
0.0279979407787323,
0.006150611210614443,
0.11405685544013977,
-0.02180265076458454,
0.03314082324504852,
-0.07879136502742767,
0.017225682735443115,
0.0006040778825990856,
0.02289476990699768,
-0.03542434424161911,
-0.005867653526365757,
0.018824147060513496,
-0.03173099830746651,
0.0016493467846885324,
0.0038745375350117683,
-0.016729265451431274,
-0.03153243288397789,
-0.007883108220994473,
0.012906852178275585,
-0.03361738473176956,
-0.0286134984344244,
-0.06489168107509613,
0.008349739946424961,
0.005927223712205887,
-0.007997283712029457,
-0.02021411620080471,
0.0010468201944604516,
-0.05889495834708214,
-0.0499197319149971,
0.008205778896808624,
-0.032584838569164276,
0.03445136547088623,
-0.01102046575397253,
-0.038879409432411194,
-0.04086507856845856,
0.0377475768327713,
-0.00320933829061687,
-0.018536224961280823,
-0.03373652324080467,
-0.013065705075860023,
-0.03746958449482918,
-0.01271821279078722,
0.0486886166036129,
0.03262455016374588,
-0.06997499614953995,
-0.04404215142130852,
0.037072449922561646,
-0.08323926478624344,
-0.010335410013794899,
0.001428441028110683,
0.06497110426425934,
0.052779097110033035,
-0.024205312132835388,
0.029288625344634056,
-0.022934483364224434,
0.020650962367653847,
0.009491500444710255,
-0.001667962409555912,
0.023311760276556015,
0.011497026309370995,
-0.04154020547866821,
-0.012618930079042912,
-0.02484072558581829,
-0.02666754089295864,
0.028395073488354683,
-0.016222920268774033,
-0.02605198323726654,
-0.09936290234327316,
-0.016113707795739174,
-0.0681481808423996,
0.04785463586449623,
0.0054655554704368114,
0.02762066386640072,
-0.04209619387984276,
-0.05408963933587074,
0.03729087486863136,
0.04586896672844887,
-0.012906852178275585,
0.012926708906888962,
0.011427528224885464,
-0.02591298706829548,
0.0017126399325206876,
0.06072177365422249,
-0.047775208950042725,
-0.01631227508187294,
0.01778167113661766,
0.030519740656018257,
-0.019330492243170738,
0.01289692334830761,
0.06469311565160751,
0.04884747043251991,
0.0535733625292778,
0.04344644770026207,
0.09427958726882935,
-0.04928431659936905,
-0.005510232876986265,
0.005738584790378809,
0.07049126923084259,
0.007322156336158514,
-0.08236557245254517,
0.04598810523748398,
-0.03385566547513008,
-0.020511966198682785,
0.009695031680166721,
-0.016510842368006706,
0.037906430661678314,
0.045114412903785706,
0.032068561762571335,
0.011715450324118137,
0.020045334473252296,
-0.007987355813384056,
0.00889579951763153,
-0.05408963933587074,
-0.07164295762777328,
0.002510630991309881,
-0.009749636985361576,
-0.06258830428123474,
-0.004383365623652935,
-0.03129415214061737,
0.06366056203842163,
0.044598136097192764,
-0.06512995809316635,
0.019668055698275566,
-0.05794183537364006,
0.013234487734735012,
-0.010811970569193363,
-0.038660984486341476,
0.01982690952718258,
0.01621299237012863,
-0.007535615935921669,
-0.015091088600456715,
0.01888371631503105,
-0.019777268171310425,
0.01898300088942051,
0.034987498074769974,
-0.03272383287549019,
-0.011834590695798397,
-0.05198482796549797,
0.006026506889611483,
0.00429152837023139,
-0.02325218915939331,
0.031194867566227913,
-0.01912199705839157,
-0.05269967019557953,
-0.043803870677948,
0.04932403191924095,
0.05742556229233742,
-0.021842364221811295,
0.0608409121632576,
0.03625832498073578,
-0.03741001337766647,
-0.010116985999047756,
-0.017950452864170074,
-0.026389548555016518,
0.008324919268488884,
0.010126914829015732,
-0.003889430081471801,
0.028454644605517387,
0.013899686746299267,
0.017324967309832573,
-0.037906430661678314,
-0.014088325202465057,
0.06096005439758301,
-0.007694469299167395,
-0.012003372423350811,
0.041460778564214706,
-0.0005857725045643747,
-0.05524132773280144,
-0.020154545083642006,
0.033657100051641464,
-0.02581370435655117,
-0.004006088245660067,
0.020531821995973587,
0.01764267310500145,
-0.0292290560901165,
-0.009804243221879005,
0.019171638414263725,
-0.09086423367261887,
-0.03455064818263054,
-0.060801200568675995,
0.05917295068502426,
0.002559031592682004,
0.013194774277508259,
0.004867372568696737,
-0.01862557977437973,
0.024264881387352943,
-0.0029834683518856764,
0.005237203557044268,
-0.0054754838347435,
-0.025893131271004677,
-0.026449117809534073,
-0.006458390038460493,
0.010226198472082615,
-0.02214021421968937,
0.01887378841638565,
0.01187430415302515,
-0.036476749926805496,
0.020372970029711723,
0.02714410237967968,
-0.01958863064646721,
0.0136911915615201,
-0.012311151251196861,
-0.009888634085655212,
0.021961504593491554,
0.010950967669487,
0.0016840959433466196,
0.06143661588430405,
-0.019638272002339363,
0.000020729303287225775,
0.011159462854266167,
-0.02859364077448845,
0.03067859448492527,
-0.02360961027443409,
-0.02764051966369152,
0.07609085738658905,
-0.020025476813316345,
-0.02994389645755291,
0.041818201541900635,
0.030281459912657738,
-0.030857304111123085,
0.03264440596103668,
0.013194774277508259,
-0.04213590547442436,
0.011745234951376915,
0.07946649193763733,
-0.00623500207439065,
-0.09086423367261887,
0.047775208950042725,
0.013234487734735012,
-0.0025689599569886923,
0.05464562401175499,
-0.060562919825315475,
0.030758021399378777,
-0.014743596315383911,
0.0401700958609581,
0.010196412913501263,
-0.01702711544930935,
0.03685402497649193,
-0.002242565620690584,
0.05273938179016113,
-0.03592076152563095,
0.015994567424058914,
0.0023604645393788815,
0.04761635512113571,
0.0022065753582865,
-0.0001945335534401238,
0.0961064025759697,
-0.0864163339138031,
0.018893646076321602,
-0.04269189387559891,
0.00954610574990511,
0.006304500624537468,
0.0032614620868116617,
0.012886995449662209,
-0.007138481829315424,
0.08713117986917496,
-0.05258052796125412,
0.03020203299820423,
-0.05063457414507866,
-0.0037280945107340813,
0.10929124802350998,
0.03314082324504852,
0.021127523854374886,
-0.023450756445527077,
-0.024642158299684525,
0.007019341923296452,
0.04189762845635414,
-0.03431236743927002,
0.05829925835132599,
0.011765091679990292,
0.039137545973062515,
-0.050436004996299744,
0.04005095362663269,
-0.0036486678291112185,
-0.012519646435976028,
0.01788095384836197,
0.049244605004787445,
-0.013065705075860023,
0.036953311413526535,
-0.06187346205115318,
-0.01754339039325714,
0.002891631331294775,
-0.017930595204234123,
0.04439957067370415,
-0.07640856504440308,
0.00086376623949036,
-0.021524658426642418,
-0.020005621016025543,
0.004423078615218401,
-0.004907085560262203,
0.021246664226055145,
-0.04189762845635414,
-0.05440734326839447,
0.04892689734697342,
0.017871025949716568,
-0.08371582627296448,
0.004437971394509077,
-0.028692925348877907,
0.040587086230516434,
0.021385660395026207,
-0.03929639980196953,
0.002195405773818493,
0.0029909147415310144,
0.06949843466281891,
-0.05945094674825668,
-0.013601835817098618,
-0.009034796617925167,
-0.024165598675608635,
-0.0486886166036129,
0.019757412374019623,
0.004363508895039558,
0.0401700958609581,
0.03117501176893711,
0.0352654904127121,
0.04030909016728401,
-0.03030131757259369,
0.041460778564214706,
0.00045577320270240307,
-0.023550041019916534,
0.015895284712314606,
-0.045233551412820816,
-0.0130855618044734,
0.0017411839216947556,
-0.002000562148168683,
-0.07164295762777328,
0.041937340050935745,
0.028633354231715202,
-0.016272561624646187,
0.10889411717653275,
0.016947688534855843,
-0.029785042628645897,
-0.021107666194438934,
0.004184798337519169,
-0.08490722626447678,
-0.05865667760372162,
-0.022716058418154716,
-0.0657653734087944,
0.03399466350674629,
-0.03939568251371384,
0.01568678952753544,
-0.026329977437853813,
0.025893131271004677,
0.03752915561199188,
0.03784685954451561,
0.0328826867043972,
-0.010672973468899727,
-0.00845895241945982,
0.003546902211382985,
0.024324452504515648,
0.025118719786405563,
0.0014433335745707154,
-0.0669170618057251,
0.006741348188370466,
-0.01862557977437973,
-0.006795953959226608,
-0.060443781316280365,
0.02797808311879635,
0.014157823286950588,
-0.020253829658031464,
-0.04026937857270241,
-0.015468365512788296,
0.044836416840553284,
0.01169559359550476,
-0.0012205662205815315,
0.018407156690955162,
0.044240716844797134,
0.042533040046691895,
-0.0010970823932439089,
0.004298974294215441,
0.00013224869326222688,
0.0009866295149549842,
-0.008190887048840523,
-0.053255654871463776,
0.07613056898117065,
-0.03431236743927002,
-0.041341640055179596,
-0.01418760884553194,
0.017563246190547943,
-0.027958227321505547,
0.040249522775411606,
-0.06949843466281891,
-0.06679791957139969,
0.02057153545320034,
0.02178279496729374,
-0.003062895266339183,
-0.0006782302516512573,
0.0017411839216947556,
0.04090479388833046,
0.016768978908658028,
-0.051905401051044464,
-0.07068983465433121,
-0.019409919157624245,
-0.0261711236089468,
-0.020789960399270058,
0.007138481829315424,
0.011526811867952347,
0.034153517335653305,
0.017463963478803635,
0.043406736105680466,
-0.01901278644800186,
0.02275577187538147,
0.028454644605517387,
0.05416906625032425,
-0.024860583245754242,
-0.00405076565220952,
0.01046447828412056,
0.023093337193131447,
-0.026985248550772667,
0.012857209891080856,
0.000668301887344569,
-0.022835198789834976,
0.02045239694416523,
0.005093242507427931,
-0.009263148531317711,
0.005242167506366968,
0.012499789707362652,
0.011834590695798397,
-0.01015669945627451,
0.03274368867278099,
0.06790989637374878,
0.03917726129293442,
-0.06957785785198212,
0.027918513864278793,
-0.07466117292642593,
0.012549431063234806,
-0.050078585743904114,
-0.02871278114616871,
-0.03020203299820423,
-0.005187561735510826,
0.010042523965239525,
-0.018903573974967003,
0.05210396647453308,
0.010196412913501263,
0.03844256326556206,
0.04122249782085419,
-0.026329977437853813,
0.05746527761220932,
0.026091696694493294,
-0.02142537385225296,
-0.018099376931786537,
0.008662483654916286,
-0.0034128695260733366,
0.008314991369843483,
0.007773896213620901,
0.07227837294340134,
-0.06290601193904877,
-0.03252526745200157,
0.014505315572023392,
-0.03435208275914192,
0.003308621933683753,
-0.022457921877503395,
-0.047775208950042725,
-0.04944317042827606,
-0.013194774277508259,
0.021127523854374886,
-0.05583702772855759,
0.05551932007074356,
0.0038521988317370415,
-0.021723223850131035,
-0.018774505704641342,
-0.08212728798389435,
0.036953311413526535,
0.033537957817316055,
0.01848658360540867,
-0.004442935343831778,
-0.05917295068502426,
0.0011839554645121098,
0.024662015959620476,
-0.01751360483467579,
0.04920488968491554,
0.023550041019916534,
-0.009769493713974953,
-0.03343867510557175,
0.026349835097789764,
0.05980836600065231,
-0.0352853462100029,
-0.04118278622627258,
0.03625832498073578,
-0.005971901118755341,
-0.007535615935921669,
0.0681084617972374,
0.011099892668426037,
0.026091696694493294,
0.0068902731873095036,
-0.04892689734697342,
-0.0328231155872345,
-0.012628857977688313,
-0.05412935093045235,
0.030817590653896332,
-0.012579216621816158,
0.015071231871843338,
0.0340542308986187,
0.0022822788450866938,
0.021008383482694626,
-0.04110335931181908,
-0.02899077534675598,
-0.03762843832373619,
-0.05984807759523392,
0.0005358204944059253,
-0.004269189666956663,
0.006264787167310715,
-0.02396703138947487,
-0.0013055776944383979,
-0.05710785463452339,
0.1304187774658203,
-0.04884747043251991,
-0.060801200568675995,
-0.05734613537788391,
0.055559031665325165,
0.01387983001768589,
0.0304204560816288,
0.04567039757966995,
-0.035861190408468246,
0.07354919612407684,
0.002469676546752453,
-0.008826301433146,
-0.0033954947721213102,
0.03470950201153755,
0.061635181307792664,
-0.005614480469375849,
-0.004567039664834738,
0.0002193544351030141,
-0.0050386362709105015,
-0.012708284892141819,
0.007644827477633953,
-0.04225504770874977,
0.00804196111857891,
-0.0021916828118264675,
-0.031095584854483604,
-0.033895377069711685,
-0.024284739047288895,
-0.02581370435655117,
-0.008478809148073196,
0.005713764112442732,
0.01593499816954136,
-0.022100502625107765,
0.025277573615312576,
0.013969184830784798,
-0.031353723257780075,
0.04733836278319359,
-0.005738584790378809,
0.006840631365776062,
-0.015299583785235882,
0.04852976277470589,
-0.021226806566119194,
0.001023240271024406,
-0.05953037366271019,
0.025515852496027946,
-0.00746115343645215,
0.019171638414263725,
-0.0027451880741864443,
-0.030102750286459923,
0.00565915834158659,
0.029785042628645897,
0.012053013779222965,
0.042056478559970856,
-0.03202885016798973,
-0.012271437793970108,
0.039971526712179184,
-0.033895377069711685,
-0.005495340563356876,
0.009650354273617268,
0.03725115954875946,
-0.03399466350674629,
0.0007092563319019973,
0.03838299214839935,
0.003335924819111824,
0.05317622795701027,
0.004996440839022398,
-0.00834477599710226,
0.05559874698519707,
0.014664169400930405,
0.009645389392971992,
0.016242776066064835,
0.005544981919229031,
0.0158158577978611,
0.004584414418786764,
0.020511966198682785,
0.02104809693992138,
0.013720976188778877,
0.003296211361885071,
0.020124761387705803,
0.00938228890299797,
-0.03856170177459717,
-0.005679014604538679,
-0.08943455666303635,
0.03540448844432831,
-0.002918934216722846,
0.01814902015030384,
-0.051190558820962906,
-0.020750246942043304,
0.004398257937282324,
-0.0109608955681324,
-0.021743081510066986,
0.06012607365846634,
0.043525874614715576,
0.009699995629489422,
-0.023053623735904694,
-0.05623416230082512,
0.040249522775411606,
0.034153517335653305,
-0.008513557724654675,
0.01984676718711853,
-0.03272383287549019,
-0.010543905198574066,
-0.011467241682112217,
-0.0010803283657878637,
0.05980836600065231,
-0.04348616302013397,
-0.06850560009479523,
-0.0004570142482407391,
-0.03713202103972435,
-0.0002978504344355315,
-0.024801012128591537,
-0.06278686970472336,
-0.006562637630850077,
-0.03562290966510773,
-0.03155228868126869,
-0.029546761885285378,
0.05389107018709183,
0.030261604115366936,
-0.021623941138386726,
-0.02118709310889244,
0.01053397636860609,
0.03605975955724716,
0.02204093150794506,
-0.03631789609789848,
0.011983515694737434,
-0.06755247712135315,
0.007207980379462242,
-0.03600018844008446,
-0.0426521822810173,
-0.023689037188887596,
0.0027575986459851265,
0.0014160305727273226,
0.012688428163528442,
-0.036576032638549805,
-0.008980190381407738,
0.027700088918209076,
-0.028692925348877907,
0.08331869542598724,
0.01406846847385168,
0.009109258651733398,
-0.04690151289105415,
-0.022239498794078827,
0.087607741355896,
0.004226993769407272,
0.007570364978164434,
-0.08586034923791885,
-0.03484850004315376,
0.08204786479473114,
-0.008553271181881428,
0.011914016678929329,
0.05857725068926811,
-0.03566262498497963,
0.025873273611068726,
0.02593284472823143,
-0.0021395590156316757,
0.0014036201173439622,
-0.003159696701914072,
0.00008152104419423267,
0.003896876471117139,
-0.021604083478450775,
0.027541236951947212,
-0.009660282172262669,
-0.004006088245660067,
-0.012261508964002132,
0.032068561762571335,
0.03117501176893711,
-0.0009326441795565188,
-0.01848658360540867,
-0.019618414342403412,
0.028196506202220917,
-0.05150826647877693,
-0.033895377069711685,
0.0584183968603611,
-0.003117501037195325,
0.03137357905507088,
0.021623941138386726,
0.05067428573966026,
0.009992881678044796,
0.039733245968818665,
-0.0143067492172122,
0.013850044459104538,
0.027402238920331,
0.037906430661678314,
-0.011248817667365074,
0.029248911887407303,
0.009486536495387554,
0.04005095362663269
] |
711,125
|
yt_dlp.YoutubeDL
|
_outtmpl_expandpath
| null |
@staticmethod
def _outtmpl_expandpath(outtmpl):
# expand_path translates '%%' into '%' and '$$' into '$'
# correspondingly that is not what we want since we need to keep
# '%%' intact for template dict substitution step. Working around
# with boundary-alike separator hack.
sep = ''.join(random.choices(string.ascii_letters, k=32))
outtmpl = outtmpl.replace('%%', f'%{sep}%').replace('$$', f'${sep}$')
# outtmpl should be expand_path'ed before template dict substitution
# because meta fields may contain env variables we don't want to
# be expanded. E.g. for outtmpl "%(title)s.%(ext)s" and
# title "Hello $PATH", we don't want `$PATH` to be expanded.
return expand_path(outtmpl).replace(sep, '')
|
(outtmpl)
|
[
0.031064243987202644,
-0.04759223759174347,
0.010482871904969215,
-0.057725682854652405,
0.010692529380321503,
0.009827692992985249,
0.051296185702085495,
0.010133443400263786,
-0.01721811667084694,
-0.04797661304473877,
0.08295445889234543,
0.02479199320077896,
-0.0284784696996212,
0.002249449724331498,
-0.009984935633838177,
0.018816756084561348,
0.05646773800253868,
0.053847018629312515,
0.04014940187335014,
0.006844441872090101,
0.015313728712499142,
0.007386057171970606,
-0.027185581624507904,
-0.023848533630371094,
0.0039092376828193665,
-0.017043402418494225,
0.0031798044219613075,
-0.04654395207762718,
0.02681868150830269,
-0.08449194580316544,
-0.029142383486032486,
-0.04567037895321846,
0.045495666563510895,
0.03167574480175972,
0.03321323171257973,
-0.08931407332420349,
-0.0006671911105513573,
0.025158893316984177,
-0.02578786574304104,
-0.041477229446172714,
0.06398046016693115,
0.02082597278058529,
-0.035082679241895676,
-0.058808911591768265,
0.04130251705646515,
0.051680561155080795,
-0.01939331367611885,
-0.003804408945143223,
0.013313247822225094,
0.002539912471547723,
0.0068924883380532265,
-0.023341862484812737,
-0.018816756084561348,
-0.00043869728688150644,
-0.024442562833428383,
0.04724280908703804,
-0.016265923157334328,
-0.02763983979821205,
0.021542301401495934,
-0.00745157478377223,
-0.021594716235995293,
0.03373737633228302,
-0.02926468476653099,
0.04350391775369644,
0.004330736584961414,
0.02405819110572338,
-0.030505158007144928,
-0.002185023622587323,
-0.03426152095198631,
-0.027919381856918335,
-0.04762718081474304,
0.00125794461928308,
-0.00030165555654093623,
-0.04818626865744591,
0.05307827517390251,
-0.05472059175372124,
-0.044167835265398026,
-0.04944421350955963,
0.048500753939151764,
-0.03620085120201111,
-0.05933305621147156,
-0.06488897651433945,
-0.04042894393205643,
-0.03780822455883026,
0.02557820826768875,
0.01065758615732193,
-0.019917456433176994,
-0.05370724946260452,
0.08616920560598373,
0.04308460280299187,
-0.0001157483784481883,
-0.02950928546488285,
-0.04371357709169388,
0.03959031403064728,
0.015339936129748821,
-0.03433140739798546,
0.04881523922085762,
-0.015104071237146854,
-0.01930595561861992,
-0.02573545090854168,
0.027377767488360405,
-0.03655027970671654,
-0.05741119757294655,
0.03658522292971611,
0.046718668192625046,
-0.04000962898135185,
0.0029876185581088066,
0.026137294247746468,
0.0019797340501099825,
-0.0025901428889483213,
-0.0015713388565927744,
-0.023237032815814018,
-0.0479416698217392,
-0.0350477360188961,
0.008098018355667591,
-0.008469287306070328,
-0.018816756084561348,
0.008076179772615433,
0.02224116027355194,
-0.06303700059652328,
0.0243552066385746,
-0.03924088552594185,
-0.07554656267166138,
-0.0030116417910903692,
0.061219971626996994,
-0.006377080455422401,
-0.0006944902706891298,
-0.010281950235366821,
-0.03020814247429371,
-0.006709038279950619,
-0.03206011652946472,
0.06709038466215134,
-0.04612463712692261,
-0.02755248174071312,
-0.027185581624507904,
0.029683999717235565,
-0.043189432471990585,
0.01471096370369196,
0.006979845464229584,
0.08386297523975372,
-0.009556884877383709,
-0.04339909180998802,
-0.02627706527709961,
-0.018991470336914062,
0.05066721513867378,
0.012317374348640442,
0.05755096673965454,
0.06775429844856262,
0.0007119617075659335,
0.0037563624791800976,
0.0016641559777781367,
-0.02372623421251774,
-0.024931764230132103,
0.012037831358611584,
0.04734763875603676,
0.00939964223653078,
0.00952194258570671,
-0.00014113658107817173,
-0.010963337495923042,
-0.04081331565976143,
0.059053514152765274,
-0.01885169744491577,
-0.007586978841573,
0.05307827517390251,
0.05559416487812996,
0.0445871502161026,
0.049129728227853775,
-0.06929178535938263,
0.012710482813417912,
-0.009355963207781315,
-0.008692048490047455,
0.01068379357457161,
-0.016606615856289864,
0.0004152200126554817,
0.025281192734837532,
0.0590185709297657,
0.00494878925383091,
0.019725270569324493,
-0.012361053377389908,
0.007311803288757801,
-0.05416150391101837,
-0.022922547534108162,
-0.042455632239580154,
0.00402717012912035,
-0.01387233380228281,
0.01741030253469944,
0.0183624979108572,
0.0007070478750392795,
0.01974274218082428,
0.024477506056427956,
-0.045984864234924316,
-0.00037891214014962316,
0.025665564462542534,
0.00017621598090045154,
-0.012693011201918125,
-0.051296185702085495,
-0.041756775230169296,
0.006014547776430845,
0.033667489886283875,
0.07911074161529541,
-0.0818362906575203,
-0.02891525626182556,
0.0005255085416138172,
0.01860709860920906,
0.052274588495492935,
0.03752868250012398,
0.058319710195064545,
0.007787900511175394,
-0.06911706924438477,
0.024040719494223595,
-0.03770339488983154,
-0.02774466760456562,
-0.010762414894998074,
-0.01944572851061821,
-0.01365394052118063,
0.07068949937820435,
-0.05776062607765198,
0.07554656267166138,
-0.061010316014289856,
0.018816756084561348,
-0.004396254662424326,
0.002260369248688221,
0.013453018851578236,
-0.0009587460081093013,
0.02690603770315647,
-0.04773201048374176,
0.012404732406139374,
-0.0024700267240405083,
-0.04885018244385719,
-0.02578786574304104,
0.04158205911517143,
-0.020738614723086357,
0.041267573833465576,
0.05982225760817528,
-0.002428532112389803,
0.019620442762970924,
0.010605172254145145,
-0.027674783021211624,
0.06925684213638306,
0.02823386900126934,
-0.06041628494858742,
0.020022286102175713,
0.0008855842752382159,
-0.04479680582880974,
0.02028435654938221,
0.030120786279439926,
-0.03602613881230354,
0.027185581624507904,
0.020389186218380928,
-0.008202847093343735,
0.0024656588211655617,
0.0635262057185173,
-0.005516611505299807,
0.024582335725426674,
0.00005207312278798781,
0.05059732869267464,
0.001137828454375267,
-0.0243552066385746,
-0.013540375977754593,
-0.015698101371526718,
-0.008076179772615433,
0.01768111065030098,
-0.024564864113926888,
-0.043434035032987595,
-0.021385058760643005,
-0.04885018244385719,
-0.013907277025282383,
-0.01949814148247242,
-0.05817994102835655,
0.03134378790855408,
-0.014221763238310814,
0.10692529380321503,
-0.03565923497080803,
-0.005433621816337109,
-0.011234144680202007,
0.03752868250012398,
0.042350802570581436,
0.0026796841993927956,
-0.025071535259485245,
-0.0040490091778337955,
-0.032042644917964935,
-0.022974960505962372,
0.009722864255309105,
0.05175044387578964,
-0.0010744944447651505,
-0.024861877784132957,
-0.005228332243859768,
-0.0026469251606613398,
0.04577520862221718,
0.0243552066385746,
-0.011356445029377937,
-0.006018915679305792,
0.007499621249735355,
-0.003679924877360463,
-0.07428862154483795,
-0.028268812224268913,
-0.007643761113286018,
-0.080927774310112,
0.00032376786111854017,
-0.0005118589615449309,
-0.0002481492410879582,
0.01284151803702116,
-0.03151850029826164,
0.014178084209561348,
0.026486722752451897,
0.010168385691940784,
-0.006280987523496151,
-0.03581647947430611,
0.04699821025133133,
-0.027098223567008972,
-0.03005089983344078,
-0.033667489886283875,
0.0058092582039535046,
-0.016178565099835396,
-0.02273036167025566,
0.011103108525276184,
-0.021682074293494225,
0.008526069112122059,
0.041267573833465576,
0.0013234625803306699,
-0.05140101537108421,
0.03040032833814621,
-0.0025377285201102495,
0.009093891829252243,
0.03452359139919281,
-0.03644545376300812,
0.023900948464870453,
-0.0030072738882154226,
0.03889145702123642,
0.005394311156123877,
-0.028356168419122696,
-0.033265646547079086,
-0.012282432056963444,
0.0332481749355793,
-0.014623606577515602,
-0.039555370807647705,
0.026731323450803757,
-0.063141830265522,
-0.060136742889881134,
0.023202089592814445,
0.05936799943447113,
0.02763983979821205,
0.008102386258542538,
0.005542818456888199,
0.014597399160265923,
-0.026451781392097473,
0.011504951864480972,
0.016510523855686188,
0.03854202479124069,
-0.018991470336914062,
0.004112343303859234,
-0.03889145702123642,
0.07519713789224625,
-0.02557820826768875,
0.06478414684534073,
0.030767230316996574,
-0.019847571849822998,
0.04231585934758186,
-0.02608487941324711,
0.02519383653998375,
0.019288484007120132,
-0.0008053248166106641,
-0.015470972284674644,
0.005363736301660538,
0.033125877380371094,
-0.02608487941324711,
0.009434584528207779,
0.05887879803776741,
0.028006739914417267,
0.031116658821702003,
-0.012195074930787086,
-0.014081991277635098,
0.08295445889234543,
-0.037249140441417694,
-0.013103590346872807,
-0.024529920890927315,
-0.01099827978760004,
-0.03534474968910217,
-0.05597853660583496,
-0.020494014024734497,
0.04556554928421974,
0.04745246842503548,
0.00974907074123621,
-0.005617072340101004,
0.022258631885051727,
-0.027587424963712692,
0.03728407993912697,
0.026836153119802475,
0.006110640708357096,
-0.029055027291178703,
0.006202366203069687,
0.009093891829252243,
0.08470160514116287,
-0.004477059934288263,
-0.012928875163197517,
-0.09777025133371353,
-0.016370750963687897,
-0.02332439087331295,
-0.00817664060741663,
0.050073184072971344,
0.0800192579627037,
-0.00007561863458249718,
-0.033667489886283875,
0.0061455839313566685,
0.024634748697280884,
-0.06904718279838562,
0.06426000595092773,
-0.028251340612769127,
0.006979845464229584,
-0.004169125575572252,
-0.03551946580410004,
-0.05248424783349037,
-0.017995597794651985,
-0.025019120424985886,
0.01895652711391449,
0.034016918390989304,
-0.051191359758377075,
-0.01112058013677597,
-0.02327197603881359,
-0.007193870842456818,
-0.042350802570581436,
-0.021280230954289436,
-0.01389854121953249,
0.04119768738746643,
0.022468289360404015,
-0.045984864234924316,
-0.053847018629312515,
-0.012343581765890121,
0.022817717865109444,
0.02793685346841812,
-0.04636923596262932,
-0.04846581071615219,
-0.05332287773489952,
-0.004555681720376015,
0.06331654638051987,
0.01627465896308422,
0.05293850228190422,
-0.0012219097698107362,
-0.00012305090785957873,
0.00722881406545639,
0.013828655704855919,
0.015689365565776825,
0.0006846626056358218,
0.01792571134865284,
-0.014099462889134884,
0.03129137307405472,
-0.05101664364337921,
-0.01944572851061821,
-0.035187508910894394,
-0.016335809603333473,
0.06488897651433945,
0.013068647123873234,
-0.025840280577540398,
0.002441635588183999,
0.027832025662064552,
-0.10769403725862503,
0.0565725676715374,
-0.006158687174320221,
-0.025613151490688324,
-0.004284874070435762,
-0.02009217068552971,
0.05248424783349037,
0.10671563446521759,
0.032042644917964935,
0.04413289204239845,
-0.06960626691579819,
-0.0011946106096729636,
0.039695143699645996,
-0.025508321821689606,
-0.041477229446172714,
-0.04685843735933304,
-0.031658273190259933,
-0.07652496546506882,
0.08512092381715775,
0.020930800586938858,
-0.007311803288757801,
0.0057087973691523075,
0.050562385469675064,
-0.027569953352212906,
-0.008390665985643864,
-0.028810426592826843,
-0.06730003654956818,
0.016728917136788368,
0.05318310484290123,
-0.024232905358076096,
0.03506520763039589,
0.0676494687795639,
-0.01703466661274433,
-0.031693216413259506,
0.026678908616304398,
0.034453704953193665,
0.08295445889234543,
-0.04119768738746643,
-0.007875258103013039,
-0.01762869581580162,
0.002373933792114258,
-0.0030727919656783342,
0.0717727318406105,
0.02082597278058529,
-0.01822272688150406,
0.021891731768846512,
-0.04311954602599144,
0.020354242995381355,
0.013278304599225521,
0.00989757850766182,
-0.0012088061776012182,
0.03826248273253441,
0.016047529876232147,
-0.023062318563461304,
-0.0058310977183282375,
0.03924088552594185,
-0.008093650452792645,
-0.012125188484787941,
0.02891525626182556,
0.02405819110572338,
0.06516852229833603,
-0.03005089983344078,
0.005350632593035698,
0.03885651379823685,
0.034156691282987595,
-0.0069929491728544235,
-0.0034200369846075773,
-0.03102930076420307,
-0.04846581071615219,
-0.011487480252981186,
0.012789104133844376,
0.049234554171562195,
0.057131651788949966,
-0.05632796511054039,
0.0760357677936554,
-0.007805371657013893,
0.00011684034689096734,
0.028251340612769127,
0.014221763238310814,
0.02126275934278965,
0.06569266319274902,
-0.03662016615271568,
-0.015610743314027786,
0.014073255471885204,
-0.029194798320531845,
-0.0363406240940094,
0.007206974551081657,
-0.02784949727356434,
-0.03997468575835228,
0.04395817592740059,
0.035921309143304825,
0.046928323805332184,
-0.014396477490663528,
0.02798926830291748,
-0.030872058123350143,
-0.017567547038197517,
-0.06097537279129028,
0.03113413043320179,
0.0548953078687191,
-0.043189432471990585,
0.011583573184907436,
-0.04919961467385292,
-0.0037825696635991335,
-0.03620085120201111,
0.006883752532303333,
0.02931709960103035,
0.03226977586746216,
0.02215380221605301,
0.015593272633850574,
-0.015069128945469856,
-0.023464161902666092,
-0.0590185709297657,
0.02538602240383625,
-0.015776721760630608,
0.012832782231271267,
-0.04207126051187515,
-0.010701265186071396,
0.0487104132771492,
-0.03352772071957588,
-0.04430760443210602,
0.00011247248039580882,
0.08896464109420776,
0.017340417951345444,
0.10531792044639587,
0.0013125429395586252,
0.0006382540450431406,
-0.004304529167711735,
0.01792571134865284,
-0.0034462441690266132,
-0.00206818338483572,
-0.023009903728961945,
0.06006685644388199,
0.015505914576351643,
0.0005437989602796733,
-0.02145494520664215,
-0.021891731768846512,
-0.03005089983344078,
-0.0014053600607439876,
0.01939331367611885,
0.054196447134017944,
-0.02215380221605301,
-0.012675539590418339,
0.024232905358076096,
0.012116452679038048,
-0.10091511160135269,
-0.03588636592030525,
0.06513357907533646,
0.005778683349490166,
0.04514623433351517,
-0.00795824732631445,
-0.017593754455447197,
0.034156691282987595,
-0.045390836894512177,
-0.05042261630296707,
0.008591587655246258,
0.03864685446023941,
0.019236071035265923,
0.02459980733692646,
0.05545439198613167,
-0.02479199320077896,
0.055419448763132095,
-0.03172815963625908,
-0.06097537279129028,
-0.0380178838968277,
-0.02161218784749508,
-0.07547667622566223,
0.023534048348665237,
-0.02475704997777939,
0.018973998725414276,
0.011557366698980331,
0.0181703120470047,
0.07547667622566223,
-0.0181703120470047,
-0.014518777839839458,
-0.012928875163197517,
-0.02514142170548439,
-0.022992432117462158,
0.019620442762970924,
0.02608487941324711,
0.017698582261800766,
0.006687198765575886,
-0.01195921003818512,
-0.004313264973461628,
-0.014536249451339245,
-0.03279391676187515,
-0.07519713789224625,
-0.07379941642284393,
-0.061848945915699005,
0.01342681236565113,
0.0014501305995509028,
-0.02421543374657631,
0.002122781705111265,
-0.061359744518995285,
-0.03485554829239845,
-0.01564568653702736,
0.04203631728887558,
0.07198239117860794,
0.007110881619155407,
0.014387741684913635,
0.008735726587474346,
0.06408528983592987,
0.03766845539212227,
-0.038716740906238556,
0.0717727318406105,
0.037493739277124405,
-0.031570915132761,
-0.03707442432641983,
-0.033667489886283875,
-0.04277011752128601,
0.0548953078687191,
0.028076626360416412,
-0.003913605585694313,
-0.012317374348640442,
-0.03370243310928345,
-0.012797839939594269,
-0.00023217924172058702,
-0.038576968014240265,
-0.014073255471885204,
-0.051680561155080795,
-0.0239708349108696,
-0.05042261630296707,
0.02685362473130226,
-0.031990230083465576,
-0.015514650382101536,
0.00702352449297905,
0.023237032815814018,
-0.03246195986866951,
0.027342824265360832,
0.052274588495492935,
-0.004038089886307716,
-0.0017504212446510792,
0.04091814532876015,
0.019533084705471992,
-0.0035095782950520515,
-0.03141367435455322,
0.01895652711391449,
-0.02199655957520008,
-0.026626495644450188,
-0.01667650230228901,
-0.038472142070531845,
-0.01871192641556263,
0.054091621190309525,
0.007914568297564983,
0.0565725676715374,
-0.040778372436761856,
0.033719904720783234,
0.0356941781938076,
0.023883476853370667,
-0.02479199320077896,
-0.019969871267676353,
-0.01741030253469944,
0.031046772375702858,
-0.01779467612504959,
-0.06656623631715775,
0.031850460916757584,
-0.001307083060964942,
0.04238574579358101,
0.08085788786411285,
-0.0043023452162742615,
0.04581015184521675,
-0.05230953171849251,
-0.04105791449546814,
0.059437885880470276,
0.0470331534743309,
-0.03913605585694313,
0.030609985813498497,
-0.013225890696048737,
0.01831008307635784,
-0.005084192845970392,
-0.0024394516367465258,
0.011400123126804829,
-0.09245893359184265,
0.006848809774965048,
0.036410510540008545,
0.01065758615732193,
-0.04018434137105942,
0.032584261149168015,
-0.010570229031145573,
0.002467842772603035,
0.026014994829893112,
-0.012334845960140228,
-0.10210317373275757,
0.006800763309001923,
-0.04395817592740059,
0.03662016615271568,
-0.0045251064002513885,
0.03602613881230354,
0.0016488684341311455,
-0.014029577374458313,
0.056397851556539536,
0.005909719038754702,
0.0758959949016571,
0.017855824902653694,
-0.006691566668450832,
0.010605172254145145,
0.00989757850766182,
0.047801896929740906,
-0.03669005259871483,
0.009810221381485462,
0.042106203734874725,
-0.03689970821142197,
0.033754847943782806,
-0.003638430265709758,
0.0022581852972507477,
-0.00009711671009426937,
-0.052624017000198364,
-0.05342770367860794,
0.004568784963339567,
0.05950776860117912,
0.021979087963700294,
0.008185375481843948,
-0.021682074293494225,
-0.0243552066385746
] |
711,127
|
yt_dlp.YoutubeDL
|
_playlist_infodict
| null |
@staticmethod
def _playlist_infodict(ie_result, strict=False, **kwargs):
info = {
'playlist_count': ie_result.get('playlist_count'),
'playlist': ie_result.get('title') or ie_result.get('id'),
'playlist_id': ie_result.get('id'),
'playlist_title': ie_result.get('title'),
'playlist_uploader': ie_result.get('uploader'),
'playlist_uploader_id': ie_result.get('uploader_id'),
**kwargs,
}
if strict:
return info
if ie_result.get('webpage_url'):
info.update({
'webpage_url': ie_result['webpage_url'],
'webpage_url_basename': url_basename(ie_result['webpage_url']),
'webpage_url_domain': get_domain(ie_result['webpage_url']),
})
return {
**info,
'playlist_index': 0,
'__last_playlist_index': max(ie_result.get('requested_entries') or (0, 0)),
'extractor': ie_result['extractor'],
'extractor_key': ie_result['extractor_key'],
}
|
(ie_result, strict=False, **kwargs)
|
[
-0.0029573701322078705,
0.012300485745072365,
-0.12238892912864685,
-0.025977756828069687,
0.03157547488808632,
0.04253540560603142,
0.006788817699998617,
0.01011755783110857,
-0.003272128524258733,
0.02385823242366314,
0.020361924543976784,
-0.02641253173351288,
-0.019202526658773422,
0.0013348925858736038,
0.024818358942866325,
0.0021478296257555485,
-0.02316983975470066,
0.059672754257917404,
-0.03996299207210541,
-0.018858330324292183,
-0.01394900493323803,
-0.042825255542993546,
0.04746284708380699,
0.05695541575551033,
0.008165602572262287,
0.011412822641432285,
0.012608450837433338,
-0.01880398392677307,
0.013577635399997234,
0.027028461918234825,
-0.02135828137397766,
0.0213945135474205,
0.011095799505710602,
0.07028849422931671,
-0.030959544703364372,
-0.006186474114656448,
-0.060107529163360596,
0.02246333286166191,
-0.146736279129982,
0.006417448166757822,
-0.03345949575304985,
-0.024908937513828278,
-0.014737033285200596,
0.0057562291622161865,
0.009800534695386887,
0.03355007246136665,
-0.007490796968340874,
-0.020742351189255714,
0.07242613285779953,
-0.02688353694975376,
0.003872207598760724,
0.021195240318775177,
0.0011865712003782392,
-0.0008508666651323438,
-0.01612287573516369,
0.0002288508549099788,
-0.022916221991181374,
0.021249588578939438,
-0.03967314213514328,
0.02465531975030899,
-0.03420223668217659,
-0.0061728875152766705,
0.011711729690432549,
0.02717338688671589,
-0.02248144894838333,
0.0010371175594627857,
-0.025832831859588623,
-0.0025792072992771864,
-0.04851355031132698,
0.01914818026125431,
0.039528220891952515,
-0.018858330324292183,
0.00708772474899888,
-0.009130258113145828,
0.008238065056502819,
-0.0009765435825102031,
-0.01873152144253254,
-0.031466782093048096,
0.07166527956724167,
0.007545143365859985,
-0.045759983360767365,
-0.013668213039636612,
-0.032535601407289505,
0.03749927133321762,
-0.011385648511350155,
0.023242302238941193,
0.012191792950034142,
-0.030035650357604027,
0.04699184373021126,
0.014238853938877583,
-0.05007149279117584,
0.021738708019256592,
-0.006014375947415829,
0.008378461003303528,
-0.06246255710721016,
0.031412433832883835,
-0.03749927133321762,
-0.052027978003025055,
0.017852915450930595,
-0.014718917198479176,
-0.04043399915099144,
-0.04416580870747566,
-0.06333210319280624,
-0.05101350322365761,
0.00339893763884902,
-0.07854919880628586,
0.015343905426561832,
-0.04441943019628525,
-0.004805160220712423,
0.034763820469379425,
-0.003817860735580325,
0.007463623303920031,
-0.07231743633747101,
0.05579601973295212,
0.011394706554710865,
-0.017200753092765808,
-0.011992520652711391,
-0.050832346081733704,
0.05380330607295036,
-0.029528412967920303,
-0.02498139999806881,
0.02829655259847641,
-0.036213066428899765,
0.04090500250458717,
0.04300641268491745,
-0.03967314213514328,
-0.009311413392424583,
-0.019365565851330757,
0.08412880450487137,
-0.013559519313275814,
0.04068761691451073,
-0.009990748018026352,
-0.03157547488808632,
0.0043160393834114075,
0.04521651566028595,
0.014936304651200771,
0.004426997620612383,
-0.0186952892690897,
-0.039202138781547546,
0.02532559633255005,
-0.051267120987176895,
-0.015733391046524048,
-0.000353254028595984,
0.06286109983921051,
-0.049419332295656204,
-0.0860128253698349,
0.011901943013072014,
-0.02126770280301571,
0.0010116425110027194,
-0.029564643278717995,
0.06318718194961548,
-0.0028690567705780268,
-0.0057562291622161865,
-0.021159010007977486,
-0.03266241028904915,
-0.055325012654066086,
0.014039582572877407,
-0.023767655715346336,
0.005104067735373974,
-0.043477416038513184,
0.004105445928871632,
-0.05478154495358467,
-0.006698239594697952,
0.010416464880108833,
-0.0038812654092907906,
0.002909816801548004,
0.06286109983921051,
-0.04970918223261833,
0.03706450015306473,
0.029292909428477287,
0.036611609160900116,
0.025579214096069336,
-0.01842355541884899,
-0.017771394923329353,
-0.05873074382543564,
0.033242110162973404,
0.004250370431691408,
-0.03485439717769623,
0.03351384401321411,
0.0010388159425929189,
0.011313186027109623,
-0.014646454714238644,
-0.0799984484910965,
0.0031068238895386457,
0.043912190943956375,
0.007178302854299545,
0.036575376987457275,
0.03543409705162048,
0.019909033551812172,
0.007296054158359766,
-0.028369015082716942,
-0.02677484229207039,
0.0023086057044565678,
-0.008183717727661133,
-0.03720942512154579,
-0.0015183129580691457,
-0.0028667922597378492,
0.024148082360625267,
-0.01732756197452545,
0.0656871348619461,
-0.056122101843357086,
-0.014275085180997849,
0.008940043859183788,
-0.004243577364832163,
-0.018260516226291656,
0.025253133848309517,
-0.02791612595319748,
-0.03423846513032913,
0.008731714449822903,
0.03019868955016136,
0.004823275841772556,
0.024419816210865974,
0.015334847383201122,
-0.03706450015306473,
0.001364330411888659,
0.022572025656700134,
0.011394706554710865,
0.05557863414287567,
0.01949237659573555,
-0.036249298602342606,
-0.03797027841210365,
-0.029093638062477112,
-0.036194950342178345,
-0.05623079463839531,
-0.0066574797965586185,
-0.04271656274795532,
0.050216417759656906,
-0.009610320441424847,
-0.034002963453531265,
0.01867717318236828,
-0.0009374818182550371,
-0.009456338360905647,
-0.008156544528901577,
-0.000588190567214042,
0.025216901674866676,
-0.009863939136266708,
-0.007939158007502556,
0.016793152317404747,
-0.0075360857881605625,
0.005190116818994284,
0.0839838758111,
0.004864036105573177,
-0.02163001522421837,
0.05546993762254715,
-0.070542111992836,
-0.03559713438153267,
0.010760661214590073,
0.041376009583473206,
-0.012997936457395554,
-0.015914546325802803,
0.04963671788573265,
-0.006204589735716581,
-0.004859507083892822,
0.02057931199669838,
0.06282486766576767,
-0.054201848804950714,
-0.030397960916161537,
-0.030760273337364197,
0.02867698110640049,
-0.09115765243768692,
0.022282175719738007,
0.005443735048174858,
-0.007540614809840918,
-0.018486959859728813,
-0.006775231100618839,
0.003672935999929905,
0.01233671698719263,
-0.008070495910942554,
-0.02353215217590332,
0.03829636052250862,
0.020072074607014656,
-0.022716950625181198,
0.02945595048367977,
0.00048713956493884325,
-0.007119426969438791,
0.02394881099462509,
0.013704444281756878,
-0.0038088029250502586,
-0.012590335682034492,
0.0075179701671004295,
-0.01326061226427555,
-0.02057931199669838,
-0.06554220616817474,
-0.013749733567237854,
0.060433611273765564,
-0.0035891514271497726,
0.0070560225285589695,
0.08985333144664764,
0.02757192961871624,
-0.02248144894838333,
-0.027390772476792336,
0.008378461003303528,
-0.04583244398236275,
-0.03713696077466011,
-0.0572814978659153,
0.07238990068435669,
-0.026394415646791458,
-0.02054307982325554,
0.07191889733076096,
0.06148431450128555,
-0.043477416038513184,
-0.0027943297754973173,
0.026629919186234474,
0.01907571777701378,
0.002502216026186943,
0.05543370917439461,
0.03333268687129021,
0.024184314534068108,
-0.04126731678843498,
-0.0506511926651001,
0.022499563172459602,
0.02056119590997696,
-0.0005344099481590092,
0.05833220109343529,
-0.03702826797962189,
-0.01721886917948723,
-0.007857637479901314,
0.033622536808252335,
0.009465396404266357,
0.05007149279117584,
-0.014836668968200684,
0.006897510960698128,
0.015325789339840412,
0.025090092793107033,
0.11557746678590775,
-0.06137562170624733,
0.03461889550089836,
-0.006440092343837023,
0.06507120281457901,
0.003140790620818734,
-0.05579601973295212,
-0.019745994359254837,
-0.07985352724790573,
0.05101350322365761,
-0.03278921917080879,
0.038731131702661514,
-0.0033287398982793093,
0.011313186027109623,
0.05920175090432167,
0.053078681230545044,
-0.0152714429423213,
-0.07441885024309158,
-0.06478135287761688,
0.0242205448448658,
-0.045433901250362396,
-0.07329568266868591,
0.03014434315264225,
-0.03230009973049164,
0.02720961719751358,
-0.0312493946403265,
-0.015108402818441391,
-0.049455564469099045,
0.007128485012799501,
0.06351326406002045,
0.038803596049547195,
0.02579660154879093,
0.016711631789803505,
-0.07883904874324799,
-0.021086547523736954,
0.02278941310942173,
0.002345968969166279,
-0.00504519185051322,
0.033223994076251984,
-0.0007353797554969788,
-0.024347353726625443,
-0.026992229744791985,
0.06717260926961899,
-0.006544257048517466,
0.05010772496461868,
-0.06039737910032272,
-0.06543351709842682,
0.009610320441424847,
0.013351190835237503,
-0.0610857717692852,
0.0265212245285511,
0.023097379133105278,
0.027427004650235176,
0.05815104767680168,
-0.09101273119449615,
-0.051267120987176895,
0.009252537973225117,
0.018948907032608986,
-0.026974115520715714,
-0.005081423092633486,
0.03902098163962364,
0.006666537374258041,
0.01943802833557129,
0.01983657106757164,
0.008958159945905209,
0.003978636581450701,
-0.034763820469379425,
0.028785673901438713,
0.04007168859243393,
-0.007753472775220871,
0.02130393497645855,
-0.0158692579716444,
-0.004981787409633398,
-0.01619533821940422,
-0.048694707453250885,
-0.02902117557823658,
0.05590471252799034,
-0.0787665918469429,
-0.03862243890762329,
0.03717319294810295,
0.014555877074599266,
-0.04789762198925018,
0.04076007753610611,
0.0264306478202343,
0.014102987013757229,
-0.054962702095508575,
0.061230696737766266,
-0.07854919880628586,
-0.04594113677740097,
-0.05851335823535919,
-0.008568674325942993,
0.05369460955262184,
-0.04673822596669197,
0.01732756197452545,
-0.014374720863997936,
0.028006702661514282,
0.06380311399698257,
-0.027753084897994995,
0.03931083157658577,
0.02530748024582863,
-0.017834799364209175,
0.0017334355507045984,
-0.006095896475017071,
0.018604712560772896,
-0.017544949427247047,
-0.0025135381147265434,
-0.005855864845216274,
-0.01804312877357006,
0.02135828137397766,
-0.0747811570763588,
0.04557882621884346,
-0.03628552705049515,
0.013170034624636173,
0.00902156438678503,
-0.010407406836748123,
0.04336872324347496,
0.04550636559724808,
0.032934144139289856,
0.011874769814312458,
0.06199155002832413,
0.05376707389950752,
0.03135808929800987,
-0.04010791704058647,
0.003229103982448578,
0.016621055081486702,
0.04565129056572914,
-0.008958159945905209,
0.012436352670192719,
0.08181000500917435,
-0.04673822596669197,
0.01100522093474865,
-0.011548689566552639,
-0.025959640741348267,
0.028858136385679245,
0.001016737543977797,
-0.023024916648864746,
0.029166100546717644,
-0.05445546656847,
0.0047372267581522465,
-0.007436450105160475,
0.007296054158359766,
0.08195493370294571,
-0.039455756545066833,
0.010353060439229012,
-0.07387538254261017,
-0.010144731029868126,
-0.0006991485715843737,
0.027807431295514107,
-0.0029551058541983366,
-0.027390772476792336,
0.011313186027109623,
0.028604518622159958,
-0.0282422062009573,
0.01945614442229271,
0.056774262338876724,
-0.027445120736956596,
0.0020685740746557713,
0.019927149638533592,
0.021774940192699432,
-0.026666149497032166,
-0.013876542448997498,
-0.025814717635512352,
-0.011666440404951572,
-0.02574225515127182,
-0.016267800703644753,
0.027680622413754463,
-0.006503497250378132,
-0.016294972971081734,
0.006535199470818043,
0.01659388095140457,
0.0671001449227333,
0.031792860478162766,
0.016838442534208298,
0.03461889550089836,
0.022282175719738007,
0.0004166585858911276,
0.023985041305422783,
-0.051991745829582214,
0.025995872914791107,
-0.014845727011561394,
0.004488137550652027,
0.010398348793387413,
-0.02688353694975376,
0.03371311351656914,
-0.0012035545660182834,
0.04601360112428665,
-0.016838442534208298,
0.04485420137643814,
0.03851374611258507,
-0.005117654334753752,
0.028930598869919777,
0.013831253163516521,
-0.021811170503497124,
0.04568751901388168,
-0.005371272563934326,
-0.0016768244095146656,
0.06173793226480484,
0.02092350646853447,
0.05340476334095001,
0.010959932580590248,
-0.011313186027109623,
0.05376707389950752,
-0.010534215718507767,
-0.016376493498682976,
-0.03121316246688366,
0.0016892788698896766,
-0.03999922424554825,
-0.04329626262187958,
-0.021412627771496773,
0.02795235626399517,
0.021793056279420853,
0.013314959593117237,
0.035271055996418,
0.028387131169438362,
0.010815007612109184,
0.049383100122213364,
0.04594113677740097,
0.050180185586214066,
-0.01451058778911829,
-0.06815085560083389,
0.058078583329916,
0.014827610924839973,
-0.03121316246688366,
0.04108615964651108,
-0.01878586784005165,
-0.018985139206051826,
-0.004850449506193399,
-0.046520836651325226,
0.03608625754714012,
-0.039455756545066833,
-0.032173290848731995,
0.03595944866538048,
0.015307674184441566,
-0.07492608577013016,
-0.006127598695456982,
0.020144537091255188,
0.031774744391441345,
-0.011322244070470333,
-0.048767171800136566,
-0.03239067643880844,
-0.044600583612918854,
-0.037245653569698334,
0.043151337653398514,
0.03190155699849129,
-0.05655687302350998,
0.03052476979792118,
0.032155174762010574,
-0.014646454714238644,
0.016675401479005814,
-0.009401991963386536,
0.004710053559392691,
-0.03302472084760666,
0.02751758322119713,
-0.04155716672539711,
0.12854823470115662,
-0.043187569826841354,
-0.017083002254366875,
0.0183873251080513,
0.09586770832538605,
-0.047571539878845215,
-0.014075813814997673,
-0.04528897628188133,
0.02579660154879093,
-0.008256180211901665,
0.06318718194961548,
0.016294972971081734,
-0.002477307105436921,
-0.029492182657122612,
0.014592108316719532,
0.01611381769180298,
0.010742545127868652,
-0.02246333286166191,
-0.023749539628624916,
-0.030071880668401718,
-0.0282422062009573,
-0.053875766694545746,
-0.028550170361995697,
0.027427004650235176,
-0.029093638062477112,
-0.01943802833557129,
0.016793152317404747,
-0.023260418325662613,
-0.0130160516127944,
0.015108402818441391,
-0.03264429420232773,
-0.01103239506483078,
-0.007128485012799501,
-0.035832639783620834,
0.02095973864197731,
-0.041303545236587524,
0.017463428899645805,
-0.01770799048244953,
-0.008650194853544235,
0.06485381722450256,
-0.017816683277487755,
-0.01619533821940422,
-0.004524368792772293,
0.010017922148108482,
-0.005584130994975567,
0.04883963242173195,
-0.06702768802642822,
-0.023713307455182076,
0.03411165624856949,
0.0070967827923595905,
0.04072384908795357,
0.0040601566433906555,
-0.0008384122047573328,
0.034365274012088776,
0.058694515377283096,
-0.0012375212972983718,
-0.06115823611617088,
-0.004467757418751717,
0.029600875452160835,
0.016376493498682976,
-0.0002059233229374513,
0.0070560225285589695,
0.016313089057803154,
-0.005384859163314104,
-0.012970763258635998,
0.012146503664553165,
-0.00019403496116865426,
0.04452812299132347,
0.042462944984436035,
-0.0031453194096684456,
0.029691454023122787,
-0.0056747086346149445,
0.00916196033358574,
0.00008774739399086684,
-0.007599490229040384,
0.03563336655497551,
-0.05025264993309975,
0.06199155002832413,
-0.01612287573516369,
0.009909228421747684,
-0.02210102044045925,
-0.033586304634809494,
0.01526238489896059,
-0.0021885898895561695,
-0.05579601973295212,
-0.08282448351383209,
0.10456319153308868,
0.04191947728395462,
-0.008509798906743526,
0.019274989143013954,
0.01103239506483078,
-0.05231782793998718,
0.035053666681051254,
0.02356838434934616,
0.08666498959064484,
0.027354542165994644,
-0.028387131169438362,
-0.0024886291939765215,
-0.07119426876306534,
0.06032491847872734,
-0.004510782193392515,
-0.01576056331396103,
-0.023658961057662964,
-0.015217096544802189,
0.005190116818994284,
0.033984847366809845,
-0.04695561155676842,
0.009062324650585651,
-0.0006821652059443295,
-0.0751434713602066,
-0.03644856810569763,
-0.03673841804265976,
0.02835089899599552,
0.0317385159432888,
-0.03485439717769623,
-0.03530728816986084,
-0.00030824809800833464,
-0.08637513965368271,
0.022227829322218895,
0.023441573604941368,
0.08688237518072128,
-0.0265212245285511,
0.004467757418751717,
0.0019519549096003175,
0.05101350322365761,
-0.02539805881679058,
-0.0075179701671004295,
0.03045230731368065,
-0.05101350322365761,
-0.006263465620577335,
-0.04376726597547531,
-0.03153924271464348,
-0.057136572897434235,
0.050904810428619385,
-0.01067008264362812,
-0.04775269702076912,
-0.018505075946450233,
0.04557882621884346,
0.09289675205945969,
0.011892884969711304,
0.012300485745072365,
0.03891228884458542,
0.04289771988987923,
-0.0017492867773398757,
-0.01799783855676651,
0.09391122311353683,
-0.02610456570982933,
-0.002909816801548004,
0.016249684616923332,
-0.008998919278383255,
-0.00004334296681918204,
-0.00003242761522415094,
-0.017834799364209175,
0.0056792376562952995,
-0.06398426741361618,
0.01068819873034954,
0.01759023778140545,
-0.035506557673215866,
0.0011412822641432285,
-0.008935514837503433,
0.01360480859875679,
0.016639169305562973,
0.01799783855676651,
0.01619533821940422,
-0.02094162255525589,
0.0659407526254654,
-0.057933658361434937,
-0.027119038626551628,
0.058622051030397415,
-0.02057931199669838,
-0.0026765784714370966,
0.014075813814997673,
0.02463720366358757,
0.0005706411320716143,
-0.04565129056572914,
0.009891112335026264,
-0.03869490325450897,
-0.033242110162973404,
0.03485439717769623,
0.03927459940314293,
0.037245653569698334,
0.015226153656840324,
-0.0868099108338356,
-0.03996299207210541,
0.019039485603570938,
0.06383933871984482,
-0.0715203508734703,
0.026177028194069862,
0.02972768433392048,
-0.01726415753364563
] |
711,134
|
yt_dlp.YoutubeDL
|
_write_description
|
Write description and returns True = written, False = skip, None = error
|
def _write_description(self, label, ie_result, descfn):
''' Write description and returns True = written, False = skip, None = error '''
if not self.params.get('writedescription'):
return False
elif not descfn:
self.write_debug(f'Skipping writing {label} description')
return False
elif not self._ensure_dir_exists(descfn):
return None
elif not self.params.get('overwrites', True) and os.path.exists(descfn):
self.to_screen(f'[info] {label.title()} description is already present')
elif ie_result.get('description') is None:
self.to_screen(f'[info] There\'s no {label} description to write')
return False
else:
try:
self.to_screen(f'[info] Writing {label} description to: {descfn}')
with open(encodeFilename(descfn), 'w', encoding='utf-8') as descfile:
descfile.write(ie_result['description'])
except OSError:
self.report_error(f'Cannot write {label} description file {descfn}')
return None
return True
|
(self, label, ie_result, descfn)
|
[
0.028779787942767143,
0.015220415778458118,
-0.014101396314799786,
-0.028412608429789543,
0.06997369974851608,
-0.04563502222299576,
0.00316691305488348,
0.022800026461482048,
-0.014835752546787262,
-0.03745219111442566,
0.006792799104005098,
0.03294114023447037,
0.011365043930709362,
0.007544640451669693,
0.02622702345252037,
0.06301479786634445,
0.001641374547034502,
-0.005166723392903805,
-0.026646655052900314,
0.06472829729318619,
-0.037417221814394,
-0.021855853497982025,
0.01643560081720352,
-0.005713120102882385,
0.0028631167951971292,
0.020614439621567726,
0.05308349430561066,
-0.04640434682369232,
0.0017364475643262267,
0.012282988987863064,
-0.026611685752868652,
-0.08924181759357452,
0.0015889204805716872,
0.023779168725013733,
0.0004750915977638215,
0.06060190871357918,
-0.032521508634090424,
0.011636056005954742,
-0.018079161643981934,
-0.03481200337409973,
-0.008239656686782837,
0.0391656868159771,
-0.022170577198266983,
-0.014118880964815617,
-0.022869965061545372,
-0.010324704460799694,
-0.03444482386112213,
-0.023954015225172043,
0.010141115635633469,
-0.023324565961956978,
0.002716682618483901,
0.059482887387275696,
-0.030580708757042885,
0.0007704187883064151,
-0.03762703761458397,
-0.0060453289188444614,
0.031157704070210457,
0.05084545537829399,
0.017921799793839455,
0.006386280059814453,
-0.03232917934656143,
0.005682521965354681,
0.012178081087768078,
0.034881941974163055,
-0.03531906008720398,
0.04511047899723053,
-0.04280250146985054,
-0.06728105992078781,
-0.0029942519031465054,
0.05060067027807236,
0.02780064567923546,
-0.026996349915862083,
0.02231045439839363,
0.049656499177217484,
0.032923657447099686,
0.015351550653576851,
-0.044690847396850586,
-0.040564462542533875,
0.09043077379465103,
-0.06546264886856079,
-0.04028470814228058,
-0.022415362298488617,
0.030773039907217026,
-0.07987003028392792,
-0.013673021458089352,
0.019373027607798576,
0.04832766205072403,
-0.016015969216823578,
0.02213560789823532,
0.021471189334988594,
0.013410751707851887,
-0.039340533316135406,
0.01804419234395027,
-0.004480449948459864,
-0.022957388311624527,
-0.04070433974266052,
-0.03477703407406807,
-0.053223371505737305,
0.01223053503781557,
0.02124388888478279,
-0.009275623597204685,
-0.001442486303858459,
0.032399117946624756,
-0.0015342808328568935,
0.05437736213207245,
-0.08007984608411789,
0.014031457714736462,
0.013052315451204777,
-0.003269635606557131,
-0.03320341184735298,
-0.013821640983223915,
-0.03745219111442566,
-0.017344804480671883,
-0.07511419802904129,
0.017554620280861855,
0.009747710078954697,
0.01732731983065605,
-0.026681624352931976,
-0.03105279617011547,
-0.03551138937473297,
0.03495188057422638,
-0.027573343366384506,
-0.03881599381566048,
-0.055251594632864,
0.012361670844256878,
-0.022432846948504448,
-0.01167976763099432,
0.03769697621464729,
0.007487815339118242,
-0.008593721315264702,
-0.02446107007563114,
-0.005603840574622154,
0.040914155542850494,
0.03853623941540718,
0.04192826896905899,
-0.010263508185744286,
-0.02444358542561531,
0.006674777250736952,
0.0072692567482590675,
0.013253388926386833,
-0.01490569207817316,
-0.05990252271294594,
-0.001220649341121316,
0.02869236283004284,
0.02622702345252037,
-0.04685894772410393,
-0.01569250226020813,
-0.031000342220067978,
0.06731602549552917,
-0.011872099712491035,
0.05385282263159752,
-0.007745714392513037,
-0.11749706417322159,
-0.03551138937473297,
0.017371032387018204,
-0.022537754848599434,
0.02657671645283699,
-0.004438923671841621,
-0.006180835422128439,
-0.01515921950340271,
0.04668410122394562,
-0.04741845652461052,
0.010849245823919773,
0.0421031154692173,
0.02012486942112446,
0.021838368847966194,
0.00775882788002491,
0.0495515912771225,
0.028150338679552078,
0.030982857570052147,
-0.01551765576004982,
-0.030528254806995392,
-0.0022074412554502487,
0.05123011767864227,
-0.06112644821405411,
0.09329826384782791,
0.04615956172347069,
-0.0035909165162593126,
0.0029942519031465054,
-0.03619329258799553,
0.002235853811725974,
0.02570248208940029,
-0.09308844804763794,
0.05364300683140755,
0.03477703407406807,
-0.0032390374690294266,
-0.01150492113083601,
0.032538995146751404,
0.002373545663431287,
0.000035174263757653534,
0.006534900050610304,
-0.0222929697483778,
-0.011041576974093914,
0.003877228358760476,
-0.0018260565120726824,
-0.036822739988565445,
0.043466921895742416,
0.003569060703739524,
0.06902952492237091,
0.04570496082305908,
0.007614579051733017,
0.05105527117848396,
0.04437612369656563,
0.04318716377019882,
0.057524606585502625,
0.04727857932448387,
0.0037766913883388042,
0.018446339294314384,
-0.04266262426972389,
-0.01194203831255436,
0.030895434319972992,
-0.020631924271583557,
-0.03626323118805885,
0.000563881010748446,
0.046334408223629,
0.043222133070230484,
-0.06042706221342087,
0.06619700789451599,
-0.0708829015493393,
0.0033592446707189083,
-0.07763198763132095,
-0.003514421172440052,
0.006749087478965521,
0.007256143260747194,
0.028290215879678726,
-0.004974392242729664,
0.1055375412106514,
-0.04587980732321739,
0.02531781978905201,
0.05290864780545235,
-0.030213531106710434,
-0.002506866352632642,
0.03551138937473297,
0.003398585133254528,
0.040389616042375565,
0.0083882762119174,
-0.0606718473136425,
0.0251429732888937,
-0.014101396314799786,
0.02547518163919449,
-0.028674878180027008,
-0.03937550634145737,
0.02033468522131443,
0.042033176869153976,
-0.0005862832767888904,
-0.05136999487876892,
-0.015290354378521442,
0.014792040921747684,
-0.015648791566491127,
-0.008261512033641338,
0.049516621977090836,
0.00047918956261128187,
-0.04122887924313545,
-0.06427369266748428,
0.024670885875821114,
-0.029566597193479538,
0.013585598208010197,
-0.08441604673862457,
0.049656499177217484,
-0.009065807797014713,
-0.01247532106935978,
-0.00893467292189598,
-0.02085922658443451,
0.03376292064785957,
0.022048184648156166,
-0.022432846948504448,
0.023237142711877823,
-0.008619948290288448,
-0.009931299835443497,
0.00048438034718856215,
0.04332704097032547,
0.08350684493780136,
-0.049481652677059174,
-0.04122887924313545,
-0.021995730698108673,
0.031454943120479584,
0.04192826896905899,
-0.0391656868159771,
0.015980999916791916,
-0.0072168027982115746,
0.06633688509464264,
0.021331312134861946,
-0.009161973372101784,
0.01523790042847395,
0.01851627789437771,
-0.003816031850874424,
-0.0091707156971097,
0.02979389950633049,
0.004607213661074638,
0.023079780861735344,
-0.0056344387121498585,
0.090640589594841,
0.010578232817351818,
0.013253388926386833,
-0.008091037161648273,
0.06798044592142105,
-0.04371170699596405,
-0.03371046856045723,
0.007487815339118242,
-0.02087671123445034,
-0.10343938320875168,
-0.017537135630846024,
0.03657795488834381,
-0.0017932726768776774,
-0.07000866532325745,
0.020212292671203613,
-0.00775882788002491,
-0.035773660987615585,
0.00318658328615129,
0.02981138415634632,
0.00838390551507473,
-0.01998499222099781,
0.04444606229662895,
0.08847249299287796,
0.03304604813456535,
0.036123353987932205,
0.02302732691168785,
0.013821640983223915,
0.01765953004360199,
-0.005979761481285095,
-0.033255863934755325,
-0.010447097942233086,
0.01942548155784607,
-0.031122734770178795,
0.05658043175935745,
-0.029146965593099594,
0.023814138025045395,
-0.0003076211432926357,
0.06539271026849747,
-0.0339202843606472,
0.005695635452866554,
-0.01837640069425106,
0.03633316978812218,
-0.0007818931480869651,
-0.027940522879362106,
-0.016732841730117798,
0.02446107007563114,
-0.055356502532958984,
0.047523368149995804,
0.029846353456377983,
0.011872099712491035,
-0.022869965061545372,
-0.042557716369628906,
0.007146863732486963,
0.06874977052211761,
0.008086665533483028,
-0.00553390197455883,
-0.014617194421589375,
0.045180417597293854,
-0.0032368518877774477,
0.009441728703677654,
-0.024565977975726128,
0.014477317221462727,
0.02409389242529869,
0.016085907816886902,
0.031647276133298874,
0.019303089007735252,
-0.034322433173656464,
-0.012081915512681007,
-0.034707095474004745,
-0.019740207120776176,
-0.0328187495470047,
0.004751462489366531,
0.008112892508506775,
-0.012545259669423103,
-0.00726488558575511,
-0.014101396314799786,
0.042347900569438934,
0.019670266658067703,
-0.016855234280228615,
0.01106780394911766,
-0.0001531275629531592,
0.03176966682076454,
-0.06888964772224426,
0.0012807529419660568,
-0.07959027588367462,
-0.018708610907197,
-0.03706752508878708,
-0.06063687801361084,
0.002786621218547225,
-0.009030838496983051,
-0.00008516952948411927,
-0.043431952595710754,
0.011723479256033897,
-0.008112892508506775,
-0.008431987836956978,
0.0027582086622714996,
0.031507398933172226,
-0.042522747069597244,
-0.011522405780851841,
0.020072415471076965,
0.056440554559230804,
-0.004373356234282255,
-0.01559633668512106,
-0.01061320211738348,
-0.03065064735710621,
-0.015290354378521442,
0.03315095603466034,
-0.030563224107027054,
0.002122203353792429,
-0.03706752508878708,
-0.012868726626038551,
-0.035214148461818695,
0.0649031400680542,
0.0016555808251723647,
0.04189329966902733,
0.010674398392438889,
0.038606178015470505,
0.020649408921599388,
0.002703568898141384,
-0.001178030506707728,
-0.03766200691461563,
-0.036123353987932205,
-0.014005230739712715,
-0.03706752508878708,
0.041123971343040466,
-0.05178963020443916,
-0.002384473569691181,
-0.010280992835760117,
0.030545739457011223,
0.01928560435771942,
0.000774243613705039,
0.05951785668730736,
0.040774278342723846,
-0.021523643285036087,
-0.04266262426972389,
0.023429473862051964,
0.02285248041152954,
-0.0028631167951971292,
-0.03983010724186897,
-0.027031319215893745,
0.030265985056757927,
-0.04675403982400894,
-0.011417497880756855,
0.0339202843606472,
-0.10630686581134796,
0.0005392931634560227,
-0.04497060179710388,
-0.00874671246856451,
0.04563502222299576,
0.05123011767864227,
0.006582982838153839,
-0.005621325224637985,
0.026996349915862083,
-0.015762440860271454,
0.036123353987932205,
0.01802670769393444,
-0.02337701991200447,
0.022537754848599434,
0.01675906777381897,
0.04692888632416725,
0.058748532086610794,
0.031507398933172226,
-0.0029308698140084743,
-0.0026598572731018066,
-0.06322461366653442,
-0.004030219279229641,
-0.07770192623138428,
-0.025737453252077103,
0.036822739988565445,
-0.0051361252553761005,
0.024163831025362015,
-0.0025483923964202404,
0.021523643285036087,
0.00937179010361433,
-0.008711743168532848,
0.008829765021800995,
-0.01078804861754179,
0.010761821642518044,
0.056090861558914185,
-0.023814138025045395,
-0.041648514568805695,
0.04553011432290077,
0.010482067242264748,
0.024356162175536156,
-0.01732731983065605,
-0.040214769542217255,
0.03706752508878708,
0.013340812176465988,
0.047138702124357224,
-0.004594100173562765,
-0.045774899423122406,
0.004159168805927038,
0.014232531189918518,
0.010927926748991013,
-0.02690892666578293,
0.01730983518064022,
0.006049700081348419,
0.024845734238624573,
0.0028281472623348236,
-0.0356687530875206,
-0.03500433266162872,
0.01223053503781557,
-0.07056817412376404,
0.0007092223968356848,
-0.015150477178394794,
0.010246023535728455,
0.04640434682369232,
-0.07539395242929459,
-0.06619700789451599,
-0.008528153412044048,
-0.05311846360564232,
-0.04972643777728081,
-0.043991461396217346,
0.03510924056172371,
-0.032346662133932114,
-0.03121015802025795,
-0.014145107939839363,
-0.007649548351764679,
0.012387897819280624,
-0.033413227647542953,
0.03850127011537552,
-0.006810283754020929,
0.014354923740029335,
-0.001716777216643095,
0.0018282420933246613,
-0.015989741310477257,
0.03178715333342552,
0.00998375378549099,
-0.019530389457941055,
0.011330073699355125,
-0.04745342954993248,
0.013970261439681053,
-0.058608654886484146,
-0.0023298338055610657,
0.002238039392977953,
0.00945047102868557,
0.013288358226418495,
-0.01905830390751362,
-0.019198181107640266,
-0.08476573973894119,
-0.031629789620637894,
0.06714118272066116,
-0.021453704684972763,
-0.004285932518541813,
0.036473046988248825,
-0.0031800265423953533,
0.012256762012839317,
-0.0428374707698822,
-0.0029155707452446222,
0.04902704805135727,
-0.016164589673280716,
-0.015124250203371048,
-0.04937674105167389,
0.021733460947871208,
0.05577613785862923,
0.00686710886657238,
-0.025737453252077103,
0.059447918087244034,
-0.03225923702120781,
0.021261373534798622,
0.0077500855550169945,
0.0024915672838687897,
-0.03353562206029892,
0.010385901667177677,
0.09483691304922104,
0.0029439833015203476,
0.022712603211402893,
0.05542644113302231,
0.0500061921775341,
-0.0335531048476696,
0.011373786255717278,
0.017537135630846024,
-0.05885343998670578,
0.0839264765381813,
0.03014359250664711,
0.03531906008720398,
-0.06763075292110443,
-0.023324565961956978,
-0.05563626065850258,
0.0027647654060274363,
0.008803537115454674,
0.05693012475967407,
-0.04150863736867905,
-0.031087765470147133,
-0.032713841646909714,
0.044655878096818924,
0.03376292064785957,
0.03524911776185036,
0.001425001653842628,
-0.12854738533496857,
0.019670266658067703,
0.034514762461185455,
-0.0010960709769278765,
0.019740207120776176,
-0.042522747069597244,
-0.02369174361228943,
0.016374405473470688,
0.002336390782147646,
-0.009669029153883457,
-0.0203172005712986,
0.02659420110285282,
0.013375782407820225,
-0.0973547101020813,
0.05371294543147087,
0.013742960058152676,
0.01452977117151022,
-0.0581890232861042,
0.008829765021800995,
0.030598193407058716,
-0.07350560277700424,
-0.019005849957466125,
-0.0251429732888937,
0.022065669298171997,
-0.005223548971116543,
0.0492718331515789,
-0.06207062304019928,
-0.033465683460235596,
-0.04528532549738884,
0.06619700789451599,
-0.0007797075668349862,
0.04934177175164223,
0.04668410122394562,
-0.017161216586828232,
-0.04101906344294548,
-0.02320217341184616,
0.03440985456109047,
-0.023971499875187874,
0.014258758164942265,
-0.013227161951363087,
0.00238665915094316,
-0.006386280059814453,
0.022240515798330307,
-0.028587454929947853,
-0.1005718931555748,
-0.02622702345252037,
-0.01132133137434721,
-0.05888840928673744,
0.023639289662241936,
0.007203689310699701,
-0.06371418386697769,
0.0001353696861770004,
0.032031938433647156,
-0.006714118178933859,
-0.01409265398979187,
-0.0542374849319458,
0.013979003764688969,
0.0024981240276247263,
0.010954153724014759,
0.006364424247294664,
-0.017738210037350655,
0.0076058367267251015,
-0.03119267337024212,
-0.046474285423755646,
-0.015814894810318947,
0.0271187424659729,
0.029741443693637848,
-0.04227796196937561,
0.0054202512837946415,
-0.05437736213207245,
-0.013935292139649391,
0.055006809532642365,
0.020439593121409416,
0.024531008675694466,
0.09756452590227127,
0.03461967036128044,
0.018708610907197,
0.06081172451376915,
-0.010604459792375565,
0.0052279201336205006,
0.009564121253788471,
-0.0888921245932579,
0.027328558266162872,
-0.04692888632416725,
0.027328558266162872,
0.06430865824222565,
0.01750216633081436,
-0.005276002921164036,
-0.07224670797586441,
-0.050915393978357315,
0.04119390994310379,
0.04570496082305908,
0.044306185096502304,
0.0008873476181179285,
0.007684517651796341,
-0.035214148461818695,
-0.025562604889273643,
0.03049328550696373,
-0.008274625986814499,
-0.03724237158894539,
-0.00010231271153315902,
0.0009955341229215264,
0.012457836419343948,
-0.059098225086927414,
0.012090657837688923,
0.0388859324157238,
0.0030773039907217026,
-0.042732562869787216,
-0.04049452394247055,
-0.05588104575872421,
-0.05560129135847092,
-0.007977386005222797,
-0.030283469706773758,
0.017423486337065697,
0.01780814863741398,
-0.049866314977407455,
0.03636813908815384,
0.02157609723508358,
0.024181315675377846,
-0.032346662133932114,
0.01853376254439354,
0.023464443162083626,
0.03187457472085953,
0.006517415400594473,
0.00021008939074818045,
0.0016064051305875182,
-0.05196447670459747,
-0.041473668068647385,
-0.018254008144140244,
-0.04241783916950226,
0.004384283907711506,
0.06210559234023094,
0.022083153948187828,
-0.06081172451376915,
-0.013253388926386833,
-0.05741969496011734,
0.0139964884147048,
-0.027520889416337013,
0.031664758920669556,
-0.029706474393606186,
-0.000025851375539787114,
-0.0017637673299759626,
0.018463823944330215,
-0.028779787942767143,
-0.03689267858862877,
-0.023586835712194443,
-0.09665532410144806,
0.006115267518907785,
0.05213932320475578,
0.003582174191251397,
-0.027625797316432,
0.01837640069425106,
-0.031175188720226288,
0.06843504309654236,
-0.02405892312526703,
0.0007425526273436844,
0.015430232509970665,
0.010857988148927689,
0.05406263843178749,
-0.006215804722160101,
0.02335953526198864,
0.05486693233251572,
0.06441356986761093,
0.017703240737318993,
-0.010674398392438889,
0.010403386317193508,
0.00015148837701417506,
0.05353809893131256,
-0.011898326687514782,
0.0003360337286721915,
0.07217676937580109,
-0.04654422402381897,
-0.04105403274297714,
0.059133194386959076,
0.09476697444915771,
-0.055356502532958984,
0.07588352262973785,
0.043956492096185684,
0.030895434319972992,
0.02977641485631466,
-0.028779787942767143,
-0.03016107715666294,
0.022537754848599434,
0.03811660781502724,
0.006246402859687805,
0.048222754150629044,
-0.07116265594959259,
0.001857747440226376
] |
711,137
|
yt_dlp.YoutubeDL
|
_write_subtitles
|
Write subtitles to file and return list of (sub_filename, final_sub_filename); or None if error
|
def _write_subtitles(self, info_dict, filename):
''' Write subtitles to file and return list of (sub_filename, final_sub_filename); or None if error'''
ret = []
subtitles = info_dict.get('requested_subtitles')
if not (self.params.get('writesubtitles') or self.params.get('writeautomaticsub')):
# subtitles download errors are already managed as troubles in relevant IE
# that way it will silently go on when used with unsupporting IE
return ret
elif not subtitles:
self.to_screen('[info] There are no subtitles for the requested languages')
return ret
sub_filename_base = self.prepare_filename(info_dict, 'subtitle')
if not sub_filename_base:
self.to_screen('[info] Skipping writing video subtitles')
return ret
for sub_lang, sub_info in subtitles.items():
sub_format = sub_info['ext']
sub_filename = subtitles_filename(filename, sub_lang, sub_format, info_dict.get('ext'))
sub_filename_final = subtitles_filename(sub_filename_base, sub_lang, sub_format, info_dict.get('ext'))
existing_sub = self.existing_file((sub_filename_final, sub_filename))
if existing_sub:
self.to_screen(f'[info] Video subtitle {sub_lang}.{sub_format} is already present')
sub_info['filepath'] = existing_sub
ret.append((existing_sub, sub_filename_final))
continue
self.to_screen(f'[info] Writing video subtitles to: {sub_filename}')
if sub_info.get('data') is not None:
try:
# Use newline='' to prevent conversion of newline characters
# See https://github.com/ytdl-org/youtube-dl/issues/10268
with open(sub_filename, 'w', encoding='utf-8', newline='') as subfile:
subfile.write(sub_info['data'])
sub_info['filepath'] = sub_filename
ret.append((sub_filename, sub_filename_final))
continue
except OSError:
self.report_error(f'Cannot write video subtitles file {sub_filename}')
return None
try:
sub_copy = sub_info.copy()
sub_copy.setdefault('http_headers', info_dict.get('http_headers'))
self.dl(sub_filename, sub_copy, subtitle=True)
sub_info['filepath'] = sub_filename
ret.append((sub_filename, sub_filename_final))
except (DownloadError, ExtractorError, IOError, OSError, ValueError) + network_exceptions as err:
msg = f'Unable to download video subtitles for {sub_lang!r}: {err}'
if self.params.get('ignoreerrors') is not True: # False or 'only_download'
if not self.params.get('ignoreerrors'):
self.report_error(msg)
raise DownloadError(msg)
self.report_warning(msg)
return ret
|
(self, info_dict, filename)
|
[
-0.005745577625930309,
0.013294783420860767,
-0.10263944417238235,
-0.0024335032794624567,
-0.02236870490014553,
-0.012095463462173939,
-0.022777775302529335,
0.035868022590875626,
0.025975961238145828,
-0.013768932782113552,
0.008841495960950851,
0.008125622756779194,
0.023781858384609222,
-0.0257900208234787,
0.001228372915647924,
0.05533605068922043,
0.011993195861577988,
0.05180317163467407,
-0.026887072250247,
0.007033219560980797,
-0.010580044239759445,
-0.017134465277194977,
-0.00019770760263781995,
-0.01556326448917389,
0.0007838576566427946,
0.012039681896567345,
0.010951926931738853,
-0.027147389948368073,
-0.022089794278144836,
0.009283105842769146,
-0.007089001592248678,
-0.006884466391056776,
0.01550748199224472,
0.045592740178108215,
-0.05541042611002922,
0.06143491715192795,
-0.05726983770728111,
-0.030550111085176468,
-0.0761614441871643,
0.04410521313548088,
-0.020936960354447365,
-0.024544214829802513,
0.04172516614198685,
-0.021494783461093903,
0.0023602889850735664,
-0.0014700962929055095,
-0.05369976907968521,
0.022201359272003174,
-0.006335940677672625,
-0.04220861196517944,
0.0026240928564220667,
-0.005290022119879723,
0.00581530574709177,
-0.021011335775256157,
-0.03571927174925804,
0.04633650556206703,
0.007028570864349604,
0.09423491358757019,
0.018529023975133896,
-0.01083106454461813,
0.031424034386873245,
-0.05418321490287781,
-0.012141949497163296,
0.06072834134101868,
0.009919953532516956,
0.005234240088611841,
0.015033331699669361,
-0.10241632163524628,
-0.07772334665060043,
0.023484351113438606,
0.045592740178108215,
-0.024042174220085144,
-0.028002718463540077,
-0.01257891021668911,
0.02294512279331684,
0.028356006368994713,
-0.05396008491516113,
-0.0022324544843286276,
0.020695235580205917,
0.020360542461276054,
0.010580044239759445,
-0.028820859268307686,
0.04391926899552345,
0.013527209870517254,
0.057158272713422775,
-0.01032902393490076,
0.056972332298755646,
-0.03551473468542099,
-0.05050158500671387,
0.05953831598162651,
-0.00861371774226427,
-0.024544214829802513,
0.020341947674751282,
-0.013517912477254868,
-0.048009973019361496,
-0.060133326798677444,
-0.006986733991652727,
-0.05009251460433006,
-0.0658603087067604,
-0.056972332298755646,
-0.005745577625930309,
0.0004570081946440041,
-0.01420589443296194,
-0.020751018077135086,
0.04020044952630997,
-0.07296326011419296,
-0.02439546212553978,
0.024190926924347878,
-0.04161360114812851,
0.0002992488443851471,
-0.001836167648434639,
-0.009854874573647976,
-0.005582879297435284,
-0.01943083666265011,
0.030605893582105637,
-0.06783128529787064,
-0.046596821397542953,
-0.01531224325299263,
-0.055112920701503754,
-0.015098411589860916,
0.02510203793644905,
0.019802719354629517,
-0.05202629789710045,
-0.01645578071475029,
-0.03190748021006584,
-0.07381858676671982,
0.02618049643933773,
0.03287437558174133,
0.014773014932870865,
0.012141949497163296,
-0.03036417067050934,
0.01976553164422512,
0.011100679636001587,
0.00672176806256175,
0.06500498205423355,
-0.07846711575984955,
-0.0012888037599623203,
0.01563763990998268,
-0.03834104165434837,
-0.051245346665382385,
-0.01722743548452854,
-0.023224035277962685,
-0.011881631799042225,
0.013239000923931599,
0.01334126852452755,
-0.03748571127653122,
-0.0021824827417731285,
-0.07352108508348465,
-0.002559013431891799,
0.008729930967092514,
0.0022952095605432987,
-0.023540133610367775,
-0.12234919518232346,
-0.02363310381770134,
0.016995009034872055,
-0.0762358233332634,
0.00839058868587017,
0.011481858789920807,
-0.0016897390596568584,
0.02738911285996437,
0.009957142174243927,
-0.01083106454461813,
-0.04518366977572441,
0.002269642660394311,
0.0009825821034610271,
-0.010403400287032127,
0.029899317771196365,
0.027984125539660454,
0.039047617465257645,
0.06262493878602982,
0.04789840802550316,
0.06299681961536407,
-0.07988026738166809,
0.012104760855436325,
0.012625396251678467,
-0.015302946791052818,
0.050613146275281906,
-0.02699863724410534,
0.032818593084812164,
0.03646303713321686,
-0.015665531158447266,
0.00036026074667461216,
-0.04455146938562393,
0.043956458568573,
0.03304171934723854,
0.08359908312559128,
0.0134435361251235,
0.05180317163467407,
-0.018082765862345695,
-0.02776099555194378,
-0.00870668888092041,
-0.054666660726070404,
-0.00912040751427412,
-0.02452562190592289,
-0.008660203777253628,
-0.00984557718038559,
0.004134863615036011,
-0.004757766146212816,
-0.0018710315926000476,
-0.010170973837375641,
0.017617912963032722,
-0.0033167230430990458,
0.05574512109160423,
-0.03387845680117607,
-0.004048865754157305,
0.04466303437948227,
0.017943309620022774,
-0.01569342240691185,
-0.05667482689023018,
0.03214920312166214,
0.0024125848431140184,
-0.009269160218536854,
0.01267188135534525,
-0.048009973019361496,
0.003816439537331462,
-0.03856416791677475,
-0.028951017186045647,
0.01950521394610405,
-0.040312014520168304,
0.004932085983455181,
-0.013815418817102909,
0.007312131114304066,
-0.028170065954327583,
0.03653741255402565,
0.04681995138525963,
-0.047749657183885574,
0.07463672757148743,
0.04042357951402664,
0.009357482194900513,
0.020156007260084152,
0.01639999821782112,
0.01905895583331585,
0.003514285432174802,
-0.010924035683274269,
-0.05120816081762314,
0.045964621007442474,
-0.009269160218536854,
-0.03875011205673218,
0.023038093000650406,
0.027482083067297935,
0.013034465722739697,
-0.0006298752268776298,
-0.010803173296153545,
0.057976413518190384,
-0.020565077662467957,
-0.02936008758842945,
-0.003704875009134412,
0.06864942610263824,
-0.00031261335243470967,
0.008530044928193092,
0.07653332501649857,
0.017050791531801224,
-0.056972332298755646,
0.012495237402617931,
0.019393648952245712,
-0.04172516614198685,
-0.034157365560531616,
-0.0743764117360115,
0.02586439624428749,
-0.008762471377849579,
-0.01868707314133644,
0.04544398561120033,
-0.03648163005709648,
0.033525168895721436,
-0.028132878243923187,
-0.026254873722791672,
0.007623582147061825,
0.008395237848162651,
-0.07638457417488098,
0.039865754544734955,
-0.005898979026824236,
0.023670293390750885,
-0.018631290644407272,
0.007772334851324558,
-0.018594102934002876,
0.030550111085176468,
0.04090702533721924,
-0.050873465836048126,
0.026292061433196068,
0.03133106231689453,
0.0271287951618433,
0.03320906683802605,
0.02089977078139782,
-0.02326122298836708,
0.10568887740373611,
-0.06284806877374649,
-0.02231292426586151,
-0.012987980619072914,
-0.02281496487557888,
0.022405894473195076,
-0.033078908920288086,
0.003979138098657131,
0.044960539788007736,
0.04280362278223038,
-0.0381179116666317,
0.02872788906097412,
-0.038787297904491425,
-0.023967798799276352,
0.07117822766304016,
-0.04053514450788498,
-0.05548480153083801,
0.047489337623119354,
0.018631290644407272,
-0.008344103582203388,
-0.08144216984510422,
0.02618049643933773,
-0.035161446779966354,
0.006363831460475922,
0.06809160113334656,
-0.0313868448138237,
0.012095463462173939,
-0.037076640874147415,
0.041018590331077576,
0.060393646359443665,
-0.004736847709864378,
0.05451790988445282,
-0.013387753628194332,
0.02967618778347969,
-0.010254647582769394,
0.030252605676651,
-0.01900317333638668,
0.005015759263187647,
0.045332424342632294,
-0.017701586708426476,
0.14726530015468597,
-0.07683083415031433,
0.02019319497048855,
-0.017264625057578087,
0.048009973019361496,
-0.039233557879924774,
-0.0005708970711566508,
0.02777959033846855,
-0.01691133715212345,
0.0013736393302679062,
-0.021439000964164734,
-0.011128570884466171,
-0.02731473743915558,
0.019802719354629517,
0.1058376356959343,
0.004904194734990597,
-0.03477097302675247,
-0.02407936379313469,
-0.056191377341747284,
-0.006986733991652727,
0.028876641765236855,
-0.00603843480348587,
-0.011677096597850323,
0.00965963676571846,
0.007312131114304066,
-0.04113015532493591,
0.016232652589678764,
0.00296343513764441,
-0.0031935372389853,
0.05299319326877594,
-0.03233514353632927,
-0.037653058767318726,
0.024507027119398117,
-0.06824035942554474,
0.014354647137224674,
-0.013741041533648968,
-0.04131609573960304,
0.05953831598162651,
-0.03648163005709648,
0.01563763990998268,
0.01486598514020443,
-0.03393423929810524,
0.02489750273525715,
0.01765510067343712,
-0.013545803725719452,
-0.050873465836048126,
-0.01006870623677969,
0.023465758189558983,
0.05987301096320152,
-0.0313868448138237,
-0.0009947845246642828,
0.008901926688849926,
0.01924489624798298,
0.00978049822151661,
-0.021141495555639267,
-0.07545486837625504,
0.030959181487560272,
0.009631745517253876,
-0.019226301461458206,
-0.01458707358688116,
0.013071654364466667,
-0.03190748021006584,
0.02573423832654953,
-0.0011359835043549538,
0.03837822750210762,
0.033711109310388565,
0.009506234899163246,
0.07166167348623276,
0.016632424667477608,
-0.023558728396892548,
0.042989566922187805,
-0.004955328535288572,
-0.008218593895435333,
0.020156007260084152,
0.014317459426820278,
0.04849341884255409,
-0.022201359272003174,
-0.006126756779849529,
-0.051877547055482864,
0.06333151459693909,
0.005717686377465725,
0.03261405602097511,
0.09743309766054153,
0.06299681961536407,
0.020379137247800827,
0.011082084849476814,
-0.011779364198446274,
-0.03653741255402565,
-0.02949024736881256,
-0.03780180960893631,
-0.04670838639140129,
0.07430203258991241,
-0.06809160113334656,
0.04548117518424988,
-0.017701586708426476,
0.00023809167032595724,
-0.007502720691263676,
0.0005273171118460596,
0.017050791531801224,
0.030977774411439896,
0.039865754544734955,
-0.03222357854247093,
-0.017078682780265808,
-0.004332426004111767,
-0.022219952195882797,
-0.051951922476291656,
0.0493115596473217,
-0.045964621007442474,
-0.005294670816510916,
-0.04551836475729942,
0.06798003613948822,
-0.009557369165122509,
-0.01803627982735634,
-0.009929250925779343,
-0.036816325038671494,
0.06180679798126221,
0.030085258185863495,
0.026161903515458107,
0.015479590743780136,
0.005931518971920013,
0.054666660726070404,
0.006098865531384945,
-0.017943309620022774,
-0.0219782292842865,
-0.005150566343218088,
-0.018324488773941994,
-0.012811336666345596,
0.1004081517457962,
0.008808956481516361,
-0.03620271757245064,
0.012820634059607983,
-0.024562809616327286,
0.026738319545984268,
0.0033353171311318874,
-0.05128253623843193,
-0.060021765530109406,
0.0021731858141720295,
0.044253963977098465,
0.08731790632009506,
0.050873465836048126,
0.0160188190639019,
-0.015739908441901207,
0.004069784190505743,
-0.03521722927689552,
-0.03837822750210762,
-0.03361813724040985,
-0.016362810507416725,
0.03912199288606644,
0.010533559136092663,
-0.004478854592889547,
0.015237866900861263,
0.012476642616093159,
-0.03131246939301491,
-0.03527301177382469,
-0.013973467983305454,
0.004936734214425087,
0.04131609573960304,
-0.01486598514020443,
0.0011452805483713746,
0.01562834344804287,
0.023093875497579575,
-0.039233557879924774,
0.037076640874147415,
-0.00038902348023839295,
-0.028486166149377823,
0.012643990106880665,
0.013452833518385887,
-0.018714964389801025,
-0.04131609573960304,
0.004097675438970327,
-0.04072108492255211,
-0.015981631353497505,
-0.026403626427054405,
0.03700226545333862,
-0.01956099644303322,
-0.06169523298740387,
0.04700589179992676,
-0.07720271497964859,
0.004076757002621889,
-0.05485260486602783,
0.014940361492335796,
0.027500677853822708,
-0.017506347969174385,
0.03795056417584419,
-0.0385269820690155,
0.027537865564227104,
-0.02121587097644806,
0.024116551503539085,
-0.04220861196517944,
-0.020955553278326988,
0.05935237556695938,
0.031870290637016296,
-0.0995900109410286,
0.024097956717014313,
0.039940133690834045,
0.03477097302675247,
-0.043956458568573,
-0.019486619159579277,
0.06690157949924469,
-0.028095688670873642,
0.013266892172396183,
-0.0018024658784270287,
-0.10107754170894623,
0.023558728396892548,
-0.016362810507416725,
-0.0002040993276750669,
-0.07512017339468002,
-0.04072108492255211,
0.007367913145571947,
-0.06853786110877991,
0.010524261742830276,
-0.015925848856568336,
-0.020304759964346886,
-0.026645349338650703,
-0.01772947609424591,
0.007684012874960899,
0.01886371709406376,
0.012179137207567692,
-0.004964625462889671,
-0.07162448763847351,
0.0032237526029348373,
-0.0076049878261983395,
-0.027351925149559975,
0.014057141728699207,
0.04912561923265457,
0.029880722984671593,
-0.0009732850594446063,
0.006786847487092018,
0.056972332298755646,
0.02694285474717617,
-0.0694303810596466,
0.013517912477254868,
-0.030829021707177162,
-0.029824940487742424,
0.026143308728933334,
0.04440271854400635,
0.03399001806974411,
0.03387845680117607,
-0.019784124568104744,
-0.05496416613459587,
0.0017083331476897001,
0.04302675276994705,
0.012792742811143398,
0.026868479326367378,
0.019468026235699654,
0.01874285563826561,
0.03705804795026779,
0.022405894473195076,
-0.030717458575963974,
-0.06452153623104095,
-0.04098140075802803,
-0.033506572246551514,
0.029192741960287094,
0.006958842743188143,
0.011667799204587936,
0.029880722984671593,
-0.013508616015315056,
-0.0014700962929055095,
0.06433559209108353,
0.02255464717745781,
0.02541813813149929,
-0.009910657070577145,
0.06314557045698166,
0.01708798110485077,
0.03685351088643074,
0.01924489624798298,
-0.0592036247253418,
0.06805441528558731,
0.0533650740981102,
-0.026849884539842606,
0.014773014932870865,
0.0053690471686422825,
0.04700589179992676,
-0.01121224369853735,
0.0016467402456328273,
-0.03705804795026779,
-0.03482675552368164,
-0.0073865074664354324,
-0.02854194864630699,
0.013694556429982185,
0.0028913829009979963,
-0.009631745517253876,
0.02229432947933674,
-0.04046076908707619,
-0.04023763909935951,
0.027556460350751877,
-0.02484172210097313,
0.007233106065541506,
0.04670838639140129,
-0.07824398577213287,
0.04261768236756325,
0.01026394497603178,
-0.03575646132230759,
0.010998412035405636,
0.01436394453048706,
-0.025715643540024757,
-0.014893876388669014,
0.026087526232004166,
-0.03731836378574371,
0.050873465836048126,
-0.08107028901576996,
0.01474512368440628,
0.029062582179903984,
-0.03700226545333862,
-0.04060951992869377,
-0.052137862890958786,
-0.001113903010264039,
-0.01645578071475029,
0.017134465277194977,
0.04734058678150177,
-0.02631065621972084,
0.0015096087008714676,
-0.0015374998329207301,
-0.045592740178108215,
0.04064670950174332,
0.05764171853661537,
0.04321269318461418,
-0.04142766073346138,
0.008158162236213684,
0.003704875009134412,
-0.003291156142950058,
0.06805441528558731,
-0.006647391710430384,
-0.019672561436891556,
0.004641552921384573,
-0.0008437074138782918,
0.04879092425107956,
0.03863854706287384,
-0.027091607451438904,
0.03629568964242935,
0.037020858377218246,
0.049014054238796234,
0.0690213069319725,
-0.03242811560630798,
0.0210857130587101,
0.037020858377218246,
0.043956458568573,
-0.03521722927689552,
-0.004376586992293596,
-0.07720271497964859,
0.06835192441940308,
-0.00861371774226427,
-0.0132204070687294,
0.02116008847951889,
0.021885259076952934,
-0.0434730127453804,
0.053848519921302795,
-0.020955553278326988,
-0.038787297904491425,
0.030550111085176468,
0.029006799682974815,
0.004746144637465477,
-0.02045351266860962,
0.00364676839672029,
0.06184398755431175,
-0.006521881558001041,
-0.005666553042829037,
0.014243083074688911,
0.00729353679344058,
-0.022350111976265907,
-0.045592740178108215,
-0.0026333897840231657,
0.03776462376117706,
0.008999546058475971,
-0.020565077662467957,
-0.062438998371362686,
-0.016809068620204926,
0.028244441375136375,
-0.08940044790506363,
-0.012476642616093159,
0.020379137247800827,
-0.015870066359639168,
0.036890700459480286,
-0.0329301543533802,
0.013582992367446423,
-0.016344215720891953,
-0.03144262731075287,
-0.00892981793731451,
0.027240360155701637,
0.014047844335436821,
-0.019616778939962387,
0.0016432538395747542,
-0.027482083067297935,
-0.036370065063238144,
0.00013270087947603315,
-0.05362539365887642,
-0.0037443875335156918,
-0.009538774378597736,
0.05191473662853241,
0.005331858992576599,
-0.07742584496736526,
-0.039940133690834045,
0.04429115355014801,
-0.0055689336732029915,
0.06664126366376877,
-0.006024489179253578,
0.03635147213935852,
-0.007948978804051876,
0.02199682407081127,
0.04462584853172302,
0.0011830497533082962,
-0.004950679838657379,
-0.006656688638031483,
-0.0008524234290234745,
0.061100222170352936,
0.0007623581914231181,
0.005001813638955355,
0.012969386763870716,
-0.05228661745786667,
-0.002414909191429615,
-0.04113015532493591,
-0.018575508147478104,
-0.014559182338416576,
-0.005034353118389845,
0.027556460350751877,
0.01251383125782013,
0.005238888319581747,
0.014884578995406628,
0.018649885430932045,
-0.009287754073739052,
-0.05388570949435234,
0.013648071326315403,
0.058868929743766785,
-0.0075073689222335815,
0.027147389948368073,
0.008139568381011486,
0.03309750184416771,
-0.025195010006427765,
-0.0888054370880127,
0.039159178733825684,
0.0228707455098629,
0.014773014932870865,
0.034659408032894135,
0.010924035683274269,
-0.027054419741034508,
0.037206798791885376,
-0.018147844821214676,
0.018566211685538292,
0.02255464717745781,
0.06831473112106323,
-0.0054713147692382336,
0.03690929338335991,
-0.029434464871883392,
0.020118819549679756
] |
711,138
|
yt_dlp.YoutubeDL
|
_write_thumbnails
|
Write thumbnails to file and return list of (thumb_filename, final_thumb_filename); or None if error
|
def _write_thumbnails(self, label, info_dict, filename, thumb_filename_base=None):
''' Write thumbnails to file and return list of (thumb_filename, final_thumb_filename); or None if error '''
write_all = self.params.get('write_all_thumbnails', False)
thumbnails, ret = [], []
if write_all or self.params.get('writethumbnail', False):
thumbnails = info_dict.get('thumbnails') or []
if not thumbnails:
self.to_screen(f'[info] There are no {label} thumbnails to download')
return ret
multiple = write_all and len(thumbnails) > 1
if thumb_filename_base is None:
thumb_filename_base = filename
if thumbnails and not thumb_filename_base:
self.write_debug(f'Skipping writing {label} thumbnail')
return ret
if thumbnails and not self._ensure_dir_exists(filename):
return None
for idx, t in list(enumerate(thumbnails))[::-1]:
thumb_ext = (f'{t["id"]}.' if multiple else '') + determine_ext(t['url'], 'jpg')
thumb_display_id = f'{label} thumbnail {t["id"]}'
thumb_filename = replace_extension(filename, thumb_ext, info_dict.get('ext'))
thumb_filename_final = replace_extension(thumb_filename_base, thumb_ext, info_dict.get('ext'))
existing_thumb = self.existing_file((thumb_filename_final, thumb_filename))
if existing_thumb:
self.to_screen('[info] %s is already present' % (
thumb_display_id if multiple else f'{label} thumbnail').capitalize())
t['filepath'] = existing_thumb
ret.append((existing_thumb, thumb_filename_final))
else:
self.to_screen(f'[info] Downloading {thumb_display_id} ...')
try:
uf = self.urlopen(Request(t['url'], headers=t.get('http_headers', {})))
self.to_screen(f'[info] Writing {thumb_display_id} to: {thumb_filename}')
with open(encodeFilename(thumb_filename), 'wb') as thumbf:
shutil.copyfileobj(uf, thumbf)
ret.append((thumb_filename, thumb_filename_final))
t['filepath'] = thumb_filename
except network_exceptions as err:
if isinstance(err, HTTPError) and err.status == 404:
self.to_screen(f'[info] {thumb_display_id.title()} does not exist')
else:
self.report_warning(f'Unable to download {thumb_display_id}: {err}')
thumbnails.pop(idx)
if ret and not write_all:
break
return ret
|
(self, label, info_dict, filename, thumb_filename_base=None)
|
[
-0.050470031797885895,
-0.004782131873071194,
-0.11712129414081573,
0.039085377007722855,
-0.022229928523302078,
-0.003968254197388887,
-0.033441212028265,
0.06218215823173523,
-0.05124056339263916,
-0.02912621572613716,
0.00874075386673212,
0.08468177914619446,
0.029550010338425636,
-0.016210125759243965,
0.042533520609140396,
0.03534828498959541,
0.007397134322673082,
0.021497922018170357,
0.021189706400036812,
0.02194097824394703,
0.013532517477869987,
0.03417322039604187,
0.03696640580892563,
0.04226383566856384,
0.0238095261156559,
0.008499962277710438,
0.0424949936568737,
-0.00974726490676403,
0.008143589831888676,
0.003291628323495388,
-0.016672447323799133,
-0.05543997883796692,
0.04496070742607117,
0.06437817960977554,
0.010190322995185852,
0.04896748811006546,
-0.012184081599116325,
0.028124520555138588,
-0.1082601398229599,
0.017934197559952736,
0.005581561475992203,
-0.06160425767302513,
-0.033865004777908325,
-0.05994760990142822,
0.03557944297790527,
0.0703113004565239,
-0.027007244527339935,
-0.018425414338707924,
-0.03979812189936638,
-0.04796579107642174,
-0.026044076308608055,
0.057212211191654205,
-0.01782824844121933,
0.03105255216360092,
0.024291109293699265,
0.018868470564484596,
-0.005239636637270451,
0.018974419683218002,
0.009256049059331417,
0.021324550732970238,
-0.0036070661153644323,
0.0030460203997790813,
0.030686547979712486,
0.0002031683543464169,
0.01827130652964115,
0.03026275523006916,
-0.05524734407663345,
-0.035001542419195175,
-0.05748189613223076,
0.04291879013180733,
0.033190786838531494,
-0.04149330034852028,
-0.013243567198514938,
0.006077593192458153,
-0.014033365063369274,
0.01564185693860054,
0.015468486584722996,
-0.06071814149618149,
0.04268762841820717,
-0.03184235095977783,
-0.006299122236669064,
-0.03779473155736923,
0.03995222970843315,
-0.00986284576356411,
0.03376868739724159,
0.007753506302833557,
0.054322704672813416,
-0.0012436913093551993,
-0.037274621427059174,
0.043496690690517426,
-0.06017876788973808,
0.008461435325443745,
0.05000770837068558,
-0.02404068596661091,
-0.011346125043928623,
-0.07836338877677917,
-0.07431808114051819,
-0.028432734310626984,
-0.023154571652412415,
-0.04908306896686554,
-0.04981507360935211,
-0.11758361011743546,
0.010585222393274307,
-0.026833875104784966,
0.04738789051771164,
-0.11997226625680923,
-0.009328287094831467,
-0.002518685767427087,
-0.07632147520780563,
-0.0045172604732215405,
-0.04569271579384804,
-0.04754199832677841,
-0.007984667085111141,
-0.019311528652906418,
0.018723996356129646,
-0.033922795206308365,
0.021151181310415268,
-0.035675760358572006,
-0.001547089428640902,
-0.05651872977614403,
-0.0011732596904039383,
-0.039990756660699844,
-0.03111034259200096,
-0.008466251194477081,
0.032400988042354584,
-0.027007244527339935,
0.030397597700357437,
0.024618586525321007,
0.004363153129816055,
-0.0008289269171655178,
-0.04388195648789406,
0.05536292493343353,
-0.020939283072948456,
0.06480197608470917,
0.038565266877412796,
-0.07154415547847748,
-0.04122361168265343,
0.018020883202552795,
-0.006718100514262915,
-0.03706272318959236,
-0.026679767295718193,
-0.04199414700269699,
-0.014245262369513512,
0.03303667902946472,
0.04573124274611473,
-0.06484050303697586,
-0.014120050705969334,
-0.02448374405503273,
0.025427648797631264,
-0.01879141852259636,
-0.018463941290974617,
0.026833875104784966,
-0.03588765859603882,
0.019706428050994873,
-0.009930266998708248,
-0.03810294717550278,
0.004960317630320787,
0.040722765028476715,
-0.02215287648141384,
-0.0012298458022996783,
0.05520882084965706,
-0.04392048344016075,
0.01797272451221943,
-0.04966096952557564,
-0.03215056657791138,
0.015410696156322956,
0.011220913380384445,
0.07716906070709229,
0.062143631279468536,
0.08568347245454788,
0.028991371393203735,
0.01337841060012579,
0.011644707061350346,
-0.005860880482941866,
-0.0340191125869751,
0.055632613599300385,
0.03220835328102112,
-0.07435660809278488,
0.011326861567795277,
0.014091155491769314,
-0.033248577266931534,
-0.015718910843133926,
-0.01434157881885767,
0.01648944430053234,
0.01308946032077074,
0.021863924339413643,
-0.0025210934691131115,
0.0266412403434515,
-0.013445832766592503,
0.020554015412926674,
-0.014553476125001907,
-0.010960857383906841,
-0.024753430858254433,
-0.011163122951984406,
0.039528436958789825,
-0.006082409061491489,
0.031418558210134506,
-0.01130759809166193,
0.06907844543457031,
0.061064884066581726,
-0.040106337517499924,
0.015352905727922916,
0.075396828353405,
-0.046116508543491364,
0.04823547974228859,
0.01718292571604252,
0.006058329716324806,
-0.005745300091803074,
-0.08082909882068634,
0.05247342213988304,
0.019590847194194794,
0.04977655038237572,
-0.014409000985324383,
0.011211281642317772,
0.018435046076774597,
-0.014168208464980125,
-0.036754511296749115,
0.05547850579023361,
-0.049391280859708786,
-0.018839575350284576,
-0.06603483110666275,
-0.0035637235268950462,
-0.03421174734830856,
0.027970412746071815,
0.04742641746997833,
0.005807905923575163,
0.08475882560014725,
-0.012135922908782959,
0.046501774340867996,
0.037602100521326065,
-0.014283789321780205,
-0.00834585539996624,
0.056711360812187195,
0.06484050303697586,
0.02386731654405594,
0.0008295289007946849,
-0.040722765028476715,
-0.03519417718052864,
0.026371553540229797,
0.025177225470542908,
-0.005008476320654154,
-0.019205579534173012,
-0.0064387815073132515,
0.022692250087857246,
-0.01879141852259636,
-0.0493142269551754,
-0.026718294247984886,
0.04268762841820717,
-0.02827862836420536,
-0.024734167382121086,
0.06156573072075844,
0.04908306896686554,
-0.0029208085034042597,
-0.030185701325535774,
0.045769765973091125,
-0.05112498626112938,
-0.01765487901866436,
-0.09331176429986954,
0.036234401166439056,
-0.020438436418771744,
0.01584412157535553,
-0.01631607487797737,
0.00003040000592591241,
0.01578633114695549,
-0.04546155408024788,
-0.029781170189380646,
0.02669903077185154,
-0.010036216117441654,
-0.06680537015199661,
0.05012328922748566,
0.06029434874653816,
0.07655263692140579,
-0.0289143193513155,
0.013513254001736641,
-0.0015025428729131818,
0.010575590655207634,
0.04765757918357849,
-0.04630914330482483,
0.01482316292822361,
-0.019417477771639824,
0.04603945463895798,
-0.004406495951116085,
0.0053937435150146484,
0.0001051960643962957,
0.04727230966091156,
0.002583699533715844,
-0.007705348078161478,
0.039990756660699844,
-0.0020118181128054857,
-0.007594583556056023,
-0.002080444013699889,
0.050932351499795914,
-0.009771344251930714,
-0.04149330034852028,
-0.05231931433081627,
0.006433965638279915,
-0.07038835436105728,
-0.011750656180083752,
0.03592618554830551,
-0.010652643628418446,
-0.09623979777097702,
0.018512098118662834,
0.07331638783216476,
-0.003043612465262413,
-0.04122361168265343,
-0.013493990525603294,
0.031129606068134308,
-0.04438280314207077,
0.023135308176279068,
-0.01578633114695549,
0.06588072329759598,
-0.00728155393153429,
0.06495608389377594,
0.08653105795383453,
0.046386197209358215,
0.02533133141696453,
0.0058271693997085094,
0.03288257122039795,
-0.01929226517677307,
0.0476190522313118,
-0.062336266040802,
0.05050855502486229,
0.0002326653921045363,
0.01028663944453001,
0.10224997252225876,
-0.06584219634532928,
0.020765913650393486,
0.020669596269726753,
-0.0021189707331359386,
-0.0027329905424267054,
-0.0013809428783133626,
0.025254277512431145,
0.018512098118662834,
0.03819926455616951,
-0.037159040570259094,
0.04869779944419861,
-0.002456079702824354,
0.0005839209188707173,
0.059022966772317886,
0.006178725976496935,
-0.018839575350284576,
-0.022191401571035385,
-0.023674681782722473,
0.05570966750383377,
0.014206735417246819,
0.01343620102852583,
0.06919402629137039,
-0.013965943828225136,
0.009024889208376408,
-0.06480197608470917,
0.029145479202270508,
-0.036080293357372284,
-0.022461090236902237,
0.0218253992497921,
0.057096630334854126,
-0.01334951538592577,
0.013561412692070007,
-0.06187394633889198,
-0.01127870287746191,
-0.00043372681830078363,
0.023038990795612335,
0.008023194037377834,
-0.01674950122833252,
0.04484512656927109,
0.04041454941034317,
-0.0022586302366107702,
0.021729081869125366,
0.027103561908006668,
0.0001526772539364174,
-0.030224228277802467,
-0.012636770494282246,
-0.005692325998097658,
0.019099632278084755,
-0.04376637563109398,
-0.02028432860970497,
0.01235745195299387,
-0.01578633114695549,
-0.012001079507172108,
-0.037274621427059174,
0.00974726490676403,
-0.007031130138784647,
-0.009424603544175625,
-0.011490600183606148,
0.016874711960554123,
0.00825916975736618,
-0.0583680123090744,
0.027508093044161797,
-0.00910194218158722,
0.01876252330839634,
0.023674681782722473,
0.007122631184756756,
0.041917093098163605,
0.012010711245238781,
0.03151487186551094,
0.03883495554327965,
-0.06418555229902267,
0.033132996410131454,
0.046617355197668076,
-0.02997380495071411,
-0.025350594893097878,
-0.02205655910074711,
-0.031880877912044525,
-0.05559408664703369,
0.06410849839448929,
0.007021498400717974,
-0.028413470834493637,
0.04796579107642174,
0.054322704672813416,
0.046386197209358215,
-0.021902451291680336,
-0.006891470868140459,
-0.05728926137089729,
-0.027007244527339935,
-0.029145479202270508,
0.015468486584722996,
0.05470797047019005,
-0.06927108019590378,
0.01439936924725771,
-0.010421482846140862,
0.04765757918357849,
0.022480353713035583,
0.031649716198444366,
0.05185699090361595,
0.021729081869125366,
-0.023674681782722473,
-0.02307751774787903,
0.015661120414733887,
0.0010612913174554706,
-0.05293574184179306,
0.00043222185922786593,
0.01692287065088749,
0.0003687129355967045,
-0.010132532566785812,
-0.01445715967565775,
0.08468177914619446,
-0.019446372985839844,
-0.004406495951116085,
-0.0058897752314805984,
-0.00417292769998312,
0.022923409938812256,
0.03037833422422409,
-0.03819926455616951,
-0.02307751774787903,
-0.025292804464697838,
0.035733550786972046,
0.01788603886961937,
-0.041069503873586655,
-0.01946563646197319,
0.015767067670822144,
0.013195408508181572,
-0.049391280859708786,
0.01978348195552826,
0.026275236159563065,
-0.016903607174754143,
0.017144398763775826,
-0.05062413588166237,
-0.03696640580892563,
-0.04569271579384804,
-0.028644630685448647,
-0.03898905962705612,
0.027585146948695183,
0.02704577147960663,
0.07944213598966599,
-0.0040838345885276794,
-0.0031254817731678486,
-0.04164740815758705,
0.043381109833717346,
0.005644167307764292,
-0.030243491753935814,
-0.03270920366048813,
0.04326552897691727,
0.018463941290974617,
0.005032555665820837,
0.03594544902443886,
0.005205926019698381,
0.014505317434668541,
0.002752254018560052,
0.03180382400751114,
0.03136076778173447,
-0.058290958404541016,
0.03617661073803902,
-0.053205426782369614,
0.015112114138901234,
-0.03638850525021553,
-0.006727732252329588,
-0.030570968985557556,
0.0006808397592976689,
0.012463400140404701,
0.05243489518761635,
-0.006352096330374479,
-0.0035083412658423185,
-0.04392048344016075,
-0.026140393689274788,
0.028606105595827103,
-0.024214057251811028,
0.013445832766592503,
-0.013850362971425056,
0.009126021526753902,
-0.029627064242959023,
-0.03945138305425644,
0.04707967862486839,
-0.06368470191955566,
-0.015950070694088936,
-0.03617661073803902,
0.024156266823410988,
0.025177225470542908,
-0.02375173568725586,
0.01850246638059616,
-0.049622442573308945,
0.004560602828860283,
-0.009347550570964813,
0.03690861910581589,
-0.047811683267354965,
0.011914394795894623,
-0.03130297735333443,
0.014042996801435947,
-0.03490522503852844,
0.01680728979408741,
0.024406690150499344,
-0.019186316058039665,
-0.00041988128214143217,
0.0037491333205252886,
0.013310988433659077,
-0.013580676168203354,
-0.030359070748090744,
0.05297426879405975,
0.013965943828225136,
0.016094544902443886,
-0.016383497044444084,
0.03846894949674606,
-0.03230467066168785,
-0.005148135591298342,
0.021671291440725327,
-0.09654801338911057,
-0.003298852127045393,
0.02296193689107895,
-0.04326552897691727,
-0.0543997585773468,
0.013619203120470047,
-0.027161352336406708,
0.019629374146461487,
0.0038719375152140856,
0.0016795251285657287,
-0.050354450941085815,
-0.039412856101989746,
0.02028432860970497,
-0.02743103913962841,
0.006973340176045895,
0.08052089065313339,
-0.06399291753768921,
0.028374943882226944,
0.027739252895116806,
0.0679996982216835,
-0.01542032789438963,
-0.055054713040590286,
0.058175377547740936,
0.005273347720503807,
-0.05409154295921326,
0.04561566188931465,
0.033075205981731415,
0.005143319722265005,
0.023501312360167503,
0.023038990795612335,
-0.03143782168626785,
-0.00753679359331727,
0.0062605952844023705,
-0.019032210111618042,
0.02488827519118786,
-0.014697951264679432,
-0.06449376046657562,
-0.010238481685519218,
0.06387733668088913,
-0.02278856746852398,
-0.039990756660699844,
-0.006043882574886084,
-0.06595777720212936,
0.023770999163389206,
-0.011211281642317772,
0.041339192539453506,
-0.04002928361296654,
-0.027912624180316925,
0.01238634716719389,
0.0663430467247963,
-0.019995378330349922,
0.009111573919653893,
-0.04164740815758705,
0.007570504676550627,
0.012135922908782959,
-0.032728467136621475,
0.04295731708407402,
-0.007613847032189369,
0.08206195384263992,
-0.0027209511026740074,
-0.055285871028900146,
0.014996533282101154,
0.028355680406093597,
0.02051548846065998,
-0.033691633492708206,
-0.01674950122833252,
0.03671598434448242,
-0.017298506572842598,
0.013243567198514938,
-0.07296964526176453,
0.005119240842759609,
-0.012964247725903988,
0.0008174892864190042,
-0.0023031767923384905,
-0.03752504661679268,
-0.04966096952557564,
0.009617237374186516,
-0.00029978618840686977,
0.07069656997919083,
0.07320080697536469,
-0.007406766060739756,
-0.023674681782722473,
0.022229928523302078,
-0.02714208886027336,
0.0487363263964653,
0.015112114138901234,
-0.031880877912044525,
-0.04773463308811188,
-0.019186316058039665,
-0.0024849746841937304,
0.0206888597458601,
-0.08814918249845505,
-0.02725766971707344,
-0.002667976776137948,
-0.00377562060020864,
-0.019484898075461388,
-0.001007715007290244,
-0.04630914330482483,
-0.04357374459505081,
0.06981045007705688,
0.040106337517499924,
0.02188318781554699,
-0.013908153399825096,
0.03338342159986496,
-0.011692865751683712,
0.0037708047311753035,
-0.026949454098939896,
0.06098783016204834,
-0.0493142269551754,
-0.026275236159563065,
-0.007464556023478508,
0.033865004777908325,
-0.001937172724865377,
0.02375173568725586,
-0.05039297789335251,
-0.006949260830879211,
-0.03779473155736923,
-0.004794171079993248,
0.05308984965085983,
-0.002788372803479433,
0.011037911288440228,
0.02436816319823265,
0.04796579107642174,
0.0167206060141325,
-0.014514949172735214,
-0.003881569020450115,
-0.019128527492284775,
0.0022622421383857727,
-0.0793650820851326,
0.016797658056020737,
-0.049622442573308945,
-0.01142317894846201,
0.004266836680471897,
-0.023713208734989166,
-0.03215056657791138,
-0.03236246109008789,
-0.07393281161785126,
0.03143782168626785,
-0.024406690150499344,
0.0020840559154748917,
-0.011837340891361237,
0.007348975632339716,
-0.04850516468286514,
-0.008119510486721992,
0.03843042254447937,
0.027065034955739975,
0.020669596269726753,
-0.007397134322673082,
-0.01357104443013668,
-0.020168747752904892,
0.02039990946650505,
0.02646787092089653,
0.05470797047019005,
0.008933387696743011,
-0.014813532121479511,
-0.06511019170284271,
0.00827361736446619,
-0.026544924825429916,
-0.012058869935572147,
-0.02556249313056469,
0.009800239466130733,
-0.06607335805892944,
-0.0069974190555512905,
0.023501312360167503,
-0.0012545270146802068,
0.046964097768068314,
-0.041454773396253586,
-0.027450302615761757,
-0.002617410384118557,
0.00784982368350029,
0.011538758873939514,
0.01824241131544113,
-0.03956696391105652,
-0.050585608929395676,
0.0012364676222205162,
0.008943019434809685,
-0.028875792399048805,
0.015824858099222183,
0.04580829292535782,
0.032786257565021515,
-0.028471261262893677,
-0.07817075401544571,
-0.04376637563109398,
0.008028009906411171,
-0.03218908980488777,
0.028355680406093597,
0.0017445390112698078,
0.022750040516257286,
-0.007454924285411835,
0.03648482263088226,
0.011057174764573574,
-0.023424258455634117,
-0.00910194218158722,
-0.011163122951984406,
-0.027527356520295143,
0.020303592085838318,
0.005518955644220114,
0.008687780238687992,
0.03617661073803902,
-0.037486519664525986,
0.023770999163389206,
-0.017606720328330994,
-0.018252043053507805,
0.04677146300673485,
0.005807905923575163,
0.029550010338425636,
0.0240792129188776,
0.01654723472893238,
-0.021555710583925247,
-0.011654338799417019,
0.025254277512431145,
-0.021459395065903664,
-0.0430728942155838,
0.06368470191955566,
0.006409886293113232,
-0.021497922018170357,
0.027585146948695183,
0.056826941668987274,
-0.03582986816763878,
-0.09323471039533615,
0.0657651424407959,
0.03577207773923874,
-0.001384554780088365,
0.05039297789335251,
0.010142164304852486,
0.016932502388954163,
0.0025644360575824976,
-0.020592542365193367,
-0.012694560922682285,
-0.0037226462736725807,
0.043227002024650574,
0.01876252330839634,
0.08429650962352753,
-0.038411159068346024,
0.010113269090652466
] |
711,147
|
yt_dlp.YoutubeDL
|
build_format_selector
| null |
def build_format_selector(self, format_spec):
def syntax_error(note, start):
message = (
'Invalid format specification: '
'{}\n\t{}\n\t{}^'.format(note, format_spec, ' ' * start[1]))
return SyntaxError(message)
PICKFIRST = 'PICKFIRST'
MERGE = 'MERGE'
SINGLE = 'SINGLE'
GROUP = 'GROUP'
FormatSelector = collections.namedtuple('FormatSelector', ['type', 'selector', 'filters'])
allow_multiple_streams = {'audio': self.params.get('allow_multiple_audio_streams', False),
'video': self.params.get('allow_multiple_video_streams', False)}
def _parse_filter(tokens):
filter_parts = []
for type, string_, start, _, _ in tokens:
if type == tokenize.OP and string_ == ']':
return ''.join(filter_parts)
else:
filter_parts.append(string_)
def _remove_unused_ops(tokens):
# Remove operators that we don't use and join them with the surrounding strings.
# E.g. 'mp4' '-' 'baseline' '-' '16x9' is converted to 'mp4-baseline-16x9'
ALLOWED_OPS = ('/', '+', ',', '(', ')')
last_string, last_start, last_end, last_line = None, None, None, None
for type, string_, start, end, line in tokens:
if type == tokenize.OP and string_ == '[':
if last_string:
yield tokenize.NAME, last_string, last_start, last_end, last_line
last_string = None
yield type, string_, start, end, line
# everything inside brackets will be handled by _parse_filter
for type, string_, start, end, line in tokens:
yield type, string_, start, end, line
if type == tokenize.OP and string_ == ']':
break
elif type == tokenize.OP and string_ in ALLOWED_OPS:
if last_string:
yield tokenize.NAME, last_string, last_start, last_end, last_line
last_string = None
yield type, string_, start, end, line
elif type in [tokenize.NAME, tokenize.NUMBER, tokenize.OP]:
if not last_string:
last_string = string_
last_start = start
last_end = end
else:
last_string += string_
if last_string:
yield tokenize.NAME, last_string, last_start, last_end, last_line
def _parse_format_selection(tokens, inside_merge=False, inside_choice=False, inside_group=False):
selectors = []
current_selector = None
for type, string_, start, _, _ in tokens:
# ENCODING is only defined in Python 3.x
if type == getattr(tokenize, 'ENCODING', None):
continue
elif type in [tokenize.NAME, tokenize.NUMBER]:
current_selector = FormatSelector(SINGLE, string_, [])
elif type == tokenize.OP:
if string_ == ')':
if not inside_group:
# ')' will be handled by the parentheses group
tokens.restore_last_token()
break
elif inside_merge and string_ in ['/', ',']:
tokens.restore_last_token()
break
elif inside_choice and string_ == ',':
tokens.restore_last_token()
break
elif string_ == ',':
if not current_selector:
raise syntax_error('"," must follow a format selector', start)
selectors.append(current_selector)
current_selector = None
elif string_ == '/':
if not current_selector:
raise syntax_error('"/" must follow a format selector', start)
first_choice = current_selector
second_choice = _parse_format_selection(tokens, inside_choice=True)
current_selector = FormatSelector(PICKFIRST, (first_choice, second_choice), [])
elif string_ == '[':
if not current_selector:
current_selector = FormatSelector(SINGLE, 'best', [])
format_filter = _parse_filter(tokens)
current_selector.filters.append(format_filter)
elif string_ == '(':
if current_selector:
raise syntax_error('Unexpected "("', start)
group = _parse_format_selection(tokens, inside_group=True)
current_selector = FormatSelector(GROUP, group, [])
elif string_ == '+':
if not current_selector:
raise syntax_error('Unexpected "+"', start)
selector_1 = current_selector
selector_2 = _parse_format_selection(tokens, inside_merge=True)
if not selector_2:
raise syntax_error('Expected a selector', start)
current_selector = FormatSelector(MERGE, (selector_1, selector_2), [])
else:
raise syntax_error(f'Operator not recognized: "{string_}"', start)
elif type == tokenize.ENDMARKER:
break
if current_selector:
selectors.append(current_selector)
return selectors
def _merge(formats_pair):
format_1, format_2 = formats_pair
formats_info = []
formats_info.extend(format_1.get('requested_formats', (format_1,)))
formats_info.extend(format_2.get('requested_formats', (format_2,)))
if not allow_multiple_streams['video'] or not allow_multiple_streams['audio']:
get_no_more = {'video': False, 'audio': False}
for (i, fmt_info) in enumerate(formats_info):
if fmt_info.get('acodec') == fmt_info.get('vcodec') == 'none':
formats_info.pop(i)
continue
for aud_vid in ['audio', 'video']:
if not allow_multiple_streams[aud_vid] and fmt_info.get(aud_vid[0] + 'codec') != 'none':
if get_no_more[aud_vid]:
formats_info.pop(i)
break
get_no_more[aud_vid] = True
if len(formats_info) == 1:
return formats_info[0]
video_fmts = [fmt_info for fmt_info in formats_info if fmt_info.get('vcodec') != 'none']
audio_fmts = [fmt_info for fmt_info in formats_info if fmt_info.get('acodec') != 'none']
the_only_video = video_fmts[0] if len(video_fmts) == 1 else None
the_only_audio = audio_fmts[0] if len(audio_fmts) == 1 else None
output_ext = get_compatible_ext(
vcodecs=[f.get('vcodec') for f in video_fmts],
acodecs=[f.get('acodec') for f in audio_fmts],
vexts=[f['ext'] for f in video_fmts],
aexts=[f['ext'] for f in audio_fmts],
preferences=(try_call(lambda: self.params['merge_output_format'].split('/'))
or self.params.get('prefer_free_formats') and ('webm', 'mkv')))
filtered = lambda *keys: filter(None, (traverse_obj(fmt, *keys) for fmt in formats_info))
new_dict = {
'requested_formats': formats_info,
'format': '+'.join(filtered('format')),
'format_id': '+'.join(filtered('format_id')),
'ext': output_ext,
'protocol': '+'.join(map(determine_protocol, formats_info)),
'language': '+'.join(orderedSet(filtered('language'))) or None,
'format_note': '+'.join(orderedSet(filtered('format_note'))) or None,
'filesize_approx': sum(filtered('filesize', 'filesize_approx')) or None,
'tbr': sum(filtered('tbr', 'vbr', 'abr')),
}
if the_only_video:
new_dict.update({
'width': the_only_video.get('width'),
'height': the_only_video.get('height'),
|
(self, format_spec)
|
[
0.02162579633295536,
-0.0604865737259388,
-0.04879140853881836,
-0.027678556740283966,
-0.030407428741455078,
-0.014536884613335133,
-0.001268899766728282,
0.002295432612299919,
-0.009191988967359066,
-0.012238887138664722,
0.0035162437707185745,
0.012043967843055725,
-0.029217394068837166,
0.01885588839650154,
0.018322424963116646,
0.041507575660943985,
-0.01932779885828495,
-0.0013567417627200484,
0.055316079407930374,
-0.02178993821144104,
-0.024354668334126472,
-0.0013862361665815115,
0.016537373885512352,
-0.001136175007559359,
0.05917343124747276,
0.015921838581562042,
0.01769663207232952,
-0.027699075639247894,
-0.060240358114242554,
0.002880190731957555,
0.03266439214348793,
-0.007001710589975119,
0.0018209577538073063,
0.008494382724165916,
-0.05584954097867012,
-0.009515144862234592,
-0.04468784108757973,
0.03900440037250519,
-0.003975330386310816,
-0.008268686942756176,
-0.03574206680059433,
-0.07136102765798569,
0.011130924336612225,
-0.03161798045039177,
-0.0515407957136631,
0.01738886348903179,
-0.04407230764627457,
0.05080215632915497,
-0.056998539716005325,
-0.019461164250969887,
0.03656277805566788,
-0.010340987704694271,
-0.04513923451304436,
0.021297510713338852,
-0.07665462791919708,
-0.007966049015522003,
-0.012023449875414371,
0.06697020679712296,
0.051294583827257156,
0.03867611661553383,
-0.015080607496201992,
0.042102593928575516,
-0.017183685675263405,
0.043046414852142334,
-0.06282560527324677,
-0.047026872634887695,
0.00977161806076765,
-0.0288480743765831,
-0.0952027440071106,
0.04571373388171196,
0.009730582125484943,
0.019122621044516563,
0.004419028293341398,
-0.02032291330397129,
-0.012618467211723328,
-0.039209578186273575,
-0.06225110590457916,
0.0387992225587368,
0.007063264027237892,
0.004480581730604172,
0.053633615374565125,
0.07911676168441772,
0.021728385239839554,
-0.033361997455358505,
0.0896218940615654,
-0.031371768563985825,
0.029032733291387558,
0.06450806558132172,
-0.031022964045405388,
-0.018958477303385735,
0.0009361261618323624,
-0.028499269858002663,
0.04464680328965187,
0.015449928119778633,
-0.06122521311044693,
0.001156051643192768,
-0.026816807687282562,
-0.01773766614496708,
-0.004172814544290304,
-0.052566688507795334,
-0.036275528371334076,
-0.03252076730132103,
-0.09265853464603424,
-0.06787299364805222,
0.0379374735057354,
-0.015142160467803478,
-0.029689304530620575,
0.02482657879590988,
-0.04374402016401291,
-0.016424525529146194,
0.03834782913327217,
-0.08773425221443176,
-0.023082561790943146,
-0.030489500612020493,
0.08223547786474228,
-0.04003029316663742,
-0.012649244628846645,
-0.003005862468853593,
0.0035059847868978977,
-0.04353884235024452,
-0.045508552342653275,
0.01150024589151144,
-0.0445236973464489,
0.03424426540732384,
-0.02211822383105755,
-0.04296434298157692,
0.012474842369556427,
-0.013716171495616436,
0.09733659774065018,
0.006027113646268845,
-0.016947729513049126,
0.06393356621265411,
-0.039496827870607376,
-0.005642404314130545,
0.014742063358426094,
-0.04850415885448456,
-0.0963517427444458,
-0.036726921796798706,
-0.06524670869112015,
0.04628823325037956,
0.012957011349499226,
-0.02394431084394455,
0.011931120418012142,
-0.04206155985593796,
-0.07562873512506485,
0.005498779471963644,
0.052238404750823975,
-0.02794528938829899,
-0.009684417396783829,
0.039845630526542664,
0.015829509124159813,
0.015244750306010246,
0.00831485167145729,
0.014054715633392334,
0.06705228239297867,
-0.030181732028722763,
-0.01686565950512886,
-0.0031392285600304604,
-0.026755254715681076,
0.035988278687000275,
0.0650004968047142,
-0.0009726735297590494,
0.016024427488446236,
0.03900440037250519,
0.014495849609375,
0.03453151509165764,
0.014362483285367489,
-0.017214462161064148,
-0.0028673671185970306,
-0.0012894176179543138,
0.06340010464191437,
0.0717303454875946,
-0.06015828624367714,
-0.01318270806223154,
-0.03533170744776726,
0.06401564180850983,
-0.008032731711864471,
0.021995117887854576,
-0.023595508188009262,
-0.044851984828710556,
0.012187592685222626,
-0.0019440647447481751,
-0.0072581833228468895,
0.009468980133533478,
0.02269272319972515,
0.01612701639533043,
0.036152422428131104,
-0.014916464686393738,
0.004344651009887457,
-0.022467026486992836,
0.004903762135654688,
-0.045631662011146545,
-0.013582805171608925,
-0.01587054319679737,
-0.008022473193705082,
-0.01136687956750393,
-0.02455984614789486,
0.0044600642286241055,
0.07370005548000336,
-0.0011611811351031065,
-0.004457499366253614,
-0.022918419912457466,
-0.016516854986548424,
-0.004260015208274126,
-0.020907672122120857,
-0.0350034236907959,
0.03418270871043205,
0.02304152585566044,
-0.0325002484023571,
0.004062531050294638,
-0.06212799996137619,
-0.04247191548347473,
0.02176942117512226,
0.0551929697394371,
0.01923546940088272,
-0.04653444513678551,
0.05552125722169876,
0.04575476795434952,
-0.06110210716724396,
0.018014658242464066,
0.02318515069782734,
0.007919883355498314,
0.019840745255351067,
0.011089889332652092,
0.036152422428131104,
-0.01226966455578804,
0.022487545385956764,
0.031802643090486526,
0.00291609694249928,
-0.029545679688453674,
0.05429018661379814,
-0.08945775032043457,
0.004867855925112963,
0.05843478813767433,
-0.027042504400014877,
0.0011682341573759913,
0.06138935685157776,
-0.0006267557037062943,
-0.013541770167648792,
-0.010048609226942062,
0.05297704413533211,
-0.010140938684344292,
0.017727408558130264,
-0.03143332153558731,
-0.0013772596139460802,
-0.05753200501203537,
0.04682169482111931,
-0.02330825850367546,
-0.011264290660619736,
0.016065463423728943,
-0.007376160938292742,
0.05802443251013756,
0.004167684819549322,
0.0019761237781494856,
-0.04616512358188629,
-0.065287746489048,
-0.06475428491830826,
-0.017563264816999435,
0.04035857692360878,
-0.039353203028440475,
-0.01150024589151144,
-0.014947241172194481,
-0.013213484548032284,
0.02269272319972515,
-0.018466049805283546,
-0.01596287451684475,
0.03863507881760597,
0.00027330394368618727,
-0.02685784362256527,
0.021441135555505753,
-0.04353884235024452,
-0.003598314942792058,
-0.035044457763433456,
0.022754276171326637,
-0.040871523320674896,
-0.04341573640704155,
0.02499072067439556,
-0.00034431490348652005,
0.01686565950512886,
-0.0020979484543204308,
0.04653444513678551,
0.03313630074262619,
-0.022631170228123665,
0.03771177679300308,
0.08215340226888657,
0.030879339203238487,
0.006847826763987541,
-0.030263803899288177,
-0.014516366645693779,
0.02240547351539135,
0.006088667083531618,
-0.012403029948472977,
0.037957992404699326,
0.012146557681262493,
-0.007540303748100996,
0.030817786231637,
0.0576961487531662,
-0.026180755347013474,
0.01795310340821743,
-0.04222569987177849,
-0.07411041110754013,
0.018178800120949745,
0.07398730516433716,
0.03635760024189949,
-0.05753200501203537,
0.007037616800516844,
-0.009191988967359066,
-0.07025305926799774,
0.06627260148525238,
-0.03200782090425491,
-0.0017670984379947186,
0.026303861290216446,
0.06426185369491577,
0.005267953500151634,
0.0072633130475878716,
0.029504643753170967,
-0.025401078164577484,
0.038142651319503784,
0.03816317021846771,
0.04046116769313812,
-0.03007914312183857,
0.03547533228993416,
-0.010689791291952133,
0.04064582660794258,
0.05113044008612633,
-0.0389428474009037,
-0.0509662963449955,
0.011910602450370789,
-0.02683732658624649,
0.018609674647450447,
-0.06184075027704239,
-0.00648876465857029,
0.024211043491959572,
0.034285299479961395,
0.00856106635183096,
-0.05063801258802414,
-0.010874452069401741,
-0.03746556490659714,
0.02468295395374298,
-0.05933757498860359,
0.023226186633110046,
-0.003146922681480646,
0.0002180019801016897,
0.007868588902056217,
0.022610651329159737,
-0.02119492180645466,
0.07542355358600616,
0.00536541361361742,
-0.0028109431732445955,
-0.03360820934176445,
0.00007714224193478003,
0.004996092524379492,
0.012864681892096996,
0.05166390538215637,
0.0390864722430706,
-0.02839668095111847,
-0.02548314817249775,
-0.04247191548347473,
-0.01795310340821743,
0.018937960267066956,
0.07837812602519989,
0.05802443251013756,
0.019286762923002243,
-0.004947362467646599,
0.028807038441300392,
-0.0207948237657547,
-0.009879336692392826,
-0.0012240170035511255,
-0.008437958545982838,
-0.07690083980560303,
0.005160234868526459,
0.0306741613894701,
0.051458727568387985,
-0.059419646859169006,
-0.041774310171604156,
0.01088471058756113,
-0.006970933638513088,
0.03777332976460457,
-0.02176942117512226,
-0.06992477923631668,
0.02531900629401207,
0.08395897597074509,
-0.01487542875111103,
0.05905032530426979,
0.017152909189462662,
-0.011202736757695675,
-0.015039571560919285,
-0.03760918974876404,
0.016999024897813797,
0.022138742730021477,
-0.008463606238365173,
0.020887155085802078,
0.008407182060182095,
-0.010135809890925884,
-0.005709087010473013,
0.007160723675042391,
-0.02747337892651558,
0.012987788766622543,
-0.008961163461208344,
-0.002836590399965644,
-0.010997558943927288,
-0.03299267590045929,
-0.0016414267010986805,
0.026898879557847977,
-0.008150708861649036,
-0.03496238961815834,
0.12204007059335709,
0.08839082717895508,
-0.04468784108757973,
0.014701027423143387,
-0.01818905957043171,
-0.04542648419737816,
-0.09101710468530655,
0.007124817464500666,
-0.024929167702794075,
0.036911580711603165,
-0.011346361599862576,
0.04583683982491493,
-0.030284320935606956,
0.03650122508406639,
-0.027842700481414795,
0.02178993821144104,
0.03200782090425491,
0.049037620425224304,
0.025831952691078186,
-0.005585980135947466,
-0.03375183418393135,
0.025072792544960976,
-0.03069467842578888,
-0.021830974146723747,
-0.004406204912811518,
0.01672203466296196,
0.016219347715377808,
-0.02032291330397129,
0.012310699559748173,
-0.024005865678191185,
-0.012833904474973679,
-0.0012881351867690682,
0.028622377663850784,
-0.007930142804980278,
0.05293601006269455,
0.005278212483972311,
0.009956278838217258,
0.02609868347644806,
-0.00214026658795774,
-0.051458727568387985,
0.005837323609739542,
0.05232047662138939,
-0.09700831770896912,
-0.014608697034418583,
-0.015614070929586887,
0.06011725217103958,
0.020425502210855484,
-0.04200000315904617,
0.059132397174835205,
-0.001742733409628272,
0.09339717775583267,
0.06536981463432312,
-0.009315095841884613,
-0.0316384993493557,
0.0303869117051363,
0.032315585762262344,
0.040276505053043365,
0.09421788901090622,
-0.019676601514220238,
-0.00016734858218114823,
0.06861163675785065,
-0.01249536033719778,
-0.06902199238538742,
0.020220324397087097,
-0.045631662011146545,
0.005816805642098188,
-0.04337469860911369,
0.04085100442171097,
-0.017542747780680656,
-0.011069371365010738,
-0.006509282626211643,
-0.030407428741455078,
-0.03549585118889809,
-0.03188471123576164,
0.01326477900147438,
-0.0846155434846878,
-0.03315681964159012,
0.03083830326795578,
0.0022249026224017143,
-0.013131413608789444,
0.04665755107998848,
-0.02562677301466465,
-0.009935760870575905,
-0.054413292557001114,
-0.04628823325037956,
-0.003339277347549796,
0.001318270806223154,
-0.013244261033833027,
-0.005098681431263685,
-0.003008427331224084,
-0.017070837318897247,
-0.031022964045405388,
0.01864045113325119,
-0.03785540163516998,
0.05872203782200813,
-0.004503664560616016,
-0.015470446087419987,
-0.02622179128229618,
0.07829605042934418,
-0.009243283420801163,
0.024170007556676865,
0.016916953027248383,
-0.02562677301466465,
-0.02515486441552639,
-0.05679336190223694,
-0.01892770081758499,
-0.003934294451028109,
0.009161212481558323,
-0.012546654790639877,
-0.011397656053304672,
0.0073043485172092915,
0.006268198136240244,
0.02361602522432804,
0.038286276161670685,
-0.014249634929001331,
0.0015247315168380737,
0.004247191362082958,
-0.045508552342653275,
0.007653151638805866,
0.03818368911743164,
-0.022754276171326637,
0.01473180390894413,
0.006847826763987541,
-0.09421788901090622,
0.008638007566332817,
0.007663410622626543,
0.024046899750828743,
0.013172448612749577,
0.0034931611735373735,
-0.03633708134293556,
0.04382609203457832,
0.032910604029893875,
-0.049447979778051376,
0.005950171500444412,
0.0453854463994503,
0.042718127369880676,
-0.038286276161670685,
-0.03405960276722908,
0.006924768909811974,
0.0009104788769036531,
0.06073278561234474,
0.011059111915528774,
0.07751637697219849,
0.004729360342025757,
0.013100636191666126,
0.03847093880176544,
0.001977406209334731,
0.032725945115089417,
0.004626771435141563,
0.007499268278479576,
0.02700146846473217,
0.019225209951400757,
0.049037620425224304,
-0.02533952333033085,
0.007807035464793444,
0.04284123703837395,
-0.056998539716005325,
-0.02176942117512226,
-0.019368834793567657,
0.01242354791611433,
0.0037727165035903454,
0.03927113115787506,
-0.011531022377312183,
0.016527114436030388,
0.010140938684344292,
-0.01987152174115181,
0.02148217149078846,
-0.042553987354040146,
0.00851490069180727,
-0.039517346769571304,
-0.03453151509165764,
0.04575476795434952,
0.00694528641179204,
0.006714460905641317,
0.01688617654144764,
0.018794335424900055,
0.05104836821556091,
-0.059460680931806564,
0.005029433872550726,
-0.0158910620957613,
-0.00659135403111577,
-0.0423077717423439,
0.05371568724513054,
0.028622377663850784,
-0.043497808277606964,
0.007391549646854401,
0.047970693558454514,
-0.0029212264344096184,
-0.04124084487557411,
0.04522130265831947,
0.01180801261216402,
-0.00770444655790925,
-0.04911969229578972,
-0.020076699554920197,
-0.018435273319482803,
0.015203714370727539,
0.009571569040417671,
0.007371031679213047,
0.05933757498860359,
-0.01235173549503088,
0.07111480832099915,
-0.013716171495616436,
-0.01388031430542469,
-0.044893018901348114,
0.04183586314320564,
0.057449933141469955,
-0.0316384993493557,
-0.010535907000303268,
0.0011380985379219055,
-0.0386555977165699,
-0.012372253462672234,
0.041774310171604156,
0.024498293176293373,
-0.037670742720365524,
-0.0157474372535944,
0.07370005548000336,
-0.0761621966958046,
0.0195432361215353,
-0.02685784362256527,
0.011551540344953537,
-0.02544211409986019,
-0.04267709329724312,
-0.026468005031347275,
-0.03155642747879028,
0.04616512358188629,
-0.03740400820970535,
0.026960432529449463,
-0.023698097094893456,
-0.027042504400014877,
-0.011048853397369385,
0.05305911600589752,
-0.02854030579328537,
-0.05691646784543991,
0.03531119227409363,
0.0325002484023571,
-0.060979001224040985,
0.0172862745821476,
-0.03375183418393135,
-0.005106375552713871,
0.028889108449220657,
-0.013254520483314991,
-0.009381779469549656,
0.012741574086248875,
0.04321055859327316,
0.022959455847740173,
0.018199317157268524,
0.007863459177315235,
-0.028335127979516983,
-0.009115047752857208,
0.0014939546817913651,
0.02119492180645466,
0.021851493045687675,
0.0086431372910738,
0.0029571326449513435,
0.0193996112793684,
0.010761603713035583,
0.055767469108104706,
0.041651200503110886,
-0.049447979778051376,
-0.034757208079099655,
-0.020281877368688583,
0.03824524208903313,
0.032315585762262344,
0.03744504600763321,
-0.005816805642098188,
-0.023595508188009262,
-0.004680630750954151,
0.02839668095111847,
-0.014854911714792252,
0.005970689468085766,
0.04632926732301712,
0.020281877368688583,
0.05195115506649017,
-0.00540644908323884,
0.0157474372535944,
0.03313630074262619,
-0.028807038441300392,
0.003395701292902231,
-0.009869078174233437,
-0.02546263113617897,
-0.0072479248046875,
-0.04337469860911369,
0.0792398750782013,
-0.043497808277606964,
-0.006611871533095837,
0.01165412925183773,
-0.031392283737659454,
-0.012597949244081974,
-0.06988374143838882,
0.0066221305169165134,
-0.018383977934718132,
-0.014752321876585484,
-0.01289545837789774,
-0.013234002515673637,
0.040132880210876465,
-0.0323566235601902,
0.0015798731474205852,
-0.019512459635734558,
-0.008699561469256878,
0.035824138671159744,
-0.0292789489030838,
0.010407671332359314,
0.0018837936222553253,
-0.04200000315904617,
-0.005580850411206484,
0.05601368471980095,
-0.022631170228123665,
0.069719597697258,
-0.0012842881260439754,
-0.033197853714227676,
-0.0010066562099382281,
0.027206646278500557,
0.05502882972359657,
0.01017171610146761,
-0.005167929455637932,
0.06122521311044693,
-0.010710309259593487,
0.03371080011129379,
0.006052760872989893,
0.04591891169548035,
-0.011900343000888824,
-0.005919395014643669,
0.009361261501908302,
-0.049160730093717575,
0.012074745260179043,
0.09388960152864456,
-0.04940694198012352,
-0.03508549556136131,
-0.0035162437707185745,
-0.05613679066300392,
0.07439766079187393,
0.000002083842446154449,
0.02929946593940258,
0.003859917400404811,
-0.06984270364046097,
0.016660479828715324,
-0.06602638959884644,
0.0487503707408905,
-0.09036053717136383,
0.027658039703965187,
0.07304348796606064,
-0.034736692905426025,
-0.025647291913628578,
0.01724523864686489,
-0.023410847410559654,
-0.07090963423252106,
-0.038573525846004486,
-0.008904739283025265,
0.016321936622262,
-0.02178993821144104,
0.0066272602416574955,
0.036152422428131104,
-0.040276505053043365,
-0.009351002052426338,
0.0003843887825496495,
0.02944309078156948,
0.1008656695485115,
0.01970737800002098,
-0.015008795075118542,
0.0014439425431191921,
-0.06738056242465973,
-0.02482657879590988
] |
711,148
|
yt_dlp.YoutubeDL
|
build_request_director
| null |
def build_request_director(self, handlers, preferences=None):
logger = _YDLLogger(self)
headers = self.params['http_headers'].copy()
proxies = self.proxies.copy()
clean_headers(headers)
clean_proxies(proxies, headers)
director = RequestDirector(logger=logger, verbose=self.params.get('debug_printtraffic'))
for handler in handlers:
director.add_handler(handler(
logger=logger,
headers=headers,
cookiejar=self.cookiejar,
proxies=proxies,
prefer_system_certs='no-certifi' in self.params['compat_opts'],
verify=not self.params.get('nocheckcertificate'),
**traverse_obj(self.params, {
'verbose': 'debug_printtraffic',
'source_address': 'source_address',
'timeout': 'socket_timeout',
'legacy_ssl_support': 'legacyserverconnect',
'enable_file_urls': 'enable_file_urls',
'impersonate': 'impersonate',
'client_cert': {
'client_certificate': 'client_certificate',
'client_certificate_key': 'client_certificate_key',
'client_certificate_password': 'client_certificate_password',
},
}),
))
director.preferences.update(preferences or [])
if 'prefer-legacy-http-handler' in self.params['compat_opts']:
director.preferences.add(lambda rh, _: 500 if rh.RH_KEY == 'Urllib' else 0)
return director
|
(self, handlers, preferences=None)
|
[
-0.06654714792966843,
-0.021337876096367836,
-0.0627937838435173,
-0.050858087837696075,
-0.040048398077487946,
0.051308490335941315,
-0.04672938585281372,
0.03464355319738388,
-0.08392522484064102,
0.05949082598090172,
-0.0007236955570988357,
0.09083142131567001,
0.0034648245200514793,
0.03383658081293106,
0.06204311177134514,
-0.04263821989297867,
0.004016099963337183,
-0.010227917693555355,
-0.0008773489389568567,
-0.06673482060432434,
-0.005911549087613821,
0.03164086118340492,
0.0003996746672783047,
0.022144850343465805,
-0.051083289086818695,
0.03918512538075447,
-0.06913696974515915,
0.010256067849695683,
-0.03021458350121975,
0.009153516963124275,
-0.0031622094102203846,
0.017875397577881813,
0.021225275471806526,
0.010199767537415028,
0.0377400778234005,
0.013286910019814968,
-0.016711855307221413,
-0.01884188875555992,
-0.039110057055950165,
-0.009528853930532932,
-0.04946934059262276,
-0.03233523294329643,
0.014197100885212421,
0.0145255196839571,
-0.009458478540182114,
0.04732992500066757,
-0.03659530356526375,
0.06966244429349899,
0.01261130440980196,
-0.03578832745552063,
0.018785588443279266,
0.04616638273000717,
0.025860680267214775,
-0.014262784272432327,
0.05157122761011124,
-0.0005841173115186393,
-0.0018743363907560706,
0.006638763006776571,
0.008557670749723911,
-0.019555028527975082,
0.01074400544166565,
0.015482627786695957,
0.07187692821025848,
-0.030608685687184334,
-0.04440230131149292,
0.008097883313894272,
-0.024002764374017715,
0.016186384484171867,
0.0031997431069612503,
-0.006094525568187237,
0.0035258166026324034,
-0.02753092721104622,
-0.03034595027565956,
-0.03708323836326599,
0.02627355046570301,
-0.03941032662987709,
-0.01174803078174591,
-0.036670368164777756,
0.005465836729854345,
-0.00017036755161825567,
-0.05682593584060669,
-0.04582858085632324,
-0.007037558127194643,
-0.006737289018929005,
0.0062868851236999035,
-0.017237326130270958,
0.01674000546336174,
-0.021694445982575417,
0.013859298080205917,
0.021675679832696915,
-0.07015038281679153,
-0.004100550431758165,
-0.01469442155212164,
-0.03826554864645004,
-0.043163690716028214,
0.056300465017557144,
-0.017471911385655403,
0.022933056578040123,
0.01505099143832922,
-0.007248684763908386,
-0.018672987818717957,
0.011316393502056599,
-0.04676692187786102,
0.05067041888833046,
-0.005006049759685993,
-0.0044360077008605,
0.0066950637847185135,
-0.02302689105272293,
0.015004074200987816,
0.004832456819713116,
0.006835815031081438,
-0.056788403540849686,
0.01884188875555992,
0.025898214429616928,
0.001530668931081891,
-0.03826554864645004,
-0.02289552241563797,
-0.04342642426490784,
-0.0366516038775444,
0.0024959873408079147,
-0.05314764007925987,
-0.034925054758787155,
-0.011785564012825489,
-0.0072815269231796265,
-0.04616638273000717,
0.025635479018092155,
0.00758648756891489,
-0.03659530356526375,
0.06196804717183113,
-0.019742697477340698,
0.03858458623290062,
0.033048372715711594,
0.01506037451326847,
0.06219324842095375,
0.03453095257282257,
0.018513469025492668,
-0.03937279060482979,
0.02370249666273594,
0.01214213389903307,
0.05284737050533295,
-0.017312392592430115,
-0.02358989417552948,
0.010762772522866726,
0.00005776662510470487,
-0.011776180937886238,
0.0050905002281069756,
0.023064423352479935,
0.021187741309404373,
-0.044552434235811234,
0.015248042531311512,
0.016036249697208405,
-0.019367359578609467,
0.034211914986371994,
0.03177222982048988,
-0.010762772522866726,
0.027512161061167717,
-0.03869718685746193,
0.003636071691289544,
0.007037558127194643,
-0.00163388648070395,
0.025748079642653465,
-0.03496259078383446,
-0.016467886045575142,
-0.0930083692073822,
0.011203792877495289,
-0.03743980824947357,
0.023758796975016594,
-0.020493369549512863,
0.04579104483127594,
0.05986616015434265,
-0.021919647231698036,
0.0209250058978796,
0.032147567719221115,
0.029482677578926086,
-0.028469268232584,
-0.05419858172535896,
0.022614020854234695,
-0.006465170066803694,
-0.046091314405202866,
0.03740227594971657,
-0.021319109946489334,
-0.025072474032640457,
0.0009348223102279007,
-0.038997456431388855,
0.03768377751111984,
0.03531915694475174,
0.0025569794233888388,
0.009617996402084827,
-0.012001382187008858,
0.029013507068157196,
-0.009861964732408524,
0.01872928813099861,
0.04350149258971214,
-0.028206532821059227,
0.0008087327587418258,
0.0008626873604953289,
-0.0331609733402729,
-0.009472553618252277,
0.05904041975736618,
0.016064399853348732,
-0.02556041069328785,
0.06196804717183113,
-0.013221225701272488,
-0.015304342843592167,
-0.008581128902733326,
0.05964095890522003,
-0.06253105401992798,
-0.004002024885267019,
0.02094377391040325,
0.034943822771310806,
0.053635578602552414,
0.028506802394986153,
-0.04323875904083252,
-0.038509517908096313,
-0.056788403540849686,
0.04335135966539383,
-0.003305306425318122,
0.014910239726305008,
-0.05569992586970329,
-0.061329975724220276,
0.03618243336677551,
0.06294392049312592,
-0.031340591609478,
-0.011532211676239967,
-0.03218510001897812,
0.004473540931940079,
0.030252117663621902,
-0.017049657180905342,
-0.03104032389819622,
-0.03937279060482979,
0.03158456087112427,
-0.009937032125890255,
-0.020268168300390244,
0.07304047048091888,
0.07506728917360306,
-0.03820924833416939,
-0.018963873386383057,
0.043876830488443375,
0.02242635190486908,
0.03824678435921669,
0.010471886955201626,
0.011513445526361465,
0.04511544108390808,
-0.06778576225042343,
-0.017040275037288666,
0.02394646406173706,
-0.02950144372880459,
-0.021187741309404373,
-0.020268168300390244,
0.04147467762231827,
0.025597944855690002,
-0.04338889196515083,
-0.04519050568342209,
-0.01940489374101162,
-0.02417166717350483,
0.014046966098248959,
-0.004644788336008787,
-0.023289626464247704,
0.0325416699051857,
-0.053297773003578186,
0.04402696341276169,
0.05010741576552391,
-0.02779366262257099,
0.024941105395555496,
-0.04076153784990311,
0.011138108558952808,
0.010481270030140877,
-0.09248289465904236,
-0.0004331030650064349,
-0.012733289040625095,
0.013737313449382782,
0.06680988520383835,
-0.03218510001897812,
0.03734597563743591,
-0.041099339723587036,
-0.007806997746229172,
0.036895573139190674,
0.007792922668159008,
-0.06452033668756485,
-0.008426303043961525,
0.03231646865606308,
-0.015022841282188892,
-0.03177222982048988,
-0.018447786569595337,
-0.0045744129456579685,
-0.016055015847086906,
-0.03728967532515526,
0.05889028683304787,
0.05836481600999832,
-0.04500284045934677,
0.034943822771310806,
0.0558125264942646,
0.028337901458144188,
-0.06467046588659286,
-0.050745487213134766,
-0.04233795031905174,
-0.02509124018251896,
-0.032485369592905045,
0.0025640169624239206,
0.028337901458144188,
-0.04425216466188431,
0.023177025839686394,
0.09338370710611343,
-0.028394201770424843,
0.01767834648489952,
-0.025748079642653465,
0.027005456387996674,
-0.020605970174074173,
0.05194656178355217,
-0.021807046607136726,
0.028394201770424843,
0.012282884679734707,
0.024678369984030724,
0.01395313162356615,
0.009617996402084827,
-0.019461194053292274,
-0.05322270840406418,
0.028638171032071114,
0.03402424976229668,
0.05288490280508995,
-0.03796527907252312,
0.09736227244138718,
-0.05603773146867752,
0.018813738599419594,
-0.03475615382194519,
0.006779514253139496,
0.0366516038775444,
0.031903598457574844,
-0.06170530989766121,
-0.02370249666273594,
-0.032823171466588974,
-0.02976417914032936,
-0.0441771000623703,
0.025504110381007195,
0.042375482618808746,
0.011485295370221138,
0.0209250058978796,
-0.006765439175069332,
0.014450453221797943,
-0.0016280218260362744,
-0.008097883313894272,
0.0016045633237808943,
-0.036670368164777756,
0.02069980464875698,
0.017359310761094093,
-0.04012346640229225,
0.03745857626199722,
0.03280440345406532,
0.05802701413631439,
-0.09563572704792023,
-0.04567844420671463,
-0.07356594502925873,
0.0008046274888329208,
0.04594118148088455,
0.04740499332547188,
-0.034812454134225845,
0.0026906931307166815,
-0.008811023086309433,
-0.022689087316393852,
-0.00095476204296574,
-0.0026601969730108976,
0.0522843673825264,
-0.05134602636098862,
0.04740499332547188,
0.014994691126048565,
-0.019010789692401886,
0.11057411134243011,
-0.08940514177083969,
0.03438081592321396,
0.011419611051678658,
0.00913005881011486,
-0.020042965188622475,
-0.0007500863866880536,
0.06294392049312592,
-0.005789564456790686,
0.07120132446289062,
0.013239992782473564,
-0.017340542748570442,
0.02419043332338333,
0.04406449943780899,
-0.02101884037256241,
0.05768921226263046,
-0.00037562966463156044,
0.017866013571619987,
0.014835172332823277,
-0.08347482234239578,
0.01588611491024494,
0.028900906443595886,
0.00791021529585123,
0.01772526279091835,
0.05070795118808746,
-0.03637010231614113,
0.009467861615121365,
0.010077782906591892,
-0.026461219415068626,
-0.03220386803150177,
-0.034943822771310806,
0.05183396115899086,
-0.04331382364034653,
-0.06024149805307388,
0.03762747719883919,
-0.02450946904718876,
-0.034681085497140884,
0.02415289916098118,
-0.049094006419181824,
0.003424945054575801,
0.07491715252399445,
0.0743166133761406,
0.04950687661767006,
0.03045855276286602,
-0.001890757353976369,
-0.016758771613240242,
-0.04372669383883476,
0.04162481054663658,
-0.033536311239004135,
-0.05254710093140602,
-0.003309998195618391,
-0.0053532361052930355,
0.042262881994247437,
0.016833839938044548,
0.009022149257361889,
0.025954514741897583,
0.011644813232123852,
-0.019667629152536392,
0.03383658081293106,
0.0101716173812747,
-0.015201125293970108,
0.030984023585915565,
0.002622663276270032,
0.0014028198784217238,
0.015088524669408798,
0.019855298101902008,
-0.043876830488443375,
-0.030664987862110138,
0.058514948934316635,
-0.0017593895317986608,
-0.03274810314178467,
0.04519050568342209,
0.031903598457574844,
-0.010406202636659145,
-0.0849011018872261,
-0.08294935524463654,
-0.020737338811159134,
0.019911598414182663,
-0.016646170988678932,
0.0267239548265934,
-0.012920957058668137,
-0.05356051027774811,
0.013634095899760723,
-0.014450453221797943,
-0.02694915607571602,
-0.040724001824855804,
0.00589747354388237,
0.003994987346231937,
0.007211151532828808,
0.02649875171482563,
0.027493394911289215,
0.01575474627315998,
-0.0429760217666626,
0.0066246879287064075,
0.03683927282691002,
-0.0870780497789383,
0.1080218255519867,
0.021319109946489334,
-0.07641849666833878,
0.039110057055950165,
0.04207521304488182,
0.0558125264942646,
-0.02171321213245392,
-0.05089562013745308,
0.025748079642653465,
0.027493394911289215,
-0.016364669427275658,
0.007206459529697895,
-0.01244240254163742,
0.010209151543676853,
0.008754722774028778,
0.0023798677138984203,
0.00726275984197855,
-0.05326024070382118,
-0.014197100885212421,
-0.0019857643637806177,
0.016280217096209526,
-0.0033616069704294205,
-0.05412351340055466,
-0.05100822076201439,
0.008111958391964436,
-0.014572436921298504,
0.0476301945745945,
0.04695458710193634,
0.08122280240058899,
0.0016479615587741137,
-0.006901498883962631,
-0.11680469661951065,
-0.0011107613099738955,
0.041099339723587036,
0.009983949363231659,
0.033292341977357864,
-0.014328468590974808,
0.005855248309671879,
0.01913277432322502,
-0.07754451036453247,
0.007037558127194643,
0.021131440997123718,
-0.005062350071966648,
0.05765167623758316,
-0.015022841282188892,
0.005043583456426859,
-0.0756302922964096,
0.03926018998026848,
0.013455810956656933,
-0.017340542748570442,
-0.0813729390501976,
0.007783539593219757,
-0.004656517878174782,
-0.01197323203086853,
-0.02381509728729725,
0.02880707196891308,
-0.054911721497774124,
-0.0663219466805458,
0.07221473008394241,
0.0802469328045845,
0.024847272783517838,
-0.009115983732044697,
-0.008754722774028778,
0.04913153871893883,
-0.023177025839686394,
0.06587154418230057,
0.013408894650638103,
0.012939724139869213,
0.0534479096531868,
-0.004217843059450388,
-0.0008257401641458273,
0.005057658534497023,
0.015904881060123444,
0.015004074200987816,
-0.01167296338826418,
-0.014159566722810268,
-0.020868705585598946,
0.01799738220870495,
0.07912091910839081,
0.023308392614126205,
-0.07578042894601822,
-0.01296787429600954,
-0.031565792858600616,
-0.08054719865322113,
0.04721732437610626,
-0.0011265957728028297,
0.03892238810658455,
-0.04023606702685356,
-0.043651629239320755,
0.018879422917962074,
0.04451490193605423,
0.02094377391040325,
-0.0017429685685783625,
-0.024434402585029602,
0.04091167077422142,
0.0045744129456579685,
-0.026179715991020203,
0.00791021529585123,
0.016655554994940758,
-0.08880460262298584,
-0.08099760115146637,
0.017199791967868805,
-0.04800552874803543,
0.014206483960151672,
0.038190484046936035,
0.04943180829286575,
-0.02218238264322281,
-0.0255791787058115,
0.005540904123336077,
0.05149615928530693,
0.004114625509828329,
0.002622663276270032,
-0.006601229775696993,
-0.0030097290873527527,
-0.0360322967171669,
-0.008538903668522835,
0.07401634752750397,
0.022632787004113197,
0.05986616015434265,
-0.004541570786386728,
-0.08294935524463654,
-0.07469195127487183,
-0.013136775232851505,
-0.054911721497774124,
0.003471862059086561,
0.007924290373921394,
0.05904041975736618,
-0.03635133430361748,
-0.026592586189508438,
-0.03408055007457733,
-0.08677778393030167,
0.024678369984030724,
-0.02381509728729725,
0.03612613305449486,
-0.06906190514564514,
0.04826826602220535,
0.05431118234992027,
0.028469268232584,
-0.045753512531518936,
0.06414499878883362,
-0.010274834930896759,
-0.04312615841627121,
-0.003305306425318122,
0.0015201126225292683,
0.01093167345970869,
0.0041896929033100605,
-0.03150949254631996,
-0.006404177751392126,
-0.004626021720468998,
-0.0007072745938785374,
0.06549620628356934,
0.024340568110346794,
-0.0006002450827509165,
-0.013286910019814968,
-0.013493345119059086,
0.027605995535850525,
-0.003739289240911603,
-0.038059115409851074,
0.01759389601647854,
-0.009486628696322441,
0.006591846235096455,
0.010321752168238163,
-0.02719312533736229,
-0.007746005896478891,
0.07465441524982452,
-0.028037631884217262,
0.0003322314005345106,
0.0261609498411417,
0.027737362310290337,
0.012517469935119152,
-0.006563696078956127,
0.0014544286532327533,
0.013127392157912254,
0.047817863523960114,
0.0581020787358284,
0.04789292812347412,
0.03150949254631996,
-0.07015038281679153,
0.035056423395872116,
-0.016364669427275658,
-0.004337481688708067,
-0.036914337426424026,
-0.014760104939341545,
-0.046429116278886795,
-0.02813146635890007,
-0.030646219849586487,
0.0464666523039341,
-0.010715855285525322,
-0.006324418820440769,
-0.0029698496218770742,
-0.02360866218805313,
0.024265499785542488,
-0.0021077487617731094,
0.04485270380973816,
-0.018513469025492668,
-0.0017582166474312544,
0.08557670563459396,
-0.009824431501328945,
0.025898214429616928,
-0.017715880647301674,
0.09976442158222198,
-0.04034866765141487,
-0.026667654514312744,
0.022689087316393852,
-0.015323109924793243,
-0.02880707196891308,
0.014103266410529613,
-0.03180976212024689,
0.03873471915721893,
-0.03359261155128479,
0.01005901675671339,
0.013756080530583858,
-0.005817714612931013,
0.007323752157390118,
0.0068264314904809,
-0.0002580437867436558,
0.017931697890162468,
-0.04695458710193634,
-0.02081240527331829,
0.013577795587480068,
-0.00820110086351633,
-0.012311034835875034,
0.010134084150195122,
-0.022351285442709923,
0.05994122847914696,
-0.0030847962480038404,
0.007248684763908386,
0.007159542758017778,
0.013821763917803764,
-0.02116897515952587,
0.06587154418230057,
0.03045855276286602,
0.014319085516035557,
0.0010444909567013383,
-0.045152973383665085,
-0.0319974310696125,
0.010152850300073624,
0.016073783859610558,
0.03710200637578964,
-0.015294959768652916,
0.006150825880467892,
-0.04312615841627121,
-0.05401091277599335,
-0.025166308507323265,
0.055962663143873215,
0.009435019455850124,
0.055850062519311905,
-0.01898263953626156,
0.020737338811159134,
0.021431710571050644,
0.05187149718403816,
-0.0071126255206763744,
-0.010199767537415028,
-0.04023606702685356,
-0.02884460613131523,
0.03102155588567257,
-0.004804306197911501,
-0.005146801006048918,
-0.0018895843531936407,
-0.0008192890672944486,
0.011907548643648624,
-0.024547003209590912,
0.026461219415068626,
0.017537595704197884,
0.02338346093893051,
-0.027718596160411835,
-0.020193099975585938,
-0.06350692361593246,
0.04275082051753998,
0.017809713259339333,
-0.004185001365840435,
-0.06290638446807861,
-0.06894930452108383,
-0.005611279513686895,
0.017462527379393578,
-0.01649603620171547,
0.03359261155128479,
0.048868805170059204,
-0.041211940348148346,
0.017199791967868805,
0.03385534510016441,
0.016618020832538605,
-0.007192384451627731,
-0.05070795118808746,
0.014234634116292,
-0.03520655632019043,
0.011194408871233463,
0.016374051570892334,
0.03045855276286602,
-0.008801639080047607,
-0.0091629009693861,
-0.008609279990196228,
-0.007633404806256294,
-0.03646393492817879,
-0.0057942564599215984,
-0.016055015847086906,
0.009955799207091331,
-0.06305652111768723,
-0.026780255138874054,
-0.014966540038585663,
0.014544286765158176,
0.022370051592588425,
0.0043585943058133125,
0.03496259078383446,
0.05389831215143204,
0.014375385828316212
] |
711,149
|
yt_dlp.YoutubeDL
|
close
| null |
def close(self):
self.save_cookies()
if '_request_director' in self.__dict__:
self._request_director.close()
del self._request_director
|
(self)
|
[
-0.02458958700299263,
0.033311016857624054,
-0.018515734001994133,
0.01368779968470335,
-0.026839163154363632,
-0.024866458028554916,
-0.06859473884105682,
0.06503003090620041,
-0.009154040366411209,
0.05118648707866669,
-0.027652470394968987,
-0.03720451518893242,
0.060980793088674545,
0.05132492259144783,
0.0331379733979702,
-0.04232662171125412,
-0.002478858921676874,
-0.013471494428813457,
0.006502137519419193,
-0.039592523127794266,
-0.04630663990974426,
0.027098730206489563,
0.005182675085961819,
-0.04294958338141441,
-0.04796786606311798,
0.0033873412758111954,
-0.03640851005911827,
0.06606829166412354,
-0.05530494078993797,
0.012052532285451889,
-0.06264201551675797,
-0.007687490899115801,
0.025091415271162987,
0.028292734175920486,
0.04910995811223984,
0.02948674000799656,
-0.06021939963102341,
-0.06866395473480225,
-0.03208240494132042,
-0.0012534892885014415,
-0.052813105285167694,
0.012961014173924923,
-0.042049750685691833,
-0.028292734175920486,
-0.03263614699244499,
0.02638924866914749,
-0.04827934503555298,
0.024693414568901062,
0.008314776234328747,
-0.018550343811511993,
-0.018429212272167206,
0.028552301228046417,
0.00401895260438323,
-0.028102386742830276,
0.04679116606712341,
-0.012640882283449173,
0.015729721635580063,
-0.00255023967474699,
0.01045187283307314,
-0.012779317796230316,
0.015487460419535637,
-0.013056188821792603,
-0.010071175172924995,
-0.037342946976423264,
0.0176937747746706,
0.03935026377439499,
0.012571664527058601,
0.05869660899043083,
0.043918631970882416,
0.004784673452377319,
-0.00434989994391799,
-0.061015401035547256,
-0.0010858526220545173,
0.02824082225561142,
0.0365123376250267,
-0.04537220299243927,
-0.017486121505498886,
-0.033311016857624054,
-0.010425915941596031,
-0.018584951758384705,
-0.010893135331571102,
-0.044264718890190125,
-0.04423011094331741,
0.0273755993694067,
0.020661482587456703,
-0.021059485152363777,
0.07641634345054626,
-0.028708040714263916,
-0.049421437084674835,
0.037931300699710846,
-0.016811247915029526,
0.04180749133229256,
0.008937735110521317,
-0.06250358372926712,
0.022097749635577202,
-0.038692694157361984,
-0.028552301228046417,
0.04447237029671669,
-0.02349940873682499,
-0.03966174274682999,
-0.051982492208480835,
0.025922028347849846,
-0.03692764416337013,
0.03287840634584427,
0.02500489354133606,
0.01611042022705078,
0.011568007990717888,
-0.08375341445207596,
-0.025593243539333344,
-0.01316001545637846,
-0.05509728938341141,
-0.036616161465644836,
-0.011663182638585567,
0.040942270308732986,
-0.008929083123803139,
-0.01432806346565485,
-0.02029808983206749,
0.014821239747107029,
-0.005654220934957266,
-0.03132100775837898,
-0.05997713655233383,
0.02981552481651306,
-0.04779482260346413,
-0.022686101496219635,
0.0055330898612737656,
0.06592985987663269,
0.004875521641224623,
0.005113457329571247,
0.012614925391972065,
0.0634034126996994,
0.01323788519948721,
0.0040384200401604176,
0.0033462431747466326,
0.013938713818788528,
0.05786599591374397,
0.033535975962877274,
-0.015807591378688812,
-0.0345742404460907,
-0.012995623052120209,
0.05852356553077698,
-0.05869660899043083,
0.02779090590775013,
0.002282021101564169,
-0.012995623052120209,
0.014976980164647102,
0.010339394211769104,
0.0006743317935615778,
-0.017460165545344353,
-0.07766225934028625,
-0.0746166780591011,
0.004360714927315712,
-0.011057527735829353,
0.02843116968870163,
-0.014899109490215778,
-0.024278108030557632,
-0.03000587224960327,
-0.058004431426525116,
0.029538653790950775,
0.024226194247603416,
-0.0009376835078001022,
0.03606242313981056,
0.041357576847076416,
-0.07697007805109024,
-0.04748334363102913,
0.0074365767650306225,
-0.050701964646577835,
0.0273755993694067,
0.054162848740816116,
0.02820621244609356,
0.047241080552339554,
-0.06665664166212082,
-0.01242457702755928,
0.044783852994441986,
-0.015634547919034958,
-0.1280527412891388,
0.037862081080675125,
0.033380236476659775,
-0.04187670722603798,
-0.0038697021082043648,
0.03422815352678299,
-0.004533759318292141,
-0.11012536287307739,
-0.05007900670170784,
0.03436658903956413,
0.03692764416337013,
-0.02702951245009899,
-0.02583550661802292,
0.03609703108668327,
0.02798125520348549,
0.029400218278169632,
-0.0031083072535693645,
0.01803121156990528,
0.019069476053118706,
-0.027877427637577057,
0.0294521301984787,
-0.005974352825433016,
-0.012061184272170067,
-0.027479426935315132,
0.04876386746764183,
-0.0021900911815464497,
-0.02270340546965599,
0.058488957583904266,
0.013168667443096638,
-0.0829228013753891,
0.009292475879192352,
0.08984457701444626,
0.0176937747746706,
-0.011792965233325958,
-0.01186218298971653,
0.012225575745105743,
-0.0009955451823771,
0.055443376302719116,
-0.024381933733820915,
-0.050355877727270126,
0.021942010149359703,
-0.011446877382695675,
-0.02048843912780285,
-0.030559614300727844,
0.015573982149362564,
0.007955709472298622,
0.010832569561898708,
0.006666529458016157,
-0.007916774600744247,
-0.0017023227410390973,
-0.05364371836185455,
0.017088118940591812,
0.012632230296730995,
0.03180553391575813,
0.06091157719492912,
-0.01803121156990528,
-0.01962321810424328,
0.04423011094331741,
0.020038524642586708,
-0.014172323979437351,
0.0021608900278806686,
-0.007427924312651157,
-0.045164547860622406,
0.05084040015935898,
-0.05876582860946655,
0.014241541735827923,
-0.00885121338069439,
-0.04831395298242569,
0.0020819385536015034,
-0.0020819385536015034,
-0.012415925040841103,
0.06762569397687912,
0.0531591922044754,
0.014656848274171352,
0.06049627065658569,
-0.038692694157361984,
0.0328264944255352,
-0.08749116957187653,
0.0429149754345417,
-0.05032126605510712,
0.02458958700299263,
-0.023897411301732063,
-0.0320131853222847,
-0.024451151490211487,
0.017598599195480347,
-0.002868208335712552,
0.04800247400999069,
0.06894082576036453,
-0.011931400746107101,
0.0285003874450922,
-0.02798125520348549,
0.021474791690707207,
0.06413020193576813,
-0.0659644678235054,
0.010884483344852924,
-0.02090374566614628,
0.07586260139942169,
-0.013359015807509422,
-0.024485761299729347,
-0.05052892118692398,
-0.01841190829873085,
-0.051947884261608124,
0.023447494953870773,
-0.04371097683906555,
-0.1155935600399971,
-0.011593964882194996,
0.09233640879392624,
0.021786270663142204,
0.02647577039897442,
0.028932997956871986,
-0.04156522825360298,
0.035681724548339844,
-0.007899469695985317,
0.032030489295721054,
0.007211619056761265,
-0.04824473708868027,
-0.05049431324005127,
-0.0004658675752580166,
0.04031930863857269,
0.03211701288819313,
-0.02632003091275692,
-0.02824082225561142,
-0.048556216061115265,
0.014976980164647102,
-0.0079643614590168,
0.04575289785861969,
-0.01442323811352253,
-0.024278108030557632,
0.03755060210824013,
0.0038805173244327307,
0.007401967886835337,
0.0025286090094596148,
0.05931956693530083,
0.031269095838069916,
0.02839656174182892,
0.08818335086107254,
0.01988278329372406,
0.022841840982437134,
-0.05973487347364426,
0.028188908472657204,
0.0032510687597095966,
0.027167946100234985,
-0.013090797699987888,
-0.01615368016064167,
0.01003656629472971,
0.06395715475082397,
0.002582685323432088,
-0.006272853817790747,
0.023585930466651917,
0.04121914133429527,
0.030749963596463203,
-0.02388010546565056,
0.010590308345854282,
0.05869660899043083,
0.02081722393631935,
-0.03412432596087456,
-0.04070000723004341,
-0.024935675784945488,
-0.03346675634384155,
-0.01618828997015953,
0.024191586300730705,
-0.016214245930314064,
0.0033181235194206238,
-0.013696452602744102,
0.02606046386063099,
-0.01701890118420124,
-0.13151362538337708,
-0.07357841730117798,
-0.015331720001995564,
-0.02986743673682213,
-0.07786991447210312,
0.016889119520783424,
-0.0031667097937315702,
-0.029088737443089485,
0.05689694732427597,
-0.04904073849320412,
-0.012718752026557922,
0.007138075307011604,
0.0848608985543251,
0.016387291252613068,
-0.019744349643588066,
-0.041357576847076416,
0.0328264944255352,
0.029850132763385773,
0.004654890391975641,
-0.025731679052114487,
0.023014884442090988,
0.013246537186205387,
-0.002731936052441597,
0.008496472612023354,
0.007207293063402176,
-0.04661811888217926,
0.02510872110724449,
-0.032964929938316345,
0.029382914304733276,
-0.02311871200799942,
0.029763611033558846,
-0.06284967064857483,
0.023966629058122635,
0.058315910398960114,
0.013722408562898636,
0.05132492259144783,
0.06904465705156326,
0.007605294696986675,
0.016058506444096565,
0.04378019645810127,
-0.0028833497781306505,
0.019484782591462135,
-0.0008403461542911828,
0.003668538061901927,
-0.0037420818116515875,
-0.0640263706445694,
-0.0040643769316375256,
0.010339394211769104,
-0.028188908472657204,
0.03609703108668327,
0.09711243212223053,
-0.042153578251600266,
0.03855425864458084,
0.003058557165786624,
-0.024001237004995346,
-0.008557038381695747,
-0.03986939415335655,
0.006649225018918514,
0.02516063302755356,
0.03151135891675949,
0.0012513261754065752,
0.04018087312579155,
-0.06672586500644684,
0.0002449657768011093,
0.026596900075674057,
0.03561250492930412,
-0.01683720573782921,
-0.017494773492217064,
0.06513385474681854,
-0.0155307212844491,
-0.021284442394971848,
-0.04758716747164726,
0.028638822957873344,
0.0048971520736813545,
0.038277387619018555,
-0.008254210464656353,
0.03606242313981056,
0.029157955199480057,
0.07676243036985397,
0.04502611234784126,
0.04796786606311798,
0.07129423320293427,
-0.0015087295323610306,
-0.002496163360774517,
-0.017754340544342995,
-0.04146140068769455,
-0.011256528086960316,
0.03414162993431091,
0.014604934491217136,
-0.027098730206489563,
-0.03993861377239227,
-0.014674152247607708,
-0.016283463686704636,
0.008877170272171497,
0.019329043105244637,
0.046445075422525406,
-0.07925426214933395,
0.05610094591975212,
-0.03772364556789398,
0.01250244677066803,
0.012251532636582851,
-0.052397798746824265,
-0.04990595951676369,
-0.0032380905468016863,
0.0630573257803917,
-0.027721688151359558,
0.03962713107466698,
0.053712934255599976,
0.008634908124804497,
-0.008730082772672176,
0.021820880472660065,
-0.04869465157389641,
-0.03362249583005905,
-0.027687080204486847,
-0.028292734175920486,
0.04080383479595184,
0.04544141888618469,
-0.00988082680851221,
0.01770242676138878,
0.011005613952875137,
0.00510047934949398,
0.0014795283786952496,
0.07828521728515625,
-0.010079827159643173,
-0.02990204654633999,
0.04409167543053627,
0.010720090940594673,
0.030369265004992485,
0.027098730206489563,
-0.02718525193631649,
-0.05963104963302612,
0.047725602984428406,
-0.031909357756376266,
-0.026821859180927277,
-0.017840862274169922,
0.02417428232729435,
-0.028292734175920486,
0.03261883929371834,
0.03775825351476669,
0.00645887665450573,
-0.014553021639585495,
-0.03080187551677227,
0.02647577039897442,
-0.03668538108468056,
-0.04793325811624527,
-0.04063079133629799,
0.057104602456092834,
-0.025991246104240417,
0.01562589593231678,
0.037412166595458984,
0.023430190980434418,
0.028379255905747414,
-0.0344185009598732,
-0.0486600436270237,
0.027548644691705704,
0.014016584493219852,
-0.0304211787879467,
-0.01186218298971653,
-0.0272198598831892,
-0.09489746391773224,
-0.014172323979437351,
-0.005589329171925783,
-0.06876778602600098,
0.06464932858943939,
0.005273523274809122,
0.01013174094259739,
-0.0286561269313097,
-0.016845857724547386,
0.005238914396613836,
0.016517072916030884,
-0.0534706711769104,
-0.021509399637579918,
-0.01251975167542696,
-0.008280167356133461,
-0.00973373930901289,
-0.01380027923732996,
-0.02567976713180542,
0.010062523186206818,
0.03287840634584427,
0.00255023967474699,
0.0467565543949604,
0.03948869928717613,
0.02910604327917099,
-0.02779090590775013,
-0.006052222568541765,
-0.03182283788919449,
-0.013350363820791245,
0.04589133337140083,
0.01148148626089096,
0.05125570669770241,
0.011308441869914532,
-0.022115055471658707,
0.0056845033541321754,
-0.01770242676138878,
0.01991739310324192,
0.005554720293730497,
-0.03727373108267784,
-0.05277849733829498,
0.07454746216535568,
0.006541072390973568,
0.014873153530061245,
0.001707730465568602,
-0.018931040540337563,
0.050771184265613556,
-0.04689498990774155,
-0.03924643620848656,
0.01474337000399828,
-0.0020635526161640882,
0.037862081080675125,
0.04838317260146141,
-0.011343050748109818,
0.05658546835184097,
0.09759695827960968,
-0.02048843912780285,
-0.01803121156990528,
0.035076070576906204,
0.033535975962877274,
0.009430911391973495,
-0.0007814029231667519,
-0.02119792066514492,
0.00007388178346445784,
-0.01522789429873228,
0.028292734175920486,
-0.0030845138244330883,
0.018048515543341637,
-0.009266519919037819,
0.06523767858743668,
-0.043018799275159836,
-0.00737168500199914,
0.009906782768666744,
0.005753721110522747,
-0.05277849733829498,
0.05516650527715683,
0.037931300699710846,
0.023741671815514565,
0.00037528970278799534,
-0.021699748933315277,
0.019104085862636566,
0.005065870471298695,
0.013307102955877781,
0.029694393277168274,
0.022080445662140846,
-0.0403539203107357,
-0.10604151338338852,
-0.02104218117892742,
0.005658546928316355,
0.032809190452098846,
0.008634908124804497,
-0.028136994689702988,
-0.019190607592463493,
-0.01943286880850792,
0.03156327083706856,
-0.056273989379405975,
-0.057900603860616684,
-0.0020170470234006643,
-0.0058272648602724075,
0.010884483344852924,
0.005195653531700373,
-0.04198053479194641,
0.0496290922164917,
0.039592523127794266,
0.022011227905750275,
-0.01259762141853571,
0.037031468003988266,
-0.033311016857624054,
0.05717381834983826,
-0.07551650702953339,
0.04443776234984398,
-0.025697071105241776,
-0.03858886659145355,
-0.038796521723270416,
-0.054474327713251114,
0.014873153530061245,
0.018550343811511993,
-0.04627203196287155,
0.002816295251250267,
-0.05094422772526741,
0.01969243586063385,
-0.06838708370923996,
0.022270794957876205,
-0.0046332599595189095,
-0.09150579571723938,
0.016586290672421455,
0.03851965069770813,
-0.036166246980428696,
0.03230736032128334,
0.016214245930314064,
0.07918504625558853,
-0.013333058916032314,
0.07510120421648026,
-0.008340733125805855,
-0.0029720349702984095,
0.01953669637441635,
-0.0038134625647217035,
0.04114992171525955,
0.03253231942653656,
0.007207293063402176,
0.011230572126805782,
0.007877839729189873,
-0.041703663766384125,
0.032515015453100204,
0.012571664527058601,
0.006545398849993944,
-0.029607871547341347,
-0.04824473708868027,
-0.0019218727247789502,
0.018913736566901207,
-0.028708040714263916,
0.04779482260346413,
-0.05807365104556084,
-0.0396963506937027,
0.046929601579904556,
0.024312717840075493,
-0.03125179186463356,
0.00837966799736023,
-0.08818335086107254,
0.014293454587459564,
0.01687181368470192,
0.0052432408556342125,
0.03564711660146713,
0.03407241404056549,
-0.026406552642583847,
0.03983478620648384,
-0.03855425864458084,
0.03132100775837898,
0.00869547389447689,
-0.035785552114248276,
0.0326707549393177,
-0.002625946421176195,
-0.008894474245607853,
0.013592625968158245,
-0.023066798225045204,
0.023776279762387276,
0.04114992171525955,
-0.020886441692709923,
0.019969306886196136,
0.04104609414935112,
-0.017122728750109673,
0.006104135885834694,
-0.005169697105884552,
-0.06350723654031754,
0.0292963907122612,
-0.00786918681114912,
-0.023620540276169777,
0.07544729113578796,
0.0010950455907732248,
0.0042417473159730434,
0.008232580497860909,
-0.03973095864057541,
-0.02356862649321556,
-0.0013421744806692004,
-0.0014957512030377984,
-0.010529742576181889,
-0.020626874640583992,
-0.05717381834983826,
0.008820930495858192,
-0.013471494428813457,
-0.002584848552942276,
-0.005351393483579159,
-0.008673842996358871,
0.008063862100243568,
-0.029504043981432915,
0.04879847913980484,
-0.011723747476935387,
0.0018851007334887981,
0.01522789429873228,
0.002654066076502204,
0.01020095869898796,
0.029400218278169632,
0.011230572126805782,
0.004209301434457302,
-0.022011227905750275,
0.0028400886803865433,
0.06423402577638626,
0.03436658903956413,
0.02413967251777649,
-0.06766030192375183,
-0.007579338271170855,
0.01154205109924078,
-0.0029893394093960524,
0.0021024877205491066,
0.04294958338141441,
0.03498954698443413,
-0.005308132153004408,
0.03196127340197563,
-0.057900603860616684,
-0.051151879131793976,
0.004546737764030695,
-0.01645650714635849,
0.023430190980434418,
-0.08361498266458511,
-0.0384158231317997,
-0.048902302980422974,
0.029798218980431557,
-0.07233249396085739,
-0.033224496990442276,
-0.0005483339773491025,
0.016482464969158173,
-0.00434989994391799,
-0.010425915941596031,
-0.058800436556339264,
-0.017373641952872276,
-0.004724108148366213,
0.026648813858628273,
0.020834527909755707,
-0.007549055386334658,
0.0069434004835784435,
-0.027877427637577057,
0.032065100967884064,
-0.009681825526058674,
0.04294958338141441,
-0.007272184360772371,
0.03497224301099777,
0.011948705650866032,
0.01082391757518053,
0.01995200105011463,
-0.01020095869898796,
0.005749395117163658,
0.013670495711266994,
0.049456045031547546,
-0.01264953427016735,
0.016257507726550102,
0.006666529458016157,
-0.0384158231317997,
0.051982492208480835,
0.01701890118420124,
0.03980017825961113,
-0.008708451874554157
] |
711,154
|
yt_dlp.YoutubeDL
|
download_with_info_file
| null |
def download_with_info_file(self, info_filename):
with contextlib.closing(fileinput.FileInput(
[info_filename], mode='r',
openhook=fileinput.hook_encoded('utf-8'))) as f:
# FileInput doesn't have a read method, we can't call json.load
infos = [self.sanitize_info(info, self.params.get('clean_infojson', True))
for info in variadic(json.loads('\n'.join(f)))]
for info in infos:
try:
self.__download_wrapper(self.process_ie_result)(info, download=True)
except (DownloadError, EntryNotInPlaylist, ReExtractInfo) as e:
if not isinstance(e, EntryNotInPlaylist):
self.to_stderr('\r')
webpage_url = info.get('webpage_url')
if webpage_url is None:
raise
self.report_warning(f'The info failed to download: {e}; trying with URL {webpage_url}')
self.download([webpage_url])
except ExtractorError as e:
self.report_error(e)
return self._download_retcode
|
(self, info_filename)
|
[
0.019191095605492592,
0.013833420351147652,
-0.1025584489107132,
0.00024872765061445534,
0.02087079919874668,
-0.04401981458067894,
-0.0025412754621356726,
0.003825186751782894,
-0.006834655534476042,
0.01797475852072239,
0.03743615001440048,
-0.027049018070101738,
0.029867831617593765,
-0.03679902106523514,
0.05282377824187279,
0.018611887469887733,
-0.02004059962928295,
0.04305446892976761,
-0.002915347460657358,
0.02701040543615818,
-0.04154852777719498,
-0.035717833787202835,
0.018679460510611534,
0.03260941803455353,
0.009349384345114231,
0.06796041876077652,
-0.005627972073853016,
0.03871040791273117,
0.03226189315319061,
-0.0014154397649690509,
-0.054793085902929306,
-0.003996536135673523,
0.004440595395863056,
0.04054456576704979,
-0.012897034175693989,
0.008543319068849087,
-0.023631690070033073,
0.037127237766981125,
-0.08471883833408356,
0.03540892153978348,
-0.027357930317521095,
-0.008760522119700909,
0.027801988646388054,
0.009513492695987225,
-0.0011741031194105744,
0.005936882924288511,
-0.08487329632043839,
-0.059812888503074646,
-0.026913870126008987,
-0.019712382927536964,
-0.03486832603812218,
0.017173519358038902,
0.014644311740994453,
0.006554705090820789,
0.030987633392214775,
0.007742081768810749,
0.004809840582311153,
0.021700996905565262,
-0.006892576348036528,
0.015677232295274734,
-0.01524282619357109,
-0.05224457010626793,
-0.00040273062768392265,
-0.030987633392214775,
-0.015233173035085201,
0.04502377659082413,
-0.005589358042925596,
-0.015349014662206173,
-0.02312971092760563,
0.033497534692287445,
0.11082182079553604,
0.02940446510910988,
-0.02658565156161785,
0.005632798653095961,
0.04930991679430008,
-0.017019065096974373,
0.022627729922533035,
-0.06073962152004242,
0.06089407950639725,
-0.010705696418881416,
0.0010751549853011966,
-0.1025584489107132,
0.03160545602440834,
-0.005627972073853016,
-0.03351684287190437,
-0.01350520271807909,
0.12418221682310104,
-0.0443287268280983,
-0.025832680985331535,
0.10549310594797134,
-0.051201995462179184,
0.017366589978337288,
-0.05224457010626793,
-0.04232080653309822,
-0.0385945662856102,
-0.004109964240342379,
0.0007010831614024937,
-0.04355644807219505,
-0.0227049570530653,
0.013698271475732327,
0.021276244893670082,
-0.08587725460529327,
0.015271786600351334,
0.0031132434960454702,
0.014287132769823074,
-0.045332688838243484,
0.03521585091948509,
0.04996635392308235,
-0.015233173035085201,
-0.0034221545793116093,
-0.02060050144791603,
0.0000036766139146493515,
-0.04382674768567085,
0.020697036758065224,
0.0002446550934109837,
-0.013370053842663765,
-0.02338070049881935,
-0.020156441256403923,
0.0057727741077542305,
-0.03199159353971481,
-0.013669311068952084,
0.004498516209423542,
-0.055758435279130936,
0.019664114341139793,
0.013273519463837147,
-0.05332576110959053,
-0.02365099824965,
-0.013678965158760548,
0.04764952138066292,
0.021353472024202347,
-0.006849135737866163,
0.030022285878658295,
0.012057182379066944,
0.021913373842835426,
0.041702982038259506,
-0.012395053170621395,
-0.05444556102156639,
0.015233173035085201,
-0.04494654759764671,
0.04077624902129173,
-0.0338064469397068,
-0.05282377824187279,
-0.005647278856486082,
-0.014190598390996456,
-0.03735892102122307,
-0.06197526678442955,
-0.0372430793941021,
-0.07695744931697845,
0.002864666748791933,
-0.046722788363695145,
0.05950397998094559,
0.053711898624897,
-0.06143467128276825,
-0.02382476069033146,
-0.013910648413002491,
-0.047031696885824203,
0.03289902210235596,
0.036297041922807693,
-0.000052980951295467094,
-0.020426739007234573,
-0.014605697244405746,
0.022666344419121742,
0.029037632048130035,
0.007616586517542601,
0.00009306547144660726,
-0.03660595044493675,
-0.0011481593828648329,
-0.014538123272359371,
0.05907922610640526,
0.02996436506509781,
0.011468320153653622,
0.04834457114338875,
0.01571584679186344,
0.01748243160545826,
0.015764113515615463,
-0.01797475852072239,
0.0451396182179451,
-0.06151190027594566,
0.06857823580503464,
0.02857426553964615,
-0.030891098082065582,
-0.04664555937051773,
-0.04011981561779976,
0.02826535515487194,
0.04359506443142891,
-0.0030553226824849844,
-0.03270595148205757,
0.02550446428358555,
0.021623769775032997,
0.0058789621107280254,
0.005352848209440708,
-0.018949758261442184,
0.009822404012084007,
-0.05178120359778404,
0.0078434431925416,
-0.06046932563185692,
-0.00315185752697289,
0.02504109777510166,
0.006487130653113127,
-0.02355446293950081,
-0.04382674768567085,
0.02131485752761364,
-0.04452179744839668,
0.0327252596616745,
-0.07653269916772842,
0.07560596615076065,
0.034598030149936676,
-0.03351684287190437,
0.024867335334420204,
0.08587725460529327,
0.042822785675525665,
0.043517835438251495,
-0.02046535350382328,
-0.006371289025992155,
0.026411889120936394,
0.04247526079416275,
-0.022087136283516884,
0.019335897639393806,
-0.02536931447684765,
0.01575446128845215,
-0.05363466963171959,
0.020986640825867653,
-0.0025436889845877886,
0.03415397182106972,
0.0036514243111014366,
-0.004042389802634716,
0.07406140863895416,
0.018428470939397812,
0.0256396122276783,
0.02258911542594433,
-0.053557444363832474,
-0.017994064837694168,
-0.008142700418829918,
0.016999756917357445,
-0.007988245226442814,
-0.019355203956365585,
-0.028612880036234856,
-0.06803764402866364,
-0.016169559210538864,
0.01782030239701271,
0.03610397130250931,
-0.0031952981371432543,
-0.026218820363283157,
0.034733179956674576,
-0.017578965052962303,
-0.04278417304158211,
0.025678226724267006,
0.04664555937051773,
-0.05305546149611473,
-0.02451981045305729,
0.1217881590127945,
-0.05514061078429222,
0.007080818992108107,
0.02730000950396061,
0.006902229972183704,
-0.024905947968363762,
-0.0515495203435421,
-0.1340673714876175,
0.025176245719194412,
0.0008066679583862424,
-0.03874902054667473,
-0.0034631818998605013,
0.03942476585507393,
-0.0013925128150731325,
0.01454777643084526,
-0.043247539550065994,
-0.0019982680678367615,
-0.03633565455675125,
0.00984171126037836,
0.0195000059902668,
0.01232747919857502,
0.04591189697384834,
0.030022285878658295,
0.026122285053133965,
-0.06514160335063934,
0.031972289085388184,
0.018843570724129677,
-0.03396090120077133,
0.01240470726042986,
-0.012414360418915749,
0.029597533866763115,
-0.01114975567907095,
-0.054252494126558304,
-0.02589060179889202,
0.06375150382518768,
-0.0268559493124485,
0.04139407351613045,
0.09228716045618057,
0.003776919562369585,
0.021063867956399918,
-0.019133174791932106,
0.05502476915717125,
0.03230050578713417,
-0.0381891205906868,
-0.07502675801515579,
-0.007819309830665588,
-0.00974034983664751,
0.07479507476091385,
0.015986144542694092,
0.03676040843129158,
-0.057998038828372955,
-0.001999474596232176,
0.02979060262441635,
-0.041973281651735306,
-0.02909555286169052,
-0.012018567882478237,
0.017221787944436073,
-0.011043568141758442,
-0.01155520137399435,
0.0028863870538771152,
0.08572279661893845,
-0.012906687334179878,
-0.0037889862433075905,
0.026411889120936394,
-0.011275251396000385,
0.020658422261476517,
0.010502973571419716,
0.07985348999500275,
0.014769806526601315,
0.03942476585507393,
-0.007476611062884331,
0.012279211543500423,
0.015233173035085201,
-0.01003960706293583,
0.05587427318096161,
-0.03732030838727951,
0.028168819844722748,
0.012993568554520607,
0.015300747007131577,
-0.0169032234698534,
0.015908915549516678,
0.04861486703157425,
-0.027126247063279152,
-0.04259110242128372,
-0.042706944048404694,
0.021913373842835426,
-0.019538620486855507,
-0.0046746921725571156,
0.10371686518192291,
0.054252494126558304,
-0.021700996905565262,
-0.07340497523546219,
-0.05595150217413902,
0.010763617232441902,
-0.038768328726291656,
-0.029983673244714737,
0.035988129675388336,
-0.022202977910637856,
-0.00017119823314715177,
-0.03508070483803749,
-0.03596882149577141,
-0.05749605596065521,
-0.013447281904518604,
0.0036224639043211937,
-0.01712525263428688,
0.0059127495624125,
-0.0001136545033659786,
-0.06552774459123611,
0.020368818193674088,
0.020233670249581337,
-0.07128120958805084,
-0.006009283941239119,
-0.028651494532823563,
0.011748271062970161,
-0.018901491537690163,
-0.10178617388010025,
0.1266535073518753,
0.04166436940431595,
-0.007573145907372236,
-0.04834457114338875,
-0.051742590963840485,
0.025234166532754898,
0.01878564991056919,
-0.02575545385479927,
-0.004689172375947237,
-0.00039217216544784606,
0.015561390668153763,
-0.03506139665842056,
-0.047842588275671005,
-0.0047012390568852425,
0.0001604889112059027,
0.007915844209492207,
-0.011902726255357265,
-0.0160923320800066,
0.03508070483803749,
-0.032937634736299515,
-0.060392096638679504,
0.021218324080109596,
-0.010570547543466091,
0.0027077978011220694,
0.05440694838762283,
0.02241535298526287,
0.04243664816021919,
0.018032679334282875,
0.040042586624622345,
0.015561390668153763,
0.026527730748057365,
-0.007196660619229078,
-0.04320892319083214,
0.036818329244852066,
-0.05529506877064705,
-0.0334010012447834,
-0.01954827271401882,
0.01822574809193611,
0.03855595365166664,
-0.023168323561549187,
0.052437640726566315,
0.0232455525547266,
0.046298034489154816,
-0.04139407351613045,
-0.009219062514603138,
-0.06417626142501831,
-0.027512384578585625,
-0.019606193527579308,
-0.03813119977712631,
0.07595349103212357,
-0.0576891265809536,
-0.020658422261476517,
-0.0010739483404904604,
-0.021758917719125748,
0.04710892587900162,
0.011371785774827003,
-0.007534531876444817,
-0.006940844003111124,
0.0051597789861261845,
-0.04737922176718712,
0.015908915549516678,
0.00675742793828249,
-0.012211637571454048,
0.0020573954097926617,
0.02897971123456955,
-0.06780596077442169,
-0.0053190612234175205,
-0.06637725234031677,
0.06668616086244583,
0.00783379003405571,
-0.014663618057966232,
0.0035162759013473988,
0.00029895585612393916,
0.0011517794337123632,
-0.014441588893532753,
0.014026489108800888,
0.042668331414461136,
0.03693417087197304,
0.01203787513077259,
-0.005589358042925596,
0.05332576110959053,
-0.06668616086244583,
-0.01692252978682518,
-0.01846708543598652,
-0.043093081563711166,
0.019886145368218422,
0.010261637158691883,
-0.042127735912799835,
-0.050622787326574326,
-0.008577106520533562,
0.00501497695222497,
0.01685495488345623,
-0.014596044085919857,
0.014451242052018642,
-0.04398120194673538,
-0.04085347801446915,
0.030949018895626068,
-0.05776635557413101,
0.0006093751871958375,
0.010541587136685848,
0.0044068084098398685,
0.009151487611234188,
-0.03938614949584007,
-0.024963868781924248,
-0.024442581459879875,
0.023052481934428215,
0.02506040409207344,
0.02216436341404915,
-0.00046004808973520994,
0.06251586228609085,
0.038517337292432785,
0.01578342169523239,
0.032397039234638214,
-0.028226740658283234,
0.00884257722645998,
0.0031060033943504095,
-0.007085645571351051,
-0.03343961387872696,
0.030813870951533318,
-0.03345892205834389,
-0.018032679334282875,
-0.013061142526566982,
0.029153473675251007,
0.025311393663287163,
0.0024013002403080463,
0.014460895210504532,
-0.038806941360235214,
-0.05653071030974388,
0.031026247888803482,
0.033748526126146317,
-0.0052370065823197365,
0.03660595044493675,
0.011757924221456051,
-0.042552489787340164,
0.01892079785466194,
-0.03666387125849724,
0.018457431346178055,
-0.03216535598039627,
-0.02992575243115425,
0.03262872248888016,
0.002666770713403821,
0.0571485310792923,
0.012848766520619392,
0.05722576007246971,
0.0014287133235484362,
0.03479110077023506,
0.0321846641600132,
-0.01072500366717577,
0.04208912327885628,
0.015165599063038826,
-0.03855595365166664,
0.04154852777719498,
-0.009441091679036617,
0.05093169957399368,
0.012173024006187916,
-0.021063867956399918,
0.06645447760820389,
-0.02701040543615818,
-0.014528470113873482,
-0.01644951105117798,
-0.010995300486683846,
0.03156684339046478,
-0.04147129878401756,
-0.007592452690005302,
-0.024037135764956474,
-0.041973281651735306,
0.03540892153978348,
-0.06155051290988922,
0.018573272973299026,
-0.056067343801259995,
0.03691486269235611,
-0.020233670249581337,
-0.022376740351319313,
0.022666344419121742,
0.03332377225160599,
0.04023565724492073,
0.011709657497704029,
-0.08186141401529312,
-0.0000378974036721047,
-0.04776536300778389,
-0.0448693223297596,
0.01671980693936348,
0.029288623481988907,
-0.013543816283345222,
0.007153220009058714,
-0.001893286476843059,
0.1191624104976654,
-0.012395053170621395,
-0.018640847876667976,
0.09715250879526138,
-0.0398109033703804,
-0.06479407846927643,
-0.0044068084098398685,
0.004850867670029402,
-0.005034283734858036,
0.03228119760751724,
-0.023052481934428215,
-0.022898027673363686,
0.03535100072622299,
0.016391590237617493,
0.056916847825050354,
0.02536931447684765,
-0.03618120029568672,
0.00011795331374742091,
0.028188128024339676,
0.04873070865869522,
0.011815845035016537,
-0.013466588221490383,
0.06073962152004242,
-0.07224655896425247,
0.06046932563185692,
-0.053248532116413116,
0.06853962689638138,
-0.03830496221780777,
-0.04680001363158226,
-0.011120795272290707,
-0.0015517950523644686,
0.012057182379066944,
0.009349384345114231,
-0.04776536300778389,
-0.020001986995339394,
-0.03062080219388008,
0.06155051290988922,
0.026353968307375908,
0.020388124510645866,
-0.03938614949584007,
-0.015445549041032791,
-0.01240470726042986,
0.001426299917511642,
0.021623769775032997,
-0.008818442933261395,
-0.04108516126871109,
0.014316093176603317,
-0.003716585226356983,
-0.03175991028547287,
-0.005169432144612074,
-0.03909654542803764,
-0.028999019414186478,
-0.003270112443715334,
0.013534163124859333,
-0.024558423087000847,
-0.023457927629351616,
-0.08464161306619644,
0.046993084251880646,
0.03212674334645271,
-0.06691784411668777,
0.023419314995408058,
-0.01777203567326069,
0.029481692239642143,
0.06533467769622803,
0.0004531096783466637,
0.012848766520619392,
-0.0023421726655215025,
-0.007592452690005302,
0.04873070865869522,
0.012424013577401638,
0.04131684452295303,
0.07363665848970413,
-0.008630200289189816,
0.020793570205569267,
0.04556437209248543,
-0.01350520271807909,
-0.010000993497669697,
0.05432971939444542,
-0.019442085176706314,
0.04537130147218704,
0.04363367706537247,
0.035852979868650436,
-0.004295793361961842,
-0.013292825780808926,
0.01184480544179678,
0.0156868863850832,
-0.014074756763875484,
-0.01882426254451275,
0.014441588893532753,
-0.053673285990953445,
-0.0454099141061306,
0.027126247063279152,
-0.05112477019429207,
0.009272156283259392,
0.03984951600432396,
0.0114200534299016,
0.05124061182141304,
0.004071350209414959,
-0.005985150579363108,
0.043093081563711166,
0.001515594543889165,
0.05266932398080826,
0.011468320153653622,
-0.03884555771946907,
-0.002683664206415415,
-0.0025243819691240788,
0.017115598544478416,
0.027531692758202553,
0.019133174791932106,
-0.009310769848525524,
0.000535164144821465,
-0.03871040791273117,
0.027222780510783195,
-0.0021635836455971003,
0.027049018070101738,
-0.03789951652288437,
0.024056443944573402,
-0.021334165707230568,
0.020542580634355545,
0.05776635557413101,
0.015908915549516678,
0.011671043001115322,
0.051742590963840485,
-0.015590351074934006,
-0.06606833636760712,
0.015561390668153763,
0.034057434648275375,
0.0048605212941765785,
0.01898837275803089,
-0.05027526244521141,
-0.0006914296536706388,
0.05637625604867935,
-0.0028115727473050356,
-0.007191834039986134,
0.03411535546183586,
0.0052080461755394936,
-0.05880893021821976,
0.024423275142908096,
0.028593573719263077,
0.04278417304158211,
-0.05861585959792137,
-0.05070001631975174,
-0.019113866612315178,
-0.060392096638679504,
0.010580201633274555,
0.01064777560532093,
0.052012886852025986,
-0.026527730748057365,
0.003224258543923497,
-0.011748271062970161,
0.0526307113468647,
0.0040616970509290695,
-0.026933176442980766,
0.04587328061461449,
-0.07884953171014786,
-0.027242088690400124,
-0.015069063752889633,
-0.03743615001440048,
-0.024288127198815346,
-0.020446045324206352,
-0.023593077436089516,
-0.02046535350382328,
-0.0523604117333889,
0.04764952138066292,
0.007679333910346031,
5.373512408368697e-7,
0.01392995472997427,
-0.01065742876380682,
0.020851491019129753,
-0.04108516126871109,
0.0101554486900568,
0.05683962255716324,
-0.01211510319262743,
0.026817334815859795,
-0.03230050578713417,
-0.03691486269235611,
0.017646539956331253,
0.023342086002230644,
0.020542580634355545,
-0.010763617232441902,
-0.02897971123456955,
0.03928961604833603,
-0.01016510184854269,
-0.005806561093777418,
-0.030813870951533318,
-0.021797532215714455,
0.040312882512807846,
-0.012761885300278664,
0.01700941100716591,
-0.003340100171044469,
-0.02701040543615818,
0.028728721663355827,
-0.020716343075037003,
0.019625501707196236,
0.014325747266411781,
0.0014009595615789294,
-0.01651708409190178,
-0.015628965571522713,
0.012201984412968159,
-0.03187575191259384,
-0.009262503124773502,
0.06344259530305862,
0.0016217826632782817,
0.02519555203616619,
0.06583665311336517,
0.0027198647148907185,
-0.0013526922557502985,
0.03583367541432381,
-0.023419314995408058,
0.059001997113227844,
0.005034283734858036,
0.0025316220708191395,
-0.03552476316690445,
0.02980991080403328,
-0.05444556102156639,
-0.038092587143182755
] |
711,159
|
yt_dlp.YoutubeDL
|
extract_info
|
Extract and return the information dictionary of the URL
Arguments:
@param url URL to extract
Keyword arguments:
@param download Whether to download videos
@param process Whether to resolve all unresolved references (URLs, playlist items).
Must be True for download to work
@param ie_key Use only the extractor with this key
@param extra_info Dictionary containing the extra values to add to the info (For internal use only)
@force_generic_extractor Force using the generic extractor (Deprecated; use ie_key='Generic')
|
def extract_info(self, url, download=True, ie_key=None, extra_info=None,
process=True, force_generic_extractor=False):
"""
Extract and return the information dictionary of the URL
Arguments:
@param url URL to extract
Keyword arguments:
@param download Whether to download videos
@param process Whether to resolve all unresolved references (URLs, playlist items).
Must be True for download to work
@param ie_key Use only the extractor with this key
@param extra_info Dictionary containing the extra values to add to the info (For internal use only)
@force_generic_extractor Force using the generic extractor (Deprecated; use ie_key='Generic')
"""
if extra_info is None:
extra_info = {}
if not ie_key and force_generic_extractor:
ie_key = 'Generic'
if ie_key:
ies = {ie_key: self._ies[ie_key]} if ie_key in self._ies else {}
else:
ies = self._ies
for key, ie in ies.items():
if not ie.suitable(url):
continue
if not ie.working():
self.report_warning('The program functionality for this site has been marked as broken, '
'and will probably not work.')
temp_id = ie.get_temp_id(url)
if temp_id is not None and self.in_download_archive({'id': temp_id, 'ie_key': key}):
self.to_screen(f'[download] {self._format_screen(temp_id, self.Styles.ID)}: '
'has already been recorded in the archive')
if self.params.get('break_on_existing', False):
raise ExistingVideoReached()
break
return self.__extract_info(url, self.get_info_extractor(key), download, extra_info, process)
else:
extractors_restricted = self.params.get('allowed_extractors') not in (None, ['default'])
self.report_error(f'No suitable extractor{format_field(ie_key, None, " (%s)")} found for URL {url}',
tb=False if extractors_restricted else None)
|
(self, url, download=True, ie_key=None, extra_info=None, process=True, force_generic_extractor=False)
|
[
0.0502978153526783,
0.022463642060756683,
-0.1181517243385315,
0.03696408122777939,
0.021796954795718193,
-0.05100154131650925,
0.04751995578408241,
-0.008791932836174965,
-0.05329790711402893,
0.0268156249076128,
0.010204012505710125,
0.03540847823023796,
0.0013136970810592175,
-0.007861348800361156,
0.01438006479293108,
0.022000664845108986,
0.0002722883364185691,
0.10555874556303024,
-0.00391678512096405,
-0.024278512224555016,
-0.017833871766924858,
-0.011972583830356598,
0.03203800693154335,
-0.011537386104464531,
-0.007657638750970364,
0.021963628008961678,
0.04422355815768242,
-0.029630525037646294,
0.028926800936460495,
0.026871182024478912,
-0.013907828368246555,
-0.029074953868985176,
-0.0564831905066967,
0.017306078225374222,
-0.027611946687102318,
0.06618718802928925,
-0.05848325043916702,
0.056594304740428925,
-0.09689182043075562,
0.018306108191609383,
-0.042112383991479874,
-0.03003794513642788,
0.04448282718658447,
-0.014361545443534851,
0.020278390496969223,
0.02305625192821026,
-0.08015057444572449,
-0.03944563865661621,
-0.03829745575785637,
-0.06744648516178131,
0.005046448670327663,
0.029537931084632874,
0.05181638151407242,
-0.019945047795772552,
0.02116730622947216,
0.047001421451568604,
-0.02985275536775589,
0.08244694024324417,
0.02325996197760105,
0.033056553453207016,
-0.01067624893039465,
-0.011898508295416832,
-0.008287287317216396,
0.06533531099557877,
-0.0035070504527539015,
0.01290779747068882,
-0.012472599744796753,
-0.024315550923347473,
-0.06822428852319717,
0.03614924103021622,
0.05992773920297623,
-0.023759977892041206,
-0.03387139365077019,
0.011333676055073738,
0.02098211646080017,
-0.0019630223978310823,
-0.004601990804076195,
-0.09370654076337814,
0.08363215625286102,
0.0018414908554404974,
0.03874191269278526,
-0.039890095591545105,
0.0030973157845437527,
-0.03848264366388321,
-0.003960767760872841,
0.026037825271487236,
0.061335187405347824,
-0.06822428852319717,
-0.006930765230208635,
0.0882989689707756,
-0.0555201955139637,
0.0167319867759943,
-0.0280008465051651,
0.0004424323560670018,
-0.06670571863651276,
-0.011935546062886715,
-0.022852543741464615,
-0.0213524978607893,
0.008115986362099648,
-0.03863079845905304,
0.011861469596624374,
-0.03596404939889908,
-0.039075255393981934,
-0.016907919198274612,
-0.006611310876905918,
-0.06103888154029846,
-0.040704935789108276,
0.007060398813337088,
-0.02144509367644787,
0.0004977002390660346,
-0.015556026250123978,
0.01737089641392231,
-0.056260962039232254,
-0.0074724480509757996,
0.0033149151131510735,
-0.013426331803202629,
-0.0041806818917393684,
-0.01937095634639263,
-0.037797439843416214,
-0.015778254717588425,
-0.019445031881332397,
0.052890487015247345,
-0.037852995097637177,
-0.02766750380396843,
0.020722849294543266,
-0.08155801892280579,
-0.042075347155332565,
-0.0021019154228270054,
0.04285314679145813,
0.00789838656783104,
-0.03113057091832161,
0.0017801463836804032,
-0.012222591787576675,
0.06226114183664322,
0.016833841800689697,
-0.03768632560968399,
-0.07333555072546005,
0.01357448473572731,
-0.08378031104803085,
-0.009301207028329372,
-0.07529857009649277,
-0.036241836845874786,
0.015259720385074615,
-0.000555282982531935,
-0.03614924103021622,
-0.08718781918287277,
-0.0013217992382124066,
-0.08578037470579147,
0.022093260660767555,
-0.013676339760422707,
0.04066789522767067,
-0.002817214699462056,
-0.06040923297405243,
-0.028834205120801926,
-0.011092928238213062,
-0.030649075284600258,
0.04907555878162384,
0.06274263560771942,
-0.009356764145195484,
-0.015657881274819374,
0.024408144876360893,
-0.000916694407351315,
0.004884406924247742,
-0.01770423911511898,
-0.004141328856348991,
-0.004902925807982683,
0.059779584407806396,
0.046297695487737656,
0.06433527916669846,
0.06207595020532608,
0.008250249549746513,
0.07378000766038895,
-0.05518685281276703,
-0.014028201811015606,
0.002157472539693117,
0.052890487015247345,
0.022315489128232002,
-0.06085369363427162,
0.06281671673059464,
0.03472327068448067,
-0.004889036528766155,
-0.020056162029504776,
-0.07148364186286926,
0.02235252782702446,
0.031000938266515732,
0.006875208113342524,
0.009120645932853222,
0.002421369543299079,
-0.02235252782702446,
0.018611673265695572,
-0.015843071043491364,
-0.04407540708780289,
-0.01600048318505287,
-0.023852573707699776,
-0.010379943065345287,
-0.0012315186904743314,
-0.022056221961975098,
0.034815866500139236,
-0.0022165020927786827,
0.027704540640115738,
-0.012305927462875843,
-0.051668230444192886,
-0.010694768279790878,
0.0398530587553978,
-0.05048300698399544,
0.01625049114227295,
0.014407843351364136,
-0.023278482258319855,
-0.0013854585122317076,
0.03309359401464462,
0.03742705658078194,
0.03776039928197861,
0.026223015040159225,
-0.019685780629515648,
0.04570508748292923,
0.001897048088721931,
-0.03540847823023796,
0.031204646453261375,
0.030241655185818672,
0.03392695263028145,
-0.06889097392559052,
-0.0265748780220747,
0.0036528881173580885,
0.03009350225329399,
-0.00047541948151774704,
-0.03046388365328312,
0.08489145338535309,
-0.009685478173196316,
0.002007005037739873,
-0.014204133301973343,
-0.004696901421993971,
-0.04785329848527908,
0.005426090210676193,
0.05477943271398544,
0.051038581877946854,
0.02301921509206295,
-0.031630586832761765,
0.006463158410042524,
0.0021771490573883057,
-0.025000756606459618,
0.043742064386606216,
0.050001513212919235,
-0.0374826155602932,
0.06018700450658798,
-0.019870970398187637,
-0.06126111000776291,
-0.006810391321778297,
0.05752025917172432,
-0.05666837841272354,
-0.03650110214948654,
0.07807643711566925,
-0.03179725632071495,
0.007565043400973082,
-0.007953944616019726,
0.001007553655654192,
-0.03826041519641876,
-0.03246394544839859,
-0.07696528732776642,
0.0006302273832261562,
-0.020037643611431122,
-0.006463158410042524,
-0.05177934467792511,
0.010185493156313896,
0.02663043513894081,
-0.014417102560400963,
-0.01837092638015747,
0.03981601819396019,
-0.026408206671476364,
-0.055557236075401306,
0.0017234317492693663,
0.05989069864153862,
-0.005097376182675362,
0.006338154431432486,
0.03577886149287224,
-0.04337168112397194,
0.01688939891755581,
-0.014361545443534851,
-0.044445786625146866,
0.0031366688199341297,
-0.02192658931016922,
0.02101915329694748,
0.019722819328308105,
-0.038704875856637955,
-0.046631038188934326,
0.030649075284600258,
-0.008430810645222664,
0.006282597314566374,
0.06189075857400894,
-0.017472751438617706,
0.0043658725917339325,
-0.022241413593292236,
0.01551898755133152,
0.01451895758509636,
-0.025982266291975975,
-0.00008369755232706666,
0.04829775542020798,
-0.03526032716035843,
0.01421339251101017,
0.03488994389772415,
0.03681592643260956,
-0.034334372729063034,
-0.011287378147244453,
-0.04322353005409241,
-0.030871303752064705,
-0.07226144522428513,
0.058298058807849884,
0.03501957654953003,
0.0022523829247802496,
0.015463430434465408,
-0.01298187393695116,
0.0702613815665245,
-0.005560353398323059,
-0.019000574946403503,
0.06607607007026672,
-0.058594364672899246,
-0.025500770658254623,
-0.0036112202797085047,
0.04826071858406067,
-0.021630283445119858,
0.04611250385642052,
-0.0034005658235400915,
0.04189015552401543,
0.03657517954707146,
-0.026278572157025337,
0.08555814623832703,
-0.049482978880405426,
0.0003402880684006959,
-0.026093382388353348,
0.03929748386144638,
0.009463248774409294,
-0.0412975437939167,
0.051371924579143524,
-0.0036968709900975227,
0.045149512588977814,
-0.03613072261214256,
0.03151947259902954,
-0.06366859376430511,
-0.021963628008961678,
0.09266947209835052,
0.04492728412151337,
-0.03235283121466637,
-0.028649013489484787,
-0.080669105052948,
-0.0172134842723608,
0.03018609806895256,
-0.051186732947826385,
0.053371984511613846,
0.004599676001816988,
0.013426331803202629,
-0.06018700450658798,
-0.0028056404553353786,
-0.06422416120767593,
-0.029556449502706528,
-0.0014977304963395,
0.004051048308610916,
0.023482192307710648,
-0.012657790444791317,
-0.09866964817047119,
0.01815795712172985,
0.008537295274436474,
-0.006342784501612186,
0.015833811834454536,
-0.03707519546151161,
-0.008930825628340244,
-0.04214942082762718,
-0.0954102948307991,
0.05329790711402893,
0.015389353968203068,
0.026185976341366768,
-0.06255744397640228,
-0.025760037824511528,
0.03992713242769241,
0.017482010647654533,
-0.06333524733781815,
0.013880048878490925,
-0.014148576185107231,
0.029871273785829544,
-0.00024610120453871787,
-0.03826041519641876,
0.015694918110966682,
0.010305867530405521,
0.06040923297405243,
-0.05892770737409592,
-0.03951971232891083,
0.09000272303819656,
-0.03574182093143463,
0.01725052110850811,
0.04759403318166733,
-0.009981783106923103,
0.029408296570181847,
-0.022667352110147476,
0.05192749574780464,
0.004363557789474726,
-0.00779653200879693,
0.0873359739780426,
-0.005713135935366154,
0.02064877189695835,
0.024926679208874702,
-0.06211299076676369,
0.008467848412692547,
0.026889702305197716,
-0.02198214642703533,
-0.001643568160943687,
0.04540878161787987,
0.010518836788833141,
-0.04277907311916351,
0.054260898381471634,
0.006791871972382069,
0.001501202816143632,
-0.04518655315041542,
-0.010407722555100918,
-0.06618718802928925,
-0.07266886532306671,
-0.054557204246520996,
-0.05937216430902481,
0.04255684092640877,
0.014935636892914772,
0.023093290627002716,
-0.034241776913404465,
0.03494550287723541,
0.0669279471039772,
-0.003192226169630885,
-0.0417790412902832,
0.01336151547729969,
-0.02548225224018097,
-0.03826041519641876,
-0.007629860192537308,
-0.007356703747063875,
0.008537295274436474,
-0.033241745084524155,
0.005046448670327663,
-0.01585233025252819,
-0.0035116802901029587,
-0.026519320905208588,
0.028463823720812798,
-0.0021783066913485527,
-0.03140835836529732,
-0.011870729736983776,
0.004838109482079744,
0.027111930772662163,
-0.04381613805890083,
-0.009898447431623936,
0.014231911860406399,
0.04196423292160034,
0.06192779913544655,
-0.005972402635961771,
0.01319484319537878,
0.020908039063215256,
-0.0036436286754906178,
-0.02572299912571907,
-0.03496402129530907,
0.04722364991903305,
0.012528156861662865,
-0.01473192684352398,
-0.019296878948807716,
-0.012296668253839016,
0.005620540119707584,
0.04296426102519035,
-0.02329700067639351,
-0.009676218964159489,
-0.005708505865186453,
-0.031630586832761765,
-0.00797246303409338,
-0.019667262211441994,
-0.017241261899471283,
0.0441494844853878,
0.013454110361635685,
-0.026223015040159225,
-0.04518655315041542,
-0.007481707725673914,
-0.021148787811398506,
-0.0015312962932512164,
0.03033425100147724,
-0.006106666289269924,
0.037667807191610336,
0.03740853816270828,
0.011555904522538185,
-0.03963082656264305,
0.06937246769666672,
-0.01858389563858509,
0.05111265555024147,
-0.013231881894171238,
0.01785239204764366,
-0.04351983591914177,
0.023741459473967552,
-0.0017674145055934787,
0.008815081790089607,
-0.019148727878928185,
0.006004811264574528,
0.04922370985150337,
-0.017574604600667953,
0.055260930210351944,
-0.003169077215716243,
-0.009194722399115562,
0.013231881894171238,
0.011861469596624374,
0.015426392666995525,
0.04755699262022972,
0.03616775944828987,
-0.042445726692676544,
0.041593849658966064,
-0.06622422486543655,
0.06092776730656624,
-0.04859406128525734,
-0.018657971173524857,
-0.03233431279659271,
-0.023611824959516525,
0.03055647946894169,
0.012852240353822708,
0.07622452825307846,
-0.0015278239734470844,
0.014120797626674175,
0.05670541897416115,
0.007203921675682068,
0.038075223565101624,
-0.02587115205824375,
-0.029889792203903198,
0.009889188222587109,
0.04655696451663971,
0.006412230897694826,
0.040334552526474,
-0.003345008473843336,
0.08511368185281754,
-0.0339454710483551,
-0.03753817081451416,
0.022185856476426125,
-0.058964744210243225,
0.03444548696279526,
-0.021148787811398506,
-0.024704450741410255,
-0.036945562809705734,
-0.022389566525816917,
-0.007264108397066593,
-0.04451986402273178,
0.042742032557725906,
0.0034676974173635244,
0.013741156086325645,
-0.022741427645087242,
-0.05866844207048416,
0.0268156249076128,
0.07559487968683243,
-0.013759675435721874,
-0.03579737991094589,
-0.03572330251336098,
0.008338214829564095,
-0.012648530304431915,
-0.036704812198877335,
0.05955735594034195,
0.012778163887560368,
-0.028537899255752563,
-0.03746409714221954,
-0.001408607349731028,
0.0578906387090683,
0.0002303310320712626,
0.017167186364531517,
0.06281671673059464,
0.009592882357537746,
-0.04437171295285225,
0.0024167397059500217,
0.021871032193303108,
-0.013880048878490925,
0.009518805891275406,
-0.05333494767546654,
-0.024648893624544144,
0.022056221961975098,
-0.020111719146370888,
0.049520015716552734,
-0.015315277501940727,
-0.02505631372332573,
-0.04526062682271004,
0.023130329325795174,
0.02748231217265129,
-0.030723150819540024,
-0.029926830902695656,
0.005819620564579964,
-0.021667322143912315,
0.006143704056739807,
-0.021722879260778427,
0.08822488784790039,
-0.022574756294488907,
-0.0054075708612799644,
-0.0384456068277359,
0.11015147715806961,
0.02268587052822113,
-0.004745513666421175,
-0.08600260317325592,
0.03563070669770241,
-0.009555844590067863,
0.015556026250123978,
0.02453777939081192,
0.01743571273982525,
-0.013528186827898026,
0.0053010862320661545,
0.013954125344753265,
-0.016861621290445328,
0.001869269530288875,
0.007551154121756554,
-0.033149149268865585,
-0.003247783286496997,
-0.0134078124538064,
-0.00014475264470092952,
-0.004567267838865519,
0.013657820411026478,
-0.03977898135781288,
-0.015361575409770012,
0.0036112202797085047,
-0.018806124106049538,
-0.007884497754275799,
-0.015722697600722313,
-0.04237165302038193,
0.02125990204513073,
-0.03237134963274002,
0.02748231217265129,
-0.020945077762007713,
-0.01913020759820938,
0.05889067053794861,
-0.009898447431623936,
0.038704875856637955,
-0.01473192684352398,
-0.04566804692149162,
0.006287226919084787,
-0.004305685870349407,
-0.003326489357277751,
0.006694647017866373,
-0.01742645353078842,
0.025000756606459618,
0.01667642965912819,
0.012370744720101357,
0.02168584056198597,
0.03159354627132416,
-0.0006574272993020713,
0.023611824959516525,
0.062335219234228134,
0.04200126975774765,
0.009555844590067863,
-0.03046388365328312,
0.051186732947826385,
0.004916815552860498,
-0.011759614571928978,
0.05396459624171257,
0.014370804652571678,
0.04455690458416939,
-0.018611673265695572,
0.04774218425154686,
-0.011194783262908459,
0.043927256017923355,
0.02961200661957264,
0.0028889761306345463,
0.07615044713020325,
0.023278482258319855,
0.0075789326801896095,
0.024167397990822792,
0.018870940431952477,
0.02885272353887558,
-0.006583532318472862,
0.0008281500195153058,
-0.006930765230208635,
0.00609740661457181,
-0.024741489440202713,
0.03337137773633003,
-0.01742645353078842,
0.001530138892121613,
0.013750416226685047,
-0.08015057444572449,
0.04048270732164383,
0.02457481622695923,
0.010139195248484612,
-0.02490816079080105,
0.029834235087037086,
-0.0465199239552021,
0.020963596180081367,
0.012259629555046558,
0.06426120549440384,
-0.014991194009780884,
-0.0213524978607893,
-0.03570478409528732,
-0.057742487639188766,
0.009055829606950283,
0.04281610995531082,
-0.000752337567973882,
0.046482887119054794,
-0.03192689269781113,
0.004650603514164686,
0.023667382076382637,
-0.030149059370160103,
0.015120827592909336,
0.013444851152598858,
-0.014546736143529415,
-0.05940920487046242,
-0.0536312498152256,
-0.004055678378790617,
0.015926407650113106,
-0.019296878948807716,
-0.032204676419496536,
-0.000800371402874589,
-0.03653814271092415,
0.013185583986341953,
-0.01870426908135414,
0.07466892153024673,
-0.04870517551898956,
-0.04685327038168907,
0.006365933455526829,
0.03051944077014923,
0.036760371178388596,
0.006157593801617622,
0.026185976341366768,
-0.06603903323411942,
-0.009805851615965366,
-0.027704540640115738,
-0.04037158936262131,
-0.023389596492052078,
-0.005574242677539587,
-0.00020747154485434294,
-0.00945861916989088,
-0.02372293919324875,
0.009713256731629372,
0.03326026350259781,
0.0030834265053272247,
0.011231821030378342,
0.04959409311413765,
0.030167579650878906,
-0.04433467239141464,
0.030686112120747566,
0.06822428852319717,
-0.03977898135781288,
0.03789003565907478,
-0.04063085839152336,
-0.02040802501142025,
0.07615044713020325,
0.03629739210009575,
-0.009199352003633976,
0.013667079620063305,
-0.029019396752119064,
0.05900178477168083,
-0.006301116663962603,
-0.04970520734786987,
-0.02435258775949478,
-0.015546766109764576,
0.011907767504453659,
-0.025260023772716522,
0.008828970603644848,
0.014630071818828583,
-0.009676218964159489,
0.04859406128525734,
-0.043408721685409546,
0.00264591327868402,
-0.000921902887057513,
0.015296759083867073,
-0.0005526787717826664,
-0.030482403934001923,
-0.005106635857373476,
-0.04255684092640877,
0.003041758667677641,
0.024611854925751686,
0.0005358958151191473,
0.03227875381708145,
0.04940890148282051,
0.028019364923238754,
0.03757521137595177,
0.027260083705186844,
-0.051038581877946854,
0.01688939891755581,
-0.0019711244385689497,
0.029149029403924942,
-0.0062224105931818485,
0.0351121723651886,
-0.02050061896443367,
-0.0005983977462165058
] |
711,174
|
yt_dlp.YoutubeDL
|
prepare_outtmpl
|
Make the outtmpl and info_dict suitable for substitution: ydl.escape_outtmpl(outtmpl) % info_dict
@param sanitize Whether to sanitize the output as a filename.
For backward compatibility, a function can also be passed
|
def prepare_outtmpl(self, outtmpl, info_dict, sanitize=False):
""" Make the outtmpl and info_dict suitable for substitution: ydl.escape_outtmpl(outtmpl) % info_dict
@param sanitize Whether to sanitize the output as a filename.
For backward compatibility, a function can also be passed
"""
info_dict.setdefault('epoch', int(time.time())) # keep epoch consistent once set
info_dict = self._copy_infodict(info_dict)
info_dict['duration_string'] = ( # %(duration>%H-%M-%S)s is wrong if duration > 24hrs
formatSeconds(info_dict['duration'], '-' if sanitize else ':')
if info_dict.get('duration', None) is not None
else None)
info_dict['autonumber'] = int(self.params.get('autonumber_start', 1) - 1 + self._num_downloads)
info_dict['video_autonumber'] = self._num_videos
if info_dict.get('resolution') is None:
info_dict['resolution'] = self.format_resolution(info_dict, default=None)
# For fields playlist_index, playlist_autonumber and autonumber convert all occurrences
# of %(field)s to %(field)0Nd for backward compatibility
field_size_compat_map = {
'playlist_index': number_of_digits(info_dict.get('__last_playlist_index') or 0),
'playlist_autonumber': number_of_digits(info_dict.get('n_entries') or 0),
'autonumber': self.params.get('autonumber_size') or 5,
}
TMPL_DICT = {}
EXTERNAL_FORMAT_RE = re.compile(STR_FORMAT_RE_TMPL.format('[^)]*', f'[{STR_FORMAT_TYPES}ljhqBUDS]'))
MATH_FUNCTIONS = {
'+': float.__add__,
'-': float.__sub__,
'*': float.__mul__,
}
# Field is of the form key1.key2...
# where keys (except first) can be string, int, slice or "{field, ...}"
FIELD_INNER_RE = r'(?:\w+|%(num)s|%(num)s?(?::%(num)s?){1,2})' % {'num': r'(?:-?\d+)'}
FIELD_RE = r'\w*(?:\.(?:%(inner)s|{%(field)s(?:,%(field)s)*}))*' % {
'inner': FIELD_INNER_RE,
'field': rf'\w*(?:\.{FIELD_INNER_RE})*'
}
MATH_FIELD_RE = rf'(?:{FIELD_RE}|-?{NUMBER_RE})'
MATH_OPERATORS_RE = r'(?:%s)' % '|'.join(map(re.escape, MATH_FUNCTIONS.keys()))
INTERNAL_FORMAT_RE = re.compile(rf'''(?xs)
(?P<negate>-)?
(?P<fields>{FIELD_RE})
(?P<maths>(?:{MATH_OPERATORS_RE}{MATH_FIELD_RE})*)
(?:>(?P<strf_format>.+?))?
(?P<remaining>
(?P<alternate>(?<!\\),[^|&)]+)?
(?:&(?P<replacement>.*?))?
(?:\|(?P<default>.*?))?
)$''')
def _from_user_input(field):
if field == ':':
return ...
elif ':' in field:
return slice(*map(int_or_none, field.split(':')))
elif int_or_none(field) is not None:
return int(field)
return field
def _traverse_infodict(fields):
fields = [f for x in re.split(r'\.({.+?})\.?', fields)
for f in ([x] if x.startswith('{') else x.split('.'))]
for i in (0, -1):
if fields and not fields[i]:
fields.pop(i)
for i, f in enumerate(fields):
if not f.startswith('{'):
fields[i] = _from_user_input(f)
continue
assert f.endswith('}'), f'No closing brace for {f} in {fields}'
fields[i] = {k: list(map(_from_user_input, k.split('.'))) for k in f[1:-1].split(',')}
return traverse_obj(info_dict, fields, traverse_string=True)
def get_value(mdict):
# Object traversal
value = _traverse_infodict(mdict['fields'])
# Negative
if mdict['negate']:
value = float_or_none(value)
if value is not None:
value *= -1
# Do maths
offset_key = mdict['maths']
if offset_key:
value = float_or_none(value)
operator = None
while offset_key:
item = re.match(
MATH_FIELD_RE if operator else MATH_OPERATORS_RE,
offset_key).group(0)
offset_key = offset_key[len(item):]
if operator is None:
operator = MATH_FUNCTIONS[item]
continue
item, multiplier = (item[1:], -1) if item[0] == '-' else (item, 1)
offset = float_or_none(item)
if offset is None:
offset = float_or_none(_traverse_infodict(item))
try:
value = operator(value, multiplier * offset)
except (TypeError, ZeroDivisionError):
return None
operator = None
# Datetime formatting
if mdict['strf_format']:
value = strftime_or_none(value, mdict['strf_format'].replace('\\,', ','))
# XXX: Workaround for https://github.com/yt-dlp/yt-dlp/issues/4485
if sanitize and value == '':
value = None
return value
na = self.params.get('outtmpl_na_placeholder', 'NA')
def filename_sanitizer(key, value, restricted=self.params.get('restrictfilenames')):
return sanitize_filename(str(value), restricted=restricted, is_id=(
bool(re.search(r'(^|[_.])id(\.|$)', key))
if 'filename-sanitization' in self.params['compat_opts']
else NO_DEFAULT))
sanitizer = sanitize if callable(sanitize) else filename_sanitizer
sanitize = bool(sanitize)
def _dumpjson_default(obj):
if isinstance(obj, (set, LazyList)):
return list(obj)
return repr(obj)
class _ReplacementFormatter(string.Formatter):
def get_field(self, field_name, args, kwargs):
if field_name.isdigit():
return args[0], -1
raise ValueError('Unsupported field')
replacement_formatter = _ReplacementFormatter()
def create_key(outer_mobj):
if not outer_mobj.group('has_key'):
return outer_mobj.group(0)
key = outer_mobj.group('key')
mobj = re.match(INTERNAL_FORMAT_RE, key)
value, replacement, default, last_field = None, None, na, ''
while mobj:
mobj = mobj.groupdict()
default = mobj['default'] if mobj['default'] is not None else default
value = get_value(mobj)
last_field, replacement = mobj['fields'], mobj['replacement']
if value is None and mobj['alternate']:
mobj = re.match(INTERNAL_FORMAT_RE, mobj['remaining'][1:])
else:
break
if None not in (value, replacement):
try:
value = replacement_formatter.format(replacement, value)
except ValueError:
value, default = None, na
fmt = outer_mobj.group('format')
if fmt == 's' and last_field in field_size_compat_map.keys() and isinstance(value, int):
fmt = f'0{field_size_compat_map[last_field]:d}d'
flags = outer_mobj.group('conversion') or ''
str_fmt = f'{fmt[:-1]}s'
if value is None:
value, fmt = default, 's'
elif fmt[-1] == 'l': # list
delim = '\n' if '#' in flags else ', '
value, fmt = delim.join(map(str, variadic(value, allowed_types=(str, bytes)))), str_fmt
elif fmt[-1] == 'j': # json
value, fmt = json.dumps(
value, default=_dumpjson_default,
indent=4 if '#' in flags else None, ensure_ascii='+' not in flags), str_fmt
elif fmt[-1] == 'h': # html
value, fmt = escapeHTML(str(value)), str_fmt
elif fmt[-1] == 'q': # quoted
value = map(str, variadic(value) if '#' in flags else [value])
value, fmt = shell_quote(value, shell=True), str_fmt
elif fmt[-1] == 'B': # bytes
value = f'%{str_fmt}'.encode() % str(value).encode()
value, fmt = value.decode('utf-8', 'ignore'), 's'
elif fmt[-1] == 'U': # unicode normalized
value, fmt = unicodedata.normalize(
# "+" = compatibility equivalence, "#" = NFD
'NF%s%s' % ('K' if '+' in flags else '', 'D' if '#' in flags else 'C'),
value), str_fmt
elif fmt[-1] == 'D':
|
(self, outtmpl, info_dict, sanitize=False)
|
[
0.07644443958997726,
-0.016642767935991287,
-0.048180337995290756,
0.007653978653252125,
-0.00009012957161758095,
-0.02351810783147812,
-0.026802167296409607,
-0.011780241504311562,
-0.021801920607686043,
-0.039027344435453415,
0.013454052619636059,
0.04805321246385574,
-0.018899235874414444,
0.023200295865535736,
0.043116528540849686,
0.08000393956899643,
-0.005418699234724045,
0.05767233297228813,
0.04385809227824211,
-0.020361172035336494,
-0.0036574893165379763,
-0.04538359120488167,
0.019958609715104103,
0.04265040531754494,
0.03091253899037838,
-0.03817984461784363,
0.04868883639574051,
-0.02459866926074028,
-0.06470657885074615,
-0.00038402315112762153,
0.007092510350048542,
-0.02487410604953766,
0.010169992223381996,
0.05017196387052536,
-0.011864990927278996,
-0.08254643529653549,
-0.05140083655714989,
0.012500615790486336,
-0.1545838862657547,
-0.020922640338540077,
0.029535353183746338,
-0.014863019809126854,
-0.001434127800166607,
-0.026081793010234833,
-0.02983197756111622,
0.04843458905816078,
-0.03627297282218933,
0.030446413904428482,
-0.02508598193526268,
-0.041760530322790146,
0.027776790782809258,
-0.03752303496003151,
-0.025721605867147446,
0.033582162111997604,
-0.05034146085381508,
0.03955703228712082,
-0.004870472941547632,
0.08771618455648422,
0.03307366371154785,
-0.04277753084897995,
-0.01346464641392231,
0.040213845670223236,
-0.023115545511245728,
0.030870163813233376,
-0.044366590678691864,
0.011473022401332855,
0.0008898743544705212,
-0.020986203104257584,
-0.04657008871436119,
-0.017479674890637398,
-0.039917219430208206,
0.0016420299652963877,
0.006599901244044304,
0.0066263857297599316,
0.02487410604953766,
-0.021060358732938766,
-0.04034097120165825,
-0.018782705068588257,
0.00011537247337400913,
-0.033772848546504974,
0.040107905864715576,
-0.003236388089135289,
0.02132520265877247,
-0.038730721920728683,
0.027692042291164398,
-0.02692929282784462,
0.03209903836250305,
0.05462133511900902,
0.008851071819663048,
0.04966346174478531,
-0.0379255972802639,
-0.062460701912641525,
0.004740699660032988,
0.038052722811698914,
-0.06928307563066483,
-0.03603991121053696,
-0.009624414145946503,
-0.06364720314741135,
-0.015085488557815552,
-0.011430647224187851,
0.018708547577261925,
-0.03616703674197197,
-0.06284207850694656,
-0.04873121157288551,
0.015615175478160381,
-0.05775707960128784,
-0.014407489448785782,
0.014545207843184471,
0.009068243205547333,
-0.019958609715104103,
-0.043201278895139694,
-0.057121455669403076,
-0.05296871066093445,
-0.03928159549832344,
0.023560483008623123,
-0.0023491622414439917,
-0.05504508316516876,
-0.008713352493941784,
0.04152746871113777,
-0.011430647224187851,
-0.01704533025622368,
-0.008379650302231312,
-0.07635968923568726,
0.03771372139453888,
0.01828479953110218,
-0.037459470331668854,
0.02733185514807701,
0.01896279864013195,
0.08301256597042084,
0.008427321910858154,
0.0007587767904624343,
0.059452079236507416,
-0.01680167391896248,
0.03411184996366501,
0.00824722833931446,
-0.035637348890304565,
-0.013093865476548672,
-0.0012109971139580011,
-0.03945109620690346,
0.053519584238529205,
0.019757328554987907,
-0.026590293273329735,
0.03322197496891022,
-0.046697214245796204,
-0.023963043466210365,
-0.022628232836723328,
0.055765457451343536,
0.03947228193283081,
-0.0432860292494297,
0.006652869749814272,
0.016324955970048904,
0.021092141047120094,
0.005964276846498251,
0.017002955079078674,
0.058477457612752914,
-0.006366839166730642,
-0.0012076866114512086,
-0.042629219591617584,
-0.018443705514073372,
0.006716432515531778,
0.040192656219005585,
-0.03887903317809105,
0.036315347999334335,
-0.007717540953308344,
0.03671791031956673,
0.03915446996688843,
0.04131559282541275,
-0.04784134030342102,
0.022289233282208443,
0.06292682886123657,
0.0447055920958519,
0.012659521773457527,
-0.07542744278907776,
0.018083518370985985,
0.043985217809677124,
0.06466419994831085,
0.004160691983997822,
0.0005922563723288476,
-0.024132544174790382,
0.025530917569994926,
-0.026611478999257088,
-0.008379650302231312,
-0.022967232391238213,
0.028031041845679283,
-0.004732754081487656,
-0.0040653483010828495,
0.01103867869824171,
0.015837645158171654,
0.01871914230287075,
0.00983628910034895,
0.022712983191013336,
-0.03440847247838974,
0.006546932738274336,
-0.034853409975767136,
-0.028942102566361427,
0.004295762162655592,
-0.005736511200666428,
-0.03551022335886955,
0.07051194459199905,
-0.011229366064071655,
-0.06385907530784607,
-0.03101847693324089,
0.021950233727693558,
-0.05017196387052536,
-0.029090415686368942,
-0.0345144122838974,
-0.00032029516296461225,
0.0019439517054706812,
-0.10347966849803925,
0.01482064463198185,
-0.005283628590404987,
-0.0116637097671628,
-0.039535846561193466,
0.01350702065974474,
0.009121212176978588,
-0.04508696496486664,
0.02094382792711258,
0.04169696941971779,
-0.06529982388019562,
0.01617664471268654,
0.04406996816396713,
0.009258930571377277,
-0.01858142390847206,
-0.009041759185492992,
0.05703670531511307,
-0.018411923199892044,
0.04169696941971779,
0.04813796281814575,
0.0038243408780544996,
-0.0364636592566967,
0.04911258816719055,
-0.0301286019384861,
-0.009635007940232754,
0.07203744351863861,
0.031844787299633026,
-0.03409066051244736,
0.016515644267201424,
-0.02896329015493393,
-0.015731707215309143,
-0.012956146150827408,
0.00530216796323657,
-0.010344789363443851,
-0.012659521773457527,
-0.014110864140093327,
-0.017405517399311066,
-0.026696229353547096,
-0.0034668021835386753,
0.04576496407389641,
-0.04559546709060669,
-0.003262872574850917,
0.03326435014605522,
0.043010592460632324,
-0.01666395552456379,
0.047120966017246246,
-0.015382112935185432,
-0.01598595641553402,
-0.014958363957703114,
-0.025615667924284935,
0.037756096571683884,
-0.033497411757707596,
0.011992115527391434,
-0.08330918848514557,
-0.05707908049225807,
0.012617146596312523,
0.010143508203327656,
-0.005055863410234451,
-0.005328652448952198,
-0.02817935310304165,
-0.02684454247355461,
0.011854397132992744,
0.002623275388032198,
0.002249846002086997,
-0.050299085676670074,
-0.008761025033891201,
-0.06424044817686081,
0.013729489408433437,
0.08313968777656555,
-0.022607045248150826,
0.03341266140341759,
-0.01400492712855339,
0.013422271236777306,
-0.021441733464598656,
0.010434836149215698,
-0.011970928870141506,
0.06788469851016998,
0.024958856403827667,
-0.02162182703614235,
-0.0010401729959994555,
-0.022034984081983566,
0.023179108276963234,
-0.0034562083892524242,
-0.018305985257029533,
0.014629957266151905,
0.006276791915297508,
-0.049621086567640305,
-0.006520448252558708,
-0.005182988476008177,
-0.08813993632793427,
0.025319043546915054,
-0.023263856768608093,
-0.06135895475745201,
0.023899482563138008,
0.12983690202236176,
0.039048533886671066,
-0.04423946514725685,
0.012405271641910076,
-0.008686868473887444,
-0.06093520298600197,
0.04551071673631668,
-0.02684454247355461,
-0.002741130767390132,
0.014566395431756973,
0.016081299632787704,
0.01711948774755001,
0.024471543729305267,
0.007187854032963514,
-0.021314609795808792,
0.04197240620851517,
0.04945158585906029,
0.027543729171156883,
-0.009682680480182171,
-0.010810913518071175,
0.01885686069726944,
0.011854397132992744,
0.06504557281732559,
-0.09703867882490158,
0.02459866926074028,
0.016536831855773926,
0.04830746352672577,
0.01084799226373434,
-0.0267174169421196,
-0.02007514052093029,
-0.0019651390612125397,
0.034747473895549774,
0.032226163893938065,
-0.05220596119761467,
-0.044366590678691864,
-0.07207982242107391,
-0.013199802488088608,
-0.028603103011846542,
0.0486464649438858,
0.01292436569929123,
-0.006181448232382536,
0.001010378124192357,
-0.011314116418361664,
-0.03489578515291214,
0.07991918921470642,
-0.026293667033314705,
0.06589307636022568,
0.008999384008347988,
-0.015382112935185432,
-0.02644198015332222,
0.01798817329108715,
0.025319043546915054,
0.00614966731518507,
-0.049621086567640305,
0.013814239762723446,
-0.06161320209503174,
-0.02750135399401188,
-0.006313870195299387,
-0.010540773160755634,
0.017479674890637398,
-0.022882482036948204,
0.041760530322790146,
0.03167529031634331,
-0.041463907808065414,
0.0029424119275063276,
-0.023348607122898102,
0.08216506242752075,
0.013337520882487297,
-0.026484355330467224,
0.003956762608140707,
0.05474845692515373,
-0.09771667420864105,
-0.04235377907752991,
0.023666419088840485,
0.003683973802253604,
0.06542695313692093,
-0.07085094600915909,
-0.0525025837123394,
0.04610396549105644,
0.03784084692597389,
-0.06309632956981659,
0.046527713537216187,
0.0432860292494297,
-0.005651761312037706,
-0.001250723609700799,
0.016293175518512726,
-0.011600147932767868,
-0.013867208734154701,
-0.00900997780263424,
0.03464153781533241,
0.07233407348394394,
0.00041613541543483734,
-0.008056540973484516,
-0.0026087090373039246,
-0.00029910769080743194,
0.015498644672334194,
-0.045341216027736664,
0.014195614494383335,
0.03483222424983978,
-0.04235377907752991,
-0.019460704177618027,
0.03574328497052193,
-0.0413367822766304,
-0.0700458213686943,
0.11263266205787659,
0.03491697460412979,
-0.03589159622788429,
0.07500369101762772,
0.026187730953097343,
-0.050595711916685104,
-0.06970681995153427,
-0.030891351401805878,
-0.02584873139858246,
0.019407736137509346,
-0.06695245206356049,
0.006854150909930468,
-0.03959940746426582,
0.027628479525446892,
0.003326434874907136,
-0.003980598412454128,
0.0016830808017402887,
0.055468834936618805,
-0.0160389244556427,
-0.024344418197870255,
-0.03510766103863716,
0.008851071819663048,
-0.02750135399401188,
0.037883222103118896,
0.0020565101876854897,
-0.032035477459430695,
0.0011401515221223235,
-0.04521409049630165,
0.044959839433431625,
-0.014894801191985607,
0.03606109693646431,
-0.007653978653252125,
0.029048040509223938,
0.023094357922673225,
0.04784134030342102,
0.02353929542005062,
0.05034146085381508,
-0.017426704987883568,
0.028073417022824287,
0.026208918541669846,
-0.03697216138243675,
0.039514657109975815,
-0.051273711025714874,
0.006123182829469442,
0.024068981409072876,
0.040849469602108,
0.013432865031063557,
-0.020657796412706375,
0.01307267788797617,
-0.06292682886123657,
0.05411283299326897,
-0.0015546316280961037,
0.0018592017004266381,
-0.01847548596560955,
-0.004205715376883745,
0.03915446996688843,
0.05462133511900902,
0.06241832673549652,
-0.00868157111108303,
0.0037263487465679646,
0.004385809414088726,
-0.00412361416965723,
-0.08424143493175507,
0.004944629035890102,
-0.049239713698625565,
0.0047301058657467365,
-0.037756096571683884,
0.05580783262848854,
0.019439516589045525,
0.01929120346903801,
0.03220497444272041,
-0.022479919716715813,
-0.02322148159146309,
-0.03362453728914261,
0.03449322283267975,
-0.10068292170763016,
-0.002363728592172265,
0.004359324928373098,
-0.0025477949529886246,
0.011451834812760353,
0.058774080127477646,
-0.036103472113609314,
0.014407489448785782,
0.007405025884509087,
-0.057502832263708115,
0.057206206023693085,
0.012627740390598774,
-0.031442224979400635,
-0.007685760036110878,
-0.004216309171169996,
-0.01385661493986845,
0.0016526237595826387,
0.015032519586384296,
-0.02887853980064392,
0.02421729452908039,
-0.0015043113380670547,
-0.016515644267201424,
-0.041845280677080154,
0.02129342220723629,
-0.0021240452770143747,
0.02226804569363594,
0.03468391299247742,
-0.024535106495022774,
-0.018464893102645874,
-0.03979009389877319,
-0.013793052174150944,
0.006064917426556349,
0.010614929720759392,
-0.008882852271199226,
0.03101847693324089,
-0.0013136239722371101,
0.0114200534299016,
-0.02820054069161415,
-0.04771421477198601,
-0.008962305262684822,
-0.0003090393147431314,
-0.025806356221437454,
-0.07559694349765778,
-0.006350948475301266,
0.05534170940518379,
-0.034069474786520004,
0.010673195123672485,
0.018327172845602036,
-0.025827543810009956,
0.008517368696630001,
-0.01098571065813303,
0.03858240693807602,
-0.02275535836815834,
0.02175954543054104,
0.021039171144366264,
0.019132297486066818,
0.00043632974848151207,
-0.07352057099342346,
-0.012002709321677685,
0.010567257180809975,
0.04449371621012688,
-0.0008269739919342101,
-0.05618920922279358,
0.04703621566295624,
0.03237447515130043,
0.03411184996366501,
0.03790440782904625,
0.02741660363972187,
-0.04707859084010124,
-0.06373195350170135,
-0.004020324908196926,
0.06059620529413223,
0.020435327664017677,
-0.0267386045306921,
0.009921039454638958,
0.013623552396893501,
0.014206208288669586,
0.03298891335725784,
-0.0029953804332762957,
0.009078836999833584,
0.03472628444433212,
-0.010826804675161839,
-0.010556664317846298,
-0.0315905399620533,
0.006531042046844959,
-0.012638334184885025,
0.025297855958342552,
-0.05063808709383011,
0.05356195941567421,
-0.018189454451203346,
-0.00902057159692049,
0.06890169531106949,
-0.054494209587574005,
-0.01711948774755001,
-0.01974673569202423,
-0.04868883639574051,
0.004105074796825647,
0.044281840324401855,
-0.014015520922839642,
0.021653609350323677,
0.0296624768525362,
0.053604334592819214,
-0.042925842106342316,
0.04207834228873253,
-0.01765976846218109,
0.04919733852148056,
0.0641133263707161,
0.02557329274713993,
0.03438728675246239,
-0.05474845692515373,
0.014608770608901978,
0.00249217776581645,
0.009311899542808533,
-0.00010535807814449072,
0.028221728280186653,
-0.012278147041797638,
0.010318304412066936,
0.026484355330467224,
-0.040107905864715576,
-0.038645971566438675,
0.048858337104320526,
-0.04235377907752991,
0.020573046058416367,
0.02798866666853428,
0.0006683989195153117,
0.05101945996284485,
-0.005773589480668306,
0.015424488112330437,
-0.026187730953097343,
0.027458978816866875,
0.030891351401805878,
-0.00824722833931446,
-0.016536831855773926,
-0.007807587739080191,
-0.011706084944307804,
-0.01929120346903801,
0.026463167741894722,
-0.0007124291732907295,
-0.06356245279312134,
-0.02134639024734497,
0.09686917811632156,
-0.05394333600997925,
0.001477826968766749,
-0.0028205837588757277,
-0.012002709321677685,
0.0004071969597134739,
-0.009666789323091507,
-0.006154964212328196,
-0.08220744132995605,
-0.023285044357180595,
0.020986203104257584,
0.032120224088430405,
0.025975855067372322,
-0.04415471479296684,
0.03186597675085068,
-0.009343679994344711,
-0.003734294092282653,
-0.015297363512217999,
0.047629464417696,
0.051485586911439896,
-0.03188716247677803,
-0.011557772755622864,
0.030086226761341095,
-0.017956392839550972,
0.0466548390686512,
0.012500615790486336,
-0.06945256888866425,
0.02887853980064392,
0.04640059173107147,
-0.023285044357180595,
0.04351909086108208,
-0.006488666869699955,
-0.015975363552570343,
-0.014312145300209522,
0.03832815960049629,
0.009852180257439613,
-0.026463167741894722,
0.017702143639326096,
-0.0023081116378307343,
-0.024174919351935387,
-0.04044690728187561,
-0.012871396727859974,
-0.0165262371301651,
0.003935575019568205,
-0.030382851138710976,
-0.007945306599140167,
0.0384129099547863,
0.03839172050356865,
-0.016208425164222717,
-0.011981521733105183,
-0.03803153336048126,
0.051951710134744644,
0.00979391485452652,
-0.011886178515851498,
-0.026081793010234833,
0.03947228193283081,
0.059833455830812454,
0.043900467455387115,
0.019227642565965652,
0.046697214245796204,
-0.015223206952214241,
-0.012903178110718727,
0.04529884085059166,
-0.0335397869348526,
0.007728134747594595,
-0.004208364058285952,
-0.0012434404343366623,
0.007648681756108999,
-0.030065039172768593,
0.0026881620287895203,
-0.001582440221682191,
-0.044578466564416885,
-0.0738595724105835,
-0.03392116352915764,
-0.07030007243156433,
0.01060433592647314,
0.0836058109998703,
0.0422690287232399,
-0.009587336331605911,
0.0013321631122380495,
-0.027543729171156883,
0.04394284263253212,
0.004295762162655592,
0.013051490299403667,
0.0006243686657398939,
-0.021950233727693558,
-0.012468834407627583,
-0.004277223255485296,
-0.04432421550154686,
0.020784921944141388,
0.1234806552529335,
0.006764104124158621,
-0.006907119881361723,
-0.045044589787721634,
0.003514473792165518,
-0.047502338886260986,
0.06585069745779037,
0.023073170334100723,
-0.006356245372444391,
0.01617664471268654,
0.036103472113609314,
0.013146833516657352,
0.023857107385993004,
-0.01638851873576641,
0.030573539435863495,
-0.07445281744003296,
-0.015000738203525543,
0.020657796412706375,
-0.01979970373213291,
-0.00011338614422129467,
0.095343679189682,
-0.0243020448833704,
-0.022967232391238213,
0.01809411123394966,
-0.029535353183746338,
-0.02094382792711258,
-0.008713352493941784,
-0.02264942042529583,
0.010943335480988026,
-0.024471543729305267,
0.041845280677080154,
-0.03866715729236603,
0.024768168106675148,
-0.0022736818064004183,
0.03415422514081001,
0.06309632956981659,
0.013210396282374859,
-0.052926335483789444,
0.01642029918730259,
0.03186597675085068,
-0.009650899097323418,
-0.09288592636585236,
0.03082778863608837,
0.055384084582328796,
-0.014174426905810833,
0.02421729452908039,
0.06106232851743698,
0.011949741281569004,
0.002060482744127512,
-0.04288346692919731,
-0.022861294448375702,
0.05275683477520943,
0.05826558172702789,
-0.008565040305256844,
0.026908105239272118,
-0.048561714589595795,
0.008994086645543575
] |
711,175
|
yt_dlp.YoutubeDL
|
print_debug_header
| null |
def print_debug_header(self):
if not self.params.get('verbose'):
return
from . import _IN_CLI # Must be delayed import
# These imports can be slow. So import them only as needed
from .extractor.extractors import _LAZY_LOADER
from .extractor.extractors import (
_PLUGIN_CLASSES as plugin_ies,
_PLUGIN_OVERRIDES as plugin_ie_overrides
)
def get_encoding(stream):
ret = str(getattr(stream, 'encoding', 'missing (%s)' % type(stream).__name__))
additional_info = []
if os.environ.get('TERM', '').lower() == 'dumb':
additional_info.append('dumb')
if not supports_terminal_sequences(stream):
from .utils import WINDOWS_VT_MODE # Must be imported locally
additional_info.append('No VT' if WINDOWS_VT_MODE is False else 'No ANSI')
if additional_info:
ret = f'{ret} ({",".join(additional_info)})'
return ret
encoding_str = 'Encodings: locale %s, fs %s, pref %s, %s' % (
locale.getpreferredencoding(),
sys.getfilesystemencoding(),
self.get_encoding(),
', '.join(
f'{key} {get_encoding(stream)}' for key, stream in self._out_files.items_
if stream is not None and key != 'console')
)
logger = self.params.get('logger')
if logger:
write_debug = lambda msg: logger.debug(f'[debug] {msg}')
write_debug(encoding_str)
else:
write_string(f'[debug] {encoding_str}\n', encoding=None)
write_debug = lambda msg: self._write_string(f'[debug] {msg}\n')
source = detect_variant()
if VARIANT not in (None, 'pip'):
source += '*'
klass = type(self)
write_debug(join_nonempty(
f'{REPOSITORY.rpartition("/")[2]} version',
_make_label(ORIGIN, CHANNEL.partition('@')[2] or __version__, __version__),
f'[{RELEASE_GIT_HEAD[:9]}]' if RELEASE_GIT_HEAD else '',
'' if source == 'unknown' else f'({source})',
'' if _IN_CLI else 'API' if klass == YoutubeDL else f'API:{self.__module__}.{klass.__qualname__}',
delim=' '))
if not _IN_CLI:
write_debug(f'params: {self.params}')
if not _LAZY_LOADER:
if os.environ.get('YTDLP_NO_LAZY_EXTRACTORS'):
write_debug('Lazy loading extractors is forcibly disabled')
else:
write_debug('Lazy loading extractors is disabled')
if self.params['compat_opts']:
write_debug('Compatibility options: %s' % ', '.join(self.params['compat_opts']))
if current_git_head():
write_debug(f'Git HEAD: {current_git_head()}')
write_debug(system_identifier())
exe_versions, ffmpeg_features = FFmpegPostProcessor.get_versions_and_features(self)
ffmpeg_features = {key for key, val in ffmpeg_features.items() if val}
if ffmpeg_features:
exe_versions['ffmpeg'] += ' (%s)' % ','.join(sorted(ffmpeg_features))
exe_versions['rtmpdump'] = rtmpdump_version()
exe_versions['phantomjs'] = PhantomJSwrapper._version()
exe_str = ', '.join(
f'{exe} {v}' for exe, v in sorted(exe_versions.items()) if v
) or 'none'
write_debug('exe versions: %s' % exe_str)
from .compat.compat_utils import get_package_info
from .dependencies import available_dependencies
write_debug('Optional libraries: %s' % (', '.join(sorted({
join_nonempty(*get_package_info(m)) for m in available_dependencies.values()
})) or 'none'))
write_debug(f'Proxy map: {self.proxies}')
write_debug(f'Request Handlers: {", ".join(rh.RH_NAME for rh in self._request_director.handlers.values())}')
for plugin_type, plugins in {'Extractor': plugin_ies, 'Post-Processor': plugin_pps}.items():
display_list = ['%s%s' % (
klass.__name__, '' if klass.__name__ == name else f' as {name}')
for name, klass in plugins.items()]
if plugin_type == 'Extractor':
display_list.extend(f'{plugins[-1].IE_NAME.partition("+")[2]} ({parent.__name__})'
for parent, plugins in plugin_ie_overrides.items())
if not display_list:
continue
write_debug(f'{plugin_type} Plugins: {", ".join(sorted(display_list))}')
plugin_dirs = plugin_directories()
if plugin_dirs:
write_debug(f'Plugin directories: {plugin_dirs}')
# Not implemented
if False and self.params.get('call_home'):
ipaddr = self.urlopen('https://yt-dl.org/ip').read().decode()
write_debug('Public IP address: %s' % ipaddr)
latest_version = self.urlopen(
'https://yt-dl.org/latest/version').read().decode()
if version_tuple(latest_version) > version_tuple(__version__):
self.report_warning(
'You are using an outdated version (newest version: %s)! '
'See https://yt-dl.org/update if you need help updating.' %
latest_version)
|
(self)
|
[
0.02299792505800724,
-0.016891803592443466,
-0.09268336743116379,
-0.019139720126986504,
0.04491512104868889,
-0.023581519722938538,
-0.005479298997670412,
0.05226408317685127,
-0.08870628476142883,
-0.02496485225856304,
0.011066670529544353,
0.011228780262172222,
-0.019604435190558434,
0.04746564105153084,
-0.003496160265058279,
0.013790109194815159,
-0.017713157460093498,
0.0647573173046112,
-0.00764616159722209,
-0.04044090211391449,
-0.03218412771821022,
0.005690040998160839,
0.0014968104660511017,
0.019853001460433006,
-0.031189855188131332,
0.016394667327404022,
0.030606260523200035,
-0.041867464780807495,
-0.05239376798272133,
0.004312111064791679,
-0.040051836520433426,
-0.03562084585428238,
-0.021765893325209618,
-0.025829436257481575,
-0.020598705857992172,
0.007975784130394459,
-0.00600885646417737,
-0.024359645321965218,
-0.05529012531042099,
-0.004606609698385,
-0.02859610505402088,
-0.030195584520697594,
0.0252242274582386,
-0.048459913581609726,
-0.04876251891255379,
0.030865635722875595,
-0.03592345118522644,
0.033091939985752106,
0.0028801443986594677,
-0.0014008956495672464,
0.009618492797017097,
-0.012979562394320965,
0.047119807451963425,
0.017356516793370247,
0.004474220331758261,
0.040613818913698196,
0.03659350425004959,
-0.021430866792798042,
0.009613089263439178,
0.006689716130495071,
-0.01630820892751217,
0.01201771292835474,
-0.0043526384979486465,
0.06631356477737427,
-0.010185875929892063,
-0.021301180124282837,
0.032162513583898544,
-0.027061467990279198,
-0.044828660786151886,
0.035491157323122025,
0.005690040998160839,
-0.030800793319940567,
-0.01620013639330864,
-0.04439637064933777,
0.034280743449926376,
-0.027839593589305878,
-0.0412406399846077,
-0.05498751997947693,
0.018188679590821266,
-0.02477032132446766,
0.03326485678553581,
0.025159385055303574,
-0.031016938388347626,
-0.01786446012556553,
0.031168241053819656,
0.005433368030935526,
0.08001721650362015,
0.004652540665119886,
-0.016989069059491158,
0.03088725171983242,
-0.05062137171626091,
0.023603133857250214,
0.023170841857790947,
0.0517021007835865,
-0.038020066916942596,
-0.04681720584630966,
-0.018826309591531754,
-0.022241415455937386,
0.02055547572672367,
-0.0009719811496324837,
-0.006549220997840166,
-0.0021155280992388725,
-0.016329823061823845,
0.0005596152623184025,
0.0018953294493258,
-0.024575790390372276,
-0.029892979189753532,
0.04309949651360512,
-0.0033880872651934624,
-0.047379184514284134,
-0.009321292862296104,
-0.06069377437233925,
-0.02762344852089882,
-0.045909393578767776,
0.04850314185023308,
-0.04573647677898407,
-0.02477032132446766,
0.006154755130410194,
0.014308859594166279,
0.019690893590450287,
-0.04547709971666336,
0.034648191183805466,
-0.04565001651644707,
-0.03977084904909134,
-0.031189855188131332,
-0.0517021007835865,
0.009434768930077553,
0.049238041043281555,
0.02160378359258175,
-0.030238812789320946,
0.046644289046525955,
0.018707428127527237,
-0.019507167860865593,
-0.014935682527720928,
0.03592345118522644,
-0.03261641785502434,
-0.008780927397310734,
0.008046031929552555,
-0.0025653818156570196,
0.033048711717128754,
-0.02518099918961525,
-0.045909393578767776,
-0.029525531455874443,
-0.0394466295838356,
-0.02003672532737255,
0.013714457862079144,
0.045347411185503006,
-0.04128386825323105,
-0.005862957797944546,
0.007754234597086906,
0.06406565010547638,
-0.05338804051280022,
-0.07608336210250854,
-0.0012718836078420281,
-0.0018075201660394669,
-0.020674357190728188,
-0.008245966397225857,
0.0032475923653692007,
-0.027428915724158287,
0.040051836520433426,
0.01594076119363308,
-0.07124169170856476,
0.008056838996708393,
-0.005403647664934397,
-0.015951568260788918,
-0.0032989270985126495,
-0.014643886126577854,
-0.002191179199144244,
0.04422345384955406,
0.06799950450658798,
0.0000645482650725171,
0.02617526985704899,
-0.06142866984009743,
0.024316415190696716,
0.032270584255456924,
0.10288545489311218,
0.01966927759349346,
0.012331124395132065,
-0.027947666123509407,
-0.0034097018651664257,
-0.01442774012684822,
-0.03611798211932182,
-0.06774012744426727,
0.008640432730317116,
0.02703985385596752,
0.005525229964405298,
0.06748075783252716,
-0.006257424131035805,
0.02096615359187126,
0.0315789170563221,
-0.027796365320682526,
0.011801566928625107,
0.03499402478337288,
-0.002735596615821123,
-0.0027234384324401617,
0.042602360248565674,
0.01880469359457493,
-0.025116154924035072,
0.0736192986369133,
-0.048978663980960846,
-0.04314272478222847,
0.04335886985063553,
0.004798439331352711,
-0.05472814664244652,
-0.033351313322782516,
-0.0030476574320346117,
-0.020598705857992172,
-0.022868238389492035,
0.02062031999230385,
0.031168241053819656,
0.04253751412034035,
-0.04180261865258217,
-0.020490633323788643,
-0.011920447461307049,
-0.015638157725334167,
-0.04824376851320267,
0.008516148664057255,
0.000262245797784999,
-0.027601832523941994,
0.010445251129567623,
0.023840894922614098,
0.02721277065575123,
-0.027320843189954758,
0.005938609130680561,
-0.03655027225613594,
0.005706252064555883,
0.05131303891539574,
0.021571362391114235,
-0.011466540396213531,
-0.07297085970640182,
0.034648191183805466,
-0.003914942964911461,
-0.049972936511039734,
0.08395107090473175,
0.006668101530522108,
0.03415105491876602,
-0.046428143978118896,
0.061860959976911545,
-0.038084909319877625,
-0.03246511518955231,
-0.0030017264652997255,
-0.006295249797403812,
0.032205741852521896,
-0.003993295598775148,
-0.03758777305483818,
-0.031903136521577835,
-0.035015638917684555,
0.039122410118579865,
0.007435419596731663,
0.03914402425289154,
0.04292657971382141,
-0.04359662905335426,
-0.013854953460395336,
-0.0265211034566164,
-0.060045335441827774,
-0.023905737325549126,
0.06013179197907448,
-0.04707657918334007,
0.04346694424748421,
-0.01531393826007843,
-0.04396408051252365,
0.01790768839418888,
-0.0502755381166935,
0.027385687455534935,
0.011326045729219913,
0.014697922393679619,
0.03581537678837776,
-0.05481460317969322,
-0.025116154924035072,
0.0020209643989801407,
0.030714334920048714,
0.04647137224674225,
-0.10020524263381958,
0.021582169458270073,
-0.046946894377470016,
-0.019701700657606125,
0.003398894565179944,
-0.03840912878513336,
0.005695444997400045,
-0.0016008306993171573,
0.05913752317428589,
0.011661072261631489,
0.013357817195355892,
-0.031189855188131332,
0.008894404396414757,
-0.024748707190155983,
-0.014373702928423882,
-0.0041635106317698956,
-0.06423856317996979,
-0.045866161584854126,
-0.018610162660479546,
0.0619041882455349,
0.0394466295838356,
-0.011552998796105385,
0.04958387091755867,
0.06298492103815079,
-0.08555055409669876,
0.01630820892751217,
0.0009962975746020675,
-0.030606260523200035,
-0.026196883991360664,
0.0006413454539142549,
0.04854637384414673,
0.00316653773188591,
-0.04707657918334007,
0.06428179144859314,
-0.0007031496497802436,
-0.02699662558734417,
0.02917969785630703,
-0.04074350371956825,
0.029093239456415176,
0.0010942387161776423,
0.0633307546377182,
0.0478547066450119,
-0.012882296927273273,
-0.0011705652577802539,
0.0037150077987462282,
0.05226408317685127,
0.015249093994498253,
0.05096720531582832,
-0.026802092790603638,
0.059310439974069595,
0.04577970504760742,
0.036312513053417206,
0.06454116851091385,
-0.050534915179014206,
0.0594833567738533,
-0.00962930079549551,
-0.004676857031881809,
-0.08606930077075958,
-0.003960873931646347,
0.03469141945242882,
-0.011693494394421577,
0.032573189586400986,
0.08745263516902924,
0.013271358795464039,
-0.026283342391252518,
-0.045390643179416656,
0.02606719732284546,
-0.008889000862836838,
0.0025113453157246113,
0.03903595358133316,
-0.02721277065575123,
0.02678047865629196,
0.006468166597187519,
-0.0606505423784256,
0.00835403986275196,
-0.008737698197364807,
0.021722665056586266,
-0.04647137224674225,
0.028985166922211647,
-0.037306785583496094,
-0.018653392791748047,
0.03955470398068428,
-0.008553974330425262,
-0.08235159516334534,
-0.016621621325612068,
-0.037414856255054474,
-0.011293623596429825,
0.04876251891255379,
-0.05736512690782547,
0.07214950770139694,
-0.04577970504760742,
0.07733701169490814,
-0.045390643179416656,
-0.12069588154554367,
0.07085262984037399,
-0.06095314770936966,
0.03173021972179413,
-0.0011692142579704523,
-0.02025287225842476,
0.012601306661963463,
0.014514198526740074,
-0.07163075357675552,
-0.04500157758593559,
-0.0027247893158346415,
0.03391329571604729,
0.02585105039179325,
-0.03955470398068428,
-0.030195584520697594,
0.0736192986369133,
0.05861877277493477,
-0.0775531530380249,
-0.04807085171341896,
-0.005744077730923891,
-0.00708418246358633,
0.019377481192350388,
0.01962604932487011,
0.03095209412276745,
-0.04928126931190491,
-0.0258078221231699,
0.01754024066030979,
0.003358367132022977,
0.03765261918306351,
0.012428389862179756,
-0.03557761758565903,
-0.06371981650590897,
0.03832267224788666,
-0.038452357053756714,
-0.0018399420659989119,
0.02870417758822441,
-0.03084402158856392,
0.054122935980558395,
0.03940340131521225,
0.017010683193802834,
-0.03961954638361931,
0.1112719178199768,
0.019690893590450287,
0.0265211034566164,
0.03585860878229141,
-0.024273186922073364,
-0.040051836520433426,
-0.06890732049942017,
-0.014978911727666855,
-0.06129898130893707,
0.012698572129011154,
0.00669511966407299,
0.020804043859243393,
0.033048711717128754,
0.030022667720913887,
0.00970495119690895,
0.004468816798180342,
0.01059114933013916,
0.03531824052333832,
0.0004984865081496537,
0.000008606786650489084,
-0.04206199571490288,
0.04217006638646126,
0.01274180132895708,
-0.051529187709093094,
-0.002015560632571578,
0.009164586663246155,
-0.005857554264366627,
-0.010991020128130913,
0.014654693193733692,
0.005663022864609957,
-0.010585745796561241,
0.0035934257321059704,
0.02751537412405014,
0.048935435712337494,
0.005792710464447737,
-0.03767423331737518,
-0.009769795462489128,
-0.006165562197566032,
0.049497414380311966,
0.09346149116754532,
-0.007975784130394459,
0.02647787518799305,
-0.038971107453107834,
0.013865760527551174,
-0.016221750527620316,
0.028120582923293114,
-0.00882956013083458,
-0.0491083525121212,
-0.01629740186035633,
-0.06661617010831833,
0.02850964665412903,
0.03691772371530533,
-0.07370575517416,
-0.052307311445474625,
-0.025937508791685104,
0.03665834665298462,
0.06704846024513245,
0.04707657918334007,
0.0044390968978405,
0.013973833061754704,
0.0374797023832798,
-0.003412403631955385,
-0.06912346184253693,
0.010834313929080963,
0.0465146005153656,
0.04491512104868889,
0.016600005328655243,
0.0018953294493258,
0.027320843189954758,
0.011801566928625107,
-0.04117579758167267,
-0.007235484663397074,
-0.013930603861808777,
-0.03482110798358917,
-0.04359662905335426,
-0.0452609546482563,
0.038754962384700775,
-0.019788159057497978,
-0.016794538125395775,
-0.030195584520697594,
0.05196147784590721,
-0.03196797892451286,
0.05732189491391182,
-0.010012959130108356,
0.018253521993756294,
0.0315789170563221,
-0.045909393578767776,
-0.041500017046928406,
0.01303359866142273,
0.01760508492588997,
0.005657619331032038,
0.007592125330120325,
0.027580218389630318,
-0.03611798211932182,
0.026132041588425636,
-0.040570586919784546,
0.029525531455874443,
-0.02092292532324791,
0.027580218389630318,
-0.0245109461247921,
0.027342457324266434,
0.04117579758167267,
-0.03337292745709419,
0.03536147251725197,
-0.011790759861469269,
-0.03607475385069847,
-0.016751307994127274,
-0.06350366771221161,
0.0336323045194149,
0.022036075592041016,
-0.01817787066102028,
0.04214845225214958,
0.026542717590928078,
-0.023970581591129303,
0.017172792926430702,
0.026413030922412872,
0.04359662905335426,
-0.0776396095752716,
0.01251484826207161,
0.05356095731258392,
-0.028163813054561615,
0.042342983186244965,
-0.0008456708746962249,
0.041197411715984344,
-0.029309386387467384,
-0.009461787529289722,
-0.012558077462017536,
-0.06142866984009743,
0.04178100451827049,
0.040981266647577286,
-0.020123183727264404,
0.017172792926430702,
0.03715548291802406,
-0.020523054525256157,
0.06588127464056015,
-0.014957297593355179,
-0.021214721724390984,
-0.057494811713695526,
0.003055762965232134,
-0.059267207980155945,
0.023062769323587418,
0.054857831448316574,
-0.006732945330440998,
-0.020858081057667732,
-0.012006905861198902,
-0.026413030922412872,
0.03069271892309189,
0.002480274299159646,
-0.033200010657310486,
0.034496888518333435,
0.04167293384671211,
0.023127613589167595,
0.03529662638902664,
0.018523704260587692,
0.02013399265706539,
0.012493234127759933,
-0.116286501288414,
-0.04720626771450043,
-0.0031692394986748695,
0.021301180124282837,
0.02403542585670948,
0.020533861592411995,
-0.021214721724390984,
-0.00529557466506958,
0.033978138118982315,
0.025461988523602486,
-0.02466224879026413,
-0.0006943687330931425,
-0.004139194265007973,
0.004063543397933245,
0.031686991453170776,
0.10037816315889359,
0.04050574451684952,
-0.025526832789182663,
0.008294599130749702,
-0.014114327728748322,
0.038387514650821686,
-0.02714792639017105,
-0.021149877458810806,
-0.03773907572031021,
0.06021825224161148,
0.02133360132575035,
0.07016096264123917,
-0.046644289046525955,
-0.030087511986494064,
-0.03674480691552162,
-0.0032583996653556824,
-0.047638557851314545,
-0.0028639333322644234,
0.04448283091187477,
-0.024273186922073364,
0.02507292665541172,
0.05226408317685127,
-0.00934290699660778,
-0.023970581591129303,
0.048676058650016785,
0.011596227996051311,
-0.02818542718887329,
0.0698583573102951,
-0.035793762654066086,
0.012579692527651787,
0.01609206385910511,
-0.01707552745938301,
-0.004082455765455961,
-0.010234508663415909,
-0.018620969727635384,
0.017561854794621468,
-0.059785958379507065,
-0.04370470345020294,
-0.016675656661391258,
0.06890732049942017,
0.00038568535819649696,
0.04755210131406784,
0.0199934970587492,
0.006419533863663673,
0.04980001971125603,
0.0008686364162713289,
-0.005544142797589302,
-0.021917195990681648,
0.009634704329073429,
0.005417156964540482,
-0.019593626260757446,
0.03940340131521225,
0.022544018924236298,
0.026283342391252518,
0.02755860425531864,
0.02056628279387951,
-0.005776499398052692,
-0.022673705592751503,
0.0014643885660916567,
0.01858854852616787,
-0.012558077462017536,
-0.022241415455937386,
0.024986468255519867,
0.06281200051307678,
0.008078453131020069,
-0.0026167165488004684,
0.0207067783921957,
-0.006738348864018917,
0.017626699060201645,
-0.019658470526337624,
-0.00568463746458292,
0.08442659676074982,
-0.01857774145901203,
-0.015875916928052902,
0.015865109860897064,
-0.02740730158984661,
0.052307311445474625,
-0.06090991944074631,
0.03840912878513336,
-0.017216021195054054,
0.024273186922073364,
0.02314922772347927,
0.027428915724158287,
0.05961304157972336,
-0.022652091458439827,
0.035015638917684555,
-0.05278283357620239,
0.029201313853263855,
-0.012298702262341976,
0.026283342391252518,
-0.012287895195186138,
0.025786207988858223,
-0.0734463781118393,
0.015497662127017975,
-0.014092713594436646,
0.003585320431739092,
-0.05762450024485588,
-0.044007308781147,
-0.008478323929011822,
-0.013217322528362274,
0.03194636479020119,
0.0122770881280303,
-0.03531824052333832,
-0.006225002463907003,
0.005214520264416933,
-0.019118105992674828,
-0.01790768839418888,
-0.03795522078871727,
0.011563806794583797,
0.006786981597542763,
-0.0012651290744543076,
-0.005598179064691067,
-0.06510315090417862,
-0.0685182511806488,
0.047163039445877075,
0.01951797679066658,
-0.027536990121006966,
0.051269810646772385,
-0.033048711717128754,
0.02803412452340126,
-0.06756721436977386,
0.00947799813002348,
-0.06566512584686279,
0.027709906920790672,
-0.03432397171854973,
0.04054897278547287,
0.029201313853263855,
-0.0040338230319321156,
0.044353142380714417,
-0.018653392791748047,
-0.01749701239168644,
-0.010277737863361835,
-0.013098441995680332,
0.026802092790603638,
-0.00846211239695549,
0.024316415190696716,
-0.024900009855628014,
-0.007192255463451147,
-0.04543387144804001,
-0.05399325117468834,
0.018339980393648148,
0.04577970504760742,
0.019085684791207314,
-0.01490326039493084,
0.014525005593895912,
0.027645062655210495,
0.03650704398751259,
0.06925315409898758,
0.07980107516050339,
-0.06912346184253693,
-0.031751833856105804,
0.027191156521439552,
0.0036015312653034925,
0.005230731330811977,
-0.024013811722397804,
-0.0697719007730484,
0.0035826184321194887,
-0.010958597995340824,
-0.05494429171085358,
0.05987241864204407,
0.007284117396920919,
0.06099637597799301,
-0.03795522078871727,
-0.011304431594908237,
-0.03051980398595333,
-0.006095314864069223,
0.02273854985833168,
0.032421886920928955,
0.03276772052049637,
0.05831616744399071,
-0.015227479860186577,
0.006424937397241592,
0.01786446012556553,
0.04376954585313797,
-0.037090640515089035,
-0.06683231890201569,
-0.0023803068324923515,
-0.007089585997164249,
0.01765912026166916,
0.004630926065146923,
0.020371751859784126,
0.0043040052987635136,
-0.03687449172139168,
-0.01303359866142273,
-0.05062137171626091,
0.028877094388008118,
0.031795062124729156,
0.06514637917280197,
0.0554630421102047,
-0.023689592257142067,
0.027126312255859375
] |
711,176
|
yt_dlp.YoutubeDL
|
process_ie_result
|
Take the result of the ie(may be modified) and resolve all unresolved
references (URLs, playlist items).
It will also download the videos if 'download'.
Returns the resolved ie_result.
|
def process_ie_result(self, ie_result, download=True, extra_info=None):
"""
Take the result of the ie(may be modified) and resolve all unresolved
references (URLs, playlist items).
It will also download the videos if 'download'.
Returns the resolved ie_result.
"""
if extra_info is None:
extra_info = {}
result_type = ie_result.get('_type', 'video')
if result_type in ('url', 'url_transparent'):
ie_result['url'] = sanitize_url(
ie_result['url'], scheme='http' if self.params.get('prefer_insecure') else 'https')
if ie_result.get('original_url') and not extra_info.get('original_url'):
extra_info = {'original_url': ie_result['original_url'], **extra_info}
extract_flat = self.params.get('extract_flat', False)
if ((extract_flat == 'in_playlist' and 'playlist' in extra_info)
or extract_flat is True):
info_copy = ie_result.copy()
ie = try_get(ie_result.get('ie_key'), self.get_info_extractor)
if ie and not ie_result.get('id'):
info_copy['id'] = ie.get_temp_id(ie_result['url'])
self.add_default_extra_info(info_copy, ie, ie_result['url'])
self.add_extra_info(info_copy, extra_info)
info_copy, _ = self.pre_process(info_copy)
self._fill_common_fields(info_copy, False)
self.__forced_printings(info_copy)
self._raise_pending_errors(info_copy)
if self.params.get('force_write_download_archive', False):
self.record_download_archive(info_copy)
return ie_result
if result_type == 'video':
self.add_extra_info(ie_result, extra_info)
ie_result = self.process_video_result(ie_result, download=download)
self._raise_pending_errors(ie_result)
additional_urls = (ie_result or {}).get('additional_urls')
if additional_urls:
# TODO: Improve MetadataParserPP to allow setting a list
if isinstance(additional_urls, str):
additional_urls = [additional_urls]
self.to_screen(
'[info] %s: %d additional URL(s) requested' % (ie_result['id'], len(additional_urls)))
self.write_debug('Additional URLs: "%s"' % '", "'.join(additional_urls))
ie_result['additional_entries'] = [
self.extract_info(
url, download, extra_info=extra_info,
force_generic_extractor=self.params.get('force_generic_extractor'))
for url in additional_urls
]
return ie_result
elif result_type == 'url':
# We have to add extra_info to the results because it may be
# contained in a playlist
return self.extract_info(
ie_result['url'], download,
ie_key=ie_result.get('ie_key'),
extra_info=extra_info)
elif result_type == 'url_transparent':
# Use the information from the embedding page
info = self.extract_info(
ie_result['url'], ie_key=ie_result.get('ie_key'),
extra_info=extra_info, download=False, process=False)
# extract_info may return None when ignoreerrors is enabled and
# extraction failed with an error, don't crash and return early
# in this case
if not info:
return info
exempted_fields = {'_type', 'url', 'ie_key'}
if not ie_result.get('section_end') and ie_result.get('section_start') is None:
# For video clips, the id etc of the clip extractor should be used
exempted_fields |= {'id', 'extractor', 'extractor_key'}
new_result = info.copy()
new_result.update(filter_dict(ie_result, lambda k, v: v is not None and k not in exempted_fields))
# Extracted info may not be a video result (i.e.
# info.get('_type', 'video') != video) but rather an url or
# url_transparent. In such cases outer metadata (from ie_result)
# should be propagated to inner one (info). For this to happen
# _type of info should be overridden with url_transparent. This
# fixes issue from https://github.com/ytdl-org/youtube-dl/pull/11163.
if new_result.get('_type') == 'url':
new_result['_type'] = 'url_transparent'
return self.process_ie_result(
new_result, download=download, extra_info=extra_info)
elif result_type in ('playlist', 'multi_video'):
# Protect from infinite recursion due to recursively nested playlists
# (see https://github.com/ytdl-org/youtube-dl/issues/27833)
webpage_url = ie_result.get('webpage_url') # Playlists maynot have webpage_url
if webpage_url and webpage_url in self._playlist_urls:
self.to_screen(
'[download] Skipping already downloaded playlist: %s'
% ie_result.get('title') or ie_result.get('id'))
return
self._playlist_level += 1
self._playlist_urls.add(webpage_url)
self._fill_common_fields(ie_result, False)
self._sanitize_thumbnails(ie_result)
try:
return self.__process_playlist(ie_result, download)
finally:
self._playlist_level -= 1
if not self._playlist_level:
self._playlist_urls.clear()
elif result_type == 'compat_list':
self.report_warning(
'Extractor %s returned a compat_list result. '
'It needs to be updated.' % ie_result.get('extractor'))
def _fixup(r):
self.add_extra_info(r, {
'extractor': ie_result['extractor'],
'webpage_url': ie_result['webpage_url'],
'webpage_url_basename': url_basename(ie_result['webpage_url']),
'webpage_url_domain': get_domain(ie_result['webpage_url']),
'extractor_key': ie_result['extractor_key'],
})
return r
ie_result['entries'] = [
self.process_ie_result(_fixup(r), download, extra_info)
for r in ie_result['entries']
]
return ie_result
else:
raise Exception('Invalid result type: %s' % result_type)
|
(self, ie_result, download=True, extra_info=None)
|
[
0.013742304407060146,
0.01657695323228836,
-0.1555226594209671,
0.024056214839220047,
0.012909146957099438,
0.0017094085924327374,
0.010074498131871223,
-0.007144083268940449,
-0.02141309529542923,
0.054969217628240585,
0.04006815329194069,
-0.005238355603069067,
0.016375847160816193,
0.02871040441095829,
0.03731011599302292,
0.038708288222551346,
-0.013522044755518436,
0.06014053896069527,
0.018070891499519348,
-0.009054598398506641,
-0.05286238342523575,
-0.04451166093349457,
0.014814875088632107,
0.0222175233066082,
0.009950002655386925,
0.014862757176160812,
0.02861463837325573,
-0.02985958568751812,
-0.02790597639977932,
0.036314159631729126,
-0.011041725985705853,
-0.011817424558103085,
-0.02658441662788391,
0.03056824766099453,
-0.023500777781009674,
0.04880193993449211,
-0.050257571041584015,
0.02639288641512394,
-0.08511610329151154,
0.03748249635100365,
-0.0681082010269165,
-0.01608855091035366,
0.011817424558103085,
-0.02114495448768139,
0.008527889847755432,
-0.008331571705639362,
-0.07086624205112457,
-0.004419563338160515,
0.003818636992946267,
-0.06515863537788391,
0.014834027737379074,
0.02034052647650242,
0.022160064429044724,
0.02675679326057434,
0.014163671061396599,
0.038267768919467926,
-0.039685092866420746,
0.09745065867900848,
0.005587898660451174,
0.007828803732991219,
-0.0007391875260509551,
-0.022983646020293236,
-0.009882967919111252,
0.07975324988365173,
-0.010515017434954643,
0.024228593334555626,
0.02273465506732464,
-0.029553137719631195,
-0.08174516260623932,
0.03300068527460098,
0.029016852378845215,
-0.004931907169520855,
-0.011759964749217033,
-0.020570361986756325,
0.022715503349900246,
0.010495864786207676,
0.0033781169913709164,
-0.0725134015083313,
0.05902966111898422,
0.020742740482091904,
0.032924070954322815,
0.019564827904105186,
0.020742740482091904,
-0.05795709043741226,
0.010428829118609428,
0.004594334866851568,
0.030702318996191025,
-0.03999154269695282,
-0.0065455506555736065,
0.03455207869410515,
-0.03200472518801689,
-0.01418282464146614,
-0.018109196797013283,
-0.00568366376683116,
-0.05427970737218857,
0.020857658237218857,
-0.022370748221874237,
-0.07419886440038681,
-0.007282942533493042,
-0.05680790916085243,
-0.015877868980169296,
-0.0024228591937571764,
-0.07213033735752106,
-0.05998731404542923,
0.041447173804044724,
-0.06232398375868797,
-0.033287979662418365,
-0.02551184594631195,
-0.006205584388226271,
-0.0029016851913183928,
-0.006172066554427147,
-0.004941483959555626,
-0.058608293533325195,
0.004395622294396162,
0.024381816387176514,
-0.02302195131778717,
-0.037903860211372375,
-0.038708288222551346,
0.01733349822461605,
0.020819351077079773,
0.015791678801178932,
0.028289036825299263,
-0.04477980360388756,
0.009969156235456467,
0.013895529322326183,
-0.0444350466132164,
-0.00470685912296176,
0.018473105505108833,
0.05385834351181984,
-0.019938312470912933,
-0.010936384089291096,
-0.002595236524939537,
-0.05094708129763603,
0.03139182925224304,
0.02993619814515114,
-0.0029663266614079475,
-0.06546508520841599,
-0.021911075338721275,
-0.05232609808444977,
-0.023136869072914124,
-0.06481388211250305,
-0.004872053861618042,
0.04512455686926842,
0.02407536841928959,
-0.04815073683857918,
-0.07255170494318008,
0.02300279773771763,
-0.060217149555683136,
-0.012851688079535961,
-0.0288061685860157,
0.061289720237255096,
-0.02407536841928959,
-0.04550761729478836,
-0.02738884463906288,
-0.0013490921119228005,
-0.022945338860154152,
0.019976617768406868,
0.007062682881951332,
0.0002383655373705551,
-0.016634413972496986,
0.02863379195332527,
-0.0837370827794075,
0.012765499763190746,
0.021738698706030846,
0.01630881242454052,
-0.01613643392920494,
0.0537051185965538,
0.0015118928859010339,
0.014776568859815598,
0.06964044272899628,
0.05753572657704353,
0.08802735805511475,
-0.04734630882740021,
-0.010706547647714615,
-0.023864684626460075,
0.053896646946668625,
0.02631627395749092,
-0.06335824728012085,
0.03673552721738815,
0.00470685912296176,
-0.008096946403384209,
0.00007597621151944622,
-0.04772936925292015,
0.02505217306315899,
0.03767402470111847,
0.03501175343990326,
0.01369442231953144,
0.025205397978425026,
0.008508737199008465,
0.021700391545891762,
-0.029304146766662598,
-0.04765275865793228,
0.0039527080953121185,
-0.02683340571820736,
-0.03424563258886337,
-0.01601194031536579,
-0.0006506047211587429,
0.03876574710011482,
0.02612474374473095,
0.014948945492506027,
-0.04156209155917168,
-0.030242646113038063,
0.023136869072914124,
0.014096635393798351,
-0.034341394901275635,
0.020417138934135437,
-0.024400969967246056,
-0.030549095943570137,
0.008441701531410217,
0.03788470849394798,
0.00886306818574667,
0.06535016745328903,
0.02729307860136032,
-0.039761707186698914,
0.006890305317938328,
0.00020155579841230065,
-0.03824861720204353,
0.03700366988778114,
0.026526957750320435,
0.009145575575530529,
-0.05768894776701927,
-0.05110030621290207,
-0.014556308276951313,
0.0050611901096999645,
-0.0010252860374748707,
-0.028595484793186188,
0.057190969586372375,
-0.007891051471233368,
0.005051613785326481,
0.015035134740173817,
0.009112057276070118,
-0.017735712230205536,
0.013091101311147213,
0.014537155628204346,
0.04152378439903259,
0.02985958568751812,
-0.019306261092424393,
0.04807412624359131,
-0.02424774505198002,
-0.000708063889760524,
0.04290280491113663,
0.011309868656098843,
-0.022160064429044724,
0.04726969823241234,
-0.04497133195400238,
-0.02746545523405075,
0.01066824235022068,
0.043592315167188644,
-0.043592315167188644,
-0.02993619814515114,
0.057727254927158356,
-0.014163671061396599,
-0.00682326965034008,
-0.013043218292295933,
0.022255830466747284,
-0.06596305966377258,
-0.033019836992025375,
-0.07634400576353073,
0.040757663547992706,
-0.06412436813116074,
0.015705490484833717,
-0.04156209155917168,
0.006583856884390116,
0.018789129331707954,
-0.026795100420713425,
-0.03263677656650543,
0.012162178754806519,
-0.005185685120522976,
-0.02497556060552597,
0.0358927920460701,
0.06512032449245453,
-0.013330514542758465,
-0.013301785103976727,
0.03740588203072548,
-0.037118587642908096,
0.04060443863272667,
-0.016643989831209183,
-0.006761022377759218,
-0.01980424113571644,
-0.0043908338993787766,
0.01107045542448759,
0.01608855091035366,
-0.04523947462439537,
-0.024228593334555626,
0.06508202105760574,
-0.02985958568751812,
0.010064921341836452,
0.03893812745809555,
-0.01804216206073761,
0.014872333966195583,
-0.026622721925377846,
0.003562465077266097,
0.005228779278695583,
-0.04454996436834335,
-0.014652073383331299,
0.059336110949516296,
-0.02505217306315899,
0.0006500062299892306,
0.024764878675341606,
0.04523947462439537,
-0.0581103153526783,
-0.0001238214026670903,
0.037808097898960114,
0.007244636304676533,
-0.06144294515252113,
0.058072011917829514,
0.024554194882512093,
-0.026967477053403854,
0.014259436167776585,
-0.006957340985536575,
0.05925950035452843,
0.0012257944326847792,
-0.03991493210196495,
0.036046016961336136,
-0.0036749891005456448,
-0.0011892839102074504,
0.034628693014383316,
0.0678783655166626,
0.01292830053716898,
0.013024065643548965,
-0.031602513045072556,
0.028691250830888748,
0.04347739741206169,
-0.005104284733533859,
0.1047288104891777,
-0.06286027282476425,
0.026622721925377846,
0.004675735253840685,
0.03945525735616684,
-0.03351781517267227,
-0.027714446187019348,
0.016002362594008446,
-0.05385834351181984,
0.04432012885808945,
-0.02700578235089779,
-0.009815932251513004,
-0.037022821605205536,
-0.030874697491526604,
0.12326894700527191,
0.025454387068748474,
0.025033019483089447,
-0.023883838206529617,
-0.0600639246404171,
0.019861700013279915,
-0.010543746873736382,
-0.03859337046742439,
0.041906844824552536,
0.008159194141626358,
0.008278900757431984,
-0.07741657644510269,
-0.003454729216173291,
-0.08090243488550186,
-0.03449461981654167,
0.05182811990380287,
0.0027101547457277775,
0.01368484552949667,
-0.009408929385244846,
-0.09722081571817398,
0.014087059535086155,
0.007876686751842499,
-0.025167090818285942,
0.012957029975950718,
-0.008944468572735786,
0.03217710182070732,
-0.032655928283929825,
-0.07320290803909302,
0.04700155556201935,
-0.0056214164942502975,
0.0444350466132164,
-0.05083216354250908,
-0.049721285700798035,
0.023041104897856712,
0.043400783091783524,
-0.08848703652620316,
0.02089596353471279,
-0.02187276817858219,
0.0035121883265674114,
0.03642907738685608,
-0.06634612381458282,
-0.02976382151246071,
0.01364653930068016,
0.049185000360012054,
-0.08189839124679565,
-0.026335427537560463,
0.055773645639419556,
-0.014489272609353065,
0.02577998861670494,
0.02765698730945587,
-0.007354766596108675,
0.01742926426231861,
0.0033038989640772343,
0.03953187167644501,
0.025894906371831894,
-0.008307630196213722,
0.04240482673048973,
0.017812324687838554,
-0.03535650670528412,
0.04006815329194069,
-0.041293948888778687,
-0.029744667932391167,
0.020129842683672905,
-0.014527578838169575,
-0.00040969543624669313,
0.05385834351181984,
-0.0013778216671198606,
-0.04374553635716438,
0.07404564321041107,
0.06753361225128174,
-0.01293787732720375,
-0.03422647714614868,
-0.024381816387176514,
-0.0688360184431076,
-0.06745699793100357,
-0.04665679857134819,
-0.07799117267131805,
0.06948722153902054,
-0.04481810703873634,
0.011961071752011776,
-0.012736770324409008,
0.06523524969816208,
0.04631204530596733,
0.01319644320756197,
0.014010447077453136,
0.010122380219399929,
-0.04677171632647514,
-0.02292618528008461,
0.0191626138985157,
0.02683340571820736,
-0.047767676413059235,
-0.03478191792964935,
0.041638702154159546,
-0.030280953273177147,
0.017908090725541115,
-0.06125141307711601,
0.019880853593349457,
0.0006464150501415133,
-0.02639288641512394,
0.017563335597515106,
-0.010955537669360638,
0.005688452161848545,
0.010754430666565895,
0.010936384089291096,
0.0018829830223694444,
0.01293787732720375,
0.08542254567146301,
0.011290716007351875,
-0.03144928812980652,
0.025971518829464912,
-0.06454573571681976,
-0.0018518593860790133,
-0.04041291028261185,
0.05937441810965538,
0.041906844824552536,
-0.025626763701438904,
-0.02922753617167473,
0.0004581765679176897,
0.007498414255678654,
0.037367574870586395,
-0.03447546809911728,
-0.0012569180689752102,
0.023156022652983665,
-0.04600559547543526,
0.009739319793879986,
0.0008337556500919163,
0.003490641014650464,
0.05094708129763603,
-0.019133884459733963,
-0.036122627556324005,
-0.08243467658758163,
0.007608544081449509,
-0.019028542563319206,
-0.00006617524195462465,
0.04769106209278107,
-0.007000435143709183,
0.028020894154906273,
0.030549095943570137,
-0.02106834203004837,
-0.03300068527460098,
0.07523313164710999,
-0.01657695323228836,
0.004709253087639809,
-0.04815073683857918,
0.035682108253240585,
-0.02765698730945587,
0.0028154966421425343,
-0.034341394901275635,
0.020761892199516296,
-0.03642907738685608,
0.017754865810275078,
0.03713773936033249,
-0.026699334383010864,
0.01519793551415205,
-0.010534171015024185,
0.010639512911438942,
0.016069399192929268,
-0.004840930458158255,
0.01760164089500904,
0.030108574777841568,
0.037903860211372375,
-0.02781021036207676,
0.061098191887140274,
-0.08626528084278107,
0.01650034263730049,
-0.04577575996518135,
0.04156209155917168,
0.017563335597515106,
-0.005846464540809393,
0.03359442949295044,
-0.02265804447233677,
0.056386541575193405,
-0.048035819083452225,
0.040834277868270874,
0.06649934500455856,
-0.021374789997935295,
0.0008600911241956055,
-0.005204837769269943,
-0.018817858770489693,
0.04294111207127571,
0.032043032348155975,
0.007124930154532194,
0.041983459144830704,
0.014383931644260883,
0.05742080882191658,
-0.015121323056519032,
-0.023213481530547142,
0.04282619059085846,
-0.0671505481004715,
0.006818481255322695,
-0.02834649570286274,
-0.03801878169178963,
-0.04148548096418381,
-0.04673341289162636,
0.0066077979281544685,
-0.03401579335331917,
0.04726969823241234,
0.024573346599936485,
0.012382439337670803,
-0.016787637025117874,
-0.03219625726342201,
0.024458428844809532,
0.047231391072273254,
0.014728685840964317,
-0.021528014913201332,
-0.05673129856586456,
0.010783160105347633,
-0.0056309932842850685,
-0.016490764915943146,
0.07021503895521164,
0.012468627654016018,
-0.022274982184171677,
-0.02756122127175331,
0.017764441668987274,
0.04504794627428055,
0.0057411231100559235,
-0.007507990580052137,
0.01440308429300785,
0.027676139026880264,
-0.04183023422956467,
0.030012810602784157,
0.02214091084897518,
0.02934245392680168,
0.00033218550379388034,
-0.05776556208729744,
-0.05788047984242439,
0.02009153738617897,
-0.0026766369119286537,
0.030261799693107605,
0.0014005658449605107,
-0.04374553635716438,
-0.02043629065155983,
0.03280915319919586,
0.009394564665853977,
-0.01467122696340084,
-0.037999626249074936,
-0.00015060571604408324,
-0.06404776126146317,
0.012564392760396004,
-0.037635717540979385,
0.10074497759342194,
-0.0444350466132164,
-0.007570238318294287,
-0.028940239921212196,
0.10296673327684402,
-0.03380511328577995,
0.013024065643548965,
-0.07546296715736389,
0.0424814373254776,
0.024056214839220047,
0.07316460460424423,
0.014996828511357307,
-0.020206455141305923,
0.012114296667277813,
0.01087892521172762,
0.0005111466743983328,
0.026239661499857903,
0.0006895093829371035,
-0.008365089073777199,
-0.018224114552140236,
-0.022064300253987312,
-0.015973633155226707,
-0.004089173395186663,
0.000872660253662616,
0.010649088770151138,
-0.03953187167644501,
-0.008403395302593708,
-0.014996828511357307,
-0.031161991879343987,
0.008877432905137539,
-0.02390299178659916,
-0.006387538276612759,
0.049185000360012054,
-0.016337541863322258,
0.013292208313941956,
-0.05316883325576782,
-0.02187276817858219,
-0.00673229293897748,
-0.05037248879671097,
0.07829761505126953,
-0.014249860309064388,
-0.01674933172762394,
0.01894235424697399,
0.02836564928293228,
0.001273676985874772,
0.02487979643046856,
-0.07722504436969757,
0.007795286364853382,
0.026354579254984856,
-0.011166220530867577,
0.011290716007351875,
0.01963186450302601,
0.011242832988500595,
0.02675679326057434,
0.06707394123077393,
0.02363484911620617,
-0.0238072257488966,
-0.03091300278902054,
0.06033206731081009,
-0.001416127779521048,
0.006454573478549719,
0.01008407399058342,
0.037635717540979385,
0.03003196232020855,
-0.006866363808512688,
0.018003854900598526,
-0.02959144301712513,
0.045545924454927444,
0.025990672409534454,
-0.015849139541387558,
0.04382215067744255,
0.04558422788977623,
0.0009414915111847222,
0.044741496443748474,
0.02710154838860035,
0.025262856855988503,
-0.016931286081671715,
0.050870466977357864,
-0.0012928301002830267,
0.01963186450302601,
-0.03202388063073158,
0.02160462737083435,
0.022428207099437714,
-0.015360736288130283,
-0.001154569094069302,
-0.05837845802307129,
0.03886151313781738,
0.048303961753845215,
0.0294190663844347,
0.016883403062820435,
-0.000682326965034008,
-0.03495429456233978,
-0.0008481204276904464,
-0.011166220530867577,
0.04592898488044739,
0.01440308429300785,
-0.017860207706689835,
-0.02915092371404171,
-0.06121310964226723,
0.013081524521112442,
0.02436266466975212,
0.006947764661163092,
-0.011252409778535366,
-0.013091101311147213,
-0.015140476636588573,
0.0456608422100544,
-0.0549309104681015,
-0.001242553349584341,
0.009777626022696495,
-0.0268525592982769,
-0.027484608814120293,
-0.09063217788934708,
-0.021815309301018715,
0.04815073683857918,
-0.04255805164575577,
-0.03889982029795647,
-0.009921273216605186,
-0.046886637806892395,
0.011443939991295338,
-0.03999154269695282,
0.05845507234334946,
-0.02888278104364872,
0.009514271281659603,
-0.02390299178659916,
0.007670791819691658,
-0.012641005218029022,
0.010476711206138134,
0.06178769841790199,
-0.04769106209278107,
-0.04324755817651749,
-0.05918288603425026,
-0.043937068432569504,
-0.0018482680898159742,
0.013330514542758465,
-0.014862757176160812,
-0.023060256615281105,
-0.0303958710283041,
0.0034523350186645985,
0.031966421753168106,
-0.0037204776890575886,
0.030951308086514473,
0.0456608422100544,
0.03451377525925636,
-0.016902556642889977,
0.01523624174296856,
0.07906374335289001,
-0.0284422617405653,
0.016270505264401436,
-0.04684833064675331,
-0.006358808372169733,
0.06331994384527206,
0.015590572729706764,
-0.03361358121037483,
0.04018307477235794,
-0.030185187235474586,
0.05803370475769043,
-0.003806666238233447,
-0.04949145019054413,
0.012631428427994251,
0.007551085203886032,
0.0016722995787858963,
-0.02397960238158703,
-0.003473882330581546,
-0.0039359494112432,
-0.037827249616384506,
0.01892320066690445,
-0.055505502969026566,
0.0231943279504776,
0.0661545917391777,
-0.005779429338872433,
0.004793047904968262,
-0.009715378284454346,
0.0314875952899456,
-0.04451166093349457,
-0.05171320214867592,
0.049912817776203156,
0.007527143694460392,
0.014527578838169575,
0.060753434896469116,
0.05263254791498184,
0.007938934490084648,
0.011501398868858814,
-0.04573745280504227,
-0.006641315761953592,
0.012056836858391762,
0.05163658782839775,
-0.027522915974259377,
0.029208382591605186,
-0.005568745546042919,
0.016883403062820435
] |
711,177
|
yt_dlp.YoutubeDL
|
process_info
|
Process a single resolved IE result. (Modifies it in-place)
|
def process_info(self, info_dict):
"""Process a single resolved IE result. (Modifies it in-place)"""
assert info_dict.get('_type', 'video') == 'video'
original_infodict = info_dict
if 'format' not in info_dict and 'ext' in info_dict:
info_dict['format'] = info_dict['ext']
if self._match_entry(info_dict) is not None:
info_dict['__write_download_archive'] = 'ignore'
return
# Does nothing under normal operation - for backward compatibility of process_info
self.post_extract(info_dict)
def replace_info_dict(new_info):
nonlocal info_dict
if new_info == info_dict:
return
info_dict.clear()
info_dict.update(new_info)
new_info, _ = self.pre_process(info_dict, 'video')
replace_info_dict(new_info)
self._num_downloads += 1
# info_dict['_filename'] needs to be set for backward compatibility
info_dict['_filename'] = full_filename = self.prepare_filename(info_dict, warn=True)
temp_filename = self.prepare_filename(info_dict, 'temp')
files_to_move = {}
# Forced printings
self.__forced_printings(info_dict, full_filename, incomplete=('format' not in info_dict))
def check_max_downloads():
if self._num_downloads >= float(self.params.get('max_downloads') or 'inf'):
raise MaxDownloadsReached()
if self.params.get('simulate'):
info_dict['__write_download_archive'] = self.params.get('force_write_download_archive')
check_max_downloads()
return
if full_filename is None:
return
if not self._ensure_dir_exists(encodeFilename(full_filename)):
return
if not self._ensure_dir_exists(encodeFilename(temp_filename)):
return
if self._write_description('video', info_dict,
self.prepare_filename(info_dict, 'description')) is None:
return
sub_files = self._write_subtitles(info_dict, temp_filename)
if sub_files is None:
return
files_to_move.update(dict(sub_files))
thumb_files = self._write_thumbnails(
'video', info_dict, temp_filename, self.prepare_filename(info_dict, 'thumbnail'))
if thumb_files is None:
return
files_to_move.update(dict(thumb_files))
infofn = self.prepare_filename(info_dict, 'infojson')
_infojson_written = self._write_info_json('video', info_dict, infofn)
if _infojson_written:
info_dict['infojson_filename'] = infofn
# For backward compatibility, even though it was a private field
info_dict['__infojson_filename'] = infofn
elif _infojson_written is None:
return
# Note: Annotations are deprecated
annofn = None
if self.params.get('writeannotations', False):
annofn = self.prepare_filename(info_dict, 'annotation')
if annofn:
if not self._ensure_dir_exists(encodeFilename(annofn)):
return
if not self.params.get('overwrites', True) and os.path.exists(encodeFilename(annofn)):
self.to_screen('[info] Video annotations are already present')
elif not info_dict.get('annotations'):
self.report_warning('There are no annotations to write.')
else:
try:
self.to_screen('[info] Writing video annotations to: ' + annofn)
with open(encodeFilename(annofn), 'w', encoding='utf-8') as annofile:
annofile.write(info_dict['annotations'])
except (KeyError, TypeError):
self.report_warning('There are no annotations to write.')
except OSError:
self.report_error('Cannot write annotations file: ' + annofn)
return
# Write internet shortcut files
def _write_link_file(link_type):
url = try_get(info_dict['webpage_url'], iri_to_uri)
if not url:
self.report_warning(
f'Cannot write internet shortcut file because the actual URL of "{info_dict["webpage_url"]}" is unknown')
return True
linkfn = replace_extension(self.prepare_filename(info_dict, 'link'), link_type, info_dict.get('ext'))
if not self._ensure_dir_exists(encodeFilename(linkfn)):
return False
if self.params.get('overwrites', True) and os.path.exists(encodeFilename(linkfn)):
self.to_screen(f'[info] Internet shortcut (.{link_type}) is already present')
return True
try:
self.to_screen(f'[info] Writing internet shortcut (.{link_type}) to: {linkfn}')
with open(encodeFilename(to_high_limit_path(linkfn)), 'w', encoding='utf-8',
newline='\r\n' if link_type == 'url' else '\n') as linkfile:
template_vars = {'url': url}
if link_type == 'desktop':
template_vars['filename'] = linkfn[:-(len(link_type) + 1)]
linkfile.write(LINK_TEMPLATES[link_type] % template_vars)
except OSError:
self.report_error(f'Cannot write internet shortcut {linkfn}')
return False
return True
write_links = {
'url': self.params.get('writeurllink'),
'webloc': self.params.get('writewebloclink'),
'desktop': self.params.get('writedesktoplink'),
}
if self.params.get('writelink'):
link_type = ('webloc' if sys.platform == 'darwin'
else 'desktop' if sys.platform.startswith('linux')
else 'url')
write_links[link_type] = True
if any(should_write and not _write_link_file(link_type)
for link_type, should_write in write_links.items()):
return
new_info, files_to_move = self.pre_process(info_dict, 'before_dl', files_to_move)
replace_info_dict(new_info)
if self.params.get('skip_download'):
info_dict['filepath'] = temp_filename
info_dict['__finaldir'] = os.path.dirname(os.path.abspath(encodeFilename(full_filename)))
info_dict['__files_to_move'] = files_to_move
replace_info_dict(self.run_pp(MoveFilesAfterDownloadPP(self, False), info_dict))
info_dict['__write_download_archive'] = self.params.get('force_write_download_archive')
else:
# Download
info_dict.setdefault('__postprocessors', [])
try:
def existing_video_file(*filepaths):
ext = info_dict.get('ext')
converted = lambda file: replace_extension(file, self.params.get('final_ext') or ext, ext)
file = self.existing_file(itertools.chain(*zip(map(converted, filepaths), filepaths)),
default_overwrite=False)
if file:
info_dict['ext'] = os.path.splitext(file)[1][1:]
return file
fd, success = None, True
if info_dict.get('protocol') or info_dict.get('url'):
fd = get_suitable_downloader(info_dict, self.params, to_stdout=temp_filename == '-')
if fd != FFmpegFD and 'no-direct-merge' not in self.params['compat_opts'] and (
info_dict.get('section_start') or info_dict.get('section_end')):
msg = ('This format cannot be partially downloaded' if FFmpegFD.available()
else 'You have requested downloading the video partially, but ffmpeg is not installed')
self.report_error(f'{msg}. Aborting')
return
if info_dict.get('requested_formats') is not None:
old_ext = info_dict['ext']
if self.params.get('merge_output_format') is None:
if (info_dict['ext'] == 'webm'
and info_dict.get('thumbnails')
# check with type instead of pp_key, __name__, or isinstance
# since we dont want any custom PPs to trigger this
and any(type(pp) == EmbedThumbnailPP for pp in self._pps['post_process'])): # noqa: E721
info_dict['ext'] = 'mkv'
self.report_warning(
'webm doesn\'t support embedding
|
(self, info_dict)
|
[
0.03383179381489754,
0.011049811728298664,
-0.14395572245121002,
0.008584515191614628,
-0.0011301569174975157,
-0.041667915880680084,
-0.01767529733479023,
0.05612952262163162,
-0.044991664588451385,
0.0173451229929924,
0.013427062891423702,
0.023816527798771858,
0.03103632479906082,
0.03455817699432373,
0.018159551545977592,
0.04153584688901901,
0.011479037813842297,
0.05278376489877701,
-0.016673769801855087,
0.008766110986471176,
-0.039642851799726486,
-0.027514472603797913,
-0.01028490997850895,
-0.008485463447868824,
0.013085883110761642,
0.04032520949840546,
0.016343597322702408,
0.004966362379491329,
-0.016508683562278748,
0.020613843575119972,
-0.009938227012753487,
-0.04118366166949272,
0.02986971102654934,
0.007704052142798901,
-0.021043067798018456,
0.03079419769346714,
-0.022870030254125595,
0.001209261012263596,
-0.11419606953859329,
-0.0010565557749941945,
-0.043362807482481,
-0.04241631180047989,
-0.022110629826784134,
-0.025951649993658066,
0.01617850922048092,
0.022264711558818817,
-0.07646822184324265,
0.005910108797252178,
0.005888096988201141,
-0.03341357409954071,
-0.017994465306401253,
0.009811661206185818,
0.027536483481526375,
0.030618105083703995,
-0.006234779488295317,
0.0673554316163063,
-0.020217634737491608,
0.08333583176136017,
0.0066529992036521435,
-0.025863604620099068,
0.002472175285220146,
-0.03011183813214302,
0.015639226883649826,
0.04197607934474945,
0.022495832294225693,
0.0005540726706385612,
0.00636134622618556,
-0.04974616691470146,
-0.06308518350124359,
0.051595140248537064,
0.00955852773040533,
-0.026171766221523285,
0.012755709700286388,
-0.0005000755190849304,
0.025797570124268532,
0.009090782143175602,
-0.010626088827848434,
-0.054676759988069534,
0.052519623190164566,
0.017444174736738205,
0.05322399362921715,
-0.03979693353176117,
0.02496112883090973,
-0.045916151255369186,
0.03193879872560501,
0.03310541436076164,
0.08095858246088028,
-0.030420001596212387,
-0.04129372164607048,
0.004314269404858351,
-0.02053680270910263,
0.014615687541663647,
0.005387333687394857,
-0.020063553005456924,
-0.060267701745033264,
-0.023772504180669785,
-0.004605922847986221,
-0.07448717951774597,
-0.011176378466188908,
-0.04274648427963257,
-0.0356147326529026,
-0.028460970148444176,
-0.06145632639527321,
-0.025269292294979095,
0.031190406531095505,
-0.09764336049556732,
-0.030265919864177704,
0.016838857904076576,
-0.06440587341785431,
-0.03447012975811958,
-0.02182447910308838,
-0.047589030116796494,
-0.02108709141612053,
-0.03510846570134163,
0.04089751094579697,
-0.0023043369874358177,
-0.028813155367970467,
-0.026281824335455894,
0.005623958073556423,
0.020272662863135338,
0.00246529676951468,
0.011302945204079151,
-0.0590350516140461,
-0.03400788828730583,
0.005563426297158003,
-0.0763801783323288,
0.0328412726521492,
0.029011258855462074,
0.023222215473651886,
0.023684456944465637,
-0.05124295502901077,
0.002371747512370348,
-0.01751021109521389,
0.05520503595471382,
0.004779263865202665,
-0.048777658492326736,
-0.05489687621593475,
-0.01966734416782856,
-0.045784082263708115,
-0.041579872369766235,
-0.03922463208436966,
-0.011424008756875992,
0.015187988989055157,
-0.012909790500998497,
-0.024256758391857147,
-0.05357617884874344,
0.005926617421209812,
-0.0531359501183033,
-0.00667501101270318,
-0.023508364334702492,
0.06370150297880173,
-0.04983421415090561,
-0.09526611119508743,
0.03180672973394394,
0.033809784799814224,
-0.046488452702760696,
0.010961765423417091,
0.027096252888441086,
-0.03240104392170906,
0.016398625448346138,
0.03367771580815315,
-0.06629887223243713,
-0.0031338983681052923,
0.023178191855549812,
0.01408740971237421,
-0.033567655831575394,
0.04120567440986633,
0.045563966035842896,
0.06356943398714066,
0.0800781175494194,
0.0743551105260849,
0.08214721083641052,
-0.03193879872560501,
-0.035416629165410995,
0.01837966777384281,
0.07136153429746628,
0.03308340162038803,
-0.08183904737234116,
0.06158839538693428,
0.010334435850381851,
-0.016541700810194016,
0.0025615973863750696,
-0.03592289611697197,
0.027074240148067474,
0.017631273716688156,
0.060619886964559555,
-0.0069556585513055325,
0.033479608595371246,
0.007379381451755762,
0.00735186692327261,
-0.019006997346878052,
-0.022143647074699402,
0.00781411025673151,
-0.04067739471793175,
-0.02553343027830124,
-0.008755105547606945,
0.0028422449249774218,
0.012799732387065887,
0.03777186945080757,
0.01430752594023943,
-0.013537120074033737,
0.004949853755533695,
0.02850499376654625,
-0.012359500862658024,
-0.009343914687633514,
0.007214294746518135,
0.017036961391568184,
-0.020503785461187363,
-0.013261975720524788,
0.06779565662145615,
0.022429797798395157,
0.032555121928453445,
0.049658119678497314,
-0.04083147644996643,
0.02127419039607048,
-0.0522114634513855,
-0.049790188670158386,
0.07682040333747864,
-0.027228321880102158,
0.03475628048181534,
-0.05546917766332626,
0.01084070187062025,
-0.06625484675168991,
0.02239678055047989,
0.03215891495347023,
-0.04375901818275452,
0.06066390872001648,
-0.0003348167228978127,
0.011886252090334892,
-0.00452888198196888,
0.014373560436069965,
-0.03204885870218277,
-0.0030238404870033264,
0.04085348919034004,
0.023090144619345665,
-0.015595203265547752,
-0.023464342579245567,
-0.005439611151814461,
-0.03057408146560192,
-0.014373560436069965,
0.013647178187966347,
-0.007610503118485212,
-0.007990202866494656,
0.07796500623226166,
-0.0317406952381134,
-0.03079419769346714,
-0.005205738358199596,
0.030948279425501823,
-0.006509924307465553,
-0.007357370108366013,
0.09394541382789612,
-0.01579330675303936,
-0.05731814727187157,
0.0024763024412095547,
0.0031861758325248957,
-0.024696990847587585,
-0.02942948043346405,
-0.0780530571937561,
0.04124969616532326,
-0.008193809539079666,
-0.01544112153351307,
-0.029693618416786194,
-0.017246071249246597,
0.005596443545073271,
0.015617214143276215,
-0.028438959270715714,
0.00843043439090252,
-0.0015490647638216615,
-0.08047433197498322,
-0.0012993710115551949,
0.09350518137216568,
0.019271137192845345,
-0.049217887222766876,
0.02359641157090664,
-0.024785036221146584,
0.0007937925402075052,
0.014384565874934196,
-0.05533710867166519,
0.03715554252266884,
-0.013823270797729492,
0.04107360541820526,
0.007544468156993389,
-0.016299573704600334,
-0.016893886029720306,
0.05692194029688835,
-0.014978879131376743,
-0.0020415738690644503,
0.028593039140105247,
-0.01215039100497961,
0.0030458520632237196,
-0.018181564286351204,
0.026854125782847404,
0.025467395782470703,
0.0010593071347102523,
-0.012634646147489548,
0.07347464561462402,
-0.057098034769296646,
0.0033650200348347425,
0.021043067798018456,
-0.0038272631354629993,
-0.05907907336950302,
0.02953953668475151,
0.03398587554693222,
0.0054863858968019485,
-0.08703377842903137,
0.06832394003868103,
0.006350340321660042,
-0.03559271991252899,
0.05450066551566124,
-0.003183424472808838,
0.04644443094730377,
-0.043384820222854614,
0.009068770334124565,
0.06920439749956131,
0.010538042522966862,
0.019590305164456367,
0.021538328379392624,
0.07347464561462402,
0.02815280854701996,
0.04279050603508949,
-0.022374769672751427,
0.05806654319167137,
0.019953494891524315,
0.004465599078685045,
0.10213372111320496,
-0.09473782777786255,
0.03262116014957428,
-0.009674088098108768,
0.03259914740920067,
-0.04490361735224724,
-0.029121316969394684,
0.0618085116147995,
-0.0279547031968832,
0.03057408146560192,
-0.02520325593650341,
0.04047929123044014,
-0.05916712060570717,
-0.030926266685128212,
0.12775519490242004,
0.023640435189008713,
-0.014373560436069965,
0.03259914740920067,
-0.05877091363072395,
0.019645333290100098,
0.02201157808303833,
-0.02230873331427574,
0.03024390898644924,
0.010879222303628922,
-0.027404414489865303,
-0.08249939233064651,
0.01686086878180504,
-0.015232011675834656,
-0.027228321880102158,
0.028306888416409492,
-0.007979197427630424,
-0.03658324107527733,
0.034954383969306946,
-0.10468706488609314,
0.004063887521624565,
-0.025357337668538094,
-0.021043067798018456,
0.0859772264957428,
-0.06189655885100365,
0.019293148070573807,
0.009294388815760612,
-0.050230421125888824,
0.031982824206352234,
0.02031668648123741,
0.021857496351003647,
-0.06136827915906906,
-0.011875246651470661,
0.037573762238025665,
0.02280399389564991,
-0.0588589608669281,
-0.0052167437970638275,
0.010224377736449242,
0.007148259785026312,
0.015617214143276215,
-0.04239429906010628,
-0.017554232850670815,
0.005079171620309353,
0.03530656918883324,
-0.04318671673536301,
-0.007379381451755762,
0.04512373358011246,
-0.024785036221146584,
0.02883516624569893,
0.0036869393661618233,
0.01606845110654831,
0.016838857904076576,
-0.0012133882846683264,
0.06858807802200317,
-0.0064548952504992485,
0.003868534928187728,
0.06577059626579285,
-0.0013571513118222356,
-0.02441084012389183,
0.061060115694999695,
-0.015265028923749924,
0.011490043252706528,
0.002393759088590741,
-0.0011212147073820233,
-0.04939398169517517,
0.06519829481840134,
0.019931484013795853,
-0.03719956800341606,
0.09729117155075073,
0.05432457476854324,
0.02700820565223694,
-0.0012374634388834238,
-0.045916151255369186,
-0.05177123099565506,
-0.07704052329063416,
-0.02883516624569893,
-0.027228321880102158,
0.06946854293346405,
-0.02132921852171421,
0.002963308710604906,
-0.016684776172041893,
0.007214294746518135,
0.03535059466958046,
0.025137221440672874,
0.04124969616532326,
0.010956263169646263,
-0.005109437741339207,
-0.050010304898023605,
0.029935745522379875,
0.010262898169457912,
-0.04961409792304039,
-0.03297334536910057,
0.04684063792228699,
0.009431960992515087,
0.022055601701140404,
-0.036913417279720306,
0.04074342921376228,
0.0048535531386733055,
-0.0042564887553453445,
-0.04012710601091385,
-0.004061135929077864,
0.04503569006919861,
0.010339939035475254,
-0.020525796338915825,
-0.0022809498477727175,
0.004795772489160299,
0.01470373384654522,
0.01539709884673357,
-0.0236184224486351,
-0.006333831697702408,
-0.02173643372952938,
0.01677282154560089,
-0.04105159267783165,
0.07184579223394394,
0.020822953432798386,
-0.026369869709014893,
0.007467427756637335,
-0.021043067798018456,
-0.023288249969482422,
0.014164450578391552,
-0.06172046437859535,
-0.052739739418029785,
0.0033925343304872513,
-0.005271772854030132,
0.03603295236825943,
0.0105160316452384,
-0.0036209046375006437,
0.043054647743701935,
0.005767033435404301,
-0.027800623327493668,
-0.0782291442155838,
-0.010306921787559986,
0.015617214143276215,
-0.012513581663370132,
0.029935745522379875,
0.0013977352064102888,
0.04010509327054024,
0.007649023551493883,
-0.025973662734031677,
-0.02621578983962536,
0.020988039672374725,
0.004713228903710842,
0.025753546506166458,
-0.06295311450958252,
0.0006507172947749496,
-0.00493059353902936,
0.0010214748326689005,
-0.019601309671998024,
0.04329677298665047,
-0.017279088497161865,
-0.000881838845089078,
0.015540174208581448,
0.003571378532797098,
0.007340861018747091,
-0.017884407192468643,
-0.0029302912298589945,
-0.003004580270498991,
0.019029008224606514,
-0.03068413957953453,
0.027536483481526375,
0.008479960262775421,
-0.08751803636550903,
0.019876454025506973,
-0.07849328964948654,
-0.04697270691394806,
-0.0734306275844574,
0.012062344700098038,
0.01972237415611744,
-0.039158597588539124,
-0.007280329242348671,
-0.04684063792228699,
0.04939398169517517,
-0.010593071579933167,
0.007781093008816242,
0.025159234181046486,
-0.017257077619433403,
0.030397988855838776,
0.020778929814696312,
-0.026171766221523285,
0.02416871301829815,
0.031652648001909256,
-0.027338379994034767,
-0.001110896817408502,
-0.048865702003240585,
0.06594669073820114,
-0.06053183972835541,
-0.00994373019784689,
0.024674978107213974,
-0.021890513598918915,
0.023288249969482422,
0.007494942285120487,
-0.02201157808303833,
-0.05450066551566124,
-0.012480564415454865,
0.016673769801855087,
-0.07268223166465759,
0.0655064582824707,
-0.005640466697514057,
0.03565875440835953,
-0.01865481212735176,
-0.03499840945005417,
0.009910712949931622,
0.023002099245786667,
-0.014406577683985233,
-0.05859481915831566,
-0.0629090890288353,
0.015540174208581448,
0.0001778122823452577,
0.0007841624901629984,
0.018808893859386444,
0.054808828979730606,
-0.03455817699432373,
-0.026854125782847404,
0.03068413957953453,
0.04970214143395424,
0.03447012975811958,
-0.040765441954135895,
0.047941215336322784,
0.037815891206264496,
-0.07409097254276276,
0.06594669073820114,
0.025005152449011803,
-0.012909790500998497,
0.014901838265359402,
-0.03889445960521698,
-0.07263820618391037,
0.00047565644490532577,
0.012942807748913765,
0.016728799790143967,
0.015617214143276215,
-0.009954736568033695,
-0.0006187317194417119,
0.043406832963228226,
0.05414848029613495,
-0.008694573305547237,
-0.07466327399015427,
-0.0022204178385436535,
-0.06629887223243713,
0.01802748255431652,
0.028350912034511566,
0.04232826456427574,
-0.019953494891524315,
-0.022275716066360474,
-0.0004402315535116941,
0.0983477309346199,
-0.007715058047324419,
0.00747293047606945,
-0.057758379727602005,
0.03682537004351616,
0.01544112153351307,
0.03521852567791939,
0.01748819835484028,
-0.05899102985858917,
0.0317406952381134,
0.011159869842231274,
-0.03878439962863922,
-0.016046440228819847,
0.032775238156318665,
0.05789044871926308,
-0.00346407201141119,
0.011302945204079151,
-0.01213938556611538,
-0.01841268502175808,
-0.030486036092042923,
-0.018753863871097565,
-0.01265665702521801,
-0.0015490647638216615,
0.007296837866306305,
-0.015991412103176117,
-0.01568324863910675,
-0.026611996814608574,
0.007808607071638107,
0.0075554740615189075,
0.02678808942437172,
0.01265665702521801,
-0.027448438107967377,
-0.008606527000665665,
0.028328901156783104,
-0.048073284327983856,
0.046004198491573334,
0.0027665800880640745,
0.004795772489160299,
-0.030067814514040947,
-0.03570277988910675,
-0.024807048961520195,
-0.007142757065594196,
-0.04184401035308838,
0.015265028923749924,
-0.010147337801754475,
0.0005980958230793476,
-0.005893600173294544,
0.01990947313606739,
-0.0018847413593903184,
-0.007676537614315748,
0.0636574849486351,
0.05212341621518135,
-0.008177300915122032,
-0.019678350538015366,
0.022330746054649353,
-0.02245180867612362,
0.013559131883084774,
0.03995101526379585,
0.06889624148607254,
-0.008562503382563591,
0.009332909248769283,
-0.006036675069481134,
-0.01562822051346302,
0.036649275571107864,
0.05802251771092415,
-0.021208155900239944,
0.02474101446568966,
0.01968935690820217,
0.01977740228176117,
0.013019848614931107,
-0.008496468886733055,
0.03297334536910057,
0.047500986605882645,
0.031080348417162895,
0.0026689039077609777,
-0.01339404471218586,
0.0062732999213039875,
0.005904605612158775,
0.021582351997494698,
-0.047280870378017426,
-0.002856002189218998,
-0.09544219821691513,
0.019161079078912735,
0.03493237495422363,
0.01870984211564064,
-0.003890546504408121,
-0.0014156196266412735,
-0.02951752580702305,
0.027426425367593765,
-0.029627583920955658,
0.01775233820080757,
-0.02088898792862892,
0.004028118681162596,
-0.026854125782847404,
-0.011435015127062798,
0.03466823697090149,
0.043847061693668365,
0.000058511246606940404,
-0.02771257609128952,
-0.0015958393923938274,
0.01009230874478817,
0.008914688602089882,
-0.034822314977645874,
0.010780170559883118,
0.024234747514128685,
-0.015011896379292011,
-0.010372956283390522,
-0.022848017513751984,
0.0002125493047060445,
0.04618028923869133,
-0.026611996814608574,
-0.037353646010160446,
-0.042812518775463104,
-0.04312068223953247,
0.035416629165410995,
-0.0034695749636739492,
0.010714135132730007,
-0.0667831301689148,
-0.013834277167916298,
0.010604077950119972,
0.015463133342564106,
-0.012073350138962269,
-0.01595839485526085,
0.019348176196217537,
-0.04890972748398781,
-0.021967554464936256,
0.0013894808944314718,
-0.040413256734609604,
0.01272269245237112,
0.002036070916801691,
0.021538328379392624,
0.0017265331698581576,
-0.05859481915831566,
-0.027316369116306305,
-0.013372033834457397,
-0.014043387025594711,
0.052299510687589645,
0.0038327660877257586,
0.024807048961520195,
-0.027998726814985275,
0.022044595330953598,
0.05872688814997673,
-0.0042729973793029785,
-0.016673769801855087,
-0.0640096664428711,
-0.014439594931900501,
0.06788370758295059,
-0.008980724029242992,
0.005855079740285873,
0.036781348288059235,
-0.04890972748398781,
0.06563852727413177,
-0.015595203265547752,
-0.032665181905031204,
0.029385456815361977,
0.009030249901115894,
0.003956581000238657,
0.016189515590667725,
-0.007660028990358114,
0.010158343240618706,
-0.02872510999441147,
0.0027198055759072304,
-0.004063887521624565,
0.016057446599006653,
0.04039124399423599,
0.012040332891047001,
-0.004649946000427008,
0.0007422029157169163,
0.03497639670968056,
-0.07149360328912735,
-0.06453794986009598,
0.04047929123044014,
0.02005254663527012,
0.04268044978380203,
0.03889445960521698,
0.044089190661907196,
0.012447547167539597,
0.0011679893359541893,
-0.02099904604256153,
-0.01819256879389286,
0.017642280086874962,
0.02736039087176323,
-0.004611425567418337,
0.05124295502901077,
-0.05053858458995819,
0.023332271724939346
] |
711,178
|
yt_dlp.YoutubeDL
|
process_subtitles
|
Select the requested subtitles and their format
|
def process_subtitles(self, video_id, normal_subtitles, automatic_captions):
"""Select the requested subtitles and their format"""
available_subs, normal_sub_langs = {}, []
if normal_subtitles and self.params.get('writesubtitles'):
available_subs.update(normal_subtitles)
normal_sub_langs = tuple(normal_subtitles.keys())
if automatic_captions and self.params.get('writeautomaticsub'):
for lang, cap_info in automatic_captions.items():
if lang not in available_subs:
available_subs[lang] = cap_info
if not available_subs or (
not self.params.get('writesubtitles')
and not self.params.get('writeautomaticsub')):
return None
all_sub_langs = tuple(available_subs.keys())
if self.params.get('allsubtitles', False):
requested_langs = all_sub_langs
elif self.params.get('subtitleslangs', False):
try:
requested_langs = orderedSet_from_options(
self.params.get('subtitleslangs'), {'all': all_sub_langs}, use_regex=True)
except re.error as e:
raise ValueError(f'Wrong regex for subtitlelangs: {e.pattern}')
else:
requested_langs = LazyList(itertools.chain(
['en'] if 'en' in normal_sub_langs else [],
filter(lambda f: f.startswith('en'), normal_sub_langs),
['en'] if 'en' in all_sub_langs else [],
filter(lambda f: f.startswith('en'), all_sub_langs),
normal_sub_langs, all_sub_langs,
))[:1]
if requested_langs:
self.to_screen(f'[info] {video_id}: Downloading subtitles: {", ".join(requested_langs)}')
formats_query = self.params.get('subtitlesformat', 'best')
formats_preference = formats_query.split('/') if formats_query else []
subs = {}
for lang in requested_langs:
formats = available_subs.get(lang)
if formats is None:
self.report_warning(f'{lang} subtitles not available for {video_id}')
continue
for ext in formats_preference:
if ext == 'best':
f = formats[-1]
break
matches = list(filter(lambda f: f['ext'] == ext, formats))
if matches:
f = matches[-1]
break
else:
f = formats[-1]
self.report_warning(
'No subtitle format found matching "%s" for language %s, '
'using %s' % (formats_query, lang, f['ext']))
subs[lang] = f
return subs
|
(self, video_id, normal_subtitles, automatic_captions)
|
[
0.03299079090356827,
0.011424973607063293,
-0.0735730528831482,
-0.0037060347385704517,
-0.05389565974473953,
-0.015409550629556179,
0.009980328381061554,
-0.004603036679327488,
0.06382877379655838,
-0.03909040614962578,
-0.018657641485333443,
0.019233612343668938,
-0.041545357555150986,
-0.0470595583319664,
-0.0214147437363863,
0.05011880770325661,
-0.011434415355324745,
0.05797465890645981,
0.01212369091808796,
-0.0286662969738245,
0.003120622830465436,
-0.016315994784235954,
-0.007029663305729628,
-0.009734832681715488,
0.022188996896147728,
-0.017024153843522072,
0.01924305409193039,
-0.0645841434597969,
-0.044377993792295456,
0.010612950660288334,
0.04970335587859154,
0.03457706794142723,
0.0031489492394030094,
0.05876779556274414,
-0.04320717230439186,
0.05011880770325661,
-0.03299079090356827,
0.03897709771990776,
-0.06968289613723755,
0.043584857136011124,
-0.012152017094194889,
-0.04562435671687126,
0.08127782493829727,
-0.001062829396687448,
-0.01212369091808796,
-0.0000056569774642412085,
-0.06447084248065948,
0.03950585797429085,
-0.011330552399158478,
-0.03977023810148239,
0.036106690764427185,
-0.04109213501214981,
0.0026201901491731405,
-0.018903138116002083,
-0.04940120503306389,
0.02003619261085987,
-0.029969310387969017,
0.1086222231388092,
0.027344398200511932,
-0.0064442516304552555,
0.04694625362753868,
-0.03754189610481262,
-0.040223460644483566,
0.06186481565237045,
-0.010971751064062119,
-0.027231093496084213,
0.05261152982711792,
-0.05087417736649513,
-0.0802203118801117,
0.00877645704895258,
-0.01750570349395275,
0.01760956645011902,
-0.037371937185525894,
-0.016806986182928085,
0.01839326322078705,
0.0008379887440241873,
-0.05865449085831642,
-0.007081595249474049,
-0.026267996057868004,
0.05752143636345863,
0.040563374757766724,
-0.018780389800667763,
0.023661969229578972,
-0.015881657600402832,
0.017760640010237694,
-0.03818396106362343,
0.04011015594005585,
-0.05929655581712723,
-0.003682429436594248,
0.021433627232909203,
-0.015787236392498016,
-0.018478242680430412,
0.03535132110118866,
0.04622865095734596,
-0.0621291920542717,
-0.022528914734721184,
-0.0011843967949971557,
-0.035256899893283844,
-0.06481076031923294,
-0.08059799671173096,
0.009607363492250443,
-0.016023289412260056,
0.0025399320293217897,
-0.06039184331893921,
0.07074041664600372,
-0.0386371836066246,
-0.02641906961798668,
0.018412146717309952,
-0.007279879879206419,
0.024417338892817497,
0.004159256815910339,
-0.045095596462488174,
-0.062469109892845154,
0.012671333737671375,
0.005023211240768433,
-0.07168462872505188,
-0.039430320262908936,
0.009404358454048634,
-0.07818081229925156,
0.006510346196591854,
-0.027608778327703476,
-0.01309623010456562,
-0.04913682863116264,
-0.02528601512312889,
-0.04634195938706398,
-0.047701623290777206,
0.007988039404153824,
0.01320953480899334,
0.052951447665691376,
0.0009819811675697565,
0.027910927310585976,
0.011830984614789486,
-0.0012923910981044173,
0.007851128466427326,
0.05212054029107094,
-0.07364858686923981,
-0.005471712443977594,
0.04350931942462921,
-0.0003767998714465648,
-0.030724680051207542,
-0.018317725509405136,
-0.009999211877584457,
0.0017680382588878274,
-0.020791562274098396,
-0.029232824221253395,
-0.034180499613285065,
0.035256899893283844,
-0.0832417905330658,
-0.014861907809972763,
0.013898810371756554,
0.005112911574542522,
-0.012180343270301819,
-0.07591469585895538,
-0.014229284599423409,
0.012586355209350586,
-0.05555747449398041,
0.00161460367962718,
-0.005179006606340408,
0.00040866705239750445,
0.044377993792295456,
0.01918640173971653,
0.02388858050107956,
-0.03586119785904884,
-0.01390825305134058,
0.003724918933585286,
-0.008875599130988121,
0.018242189660668373,
0.019261937588453293,
0.021584700793027878,
0.04290502518415451,
0.02118813246488571,
0.05737036094069481,
-0.10945313423871994,
0.002537571592256427,
0.05057203024625778,
-0.01128334179520607,
0.04241403192281723,
-0.014229284599423409,
0.03023369051516056,
0.035993386059999466,
-0.0013537649065256119,
0.014691948890686035,
-0.016580374911427498,
-0.01032024435698986,
0.029648277908563614,
0.08135336637496948,
0.031234554946422577,
0.050647567957639694,
-0.027722084894776344,
-0.03342512995004654,
0.01658981665968895,
-0.06409315764904022,
-0.02069714106619358,
-0.008984183892607689,
-0.02630576491355896,
-0.01231253333389759,
0.01617436297237873,
-0.004662049934267998,
-0.037447474896907806,
-0.012085922062397003,
0.027684316039085388,
-0.04264064505696297,
0.0537068173289299,
-0.015135728754103184,
0.006330945994704962,
0.020017309114336967,
0.0017172867665067315,
-0.003623416181653738,
-0.05019434541463852,
-0.01670312136411667,
-0.04078998789191246,
0.0036423003766685724,
0.02413407526910305,
-0.03897709771990776,
0.002794869476929307,
-0.02908175066113472,
0.03234872594475746,
0.020980404689908028,
-0.06262018531560898,
-0.012671333737671375,
0.0036446608137339354,
-0.04252734035253525,
0.009725390933454037,
0.04838145896792412,
0.05340467020869255,
-0.04018568992614746,
0.030422532930970192,
0.05786135420203209,
-0.018025020137429237,
-0.010405223816633224,
0.027287745848298073,
0.005207332782447338,
0.006463135592639446,
-0.004834368824958801,
-0.06654810905456543,
0.037013135850429535,
0.04940120503306389,
0.0004228302277624607,
-0.008781177923083305,
0.04373593255877495,
0.04422692209482193,
0.017515145242214203,
-0.022396724671125412,
0.0047847977839410305,
-0.06197812035679817,
-0.029667161405086517,
0.01249193400144577,
0.04018568992614746,
0.00914470013231039,
0.013115113601088524,
0.040563374757766724,
0.030630258843302727,
-0.04581319913268089,
0.022188996896147728,
0.003493586787953973,
-0.06065622344613075,
-0.05944763123989105,
-0.04060114547610283,
0.0193185918033123,
-0.0014163190498948097,
-0.011434415355324745,
0.06379100680351257,
-0.07576362788677216,
0.0772743672132492,
-0.0350114069879055,
0.010745139792561531,
-0.001094106468372047,
0.006005192641168833,
-0.07055157423019409,
0.05015657842159271,
-0.013511682860553265,
-0.03988354280591011,
0.01336060930043459,
-0.002580061089247465,
0.0064772991463541985,
0.05937209352850914,
0.00037768506444990635,
-0.01641041599214077,
0.011302225291728973,
0.024511760100722313,
0.013351167552173138,
0.031650010496377945,
0.02075379528105259,
-0.030441416427493095,
0.10174835473299026,
-0.0512896329164505,
-0.011830984614789486,
-0.003998740576207638,
-0.036238882690668106,
0.015277360565960407,
-0.017534028738737106,
-0.03293413668870926,
0.07425288110971451,
0.027476588264107704,
-0.03457706794142723,
-0.014314264059066772,
-0.006231803447008133,
-0.04029899835586548,
0.08558343350887299,
-0.03909040614962578,
-0.045095596462488174,
0.025852542370557785,
-0.0003756195947062224,
-0.001072861603461206,
-0.08309071511030197,
-0.0035077501088380814,
-0.004683294799178839,
-0.035256899893283844,
0.08316624909639359,
-0.06137382239103317,
-0.005991029553115368,
-0.035275787115097046,
0.05737036094069481,
0.021018173545598984,
-0.04328271001577377,
0.031706660985946655,
0.000008529264960088767,
-0.009697063826024532,
-0.00689275236800313,
0.004279643762856722,
-0.01641041599214077,
-0.004560547415167093,
0.016608700156211853,
-0.011406089179217815,
0.12312532961368561,
-0.046908486634492874,
-0.006175150629132986,
0.005065700970590115,
0.029761582612991333,
-0.013266188092529774,
-0.006939962971955538,
0.023322053253650665,
0.00026674006949178874,
0.010631835088133812,
-0.02371862158179283,
-0.016542606055736542,
-0.023492010310292244,
0.018846485763788223,
0.04354709014296532,
-0.039543624967336655,
-0.014899675734341145,
-0.0193185918033123,
-0.003063970012590289,
-0.0031277043744921684,
0.03355731815099716,
0.034539300948381424,
0.024360686540603638,
-0.01592886820435524,
0.04369816184043884,
-0.07402627170085907,
-0.01628766767680645,
-0.03234872594475746,
0.00455582607537508,
0.059221018105745316,
-0.02437957189977169,
-0.02864741161465645,
0.05302698537707329,
-0.07036273181438446,
0.02702336572110653,
-0.04773939400911331,
-0.029591625556349754,
0.041960809379816055,
-0.03047918528318405,
0.013370051048696041,
0.008752851746976376,
-0.0077378228306770325,
0.012246438302099705,
0.021018173545598984,
0.000735305598936975,
-0.038523875176906586,
-0.010820677503943443,
0.034237150102853775,
0.04909905791282654,
-0.021376974880695343,
0.014314264059066772,
0.0004963018000125885,
-0.034539300948381424,
0.014021557755768299,
0.016976943239569664,
-0.02611692249774933,
0.04441576451063156,
0.017760640010237694,
-0.009385474026203156,
-0.011273899115622044,
0.005599181167781353,
-0.033028557896614075,
0.009810369461774826,
0.02281217835843563,
0.046493031084537506,
0.009073883295059204,
0.024152960628271103,
0.049023520201444626,
0.038335032761096954,
-0.07289321720600128,
0.05627507343888283,
-0.027117788791656494,
0.019044769927859306,
-0.010764024220407009,
0.03595561906695366,
0.020073961466550827,
-0.021886849775910378,
0.025248246267437935,
-0.05212054029107094,
0.03452041372656822,
-0.02026280388236046,
0.013086787424981594,
0.11791327595710754,
0.03210322931408882,
-0.021792428568005562,
0.020885983482003212,
-0.020130613818764687,
-0.016608700156211853,
-0.049438975751399994,
-0.031045712530612946,
-0.07810527086257935,
0.08860491961240768,
-0.028458569198846817,
0.06847430020570755,
-0.03469037264585495,
0.017826735973358154,
-0.00841765571385622,
0.007596191018819809,
0.034237150102853775,
-0.009314658120274544,
0.06870091706514359,
0.010358013212680817,
-0.014975212514400482,
-0.03652214631438255,
-0.03946809098124504,
-0.08354393392801285,
0.051251862198114395,
-0.023019904270768166,
-0.013455030508339405,
-0.043056096881628036,
0.04702179133892059,
0.005301753990352154,
-0.01067904569208622,
0.0030781333334743977,
-0.006028797943145037,
0.0025611768942326307,
0.03312297910451889,
0.0064442516304552555,
-0.008087181486189365,
0.02685340866446495,
0.04653080180287361,
-0.0356157012283802,
0.004610118456184864,
-0.004857974126935005,
-0.008332677185535431,
-0.02402077056467533,
-0.04838145896792412,
0.06594381481409073,
0.011009519919753075,
-0.006397041026502848,
0.008403493091464043,
-0.03669210523366928,
0.04026122763752937,
0.04328271001577377,
-0.04683294892311096,
-0.0591454803943634,
-0.005094027146697044,
0.01683531142771244,
0.06239357218146324,
0.07353528589010239,
0.02468171902000904,
0.020130613818764687,
0.009069162420928478,
-0.024757256731390953,
-0.09147532284259796,
-0.03287748619914055,
-0.03521913290023804,
0.0021008732728660107,
0.006179871968924999,
-0.005953260697424412,
0.03535132110118866,
0.010905656032264233,
-0.015485087409615517,
-0.04792823642492294,
-0.025361552834510803,
-0.004938232246786356,
0.10038869082927704,
0.014767486602067947,
0.0044071124866604805,
0.0020371389109641314,
0.03946809098124504,
-0.06768116354942322,
0.03232984244823456,
0.009678180329501629,
-0.06549058854579926,
0.010263592004776001,
-0.006968289613723755,
0.006236524786800146,
0.022170113399624825,
0.037560779601335526,
-0.03793846443295479,
-0.024587297812104225,
0.015192382037639618,
0.034539300948381424,
0.025493742898106575,
-0.03469037264585495,
0.04785269871354103,
-0.055293094366788864,
0.00820992887020111,
-0.037201978266239166,
-0.009135257452726364,
-0.017590682953596115,
-0.041771966964006424,
0.040752217173576355,
-0.025437088683247566,
0.044642373919487,
-0.020489415153861046,
-0.0016358484281226993,
-0.010915098711848259,
-0.0117648895829916,
0.06673695147037506,
0.02528601512312889,
-0.0717979297041893,
0.0002472657070029527,
0.021131480112671852,
0.025928080081939697,
-0.029648277908563614,
-0.005967424251139164,
0.05060979723930359,
-0.0026437954511493444,
0.04188527539372444,
0.04755055159330368,
-0.11496733129024506,
0.019290264695882797,
0.0033047443721443415,
-0.020432762801647186,
-0.022188996896147728,
-0.02872294932603836,
0.01499409694224596,
0.01767566055059433,
-0.01683531142771244,
-0.014975212514400482,
-0.024096306413412094,
-0.0057077654637396336,
-0.014663622714579105,
0.002322763204574585,
0.028798487037420273,
0.05706821382045746,
0.004482649732381105,
-0.0026178297121077776,
0.02468171902000904,
0.0023829566780477762,
-0.010424108244478703,
0.050345420837402344,
0.034784793853759766,
0.03837280347943306,
-0.015154613181948662,
0.007114642299711704,
0.03229207172989845,
0.043962541967630386,
-0.07130694389343262,
-0.0025635373312979937,
-0.04120543971657753,
-0.005136516876518726,
0.00925800483673811,
0.04517113417387009,
0.04543551430106163,
0.03457706794142723,
-0.02177354507148266,
-0.014909118413925171,
0.025739237666130066,
0.023661969229578972,
0.040752217173576355,
0.05449995398521423,
0.0404123030602932,
-0.005528365261852741,
0.043962541967630386,
-0.0579368881881237,
-0.049929965287446976,
-0.03958139568567276,
-0.06197812035679817,
0.007397906389087439,
0.0042985281907022,
-0.027552125975489616,
-0.02058383636176586,
0.032499801367521286,
-0.012775197625160217,
-0.03759855031967163,
0.06537728756666183,
0.02919505536556244,
0.004104964435100555,
-0.019214726984500885,
0.05997638776898384,
-0.001868360792286694,
0.008648987859487534,
0.00493351137265563,
-0.06692579388618469,
0.08581005036830902,
0.056690528988838196,
0.012671333737671375,
-0.008757572621107101,
0.03064914233982563,
0.03355731815099716,
0.009791485033929348,
0.013615546748042107,
-0.04150759056210518,
-0.05298921465873718,
-0.015324571169912815,
0.011519394814968109,
0.024511760100722313,
0.014078211039304733,
-0.02213234454393387,
0.029516087844967842,
-0.056917138397693634,
-0.00943740550428629,
0.008332677185535431,
-0.017241323366761208,
0.01047131884843111,
0.0470595583319664,
-0.03244314715266228,
0.02485167793929577,
-0.0033802813850343227,
-0.017779525369405746,
0.02317097969353199,
0.01809111423790455,
-0.046493031084537506,
-0.024096306413412094,
0.059221018105745316,
-0.04713509604334831,
0.05314029008150101,
-0.07130694389343262,
0.04517113417387009,
0.003956251312047243,
-0.08233534544706345,
-0.053253594785928726,
-0.03518136590719223,
0.0010486661922186613,
-0.011453299783170223,
0.049023520201444626,
0.06594381481409073,
-0.01937524415552616,
-0.0057927449233829975,
0.02341647446155548,
-0.005811628885567188,
0.016023289412260056,
0.0319899246096611,
-0.020980404689908028,
-0.015079076401889324,
0.018072230741381645,
0.030214805155992508,
0.01390825305134058,
0.051554013043642044,
-0.022415608167648315,
-0.0002407742285868153,
0.014654180966317654,
0.028250843286514282,
0.05593515932559967,
0.02099929004907608,
-0.05616176873445511,
0.022963251918554306,
-0.02364308573305607,
0.043660394847393036,
0.08399716019630432,
-0.031272321939468384,
0.0238319281488657,
0.013313398696482182,
0.008294908329844475,
-0.04928790032863617,
0.013766620308160782,
-0.07406403869390488,
0.046002041548490524,
-0.029969310387969017,
-0.019639624282717705,
-0.018119441345334053,
0.03812730684876442,
-0.03234872594475746,
0.06598158180713654,
-0.028874022886157036,
-0.013011250644922256,
0.005145959090441465,
0.020546067506074905,
0.020432762801647186,
-0.026740102097392082,
-0.035275787115097046,
0.04547328129410744,
0.011330552399158478,
0.03512471169233322,
0.007657564710825682,
-0.034180499613285065,
0.0061184982769191265,
-0.02787315845489502,
-0.024587297812104225,
0.016731448471546173,
0.0027405773289501667,
-0.0004113226314075291,
-0.07315760105848312,
0.0015414272202178836,
0.03778739273548126,
-0.09638522565364838,
-0.030573606491088867,
0.0356157012283802,
0.002660319209098816,
-0.008148555643856525,
-0.028213074430823326,
0.020413877442479134,
0.015494530089199543,
-0.002334565855562687,
-0.04097883030772209,
0.0067794471979141235,
0.01393657922744751,
-0.035502396523952484,
0.008143833838403225,
-0.025116056203842163,
-0.02732551470398903,
0.01315288245677948,
-0.03793846443295479,
-0.022056808695197105,
-0.0009377212263643742,
0.02696671336889267,
0.004976000636816025,
-0.055179789662361145,
-0.0038995982613414526,
0.03531355410814285,
0.02485167793929577,
0.05102525278925896,
0.02003619261085987,
0.047512780874967575,
-0.01834605261683464,
0.010509086772799492,
0.02932724542915821,
0.02817530557513237,
0.007544259075075388,
0.04702179133892059,
-0.001784561900421977,
0.06186481565237045,
0.01804390363395214,
0.034841448068618774,
0.023699738085269928,
-0.05015657842159271,
-0.02311432547867298,
-0.03506805747747421,
-0.010575181804597378,
0.02135809138417244,
-0.026437954977154732,
-0.024417338892817497,
0.014427569694817066,
-0.009810369461774826,
0.007246832363307476,
0.03278306499123573,
-0.011604373343288898,
-0.08671648800373077,
0.010150286369025707,
0.04279171675443649,
-0.019271381199359894,
0.05888110026717186,
0.005485875532031059,
-0.0008527420577593148,
-0.015494530089199543,
-0.03125343844294548,
0.009914233349263668,
0.007057989481836557,
0.014059326611459255,
-0.006925799883902073,
0.01694861799478531,
-0.04728617146611214,
0.02064048871397972,
-0.024096306413412094,
0.01816665194928646,
0.04970335587859154,
0.04131874814629555,
-0.015343455597758293,
0.004629002418369055,
-0.00024800337268970907,
0.021018173545598984
] |
711,179
|
yt_dlp.YoutubeDL
|
process_video_result
| null |
def process_video_result(self, info_dict, download=True):
assert info_dict.get('_type', 'video') == 'video'
self._num_videos += 1
if 'id' not in info_dict:
raise ExtractorError('Missing "id" field in extractor result', ie=info_dict['extractor'])
elif not info_dict.get('id'):
raise ExtractorError('Extractor failed to obtain "id"', ie=info_dict['extractor'])
def report_force_conversion(field, field_not, conversion):
self.report_warning(
'"%s" field is not %s - forcing %s conversion, there is an error in extractor'
% (field, field_not, conversion))
def sanitize_string_field(info, string_field):
field = info.get(string_field)
if field is None or isinstance(field, str):
return
report_force_conversion(string_field, 'a string', 'string')
info[string_field] = str(field)
def sanitize_numeric_fields(info):
for numeric_field in self._NUMERIC_FIELDS:
field = info.get(numeric_field)
if field is None or isinstance(field, (int, float)):
continue
report_force_conversion(numeric_field, 'numeric', 'int')
info[numeric_field] = int_or_none(field)
sanitize_string_field(info_dict, 'id')
sanitize_numeric_fields(info_dict)
if info_dict.get('section_end') and info_dict.get('section_start') is not None:
info_dict['duration'] = round(info_dict['section_end'] - info_dict['section_start'], 3)
if (info_dict.get('duration') or 0) <= 0 and info_dict.pop('duration', None):
self.report_warning('"duration" field is negative, there is an error in extractor')
chapters = info_dict.get('chapters') or []
if chapters and chapters[0].get('start_time'):
chapters.insert(0, {'start_time': 0})
dummy_chapter = {'end_time': 0, 'start_time': info_dict.get('duration')}
for idx, (prev, current, next_) in enumerate(zip(
(dummy_chapter, *chapters), chapters, (*chapters[1:], dummy_chapter)), 1):
if current.get('start_time') is None:
current['start_time'] = prev.get('end_time')
if not current.get('end_time'):
current['end_time'] = next_.get('start_time')
if not current.get('title'):
current['title'] = f'<Untitled Chapter {idx}>'
if 'playlist' not in info_dict:
# It isn't part of a playlist
info_dict['playlist'] = None
info_dict['playlist_index'] = None
self._sanitize_thumbnails(info_dict)
thumbnail = info_dict.get('thumbnail')
thumbnails = info_dict.get('thumbnails')
if thumbnail:
info_dict['thumbnail'] = sanitize_url(thumbnail)
elif thumbnails:
info_dict['thumbnail'] = thumbnails[-1]['url']
if info_dict.get('display_id') is None and 'id' in info_dict:
info_dict['display_id'] = info_dict['id']
self._fill_common_fields(info_dict)
for cc_kind in ('subtitles', 'automatic_captions'):
cc = info_dict.get(cc_kind)
if cc:
for _, subtitle in cc.items():
for subtitle_format in subtitle:
if subtitle_format.get('url'):
subtitle_format['url'] = sanitize_url(subtitle_format['url'])
if subtitle_format.get('ext') is None:
subtitle_format['ext'] = determine_ext(subtitle_format['url']).lower()
automatic_captions = info_dict.get('automatic_captions')
subtitles = info_dict.get('subtitles')
info_dict['requested_subtitles'] = self.process_subtitles(
info_dict['id'], subtitles, automatic_captions)
formats = self._get_formats(info_dict)
# Backward compatibility with InfoExtractor._sort_formats
field_preference = (formats or [{}])[0].pop('__sort_fields', None)
if field_preference:
info_dict['_format_sort_fields'] = field_preference
info_dict['_has_drm'] = any( # or None ensures --clean-infojson removes it
f.get('has_drm') and f['has_drm'] != 'maybe' for f in formats) or None
if not self.params.get('allow_unplayable_formats'):
formats = [f for f in formats if not f.get('has_drm') or f['has_drm'] == 'maybe']
if formats and all(f.get('acodec') == f.get('vcodec') == 'none' for f in formats):
self.report_warning(
f'{"This video is DRM protected and " if info_dict["_has_drm"] else ""}'
'only images are available for download. Use --list-formats to see them'.capitalize())
get_from_start = not info_dict.get('is_live') or bool(self.params.get('live_from_start'))
if not get_from_start:
info_dict['title'] += ' ' + dt.datetime.now().strftime('%Y-%m-%d %H:%M')
if info_dict.get('is_live') and formats:
formats = [f for f in formats if bool(f.get('is_from_start')) == get_from_start]
if get_from_start and not formats:
self.raise_no_formats(info_dict, msg=(
'--live-from-start is passed, but there are no formats that can be downloaded from the start. '
'If you want to download from the current time, use --no-live-from-start'))
def is_wellformed(f):
url = f.get('url')
if not url:
self.report_warning(
'"url" field is missing or empty - skipping format, '
'there is an error in extractor')
return False
if isinstance(url, bytes):
sanitize_string_field(f, 'url')
return True
# Filter out malformed formats for better extraction robustness
formats = list(filter(is_wellformed, formats or []))
if not formats:
self.raise_no_formats(info_dict)
for format in formats:
sanitize_string_field(format, 'format_id')
sanitize_numeric_fields(format)
format['url'] = sanitize_url(format['url'])
if format.get('ext') is None:
format['ext'] = determine_ext(format['url']).lower()
if format['ext'] in ('aac', 'opus', 'mp3', 'flac', 'vorbis'):
if format.get('acodec') is None:
format['acodec'] = format['ext']
if format.get('protocol') is None:
format['protocol'] = determine_protocol(format)
if format.get('resolution') is None:
format['resolution'] = self.format_resolution(format, default=None)
if format.get('dynamic_range') is None and format.get('vcodec') != 'none':
format['dynamic_range'] = 'SDR'
if format.get('aspect_ratio') is None:
format['aspect_ratio'] = try_call(lambda: round(format['width'] / format['height'], 2))
# For fragmented formats, "tbr" is often max bitrate and not average
if (('manifest-filesize-approx' in self.params['compat_opts'] or not format.get('manifest_url'))
and not format.get('filesize') and not format.get('filesize_approx')):
format['filesize_approx'] = filesize_from_tbr(format.get('tbr'), info_dict.get('duration'))
format['http_headers'] = self._calc_headers(collections.ChainMap(format, info_dict), load_cookies=True)
# Safeguard against old/insecure infojson when using --load-info-json
if info_dict.get('http_headers'):
info_dict['http_headers'] = HTTPHeaderDict(info_dict['http_headers'])
info_dict['http_headers'].pop('Cookie', None)
# This is copied to http_headers by the above _calc_headers and can now be removed
if '__x_forwarded_for_ip' in info_dict:
del info_dict['__x_forwarded_for_ip']
self.sort_formats({
'formats': formats,
'_format_sort_fields': info_dict.get('_format_sort_fields')
})
# Sanitize and group by format_id
formats_dict = {}
for i, format in enumerate(formats):
if not format.get('format_id'):
format['format_id'] = str(i)
else:
# Sanitize format_id from characters used in format selector expression
format['format_id'] = re.sub(r'[\s,/+\[\]()]', '_', format['format_id'])
formats_dict.setdefault(format['format_id'], []).append(format)
# Make sure all formats have unique format_id
common_exts = set(itertools.chain(*self._format_selection_ex
|
(self, info_dict, download=True)
|
[
0.04721740633249283,
0.02572387270629406,
-0.10862139612436295,
-0.004938064608722925,
-0.015062565915286541,
-0.023459145799279213,
0.03657746687531471,
0.02570250630378723,
-0.05439615994691849,
0.04142739996314049,
0.00043264817213639617,
0.03837215527892113,
0.013342656195163727,
0.012840570881962776,
0.03717569634318352,
0.0687536746263504,
-0.016323121264576912,
0.033992260694503784,
0.03593650460243225,
-0.04074370861053467,
-0.020168883726000786,
-0.06148945540189743,
-0.02061755582690239,
0.017412753775715828,
0.022583166137337685,
0.009774643927812576,
0.0340777225792408,
-0.026364833116531372,
-0.05696000158786774,
0.027732213959097862,
0.030531074851751328,
0.00825236365199089,
-0.013267877511680126,
0.0429229736328125,
-0.0678563266992569,
0.006409602705389261,
-0.0399104580283165,
-0.010367532260715961,
-0.10802316665649414,
0.04356393218040466,
-0.037410713732242584,
-0.0165367741137743,
0.016814524307847023,
-0.014261365868151188,
-0.010768132284283638,
0.015286901965737343,
-0.07644519209861755,
0.0021605701185762882,
-0.05097770690917969,
-0.04606367647647858,
-0.010266046971082687,
-0.030189229175448418,
-0.0028148838318884373,
0.02181401476264,
0.0007384396158158779,
0.03238986060023308,
-0.0313643217086792,
0.11597108095884323,
0.025317929685115814,
-0.003362370654940605,
-0.001241860562004149,
-0.0033303226809948683,
-0.023608703166246414,
0.05554988980293274,
-0.016109468415379524,
-0.007515259087085724,
0.04202562943100929,
-0.046747367829084396,
-0.07947907596826553,
0.0038831508718430996,
0.045422717928886414,
0.02044663205742836,
-0.021076910197734833,
0.01773323491215706,
0.013182416558265686,
-0.019346317276358604,
-0.046747367829084396,
-0.028907308354973793,
0.03412045165896416,
0.002049737609922886,
0.06683079153299332,
0.004705716390162706,
0.0493539422750473,
-0.051875051110982895,
0.0399104580283165,
-0.008417944423854351,
0.06982193887233734,
-0.03168480098247528,
-0.050037629902362823,
0.06452333182096481,
-0.019709527492523193,
-0.02912096120417118,
0.008380555547773838,
-0.01134499628096819,
-0.06221587583422661,
0.011911178007721901,
-0.01991249807178974,
-0.052045974880456924,
-0.05012309178709984,
-0.03659883141517639,
-0.006954418960958719,
-0.04174787923693657,
-0.06435240805149078,
-0.05042220652103424,
0.016269708052277565,
-0.06623256206512451,
-0.03576558455824852,
-0.001237186836078763,
-0.028843211010098457,
0.011366361752152443,
0.010378214530646801,
-0.045764561742544174,
-0.04602094739675522,
-0.042153820395469666,
0.053926125168800354,
-0.046576447784900665,
-0.00017275882419198751,
-0.012701695784926414,
-0.046576447784900665,
0.002494403626769781,
0.01839555986225605,
-0.01618424616754055,
-0.05623358115553856,
-0.007654133718460798,
-0.014496385119855404,
-0.06401056796312332,
-0.017177734524011612,
0.010506407357752323,
0.08247022330760956,
-0.00943814031779766,
-0.013962251134216785,
0.024741066619753838,
-0.02608708292245865,
0.023715529590845108,
0.026535755023360252,
-0.051191359758377075,
-0.05721638724207878,
0.01226370595395565,
-0.08118829876184464,
0.02268999256193638,
-0.037560272961854935,
-0.010191268287599087,
0.04443991184234619,
-0.036705657839775085,
-0.04632006213068962,
-0.04666190594434738,
0.005549647845327854,
-0.039974555373191833,
-0.0219635721296072,
0.018619894981384277,
0.04431172087788582,
-0.004198289941996336,
-0.0010782821336761117,
0.007472528610378504,
0.024612873792648315,
-0.07776984572410583,
0.001343345851637423,
0.022519070655107498,
-0.01857716590166092,
0.045251794159412384,
0.058541037142276764,
-0.03238986060023308,
0.01803234964609146,
-0.002876309212297201,
-0.005773983895778656,
0.007873128168284893,
0.032453954219818115,
0.007819714955985546,
0.01977362483739853,
0.07430866360664368,
0.0650361031293869,
0.09264012426137924,
-0.06802725046873093,
-0.03659883141517639,
0.05200324207544327,
0.04279477894306183,
0.041149649769067764,
-0.043521203100681305,
0.03031742013990879,
0.003965941723436117,
-0.02489062398672104,
0.005394748877733946,
-0.02384372241795063,
0.026001621037721634,
0.021215785294771194,
0.016932033002376556,
0.0035092574544250965,
0.01440024096518755,
0.017605042085051537,
0.003501245519146323,
-0.012466677464544773,
-0.04867025092244148,
-0.006078439764678478,
-0.04326481744647026,
-0.00040694299968890846,
0.007985296659171581,
0.001117006759159267,
-0.0019469168037176132,
0.031962551176548004,
-0.013000810518860817,
-0.005635108798742294,
-0.04087189957499504,
0.0003642123192548752,
-0.038073040544986725,
-0.024933354929089546,
0.019207442179322243,
0.002364876214414835,
0.017594359815120697,
-0.03811576962471008,
0.04730286821722984,
-0.02268999256193638,
0.0032395198941230774,
0.01701749488711357,
-0.003666826756671071,
-0.003576024202629924,
-0.04841386526823044,
-0.010068417526781559,
0.02027571015059948,
-0.0033196399454027414,
0.014207952655851841,
-0.00819360837340355,
-0.03632108122110367,
-0.0156821608543396,
0.015340316109359264,
0.03234712779521942,
-0.012797839939594269,
0.05161866545677185,
0.02860819362103939,
-0.03811576962471008,
-0.04747379198670387,
0.021557630971074104,
-0.041982896625995636,
-0.026151178404688835,
0.06289956718683243,
0.009929542429745197,
-0.014101126231253147,
0.018961740657687187,
0.027475830167531967,
-0.024911988526582718,
-0.016622235998511314,
0.05337062478065491,
0.026108447462320328,
-0.03198391571640968,
0.01755162887275219,
-0.05208870396018028,
-0.06888186186552048,
-0.005178424995392561,
0.027860406786203384,
-0.056660886853933334,
-0.014304096810519695,
0.0374961756169796,
0.003292933339253068,
-0.017135003581643105,
0.00004389910100144334,
-0.014763451181352139,
-0.07512054592370987,
-0.04106418788433075,
-0.07576150447130203,
0.03683384880423546,
-0.04892663285136223,
-0.02115168794989586,
-0.04461083561182022,
-0.0395045168697834,
0.05473800748586655,
-0.0018961741589009762,
-0.015019835904240608,
0.027881771326065063,
-0.017978934571146965,
-0.061446722596883774,
0.01483822986483574,
-0.013866106979548931,
-0.03063790127635002,
-0.0439271442592144,
0.009411432780325413,
-0.04294433817267418,
0.024783797562122345,
0.03683384880423546,
-0.06495063751935959,
0.0007003826322034001,
0.019901815801858902,
0.02303183823823929,
-0.0035519881639629602,
-0.00002228338416898623,
-0.032966721802949905,
0.10075895488262177,
-0.00399798946455121,
0.011515919119119644,
0.05601992830634117,
-0.04123511165380478,
0.03762436658143997,
-0.017070908099412918,
-0.0033276521135121584,
0.025317929685115814,
-0.01977362483739853,
-0.035509198904037476,
0.024741066619753838,
0.0051891072653234005,
-0.02709125354886055,
-0.01871603913605213,
-0.01651540957391262,
-0.08114556968212128,
0.02967645972967148,
0.08106011152267456,
0.009176414459943771,
-0.09930611401796341,
0.04653371497988701,
-0.00902151595801115,
-0.04820021241903305,
0.07776984572410583,
-0.046961020678281784,
0.05140501260757446,
0.007216144353151321,
0.015051883645355701,
0.034975066781044006,
0.002262055641040206,
0.02333095297217369,
0.007509917952120304,
0.07264216244220734,
0.020200930535793304,
0.04537998512387276,
-0.018278049305081367,
0.05396885424852371,
0.03796621412038803,
0.02944144234061241,
0.1186203807592392,
-0.08285479992628098,
0.005822055973112583,
0.007424456533044577,
0.006436309311538935,
0.0016584846889600158,
-0.038073040544986725,
0.053755201399326324,
0.01456048060208559,
0.043713491410017014,
-0.0004897337057627738,
-0.02330958843231201,
-0.06665986776351929,
-0.0593101903796196,
0.07563330978155136,
-0.010095124132931232,
0.02044663205742836,
-0.00853011291474104,
-0.03937632590532303,
0.02198493666946888,
0.024078739807009697,
-0.01973089389503002,
0.07144570350646973,
-0.008487381972372532,
-0.008636939339339733,
-0.08046188205480576,
-0.026877600699663162,
-0.034312739968299866,
-0.002471703104674816,
0.06080576404929161,
-0.013663136400282383,
-0.026984427124261856,
0.019709527492523193,
-0.11195439100265503,
-0.01995522901415825,
0.020831208676099777,
0.007178755011409521,
0.04768744483590126,
-0.03918403759598732,
-0.0032048013526946306,
-0.0025424757041037083,
-0.03941905498504639,
0.03764573112130165,
-0.007461845874786377,
0.052045974880456924,
-0.03238986060023308,
-0.03373587504029274,
0.041641052812337875,
0.04431172087788582,
-0.06063484027981758,
-0.02929188497364521,
-0.00971054844558239,
0.020735064521431923,
0.03794484585523605,
-0.062258608639240265,
-0.003290262771770358,
0.020008642226457596,
0.07353951036930084,
-0.06721536815166473,
-0.003453173441812396,
0.03234712779521942,
-0.03634244576096535,
-0.001767982030287385,
-0.000721747986972332,
-0.016611553728580475,
-0.009566332213580608,
0.021034179255366325,
0.045721832662820816,
0.003840420162305236,
-0.02111964114010334,
0.05157593637704849,
0.0027027158066630363,
0.0062333387322723866,
0.04238883778452873,
0.008887981995940208,
-0.0065591600723564625,
0.02215586043894291,
-0.020916670560836792,
-0.008877299726009369,
0.0521741658449173,
0.0006756789516657591,
-0.05200324207544327,
0.1271665096282959,
0.039611343294382095,
-0.014325462281703949,
0.0016384547343477607,
-0.003455844009295106,
-0.07430866360664368,
-0.07721434533596039,
-0.01788279227912426,
-0.07294128090143204,
0.04614913836121559,
-0.0641387552022934,
0.017978934571146965,
-0.0541825070977211,
0.04324345290660858,
0.03963271155953407,
0.04901209473609924,
0.011708207428455353,
0.02724081091582775,
0.014880960807204247,
-0.016600871458649635,
0.0005227832007221878,
0.013353338465094566,
-0.01405839528888464,
-0.044012606143951416,
0.0470464825630188,
-0.00003321643089293502,
-0.004283750895410776,
-0.04901209473609924,
0.03982499614357948,
0.01337470393627882,
-0.0029163691215217113,
0.00710931746289134,
-0.0041074869222939014,
0.01857716590166092,
0.01704954355955124,
0.002201965544372797,
0.007002491038292646,
0.0033650414552539587,
0.0650361031293869,
0.014122490771114826,
0.008401921018958092,
-0.013203781098127365,
-0.04426898807287216,
-0.020489362999796867,
-0.053413353860378265,
0.038927651941776276,
0.013118320144712925,
-0.0473455972969532,
0.002777494490146637,
-0.02111964114010334,
0.06597618013620377,
0.06759994477033615,
-0.03540237247943878,
-0.04206835851073265,
-0.021215785294771194,
0.0016584846889600158,
0.016793159767985344,
0.022284051403403282,
0.013107637874782085,
0.036192890256643295,
0.029590999707579613,
-0.01201800536364317,
-0.1077667847275734,
0.006842250935733318,
-0.021536264568567276,
0.023224126547574997,
0.023715529590845108,
0.041833341121673584,
0.012135514058172703,
0.027881771326065063,
0.014122490771114826,
-0.036855217069387436,
0.012124831788241863,
-0.01532963290810585,
0.07614608108997345,
-0.036855217069387436,
0.0034665267448872328,
-0.0070505631156265736,
0.013620405457913876,
-0.016066737473011017,
0.006938395090401173,
-0.025980256497859955,
0.0044306376948952675,
-0.01139841042459011,
-0.029783286154270172,
0.006361530628055334,
-0.010308777913451195,
0.005998319946229458,
0.00817758496850729,
-0.013171733357012272,
0.022903647273778915,
0.013193098828196526,
0.05738730728626251,
-0.034996431320905685,
0.048969365656375885,
-0.022583166137337685,
0.039077211171388626,
-0.06725809723138809,
0.01839555986225605,
0.02420693263411522,
0.002654643729329109,
0.02198493666946888,
-0.032966721802949905,
0.04670463874936104,
-0.027732213959097862,
0.01991249807178974,
0.005229167640209198,
-0.002637284342199564,
0.0006065753987058997,
0.02848000079393387,
-0.036192890256643295,
-0.002184606157243252,
0.021557630971074104,
0.005971613340079784,
0.00928858295083046,
0.0014328132383525372,
0.049653057008981705,
-0.056148119270801544,
0.005205131601542234,
0.03392816334962845,
-0.06606163829565048,
0.006030367687344551,
-0.01182571705430746,
-0.06050664931535721,
-0.0027694825548678637,
-0.017487533390522003,
0.04730286821722984,
-0.027539925649762154,
0.03967544063925743,
-0.0027240810450166464,
0.002443660981953144,
-0.03540237247943878,
-0.061446722596883774,
0.019709527492523193,
0.04367075860500336,
-0.011985956691205502,
-0.028180886059999466,
-0.05926745757460594,
0.015778305009007454,
-0.010789497755467892,
0.028522731736302376,
0.04315799102187157,
0.06683079153299332,
-0.005576354451477528,
-0.0360860638320446,
0.026621216908097267,
0.05268693342804909,
0.02433512546122074,
-0.040487322956323624,
0.03905584663152695,
0.020916670560836792,
-0.03931222856044769,
0.060250263661146164,
-0.0041662417352199554,
0.028330443426966667,
0.02163240872323513,
-0.047131944447755814,
-0.020574824884533882,
-0.01615219935774803,
0.019367681816220284,
0.012968762777745724,
0.03574421629309654,
-0.026364833116531372,
-0.005258544813841581,
0.01524417195469141,
0.015553968958556652,
-0.04495267942547798,
-0.019559970125555992,
-0.0038457615301012993,
-0.03811576962471008,
-0.011889812536537647,
0.009064245969057083,
0.07836807519197464,
-0.02011547051370144,
0.04730286821722984,
-0.038243964314460754,
0.11127070337533951,
-0.030616534873843193,
0.006623256020247936,
-0.062258608639240265,
0.037923481315374374,
-0.014389557763934135,
0.08503406494855881,
0.012829887680709362,
-0.0504649393260479,
0.003674838924780488,
0.027646752074360847,
-0.004134193528443575,
-0.002443660981953144,
0.04159832000732422,
0.027967233210802078,
-0.02399327978491783,
-0.028757750988006592,
-0.00779834995046258,
-0.0036801802925765514,
0.019901815801858902,
0.0018454313976690173,
-0.00945950485765934,
0.006195949390530586,
-0.013246512040495872,
0.014122490771114826,
0.0024783797562122345,
-0.03198391571640968,
-0.02098076604306698,
0.027112619951367378,
-0.001090967794880271,
0.0027374345809221268,
-0.018331464380025864,
0.004032708238810301,
-0.02183537930250168,
-0.00901617482304573,
0.053926125168800354,
0.03068063221871853,
-0.03623561933636665,
-0.002180600306019187,
0.04499541223049164,
-0.04482448846101761,
0.04785836488008499,
-0.05332789570093155,
0.03948315232992172,
-0.00745116313919425,
-0.010025686584413052,
-0.014250683598220348,
-0.0387994609773159,
0.03230439871549606,
-0.004134193528443575,
0.02657848596572876,
0.0399104580283165,
-0.01687861979007721,
-0.014774134382605553,
0.03187708929181099,
-0.0019055214943364263,
0.009309947490692139,
0.05935291945934296,
0.04307252913713455,
-0.0490548238158226,
-0.012893984094262123,
0.024271028116345406,
-0.020756429061293602,
0.07576150447130203,
0.02165377512574196,
-0.016461996361613274,
0.031770262867212296,
0.06336960196495056,
0.022006303071975708,
0.014774134382605553,
0.006847592070698738,
0.009042881429195404,
0.0006386234308592975,
-0.0016224306309595704,
-0.007194778881967068,
0.01875877007842064,
-0.0166863314807415,
0.016622235998511314,
0.029590999707579613,
-0.026535755023360252,
0.018363511189818382,
-0.059053804725408554,
-0.007136024069041014,
-0.03888492286205292,
-0.0020123482681810856,
-0.00634016515687108,
0.0054748691618442535,
-0.0034772094804793596,
0.0030231960117816925,
-0.006927712354809046,
0.057301849126815796,
0.019335635006427765,
0.010111148469150066,
0.018865596503019333,
-0.02572387270629406,
0.02111964114010334,
0.0641387552022934,
0.02540339156985283,
0.03444093093276024,
-0.0003123012138530612,
-0.005677839741110802,
0.04134193807840347,
-0.010436969809234142,
-0.021076910197734833,
-0.01259486936032772,
-0.037239789962768555,
0.010960420593619347,
-0.04230337589979172,
0.0014621906448155642,
0.03305218368768692,
-0.07225758582353592,
-0.0579000785946846,
-0.024441951885819435,
-0.03576558455824852,
-0.013919520191848278,
0.01091768965125084,
0.051362283527851105,
-0.020030008628964424,
-0.003773653646931052,
-0.03281716629862785,
0.0429229736328125,
0.00007014675793470815,
-0.016996130347251892,
0.018662625923752785,
-0.042153820395469666,
0.011174074374139309,
0.001838754746131599,
-0.0306592658162117,
0.013353338465094566,
0.0439271442592144,
-0.006847592070698738,
0.010250022634863853,
-0.040957361459732056,
0.018363511189818382,
0.0010302100563421845,
0.042666587978601456,
0.06542067974805832,
0.021055543795228004,
0.03683384880423546,
-0.005429467651993036,
-0.004403931088745594,
0.0810173749923706,
-0.023395050317049026,
0.030616534873843193,
-0.027155349031090736,
0.009277899749577045,
0.06200222298502922,
-0.021536264568567276,
0.0011610728688538074,
0.04206835851073265,
-0.06319868564605713,
0.01379132829606533,
-0.016077419742941856,
-0.028351809829473495,
0.008898665197193623,
-0.0062279971316456795,
0.014378875494003296,
-0.017615724354982376,
-0.039290864020586014,
0.02178196609020233,
-0.03253941610455513,
0.03339403122663498,
-0.054908931255340576,
0.02555294893682003,
0.057686422020196915,
-0.03461185470223427,
-0.012968762777745724,
-0.018299415707588196,
0.010036369785666466,
-0.05815646052360535,
-0.08238475769758224,
0.03324447199702263,
-0.014848913066089153,
0.00792120024561882,
-0.0047618006356060505,
0.054097045212984085,
0.00215389346703887,
0.00943814031779766,
-0.015212123282253742,
-0.006537794601172209,
0.0524732805788517,
0.02149353362619877,
-0.024441951885819435,
0.03666292876005173,
-0.013855424709618092,
0.02028639242053032
] |
711,182
|
yt_dlp.YoutubeDL
|
render_formats_table
| null |
def render_formats_table(self, info_dict):
formats = self._get_formats(info_dict)
if not formats:
return
if not self.params.get('listformats_table', True) is not False:
table = [
[
format_field(f, 'format_id'),
format_field(f, 'ext'),
self.format_resolution(f),
self._format_note(f)
] for f in formats if (f.get('preference') or 0) >= -1000]
return render_table(['format code', 'extension', 'resolution', 'note'], table, extra_gap=1)
def simplified_codec(f, field):
assert field in ('acodec', 'vcodec')
codec = f.get(field)
if not codec:
return 'unknown'
elif codec != 'none':
return '.'.join(codec.split('.')[:4])
if field == 'vcodec' and f.get('acodec') == 'none':
return 'images'
elif field == 'acodec' and f.get('vcodec') == 'none':
return ''
return self._format_out('audio only' if field == 'vcodec' else 'video only',
self.Styles.SUPPRESS)
delim = self._format_out('\u2502', self.Styles.DELIM, '|', test_encoding=True)
table = [
[
self._format_out(format_field(f, 'format_id'), self.Styles.ID),
format_field(f, 'ext'),
format_field(f, func=self.format_resolution, ignore=('audio only', 'images')),
format_field(f, 'fps', '\t%d', func=round),
format_field(f, 'dynamic_range', '%s', ignore=(None, 'SDR')).replace('HDR', ''),
format_field(f, 'audio_channels', '\t%s'),
delim, (
format_field(f, 'filesize', ' \t%s', func=format_bytes)
or format_field(f, 'filesize_approx', '≈\t%s', func=format_bytes)
or format_field(filesize_from_tbr(f.get('tbr'), info_dict.get('duration')), None,
self._format_out('~\t%s', self.Styles.SUPPRESS), func=format_bytes)),
format_field(f, 'tbr', '\t%dk', func=round),
shorten_protocol_name(f.get('protocol', '')),
delim,
simplified_codec(f, 'vcodec'),
format_field(f, 'vbr', '\t%dk', func=round),
simplified_codec(f, 'acodec'),
format_field(f, 'abr', '\t%dk', func=round),
format_field(f, 'asr', '\t%s', func=format_decimal_suffix),
join_nonempty(format_field(f, 'language', '[%s]'), join_nonempty(
self._format_out('UNSUPPORTED', self.Styles.BAD_FORMAT) if f.get('ext') in ('f4f', 'f4m') else None,
(self._format_out('Maybe DRM', self.Styles.WARNING) if f.get('has_drm') == 'maybe'
else self._format_out('DRM', self.Styles.BAD_FORMAT) if f.get('has_drm') else None),
format_field(f, 'format_note'),
format_field(f, 'container', ignore=(None, f.get('ext'))),
delim=', '), delim=' '),
] for f in formats if f.get('preference') is None or f['preference'] >= -1000]
header_line = self._list_format_headers(
'ID', 'EXT', 'RESOLUTION', '\tFPS', 'HDR', 'CH', delim, '\tFILESIZE', '\tTBR', 'PROTO',
delim, 'VCODEC', '\tVBR', 'ACODEC', '\tABR', '\tASR', 'MORE INFO')
return render_table(
header_line, table, hide_empty=True,
delim=self._format_out('\u2500', self.Styles.DELIM, '-', test_encoding=True))
|
(self, info_dict)
|
[
0.06795328855514526,
-0.055352430790662766,
-0.02799980156123638,
-0.028818286955356598,
-0.0046705990098416805,
-0.03272036835551262,
-0.006162431091070175,
0.01512293890118599,
-0.05424842610955238,
0.03338657692074776,
0.0005680619506165385,
0.017540324479341507,
-0.007052295375615358,
0.019929159432649612,
0.020119505003094673,
0.010097821243107319,
-0.003354836953803897,
-0.007095123175531626,
0.04518798738718033,
-0.06464128196239471,
0.001234865514561534,
-0.008860575966536999,
-0.0024364206474274397,
-0.01828267239034176,
0.025601450353860855,
0.03506161645054817,
-0.0049442206509411335,
-0.05009889602661133,
-0.022803373634815216,
0.01567493937909603,
0.04324646666646004,
0.012819759547710419,
-0.0055057392455637455,
0.01793053187429905,
-0.061862241476774216,
-0.002400730736553669,
-0.04572095349431038,
-0.03997252508997917,
-0.04766247794032097,
0.023469582200050354,
0.012562793679535389,
-0.059578098356723785,
0.08108711987733841,
-0.045987438410520554,
-0.04956592991948128,
0.03363402560353279,
-0.05070800334215164,
0.007423468865454197,
-0.04435046762228012,
-0.006995191797614098,
0.009693337604403496,
-0.014161694794893265,
-0.031007258221507072,
0.016312597319483757,
-0.04556867852807045,
0.00995506253093481,
-0.03171153739094734,
0.025753727182745934,
0.029065735638141632,
-0.0316925011575222,
0.007780366577208042,
0.010259614326059818,
-0.03902079910039902,
0.05969230458140373,
-0.019605571404099464,
-0.037574172019958496,
0.06677315384149551,
-0.05466718599200249,
-0.05047958716750145,
0.01865384541451931,
0.015437008813023567,
0.027029041200876236,
0.0003919924783986062,
-0.0015180042246356606,
-0.014704179018735886,
-0.020500194281339645,
-0.042675428092479706,
-0.0203859880566597,
0.0031716295052319765,
-0.020366953685879707,
0.08595996350049973,
0.037383828312158585,
0.06981867551803589,
-0.02006240002810955,
0.08398037403821945,
-0.023507650941610336,
0.06315658986568451,
0.03795486316084862,
-0.02817111276090145,
0.04770054668188095,
-0.016150804236531258,
-0.10324332118034363,
0.03959183394908905,
-0.03452864661812782,
-0.06422252207994461,
-0.022955650463700294,
-0.01991012506186962,
-0.006980916019529104,
-0.01248665526509285,
-0.027029041200876236,
0.0062813968397676945,
-0.03115953505039215,
-0.011373135261237621,
-0.07849842309951782,
0.04050549119710922,
-0.01827315427362919,
-0.03797389939427376,
0.018339775502681732,
-0.028228215873241425,
0.015979493036866188,
0.019491365179419518,
-0.025601450353860855,
0.011230375617742538,
-0.0676487386226654,
0.0900714248418808,
-0.02025274559855461,
-0.02799980156123638,
-0.0046872543171048164,
0.003699837950989604,
-0.023678962141275406,
-0.02343151345849037,
0.000018950888261315413,
-0.034052785485982895,
-0.03289167582988739,
-0.015865284949541092,
-0.03222546726465225,
0.012781690806150436,
0.0069238124415278435,
0.05306828394532204,
0.004882358480244875,
-0.021052196621894836,
0.052687592804431915,
-0.02272723615169525,
0.007280709687620401,
0.056570641696453094,
-0.04294191300868988,
-0.03367209434509277,
-0.020500194281339645,
-0.007199813146144152,
0.05055572837591171,
-0.024535516276955605,
-0.01469466183334589,
0.008398989215493202,
-0.028266284614801407,
-0.021547093987464905,
-0.015180042013525963,
0.05196428298950195,
0.004639667924493551,
0.0211283341050148,
0.024687793105840683,
0.015322800725698471,
0.04499764367938042,
0.007675676606595516,
0.00358325126580894,
0.03884948790073395,
-0.029503529891371727,
0.0013169519370421767,
-0.004539736546576023,
-0.005025117192417383,
0.04381750151515007,
0.06285203993320465,
-0.007404434494674206,
0.022574959322810173,
-0.016217423602938652,
-0.019776882603764534,
0.052497249096632004,
-0.03647017106413841,
0.006343259010463953,
0.051659729331731796,
0.011078099720180035,
0.05363932251930237,
0.004204253200441599,
-0.04853806644678116,
-0.019967228174209595,
0.019757848232984543,
0.04100038856267929,
-0.007033261004835367,
-0.019091639667749405,
-0.0013847624650225043,
-0.022308476269245148,
0.013828590512275696,
-0.0003673070459626615,
-0.022784339264035225,
0.059235475957393646,
-0.013143346644937992,
0.010126372799277306,
0.039135005325078964,
-0.018777569755911827,
0.03822134807705879,
-0.015227628871798515,
-0.0025649035815149546,
-0.00834664423018694,
-0.024897173047065735,
-0.02602021023631096,
-0.006171948276460171,
-0.0006311138276942074,
0.04682495817542076,
-0.032796505838632584,
0.023793170228600502,
-0.05729395151138306,
0.015532180666923523,
-0.043208394199609756,
-0.019833985716104507,
0.0024959035217761993,
-0.027942698448896408,
-0.02777138724923134,
0.031026292592287064,
-0.040010593831539154,
-0.05028924345970154,
0.0279617328196764,
-0.02480199933052063,
-0.05402001366019249,
-0.031559258699417114,
0.01812087744474411,
-0.013685830868780613,
-0.018729982897639275,
-0.002743352437391877,
0.04050549119710922,
-0.06635439395904541,
0.0032096984796226025,
-0.006138637661933899,
-0.021071230992674828,
-0.02676255628466606,
-0.004454081412404776,
0.02514462172985077,
0.014904041774570942,
0.028209181502461433,
0.02164226770401001,
-0.01774970442056656,
0.0064860181882977486,
-0.029598703607916832,
-0.0015917629934847355,
-0.04534026235342026,
0.05192621424794197,
-0.014532867819070816,
-0.011211341246962547,
0.02817111276090145,
0.0035618373658508062,
-0.021889716386795044,
0.0027052834630012512,
0.05611380934715271,
0.021509025245904922,
0.013114795088768005,
-0.008532230742275715,
-0.003112146630883217,
-0.1195368841290474,
0.011249410919845104,
-0.007290227338671684,
-0.06955219060182571,
-0.021413853392004967,
-0.006838156841695309,
0.018225567415356636,
0.03820231184363365,
-0.02183261327445507,
-0.026077313348650932,
-0.04872841015458107,
-0.05839795619249344,
-0.014361557550728321,
0.02760007604956627,
-0.05032731220126152,
-0.01653149351477623,
-0.06776294857263565,
-0.03877335041761398,
-0.012315344996750355,
0.03818327933549881,
-0.014961144886910915,
0.012572310864925385,
0.009983614087104797,
-0.023640893399715424,
0.031730569899082184,
-0.06498390436172485,
0.005524774082005024,
-0.0868736207485199,
0.010554649867117405,
-0.018054256215691566,
-0.006300431210547686,
0.08108711987733841,
-0.017559358850121498,
0.032282572239637375,
-0.003350078361108899,
-0.001998626161366701,
-0.031578294932842255,
-0.002147333463653922,
0.004194736015051603,
0.06597369909286499,
-0.007632848806679249,
-0.02461165376007557,
0.008360919542610645,
-0.013181416317820549,
0.05539049953222275,
0.026838695630431175,
0.019443778321146965,
-0.01081161666661501,
0.018967915326356888,
-0.008265746757388115,
-0.006048223469406366,
0.049337517470121384,
-0.012144033797085285,
0.026286693289875984,
-0.04134301096200943,
-0.08390423655509949,
0.0009784940630197525,
0.15699684619903564,
0.043208394199609756,
-0.09167032688856125,
-0.010935341008007526,
-0.008032574318349361,
-0.0678771510720253,
0.04271349683403969,
-0.023317305371165276,
0.04754827171564102,
0.02569662220776081,
0.05276373401284218,
0.03572782501578331,
0.052687592804431915,
0.016303079202771187,
-0.06536459177732468,
0.05417228862643242,
0.01177285984158516,
0.02021467685699463,
0.00809919461607933,
0.04842386022210121,
0.014589971862733364,
0.03256808966398239,
0.0985988974571228,
-0.07617621123790741,
0.007685193791985512,
-0.025106552988290787,
0.002053350443020463,
0.014837420545518398,
-0.004392219241708517,
0.0054819462820887566,
0.047243718057870865,
0.005986361298710108,
-0.016750391572713852,
-0.009122300893068314,
-0.02567758783698082,
-0.034186024218797684,
-0.010164442472159863,
-0.0013883314095437527,
0.04556867852807045,
-0.041266873478889465,
-0.013895210810005665,
0.0013098139315843582,
0.003790251910686493,
-0.022936616092920303,
0.04785282164812088,
0.006352776195853949,
-0.03197801858186722,
-0.02217523381114006,
0.015294249169528484,
-0.02409772202372551,
-0.0010474942391738296,
0.06631632149219513,
-0.012305826880037785,
-0.03363402560353279,
-0.02126157656311989,
-0.04412205517292023,
-0.02832338958978653,
0.08413264900445938,
0.03007456660270691,
0.07183633744716644,
-0.011335065588355064,
0.003457147628068924,
-0.008931956253945827,
-0.02655317634344101,
0.02830435521900654,
-0.009660026989877224,
0.016226941719651222,
0.013409830629825592,
0.0010718823177739978,
0.06753453612327576,
0.052687592804431915,
-0.04728178679943085,
-0.0021330576855689287,
0.008289540186524391,
0.01213451661169529,
0.027923664078116417,
-0.03220643475651741,
-0.08162008970975876,
0.02428806759417057,
0.04221859946846962,
-0.03626079112291336,
0.015941424295306206,
-0.009426853619515896,
-0.014095073565840721,
-0.014808868989348412,
0.004718185402452946,
-0.04560674726963043,
-0.04309418797492981,
-0.05577119067311287,
0.007018985226750374,
0.0026838695630431175,
0.004815737716853619,
-0.008532230742275715,
0.015151490457355976,
-0.007637607399374247,
0.05188814550638199,
-0.012981553561985493,
-0.012315344996750355,
0.017530808225274086,
-0.079412080347538,
-0.016245976090431213,
0.022422682493925095,
-0.03622272238135338,
-0.029522564262151718,
0.09304080903530121,
0.06974253803491592,
-0.021509025245904922,
0.01616983860731125,
-0.01653149351477623,
-0.02078571356832981,
-0.04606357589364052,
0.012524724006652832,
-0.019310535863041878,
0.04343681037425995,
-0.10042621195316315,
0.016598114743828773,
-0.041114598512649536,
0.03374823182821274,
-0.0024435585364699364,
0.016331631690263748,
0.011277962476015091,
0.06951412558555603,
0.04591130092740059,
0.008280023001134396,
-0.029503529891371727,
0.03496644273400307,
-0.02025274559855461,
-0.027067109942436218,
0.05558084324002266,
-0.00461349543184042,
0.04541640356183052,
-0.0422566682100296,
0.036317892372608185,
-0.028361458331346512,
0.018206533044576645,
-0.017844876274466515,
-0.011582515202462673,
-0.02447841316461563,
0.06486969441175461,
-0.015180042013525963,
0.0007881487254053354,
-0.01758791133761406,
0.031958986073732376,
-0.00288373208604753,
0.012743622064590454,
0.018035221844911575,
-0.05116483196616173,
-0.01738804765045643,
-0.030207807198166847,
0.041990187019109726,
0.005872154142707586,
-0.04206632450222969,
0.04964206740260124,
-0.023831238970160484,
0.074501171708107,
0.01019299402832985,
-0.042142461985349655,
-0.008513196371495724,
0.005529532674700022,
0.031064361333847046,
0.015979493036866188,
0.0034500095061957836,
0.015941424295306206,
-0.011211341246962547,
0.054781392216682434,
-0.03464285656809807,
-0.04058162868022919,
0.013895210810005665,
-0.031426019966602325,
0.057255882769823074,
-0.00818960927426815,
0.037574172019958496,
-0.01215355098247528,
0.03955376520752907,
0.016969287768006325,
-0.020557299256324768,
-0.05261145532131195,
-0.011049548164010048,
0.026267658919095993,
-0.061481550335884094,
-0.030322015285491943,
0.002569662407040596,
0.03285360708832741,
-0.012172585353255272,
0.022270407527685165,
-0.02392641082406044,
0.02533496730029583,
-0.06049175560474396,
-0.006857191678136587,
0.005677050445228815,
-0.017397565767169,
0.052687592804431915,
0.0035713547840714455,
0.0025649035815149546,
0.028114009648561478,
-0.046368129551410675,
0.011944171041250229,
-0.016940737143158913,
0.10377629101276398,
-0.05611380934715271,
-0.015713009983301163,
-0.04210439324378967,
0.010935341008007526,
-0.014570937491953373,
0.04027707874774933,
0.020309848710894585,
-0.03058849833905697,
0.017349978908896446,
-0.03568975254893303,
0.0005948292673565447,
-0.014142660424113274,
0.0010927013354375958,
-0.04507378116250038,
-0.019424743950366974,
-0.04377943277359009,
-0.047776684165000916,
0.04537833482027054,
0.06570721417665482,
-0.004323218949139118,
-0.021775508299469948,
0.02373606525361538,
-0.03959183394908905,
-0.010783064179122448,
0.03871624544262886,
-0.002971766982227564,
0.012762656435370445,
0.006119603291153908,
-0.06566914916038513,
-0.016969287768006325,
0.00009494961705058813,
0.015979493036866188,
-0.03464285656809807,
0.01242003496736288,
-0.023697996512055397,
0.03026491217315197,
0.02200392261147499,
-0.0030003187712281942,
-0.0015417974209412932,
0.030055532231926918,
0.0001330930390395224,
-0.003540423698723316,
-0.08535085618495941,
0.04488343372941017,
-0.049870483577251434,
0.0008743989747017622,
-0.016664735972881317,
0.07606200128793716,
-0.028094975277781487,
-0.029808083549141884,
0.021889716386795044,
0.07156985253095627,
0.007280709687620401,
-0.04834771901369095,
0.046748820692300797,
0.08162008970975876,
-0.00434939144179225,
0.04747213050723076,
-0.0401248000562191,
0.012800725176930428,
0.033177196979522705,
-0.03154022619128227,
-0.004544495604932308,
0.011544445529580116,
0.018092326819896698,
0.03570878878235817,
0.08078256994485855,
-0.03540423512458801,
0.001521573169156909,
0.0043374947272241116,
0.0373457595705986,
-0.007728021591901779,
-0.032625194638967514,
-0.017559358850121498,
-0.07617621123790741,
-0.02129964530467987,
0.04591130092740059,
0.025982141494750977,
-0.03180670738220215,
-0.013286106288433075,
-0.0018035222310572863,
0.03989638760685921,
-0.023450547829270363,
0.03342464566230774,
-0.018511086702346802,
-0.0035570787731558084,
0.022460751235485077,
0.060415614396333694,
0.03751707077026367,
-0.042637359350919724,
-0.00791836716234684,
0.037745483219623566,
-0.021242542192339897,
0.00391397625207901,
0.06966640055179596,
-0.020290814340114594,
-0.00588642992079258,
-0.05044151842594147,
0.03797389939427376,
-0.012886380776762962,
0.03291071206331253,
-0.007656641770154238,
-0.032453883439302444,
0.05915933847427368,
-0.05150745436549187,
0.10727864503860474,
-0.003578492673113942,
-0.06289010494947433,
-0.01918681152164936,
0.0037617001216858625,
0.06269975751638412,
-0.02341247908771038,
-0.05333476886153221,
0.0407719761133194,
-0.03997252508997917,
-0.01565590500831604,
0.013876176439225674,
0.041609495878219604,
-0.041266873478889465,
-0.03390050679445267,
0.09014756232500076,
-0.04347487911581993,
0.03711734339594841,
0.00154893530998379,
0.04435046762228012,
-0.03114050067961216,
-0.011649135500192642,
0.0037807347252964973,
-0.08101098239421844,
0.03548037260770798,
-0.002514938125386834,
0.016931219026446342,
0.01756887696683407,
-0.049337517470121384,
-0.011201824061572552,
0.006771536078304052,
-0.021566128358244896,
-0.0112589281052351,
0.05683712288737297,
0.08146781474351883,
-0.08085870742797852,
-0.0029075252823531628,
0.005696084816008806,
0.018092326819896698,
0.07050392031669617,
-0.029332218691706657,
-0.019044052809476852,
-0.0033619748428463936,
0.04294191300868988,
-0.015313283540308475,
0.006219534669071436,
-0.0034166991245001554,
-0.028723115101456642,
0.013371760956943035,
0.011839481070637703,
0.0008755886228755116,
0.009907475672662258,
0.0010010976111516356,
0.033329471945762634,
0.03214932978153229,
-0.04343681037425995,
0.0033691127318888903,
0.01669328846037388,
-0.00237336871214211,
-0.0627378299832344,
-0.006995191797614098,
0.03610851243138313,
0.020500194281339645,
-0.0071522267535328865,
-0.0020937989465892315,
0.02091895416378975,
-0.010250097140669823,
0.01653149351477623,
0.005334428511559963,
0.061862241476774216,
-0.012553276494145393,
0.03959183394908905,
0.07495800405740738,
0.014133142307400703,
0.02866601012647152,
-0.006190982647240162,
0.0031335605308413506,
0.040200937539339066,
-0.027542972937226295,
0.0002932508068624884,
-0.006057741120457649,
-0.0062813968397676945,
-0.017302392050623894,
-0.02971290983259678,
-0.006581190507858992,
-0.019643640145659447,
-0.023850273340940475,
-0.04869034141302109,
-0.0016714701196178794,
0.001320520881563425,
0.026077313348650932,
-0.012705552391707897,
0.030341049656271935,
0.02040502242743969,
0.0014121246058493853,
-0.04366522654891014,
-0.006376569624990225,
0.008398989215493202,
-0.003043146338313818,
0.04332260414958,
0.020861851051449776,
-0.015693973749876022,
-0.05348704382777214,
-0.04313225671648979,
-0.007042778190225363,
0.08862479776144028,
0.017721151933073997,
0.031254708766937256,
-0.05386773496866226,
-0.01703590899705887,
0.02693386748433113,
0.010088304057717323,
0.08679748326539993,
-0.0304171871393919,
0.005872154142707586,
0.041419148445129395,
0.023317305371165276,
0.04659654200077057,
-0.01743563450872898,
0.0625474825501442,
-0.04324646666646004,
0.02356475591659546,
0.00026633479865267873,
-0.03342464566230774,
0.038088105618953705,
0.03477609530091286,
-0.08375195413827896,
-0.01813039556145668,
-0.023165030404925346,
-0.02622959017753601,
0.033481746912002563,
-0.0026196278631687164,
0.03075980953872204,
-0.011563480831682682,
-0.030493326485157013,
0.03359595686197281,
-0.045835163444280624,
0.04983241483569145,
-0.016464874148368835,
0.07267385721206665,
0.049375586211681366,
-0.015151490457355976,
-0.01604611426591873,
0.059007059782743454,
0.03726962208747864,
-0.07412048429250717,
-0.077470563352108,
0.009660026989877224,
0.03822134807705879,
-0.007052295375615358,
0.015027766115963459,
0.004392219241708517,
-0.03658437728881836,
0.02360282465815544,
0.018035221844911575,
0.028114009648561478,
0.07141757756471634,
0.028056904673576355,
-0.024668758735060692,
-0.00629091402515769,
-0.07016129791736603,
-0.014371074736118317
] |
711,190
|
yt_dlp.YoutubeDL
|
run_all_pps
| null |
def run_all_pps(self, key, info, *, additional_pps=None):
if key != 'video':
self._forceprint(key, info)
for pp in (additional_pps or []) + self._pps[key]:
info = self.run_pp(pp, info)
return info
|
(self, key, info, *, additional_pps=None)
|
[
0.042483143508434296,
0.00011070064647356048,
-0.1148081049323082,
0.07425915449857712,
-0.026405172422528267,
0.015810292214155197,
0.006540849804878235,
-0.04307030886411667,
0.050945233553647995,
0.06441549956798553,
-0.02859840914607048,
-0.014083334244787693,
0.029876356944441795,
0.003084776923060417,
0.0052240449003875256,
-0.036542411893606186,
0.05560801550745964,
0.044210098683834076,
-0.048354797065258026,
-0.034072861075401306,
0.011441090144217014,
0.07640057802200317,
0.013876100070774555,
-0.019963623955845833,
0.00968822930008173,
0.0859333798289299,
0.057611286640167236,
-0.032604947686195374,
-0.0318450890481472,
0.011268394999206066,
-0.001213187351822853,
-0.01050853356719017,
0.023935625329613686,
-0.0026854181196540594,
-0.05232679843902588,
0.0406525693833828,
-0.07543348520994186,
0.010318567976355553,
-0.12820929288864136,
0.06724770367145538,
0.07308482378721237,
-0.0059882234781980515,
-0.0036201337352395058,
-0.009023350663483143,
-0.015482169575989246,
-0.0014959765831008554,
0.010672594420611858,
0.03692234307527542,
0.041861437261104584,
-0.04189597815275192,
-0.01179511658847332,
-0.017450900748372078,
0.006255901884287596,
-0.0027221159543842077,
0.027527695521712303,
0.030670756474137306,
-0.034228287637233734,
0.05481361597776413,
0.05622972175478935,
-0.03279491513967514,
0.0163801871240139,
-0.018927449360489845,
-0.005673053674399853,
0.03196597471833229,
0.04224136844277382,
-0.061997756361961365,
-0.015577152371406555,
-0.035005420446395874,
-0.03598978370428085,
0.00016500534547958523,
0.028391173109412193,
-0.04020356014370918,
-0.03462548926472664,
0.017511343583464622,
-0.028391173109412193,
-0.0160088911652565,
-0.03390016779303551,
-0.018858371302485466,
0.0327603742480278,
0.0006038952851668,
0.015413091517984867,
-0.009869559668004513,
-0.002594752935692668,
0.016121143475174904,
0.020637135952711105,
0.028494790196418762,
0.038269367069005966,
-0.047491319477558136,
0.02284764125943184,
0.03300214931368828,
0.015628961846232414,
0.0071625541895627975,
0.011406551115214825,
0.03512630611658096,
-0.015093604102730751,
0.007827432826161385,
-0.030947070568799973,
-0.025213573127985,
-0.0671786293387413,
-0.00792673323303461,
-0.04438279569149017,
-0.05999448895454407,
0.014186952263116837,
-0.03896015137434006,
0.06092704460024834,
-0.006009810604155064,
-0.025403538718819618,
0.02438463270664215,
-0.020930718630552292,
0.07674597203731537,
-0.006165236700326204,
-0.006411327980458736,
-0.03032536618411541,
-0.02175965905189514,
-0.013720673508942127,
0.009083794429898262,
-0.001118204672820866,
0.031655121594667435,
-0.04096342250704765,
0.010603516362607479,
-0.024919990450143814,
-0.006648784503340721,
0.01953188329935074,
-0.04058349132537842,
-0.0557461716234684,
-0.012192316353321075,
0.013150777667760849,
0.014074699953198433,
0.028253016993403435,
-0.007512263022363186,
0.024799102917313576,
0.023970164358615875,
-0.00043416779953986406,
0.006212728098034859,
-0.005595340859144926,
-0.08040712028741837,
0.008803163655102253,
-0.055124469101428986,
0.001384803676046431,
-0.025628041476011276,
-0.028304826468229294,
0.02191508561372757,
0.01930737867951393,
0.054191913455724716,
-0.009843654930591583,
-0.06956183165311813,
-0.012399551458656788,
0.009429185651242733,
0.025731660425662994,
-0.025800738483667374,
0.018029430881142616,
0.022381363436579704,
-0.029081955552101135,
-0.010214950889348984,
0.0587165392935276,
-0.009403280913829803,
0.08102882653474808,
0.03802759200334549,
-0.06362109631299973,
-0.042414065450429916,
-0.0000457373789686244,
-0.052637651562690735,
-0.02445371076464653,
0.0006022762390784919,
-0.039167385548353195,
-0.045867979526519775,
0.014834560453891754,
0.052741266787052155,
0.06821480393409729,
0.051843248307704926,
0.0912524089217186,
-0.01182965561747551,
0.0033135986886918545,
0.01302125584334135,
0.06051257252693176,
0.011665594764053822,
-0.015827560797333717,
-0.0752953290939331,
0.05916554853320122,
-0.019600963220000267,
-0.04655876010656357,
-0.0016632755286991596,
-0.03481545299291611,
-0.00756407156586647,
-0.011967812664806843,
0.016423361375927925,
0.0185820572078228,
-0.005569436587393284,
-0.054260991513729095,
-0.03284672275185585,
-0.027199573814868927,
0.018133047968149185,
-0.015698039904236794,
0.014074699953198433,
-0.005284488666802645,
0.019134683534502983,
-0.0017571788048371673,
0.029807278886437416,
0.00963641982525587,
-0.004263425245881081,
-0.0270441472530365,
-0.046006135642528534,
-0.009921368211507797,
0.003646038006991148,
-0.00401517516002059,
0.022554058581590652,
-0.005409692879766226,
0.039305541664361954,
0.0005537056131288409,
-0.019998162984848022,
0.09974903613328934,
-0.03115430474281311,
0.06938913464546204,
-0.015628961846232414,
0.008988811634480953,
0.016673769801855087,
-0.003179759718477726,
-0.03764766454696655,
-0.0193246491253376,
0.019566422328352928,
-0.008734085597097874,
-0.036715105175971985,
0.023106684908270836,
0.01639745756983757,
-0.0032661075238138437,
0.051048848778009415,
0.036784183233976364,
-0.002426374703645706,
-0.0809597447514534,
0.015551247633993626,
0.04821664094924927,
-0.015387186780571938,
-0.07204864919185638,
0.03395197540521622,
-0.06051257252693176,
-0.046835076063871384,
-0.022985797375440598,
-0.028442982584238052,
0.0007058936753310263,
-0.010258125141263008,
0.03540261834859848,
0.013781117275357246,
-0.027544964104890823,
-0.021345188841223717,
-0.07239403575658798,
-0.03685326129198074,
0.019134683534502983,
-0.02352115511894226,
-0.00922195054590702,
0.025213573127985,
0.11487717926502228,
-0.034970879554748535,
0.015793021768331528,
0.03688780218362808,
-0.029910895973443985,
-0.027441347017884254,
-0.03692234307527542,
-0.019704580307006836,
0.06213591247797012,
0.0007210045587271452,
0.004278535954654217,
0.06693685799837112,
-0.05553893744945526,
0.022122319787740707,
0.03771674260497093,
0.029841817915439606,
-0.007322297897189856,
0.00252351607196033,
-0.05215410143136978,
0.0012002350995317101,
-0.06331024318933487,
-0.021776927635073662,
-0.00018821132835000753,
0.025075415149331093,
-0.03177601099014282,
0.0575767457485199,
0.02531719021499157,
0.05049622431397438,
-0.004118792712688446,
-0.06313754618167877,
0.11798570305109024,
0.006415645591914654,
-0.0000848637500894256,
-0.042655836790800095,
0.037440426647663116,
-0.0388219952583313,
0.029323730617761612,
0.05401921644806862,
-0.006182506214827299,
-0.033226653933525085,
0.0038813359569758177,
0.009239220060408115,
0.06994175910949707,
-0.000014394119716598652,
-0.02179419808089733,
0.062032297253608704,
-0.018098508939146996,
-0.030877992510795593,
-0.005422645248472691,
-0.037613123655319214,
0.01756315305829048,
-0.05146332085132599,
0.01699325628578663,
0.03037717379629612,
-0.039961785078048706,
0.06417372077703476,
0.009567341767251492,
-0.03462548926472664,
-0.015361282974481583,
-0.08247946947813034,
-0.0051420144736766815,
0.01951461471617222,
0.03472910448908806,
0.055159006267786026,
-0.02277856320142746,
-0.03460821881890297,
0.03795851394534111,
0.049183737486600876,
-0.008859289810061455,
0.043243005871772766,
0.008319615386426449,
0.01720912754535675,
0.035160843282938004,
0.03623155876994133,
0.0978839248418808,
-0.015102239325642586,
0.019946353510022163,
-0.05657511204481125,
0.008280758745968342,
-0.025558963418006897,
-0.0388219952583313,
0.025213573127985,
0.011536072939634323,
0.05246495455503464,
-0.0673513263463974,
0.034936342388391495,
-0.0975385308265686,
-0.011466994881629944,
0.05232679843902588,
0.0046455143019557,
0.014230125583708286,
0.017373187467455864,
-0.07584795355796814,
0.0038187336176633835,
0.0471113882958889,
0.023227572441101074,
0.013219855725765228,
0.02535172924399376,
0.008604563772678375,
-0.10410097241401672,
0.0008078920654952526,
-0.030118130147457123,
0.011812386102974415,
0.06137605383992195,
0.0423104465007782,
0.014886369928717613,
0.02359023317694664,
-0.007024397607892752,
-0.03046352230012417,
-0.0403071753680706,
0.07702228426933289,
0.03927100449800491,
-0.028149399906396866,
0.038269367069005966,
0.0210688766092062,
-0.009360106661915779,
0.050979770720005035,
0.019549153745174408,
0.039305541664361954,
0.018150318413972855,
-0.01944553665816784,
0.00806488934904337,
0.010422185994684696,
-0.028235746547579765,
-0.023227572441101074,
0.02878837287425995,
0.034936342388391495,
0.0184957105666399,
-0.013720673508942127,
-0.03379654884338379,
-0.0005828479770570993,
0.04272491857409477,
0.045004501938819885,
0.00042175527778454125,
0.04182690009474754,
0.005750766955316067,
-0.06279215961694717,
0.003548896638676524,
0.04193051531910896,
0.011941907927393913,
0.014895004220306873,
0.032518599182367325,
-0.07861108332872391,
-0.014463265426456928,
0.0437956303358078,
-0.02108614519238472,
0.02455732971429825,
-0.005776671227067709,
-0.08738402277231216,
-0.010871194303035736,
0.06306847184896469,
-0.08234131336212158,
-0.04400286450982094,
0.030998878180980682,
0.015024526044726372,
-0.06558983027935028,
-0.008449137210845947,
-0.020861640572547913,
-0.04897649958729744,
0.01673421449959278,
0.020671674981713295,
-0.022899450734257698,
-0.019773658365011215,
-0.01437691692262888,
-0.03809667378664017,
0.018823832273483276,
-0.04635152593255043,
0.027216842398047447,
-0.034936342388391495,
0.01778765767812729,
0.09857470542192459,
-0.005983906332403421,
0.012511803768575191,
0.046006135642528534,
0.031465157866477966,
0.0011419503716751933,
-0.002309805015102029,
-0.03429736569523811,
0.025731660425662994,
-0.01478275191038847,
-0.013996986672282219,
-0.019117414951324463,
-0.017269570380449295,
0.04621336981654167,
0.044348254799842834,
0.004118792712688446,
0.02367658168077469,
0.028926530852913857,
0.03554077446460724,
0.022933989763259888,
-0.007792893797159195,
-0.0014700721949338913,
0.0193246491253376,
0.004382153507322073,
0.0371641144156456,
0.025679850950837135,
-0.035022687166929245,
0.0017107668099924922,
-0.07501901686191559,
0.022519519552588463,
-0.0296173132956028,
0.018979256972670555,
0.05812937393784523,
-0.05070345848798752,
0.0554007813334465,
-0.019721848890185356,
0.02200143225491047,
0.015387186780571938,
-0.0437956303358078,
-0.03875291720032692,
0.014316474087536335,
-0.024263747036457062,
-0.010698499158024788,
0.018823832273483276,
0.012304568663239479,
-0.024799102917313576,
-0.01226139534264803,
0.04445187374949455,
-0.0436229333281517,
0.012313203886151314,
-0.0004738338466268033,
0.03854567930102348,
0.023089416325092316,
0.010439455509185791,
-0.0049779536202549934,
0.027406807988882065,
0.026612408459186554,
-0.006398375611752272,
-0.01771857962012291,
-0.03878745436668396,
-0.03115430474281311,
-0.055918868631124496,
0.0033762010280042887,
0.034055594354867935,
-0.033364810049533844,
-0.025075415149331093,
0.012529073283076286,
-0.024004703387618065,
-0.0605471134185791,
-0.03616248071193695,
-0.018858371302485466,
-0.023106684908270836,
0.016103874891996384,
-0.001025380683131516,
-0.0759861096739769,
-0.04407194256782532,
0.005470136180520058,
0.007322297897189856,
0.07405191659927368,
0.001687021111138165,
0.01773584820330143,
0.0014193428214639425,
0.0489419624209404,
-0.0655207484960556,
0.03785489872097969,
0.05709319934248924,
0.0018122255569323897,
0.03469456732273102,
-0.03395197540521622,
0.06451911479234695,
0.017891274765133858,
-0.027976704761385918,
-0.03343388810753822,
-0.04448641464114189,
0.045867979526519775,
-0.04130881279706955,
0.03027355670928955,
0.0007010365952737629,
0.008574341423809528,
-0.018892910331487656,
0.038338445127010345,
-0.016069335862994194,
0.022346824407577515,
0.03706049919128418,
0.031568773090839386,
0.021483344957232475,
-0.10603515803813934,
-0.014558248221874237,
-0.07785122096538544,
0.0050211274065077305,
0.01942826621234417,
0.016898274421691895,
0.005888923536986113,
-0.055297162383794785,
0.02260586805641651,
-0.016915544867515564,
0.02027447521686554,
-0.031655121594667435,
-0.0031430618837475777,
0.03208686038851738,
0.038372986018657684,
0.010646689683198929,
0.05736951157450676,
-0.023331189528107643,
0.022174127399921417,
0.0146791348233819,
-0.023279380053281784,
-0.010379011742770672,
0.03447006270289421,
0.005211092997342348,
-0.007857654243707657,
-0.01934191957116127,
-0.018167588859796524,
0.053362973034381866,
-0.001120363362133503,
0.015369917266070843,
0.016259299591183662,
-0.03802759200334549,
-0.010655324906110764,
-0.005025445017963648,
0.016147049143910408,
-0.013003986328840256,
-0.012140507809817791,
-0.04493542015552521,
-0.0029746834188699722,
-0.04286307469010353,
-0.05084161460399628,
0.00792673323303461,
-0.02949642576277256,
-0.012097333557903767,
0.020481711253523827,
0.015110873617231846,
-0.021448805928230286,
-0.08931821584701538,
0.01778765767812729,
-0.04386470839381218,
0.013263029977679253,
0.045073579996824265,
-0.009558707475662231,
-0.05070345848798752,
-0.03799305483698845,
0.0018359711393713951,
0.12219947576522827,
-0.019860005006194115,
-0.018305744975805283,
0.00825053732842207,
0.015369917266070843,
-0.05153239890933037,
0.045798901468515396,
0.03319211304187775,
-0.03927100449800491,
0.018944717943668365,
-0.008358472026884556,
-0.010050890035927296,
-0.0008024953422136605,
-0.0017647341592237353,
0.01853024959564209,
-0.005107475444674492,
-0.006061619147658348,
0.010145872831344604,
-0.007499311119318008,
-0.019998162984848022,
0.045073579996824265,
-0.004041079431772232,
-0.018996527418494225,
-0.0017140049021691084,
0.002035650657489896,
0.06123789772391319,
-0.012105968780815601,
0.044175561517477036,
-0.0023572964128106833,
0.017839465290308,
0.016423361375927925,
-0.02783854678273201,
0.014730943366885185,
0.021466076374053955,
-0.021362459287047386,
0.06496812403202057,
0.09235766530036926,
-0.005599658004939556,
-0.030049052089452744,
0.021569693461060524,
-0.10347926616668701,
0.02882291190326214,
-0.04952912777662277,
0.04293215274810791,
-0.03143061697483063,
-0.00012857734691351652,
0.029030147939920425,
-0.02770039066672325,
0.0016222603153437376,
0.023003067821264267,
0.040169019252061844,
0.020792562514543533,
0.006463136523962021,
-0.053466588258743286,
0.005392423365265131,
-0.029220113530755043,
-0.05032352730631828,
0.010836655274033546,
0.029841817915439606,
-0.03189689666032791,
0.008634785190224648,
-0.02345207706093788,
0.020585328340530396,
0.032017782330513,
-0.043553855270147324,
-0.015438996255397797,
0.0520850233733654,
0.03174147009849548,
0.008496628142893314,
-0.016811925917863846,
-0.04027263820171356,
0.04220683127641678,
0.006165236700326204,
-0.014722309075295925,
0.030877992510795593,
-0.027648581191897392,
-0.0439683273434639,
-0.036749646067619324,
-0.04465910792350769,
-0.004306599032133818,
0.010050890035927296,
-0.05046168342232704,
-0.008159872144460678,
-0.006385423708707094,
-0.013375282287597656,
-0.02284764125943184,
-0.015784386545419693,
0.021621502935886383,
0.041688743978738785,
-0.06123789772391319,
-0.013677499257028103,
-0.014998622238636017,
0.006437232252210379,
0.03871837630867958,
-0.03605886176228523,
-0.006450184620916843,
-0.013168047182261944,
-0.040790725499391556,
0.01007679384201765,
-0.07633150368928909,
0.04130881279706955,
-0.027095956727862358,
-0.05882015824317932,
0.05508992820978165,
0.0096623245626688,
0.0021338711958378553,
-0.027354998514056206,
-0.054364606738090515,
-0.03220774978399277,
-0.011613786220550537,
0.017960352823138237,
-0.03889107331633568,
-0.056920502334833145,
0.0036071815993636847,
0.02345207706093788,
-0.041792359203100204,
0.06441549956798553,
-0.06123789772391319,
-0.08648601174354553,
-0.03288126364350319,
-0.005172236356884241,
-0.024091050028800964,
-0.014964082278311253,
0.054295528680086136,
0.033364810049533844,
0.01097481232136488,
-0.0033243922516703606,
-0.028287556022405624,
-0.014195586554706097,
0.015611691400408745,
-0.024902720004320145,
-0.03466002643108368,
-0.043553855270147324,
-0.0042526316829025745,
-0.010957542806863785,
0.01851297914981842,
0.04628244787454605,
0.00461097527295351,
0.035817090421915054,
0.05201594531536102,
-0.003069666214287281,
0.0010248410981148481,
0.02355569414794445,
0.024989068508148193,
0.006035714875906706,
-0.029081955552101135,
0.09781484305858612,
0.03858022019267082,
-0.00008452645124634728,
-0.026802372187376022,
-0.015965716913342476,
0.03170693293213844,
-0.024142859503626823,
0.029928164556622505,
0.009740037843585014,
-0.03288126364350319,
0.025438077747821808,
-0.04303576797246933,
-0.02369385026395321,
-0.0009179855696856976,
0.013098969124257565,
-0.012727673165500164,
0.005189505871385336,
0.01651834324002266,
0.04448641464114189,
-0.005875971168279648,
0.004511675331741571,
-0.012805386446416378,
0.025904355570673943,
0.050910692662000656,
-0.05712774023413658,
0.020809832960367203,
-0.002294694073498249,
0.04807848483324051,
0.020775293931365013,
0.0031840770971029997,
-0.0030675074085593224,
-0.005539214704185724,
-0.030152669176459312,
0.007728132884949446,
0.024764563888311386,
0.03281218186020851,
0.04959820583462715,
0.0056816884316504,
-0.00963641982525587,
0.020827101543545723
] |
711,192
|
yt_dlp.YoutubeDL
|
sanitize_info
|
Sanitize the infodict for converting to json
|
@staticmethod
def sanitize_info(info_dict, remove_private_keys=False):
''' Sanitize the infodict for converting to json '''
if info_dict is None:
return info_dict
info_dict.setdefault('epoch', int(time.time()))
info_dict.setdefault('_type', 'video')
info_dict.setdefault('_version', {
'version': __version__,
'current_git_head': current_git_head(),
'release_git_head': RELEASE_GIT_HEAD,
'repository': ORIGIN,
})
if remove_private_keys:
reject = lambda k, v: v is None or k.startswith('__') or k in {
'requested_downloads', 'requested_formats', 'requested_subtitles', 'requested_entries',
'entries', 'filepath', '_filename', 'filename', 'infojson_filename', 'original_url',
'playlist_autonumber',
}
else:
reject = lambda k, v: False
def filter_fn(obj):
if isinstance(obj, dict):
return {k: filter_fn(v) for k, v in obj.items() if not reject(k, v)}
elif isinstance(obj, (list, tuple, set, LazyList)):
return list(map(filter_fn, obj))
elif obj is None or isinstance(obj, (str, int, float, bool)):
return obj
else:
return repr(obj)
return filter_fn(info_dict)
|
(info_dict, remove_private_keys=False)
|
[
0.024669725447893143,
0.002214212669059634,
-0.06279566138982773,
-0.024177424609661102,
-0.03185366466641426,
-0.06695286929607391,
0.026565993204712868,
0.015443649142980576,
0.059367794543504715,
0.02735002711415291,
-0.024469157680869102,
0.03358583524823189,
-0.007858574390411377,
-0.012252812273800373,
-0.022335855290293694,
0.016838500276207924,
-0.04000397399067879,
0.06815627217292786,
0.05696099251508713,
-0.04434351250529289,
-0.013155363500118256,
-0.016437366604804993,
-0.02211705595254898,
0.042410776019096375,
-0.02209882251918316,
0.035500336438417435,
0.03916523978114128,
-0.010010110214352608,
-0.0095451595261693,
0.019801421090960503,
0.01603623293340206,
0.021898256614804268,
0.09299009293317795,
0.06622353196144104,
-0.03869117423892021,
-0.03537270426750183,
-0.0457657128572464,
0.01919971965253353,
-0.14717961847782135,
-0.0016489787958562374,
-0.04073330760002136,
0.020403120666742325,
-0.03894643858075142,
-0.036959003657102585,
0.030522631481289864,
-0.005173713434487581,
-0.00013874440628569573,
0.05550232529640198,
-0.044270578771829605,
-0.017750168219208717,
-0.003915612120181322,
0.005611313972622156,
0.020311953499913216,
0.020220788195729256,
-0.021898256614804268,
-0.022809922695159912,
0.01334681361913681,
0.06673406809568405,
0.024578558281064034,
0.011277328245341778,
0.004663179628551006,
0.03590146824717522,
-0.002083160448819399,
-0.020822487771511078,
0.02443269081413746,
-0.016929667443037033,
-0.018853286281228065,
-0.03167133405804634,
-0.03927464038133621,
-0.0005683677736669779,
-0.02718592807650566,
-0.05072518438100815,
-0.02151535451412201,
0.07482967525720596,
0.021460656076669693,
-0.07450147718191147,
-0.05014171823859215,
-0.010511527769267559,
0.014440814964473248,
-0.04233784228563309,
0.08416515588760376,
-0.029775064438581467,
0.013264763168990612,
-0.015352481976151466,
0.012106945738196373,
0.009836893528699875,
0.05054285004734993,
-0.011915495619177818,
0.0048591881059110165,
0.0868636891245842,
-0.05783619359135628,
-0.020713087171316147,
-0.016747333109378815,
0.020001986995339394,
-0.041243843734264374,
0.04295777902007103,
-0.014914882369339466,
-0.06370732933282852,
-0.008050024509429932,
-0.04080624133348465,
0.05728919059038162,
-0.01105852797627449,
-0.07767407596111298,
-0.019746720790863037,
0.004731555003672838,
-0.05572112277150154,
0.007644332945346832,
-0.016528533771634102,
-0.005109896883368492,
0.04186377674341202,
-0.04208257794380188,
-0.03659433871507645,
-0.045911580324172974,
-0.010575343854725361,
0.03407813608646393,
-0.03814417123794556,
-0.04642211273312569,
-0.053897786885499954,
0.029300997033715248,
-0.03358583524823189,
-0.027495894581079483,
0.015853900462388992,
-0.049230050295591354,
-0.0005056906375102699,
0.0114414282143116,
0.006924115587025881,
0.0010677906684577465,
0.015717148780822754,
0.046713847666978836,
0.026256026700139046,
-0.020512521266937256,
-0.0032409783452749252,
-0.035883236676454544,
0.058784328401088715,
0.04215551167726517,
-0.049047715961933136,
-0.007284224033355713,
-0.006454606540501118,
0.01407614815980196,
0.017194051295518875,
-0.04171790927648544,
-0.03343996778130531,
0.008373666554689407,
-0.013811764307320118,
-0.03349466621875763,
-0.0617745965719223,
0.005593080539256334,
-0.043103642761707306,
-0.01795073412358761,
-0.049339450895786285,
0.03283826634287834,
0.0243415255099535,
-0.00603979779407382,
0.04463524743914604,
0.012006661854684353,
0.005292230285704136,
0.03407813608646393,
-0.0769447460770607,
-0.020293720066547394,
0.01617298275232315,
0.007835783064365387,
-0.02043958753347397,
0.01524308230727911,
-0.06279566138982773,
-0.00477257976308465,
-0.03582853823900223,
0.13536439836025238,
-0.046896182000637054,
0.051089853048324585,
0.059659529477357864,
0.021004822105169296,
0.03256476670503616,
-0.03606557101011276,
0.03814417123794556,
0.06709873676300049,
0.06458253413438797,
0.016008883714675903,
-0.038909971714019775,
0.0024911316577345133,
0.01435876451432705,
-0.019327353686094284,
-0.017221400514245033,
-0.007753733079880476,
0.03475276753306389,
0.05794559419155121,
0.002190281404182315,
0.0070335157215595245,
-0.0031224614940583706,
-0.014240248128771782,
0.0004652353818528354,
0.020020220428705215,
-0.012407796457409859,
-0.01028361078351736,
0.006937790662050247,
0.009353709407150745,
0.02171592228114605,
-0.007580515928566456,
0.01515191514045,
-0.041426174342632294,
-0.041426174342632294,
-0.007124682422727346,
-0.036102037876844406,
-0.03145253285765648,
-0.036284372210502625,
-0.03679490461945534,
0.022919323295354843,
-0.0034734534565359354,
-0.002083160448819399,
-0.039092306047677994,
0.027295328676700592,
0.025982527062296867,
0.020512521266937256,
0.013775297440588474,
-0.019236186519265175,
0.01183344516903162,
-0.016747333109378815,
0.04558337852358818,
0.025654327124357224,
-0.023885691538453102,
0.012726879678666592,
0.02824346162378788,
0.008688191883265972,
0.004831838421523571,
0.012991263531148434,
0.02718592807650566,
0.009827776812016964,
0.04707851633429527,
0.026328960433602333,
0.005615872330963612,
-0.03854530677199364,
0.006956023629754782,
-0.046896182000637054,
-0.08613435178995132,
0.052439119666814804,
0.018962686881422997,
0.008542325347661972,
0.046495046466588974,
-0.07599660754203796,
0.0399310402572155,
-0.0370137058198452,
0.05309551954269409,
-0.025253193452954292,
-0.02180708944797516,
0.039894573390483856,
-0.022171756252646446,
-0.04025924205780029,
-0.005501913838088512,
0.04762551560997963,
-0.010830610990524292,
-0.030249131843447685,
0.04146264120936394,
-0.0035691787488758564,
-0.010320077650249004,
0.0512721873819828,
0.023995092138648033,
-0.07716354727745056,
-0.030048564076423645,
-0.03132489696145058,
0.014896648935973644,
-0.020020220428705215,
-0.05480945482850075,
-0.024706192314624786,
-0.029975630342960358,
0.07413680851459503,
0.018534202128648758,
-0.05083458498120308,
0.023448091000318527,
0.020239021629095078,
-0.03865470737218857,
-0.001446132780984044,
0.024104490876197815,
-0.035318002104759216,
0.025854893028736115,
0.006905882153660059,
-0.035026270896196365,
0.010101277381181717,
0.019163252785801888,
-0.02260935679078102,
0.020822487771511078,
0.01810571923851967,
0.015069865621626377,
-0.021679455414414406,
0.01978318765759468,
0.007457441184669733,
0.09291715919971466,
-0.06950553506612778,
-0.008961692452430725,
0.04656798020005226,
-0.022463489323854446,
0.019327353686094284,
-0.016528533771634102,
0.022955790162086487,
-0.0034597786143422127,
-0.012517196126282215,
-0.06779160350561142,
0.015042515471577644,
-0.07019840180873871,
-0.024615025147795677,
0.03154369816184044,
-0.01792338490486145,
-0.040478043258190155,
0.06308739632368088,
0.05816439166665077,
0.01563509926199913,
0.02718592807650566,
0.035026270896196365,
-0.0211324542760849,
-0.028389329090714455,
0.03807123750448227,
0.017804868519306183,
0.014486398547887802,
-0.0162368007004261,
0.06564006954431534,
0.06567653268575668,
-0.014732548035681248,
-0.014294948428869247,
-0.0023384273517876863,
0.03905583918094635,
-0.038435906171798706,
0.08715542405843735,
0.006937790662050247,
0.006655173376202583,
-0.00029429770074784756,
0.025344358757138252,
0.0463491789996624,
-0.11968372017145157,
0.01320094708353281,
-0.01065739430487156,
0.024779126048088074,
0.011651111766695976,
-0.04532811418175697,
-0.0010877334279939532,
0.002286006463691592,
0.03728720545768738,
-0.009654560126364231,
0.025836659595370293,
-0.06418140232563019,
-0.04715145006775856,
0.03792537376284599,
-0.023247523233294487,
-0.011231744661927223,
-0.01929088681936264,
0.015416298992931843,
0.009627209976315498,
-0.0533507876098156,
-0.014814598485827446,
0.06334266811609268,
-0.008902434259653091,
0.0037879787851125,
-0.015398065559566021,
0.003423311747610569,
-0.016364432871341705,
0.02308342419564724,
0.03449750319123268,
0.010210677050054073,
-0.06108172982931137,
0.006832948885858059,
-0.02786056138575077,
-0.02005668729543686,
0.007954299449920654,
0.05083458498120308,
0.047771383076906204,
-0.001312801381573081,
-0.021497122943401337,
0.048683051019907,
-0.026638926938176155,
0.03807123750448227,
-0.030704963952302933,
0.031215498223900795,
-0.04463524743914604,
-0.05550232529640198,
0.02074955403804779,
-0.014559331350028515,
-0.09670969843864441,
-0.003411916084587574,
0.01754048466682434,
0.042301375418901443,
0.04696911573410034,
-0.07358980923891068,
0.05072518438100815,
-0.012371329590678215,
0.062467463314533234,
-0.011869912035763264,
-0.013064196333289146,
0.0007071121945045888,
-0.005748064257204533,
-0.027641762048006058,
0.03347643464803696,
-0.0012683575041592121,
-0.0031224614940583706,
-0.036484938114881516,
-0.011605528183281422,
0.009955409914255142,
0.02804289571940899,
0.020403120666742325,
-0.020585455000400543,
0.020767787471413612,
-0.007461999077349901,
-0.04857365041971207,
0.0348074696958065,
0.021952955052256584,
-0.04073330760002136,
-0.05327785387635231,
-0.0056842477060854435,
0.019327353686094284,
-0.015133681707084179,
0.05444478988647461,
0.05583052337169647,
0.0061036148108541965,
0.022080589085817337,
0.0673540011048317,
-0.09663676470518112,
0.0076990327797830105,
-0.04842778295278549,
0.03223656490445137,
0.0480995811522007,
-0.03311176598072052,
0.004451217129826546,
-0.052730854600667953,
0.01740373484790325,
0.037250738590955734,
-0.003977149724960327,
-0.04390591010451317,
0.04441644623875618,
-0.005242088809609413,
-0.002518481807783246,
0.007594191003590822,
-0.04594804719090462,
0.027933495119214058,
0.003430149285122752,
0.02160652168095112,
-0.029392164200544357,
-0.00953604280948639,
-0.07512141019105911,
0.049922917038202286,
0.024505624547600746,
0.019327353686094284,
-0.0010239166440442204,
-0.03938404098153114,
0.10465943813323975,
-0.021059522405266762,
0.017914269119501114,
0.04478111118078232,
-0.0030859948601573706,
0.057216256856918335,
0.03945697471499443,
-0.023247523233294487,
0.07424621284008026,
0.04058744013309479,
0.011167927645146847,
-0.011186161078512669,
0.03942050784826279,
-0.010301844216883183,
-0.10619103908538818,
-0.0010951407020911574,
-0.019619086757302284,
0.01898092031478882,
0.04882891848683357,
-0.02239055559039116,
-0.008300733752548695,
-0.02747766114771366,
0.007904157973825932,
0.006080823019146919,
-0.00711100734770298,
0.0287175290286541,
0.032400667667388916,
-0.02045782096683979,
-0.00489565497264266,
-0.08307114988565445,
0.0012683575041592121,
0.030704963952302933,
0.03154369816184044,
0.03728720545768738,
0.053314320743083954,
-0.005807322449982166,
0.022828156128525734,
0.02326575666666031,
-0.022718757390975952,
-0.005369722377508879,
-0.03475276753306389,
0.010092160664498806,
-0.026638926938176155,
-0.024669725447893143,
0.012243695557117462,
0.015370715409517288,
-0.03825357183814049,
0.003952078986912966,
-0.01967378705739975,
0.01475989818572998,
0.024724425747990608,
-0.005666014272719622,
0.015325132757425308,
-0.044452913105487823,
-0.024724425747990608,
0.02337515726685524,
0.0061856647953391075,
-0.02279168926179409,
0.023411624133586884,
0.04802664741873741,
-0.03612026944756508,
0.013273879885673523,
-0.010165093466639519,
0.020603688433766365,
-0.04988645017147064,
0.010374777019023895,
0.0013697805115953088,
-0.002500248374417424,
0.030905531719326973,
-0.018670951947569847,
0.013328580185770988,
-0.03223656490445137,
-0.0036740205250680447,
0.053824856877326965,
-0.022554656490683556,
0.0381806381046772,
0.02853519655764103,
-0.06622353196144104,
0.0093992929905653,
0.00659591518342495,
-0.025070859119296074,
-0.011888145469129086,
-0.0064819566905498505,
0.04937591776251793,
-0.07326161116361618,
0.030467931181192398,
-0.025289658457040787,
-0.0451822467148304,
0.013210063800215721,
-0.009116675704717636,
-0.017358150333166122,
-0.01509721577167511,
-0.007471115794032812,
0.005428980570286512,
-0.04890184849500656,
0.010447710752487183,
-0.0037674664054065943,
0.02171592228114605,
-0.021351255476474762,
-0.024177424609661102,
0.022572889924049377,
0.03460690379142761,
0.010857961140573025,
0.021752389147877693,
-0.013529147021472454,
0.013410630635917187,
0.019892586395144463,
-0.016811151057481766,
0.07446500658988953,
-0.018871519714593887,
-0.015498349443078041,
-0.05739859119057655,
0.004018174950033426,
0.05521059036254883,
0.00321590737439692,
-0.04014984145760536,
-0.03865470737218857,
0.02640189416706562,
-0.04434351250529289,
0.013775297440588474,
0.021898256614804268,
-0.027897028252482414,
0.01257189642637968,
-0.020129621028900146,
-0.02474265918135643,
-0.08256062120199203,
0.015161031857132912,
-0.022189989686012268,
0.05437185615301132,
-0.010529761202633381,
0.04383297637104988,
0.014531981199979782,
0.016628816723823547,
0.021114220842719078,
0.004660900682210922,
-0.03407813608646393,
0.0062585980631411076,
0.024232124909758568,
0.045255180448293686,
0.022171756252646446,
-0.038727641105651855,
0.016318850219249725,
-0.007963416166603565,
0.0571068599820137,
-0.04820898175239563,
-0.0019338749116286635,
-0.07818461209535599,
0.06458253413438797,
-0.004581129644066095,
0.08095608651638031,
0.031124331057071686,
-0.024615025147795677,
0.013219180516898632,
0.03212716802954674,
-0.030358530580997467,
0.03198130056262016,
-0.019837886095046997,
0.014158197678625584,
-0.031798966228961945,
-0.031707800924777985,
-0.031507231295108795,
-0.014531981199979782,
-0.007831224240362644,
0.015124565921723843,
-0.0037811414804309607,
0.013474446721374989,
-0.029063962399959564,
-0.009700143709778786,
-0.012763346545398235,
-0.015316016040742397,
-0.03956637531518936,
-0.030704963952302933,
0.03690430521965027,
0.005743505898863077,
0.025544926524162292,
0.07621540874242783,
0.025690792128443718,
-0.019929053261876106,
0.00521473865956068,
0.01373883057385683,
-0.034825701266527176,
-0.004421588033437729,
0.022755222395062447,
-0.050579316914081573,
0.013957630842924118,
-0.07526727765798569,
-0.07187587022781372,
0.013246530666947365,
0.00039714519516564906,
-0.057909127324819565,
-0.0646919310092926,
0.0225911233574152,
-0.05309551954269409,
0.014732548035681248,
0.039092306047677994,
-0.0480995811522007,
0.03854530677199364,
-0.004736113362014294,
-0.028097596019506454,
-0.025253193452954292,
0.10269023478031158,
0.07512141019105911,
-0.06921380758285522,
-0.05754445865750313,
0.05739859119057655,
-0.06020652875304222,
0.05134511739015579,
-0.00430762954056263,
-0.05305905267596245,
0.045911580324172974,
-0.011651111766695976,
-0.029665663838386536,
0.05696099251508713,
0.009084767661988735,
0.015507466159760952,
-0.0047042048536241055,
0.015179265290498734,
-0.0019190602470189333,
0.01397586427628994,
-0.01723051816225052,
-0.026565993204712868,
0.01285451278090477,
-0.024815592914819717,
-0.01635531708598137,
0.0004361759638413787,
0.04215551167726517,
-0.011377611197531223,
-0.04467171058058739,
0.006418139673769474,
0.019327353686094284,
-0.023630423471331596,
0.050506386905908585,
-0.006641498301178217,
0.03446103632450104,
0.015954183414578438,
-0.042921312153339386,
0.004129854030907154,
-0.036758437752723694,
0.06556713581085205,
0.041353240609169006,
0.006331531330943108,
0.012024895288050175,
-0.039785172790288925,
-0.02043958753347397,
0.04102504253387451,
-0.027696462348103523,
0.0014142243890091777,
-0.009481343440711498,
-0.018515968695282936,
-0.0211324542760849,
0.012900096364319324,
-0.0021116500720381737,
-0.03519036993384361,
-0.030522631481289864,
-0.014294948428869247,
-0.02142418920993805,
-0.06790100038051605,
0.008291617035865784,
0.041535574942827225,
0.07687181234359741,
-0.005146363750100136,
0.028316395357251167,
0.00018162127526011318,
0.009608976542949677,
-0.002830727957189083,
-0.008519534021615982,
-0.01666528359055519,
-0.02160652168095112,
0.00003352871135575697,
0.012836279347538948,
-0.019619086757302284,
-0.01740373484790325,
0.066770538687706,
0.03143429756164551,
-0.048683051019907,
-0.014304064214229584,
0.04623978212475777,
-0.0029104987625032663,
-0.013875581324100494,
0.08525915443897247,
-0.027696462348103523,
0.048245448619127274,
-0.005164597183465958,
-0.0279699619859457,
0.09021862596273422,
0.036484938114881516,
0.04645857959985733,
-0.0405145063996315,
-0.0533507876098156,
0.02200765535235405,
-0.04722438007593155,
0.03196306526660919,
0.008091050200164318,
-0.07030780613422394,
0.0029902698006480932,
0.007416415959596634,
-0.016765566542744637,
-0.033640533685684204,
-0.013465330004692078,
-0.0025617859791964293,
-0.004628992173820734,
-0.01207959558814764,
0.055392924696207047,
-0.005994214676320553,
0.0445987805724144,
-0.0043258629739284515,
-0.022226456552743912,
0.06440019607543945,
-0.013538263738155365,
0.014668731950223446,
-0.003776583122089505,
0.07658007740974426,
0.030322063714265823,
-0.10597224533557892,
0.003945241682231426,
0.026730094105005264,
-0.004364608787000179,
-0.005096221808344126,
0.08285234868526459,
0.009321801364421844,
0.029574496671557426,
-0.025271425023674965,
0.014623148366808891,
0.04040510952472687,
0.017039068043231964,
-0.023940391838550568,
0.03236420080065727,
-0.005975981242954731,
-0.033275868743658066
] |
711,194
|
yt_dlp.YoutubeDL
|
save_cookies
| null |
def save_cookies(self):
if self.params.get('cookiefile') is not None:
self.cookiejar.save()
|
(self)
|
[
-0.012378621846437454,
0.004755461122840643,
-0.021516233682632446,
0.04055504500865936,
0.007648613769561052,
-0.006885025184601545,
-0.036245010793209076,
0.05216159671545029,
0.006439598277211189,
0.06614375114440918,
-0.004466994199901819,
0.029729055240750313,
0.00787344854325056,
-0.009366688318550587,
0.03705950826406479,
-0.08470744639635086,
0.016026878729462624,
0.00004003538197139278,
-0.002284402959048748,
-0.007525591179728508,
-0.03950298950076103,
-0.02144835889339447,
0.021312611177563667,
-0.014482732862234116,
0.018869126215577126,
-0.01494088675826788,
0.03169741854071617,
0.038722433149814606,
0.0036312886513769627,
0.0421500988304615,
-0.0339033417403698,
-0.015967488288879395,
-0.011504736728966236,
0.04055504500865936,
0.030017521232366562,
0.01968362182378769,
0.0030798078514635563,
0.034140899777412415,
-0.03984236344695091,
-0.01263315137475729,
-0.04469539597630501,
0.04540807753801346,
-0.02048114687204361,
-0.011835625395178795,
-0.03324156254529953,
0.03770431503653526,
-0.01686682738363743,
0.06346271187067032,
0.03427664935588837,
-0.07812361419200897,
0.011021130718290806,
0.01293010264635086,
0.032545849680900574,
-0.03073020465672016,
0.0680781826376915,
-0.027234666049480438,
0.047783687710762024,
0.008891566656529903,
-0.05317971482872963,
0.07466200739145279,
0.047783687710762024,
-0.018665501847863197,
0.036211077123880386,
-0.0492769256234169,
0.019989056512713432,
0.06746730953454971,
0.0009868324268609285,
0.015229353681206703,
0.022636163979768753,
-0.007215913850814104,
0.014245172031223774,
-0.08708305656909943,
0.020973237231373787,
0.008607341907918453,
0.03429361805319786,
-0.03307187557220459,
-0.04055504500865936,
0.01147928461432457,
-0.08599705994129181,
0.017851008102297783,
-0.05107560381293297,
-0.10303357243537903,
-0.029152121394872665,
-0.01976846344769001,
0.001826249761506915,
0.021753795444965363,
0.042285848408937454,
0.012183482758700848,
-0.016366252675652504,
0.04381302371621132,
-0.0063293022103607655,
0.037840064615011215,
-0.03252888098359108,
-0.018648535013198853,
0.005972960963845253,
-0.0678066834807396,
0.007288030348718166,
0.028812749311327934,
-0.018784282729029655,
0.022093167528510094,
-0.030322957783937454,
0.009298814460635185,
-0.031154420226812363,
-0.05721824988722801,
0.019004875794053078,
-0.0564037561416626,
0.0018135232385247946,
-0.043507590889930725,
0.009120643138885498,
-0.005476627964526415,
-0.03324156254529953,
0.0034891762770712376,
0.020515084266662598,
0.02967814914882183,
0.017240136861801147,
-0.030798079445958138,
0.0013065851526334882,
-0.015399039722979069,
0.0012408316833898425,
-0.029644211754202843,
-0.05772731080651283,
0.05144891142845154,
-0.03614320233464241,
0.05277246609330177,
0.01223438885062933,
-0.010987193323671818,
0.05372270941734314,
0.07778424024581909,
-0.026012923568487167,
0.041946474462747574,
0.04873393103480339,
-0.01418578252196312,
0.012539824470877647,
-0.020871425047516823,
0.02854125015437603,
-0.035702016204595566,
-0.034565117210149765,
-0.012675573118031025,
-0.053417276591062546,
0.048632118850946426,
-0.027048010379076004,
-0.007215913850814104,
-0.019106687977910042,
-0.007449232507497072,
-0.00224622362293303,
0.01689228042960167,
-0.020667802542448044,
-0.07221852988004684,
-0.061935532838106155,
-0.034310586750507355,
0.048089124262332916,
0.035905640572309494,
-0.06736549735069275,
-0.0914270281791687,
-0.006600800435990095,
-0.06641525030136108,
-0.015645084902644157,
0.03127320110797882,
-0.005659040994942188,
0.03576989099383354,
0.020582959055900574,
0.03290219232439995,
-0.005438448861241341,
-0.009790904819965363,
-0.002698013558983803,
0.06023866683244705,
0.002920727012678981,
0.07004654407501221,
0.021431390196084976,
0.034395430237054825,
-0.011547158472239971,
0.001142201479524374,
0.02295856922864914,
0.025911111384630203,
-0.07316876947879791,
0.014788168482482433,
-0.012836775742471218,
-0.07608737796545029,
0.04374515265226364,
0.06061197817325592,
-0.004551837220788002,
-0.0635305866599083,
-0.015729928389191628,
0.09393838793039322,
0.08891566842794418,
-0.028134003281593323,
-0.030492644757032394,
0.05002354830503464,
0.047240689396858215,
0.03459905460476875,
0.013303413055837154,
0.015942037105560303,
-0.033326406031847,
-0.03454814851284027,
0.019106687977910042,
-0.06498988717794418,
0.026284420862793922,
-0.07893810421228409,
-0.015305711887776852,
-0.013498552143573761,
-0.02355246990919113,
-0.020039962604641914,
0.0168074369430542,
-0.0766303762793541,
0.052365221083164215,
0.0697750449180603,
0.04381302371621132,
-0.02455362118780613,
0.012158029712736607,
0.05922054871916771,
-0.0015865677269175649,
-0.012327715754508972,
-0.07215065509080887,
-0.03848487138748169,
0.011275660246610641,
-0.04554382711648941,
-0.024774212390184402,
-0.0038285490591078997,
0.0056081353686749935,
0.05674313008785248,
0.004089442081749439,
0.02275494486093521,
-0.053620897233486176,
0.028422469273209572,
-0.012836775742471218,
0.006494746543467045,
0.041742850095033646,
0.023773062974214554,
-0.000577994273044169,
-0.058032743632793427,
-0.03185013681650162,
0.03273250535130501,
-0.005849938374012709,
-0.03804368898272514,
0.013710659928619862,
0.009392141364514828,
0.010834475979208946,
0.023908812552690506,
-0.0209392998367548,
0.013142210431396961,
-0.0017848886782303452,
-0.03266463056206703,
0.04523839056491852,
0.020786583423614502,
0.03882424533367157,
0.03522689267992973,
0.06590619683265686,
-0.0028613368049263954,
-0.007478927727788687,
-0.012760416604578495,
0.0450008288025856,
-0.03176529332995415,
-0.004428814630955458,
-0.0185127854347229,
0.032970067113637924,
-0.003877334063872695,
0.012047733180224895,
0.006108710076659918,
0.026538951322436333,
0.003306763479486108,
-0.0014168813358992338,
0.004517900291830301,
0.03207072615623474,
-0.021007174625992775,
-0.0015992942498996854,
0.02720072865486145,
0.033767592161893845,
-0.025622645393013954,
-0.01632383093237877,
0.016544422134757042,
0.02287372574210167,
-0.001245073857717216,
-0.050634417682886124,
-0.045611701905727386,
0.009451531805098057,
-0.07880236208438873,
-0.0025113585870712996,
-0.048666056245565414,
-0.054163895547389984,
0.05796486884355545,
0.04435602203011513,
-0.006375966127961874,
0.019581809639930725,
-0.0017923124833032489,
-0.029406651854515076,
0.036075327545404434,
0.024248184636235237,
0.05056654289364815,
-0.014346984215080738,
-0.03400515392422676,
-0.05294215306639671,
0.013787019066512585,
0.00821706373244524,
-0.00033035819069482386,
-0.050057485699653625,
-0.009112158790230751,
-0.027760693803429604,
-0.019174562767148018,
0.048089124262332916,
0.029644211754202843,
-0.03824731335043907,
-0.041742850095033646,
-0.03156166896224022,
-0.030967766419053078,
0.03722919523715973,
-0.03454814851284027,
-0.03957086428999901,
0.026912260800600052,
0.021414421498775482,
0.09353113919496536,
0.046867381781339645,
0.010189667344093323,
-0.028676999732851982,
0.04007992520928383,
-0.0002591694355942309,
0.013252506963908672,
-0.010885382071137428,
-0.022110136225819588,
0.036414697766304016,
0.02132957987487316,
0.029287870973348618,
-0.021601077169179916,
-0.04425420984625816,
0.021855607628822327,
0.03539657965302467,
-0.012667088769376278,
0.003249494358897209,
0.019734526053071022,
-0.013413708657026291,
-0.004802124574780464,
-0.027438288554549217,
0.060001108795404434,
0.0023247036151587963,
0.030458707362413406,
-0.017596477642655373,
-0.00449244724586606,
0.023179160431027412,
-0.03269856795668602,
0.044966891407966614,
0.05087197944521904,
-0.08966229110956192,
-0.12583942711353302,
-0.04235372319817543,
-0.007831026799976826,
-0.014677872881293297,
0.02489299327135086,
0.032172538340091705,
0.03597351536154747,
0.004819093272089958,
-0.01147928461432457,
-0.0293387770652771,
-0.010308448225259781,
0.07282939553260803,
0.01655290648341179,
0.01130959764122963,
-0.051822222769260406,
0.02267010137438774,
-0.03773825243115425,
0.0029334535356611013,
-0.03366577997803688,
0.0678066834807396,
0.026759542524814606,
0.03178226202726364,
-0.015959003940224648,
0.027523132041096687,
-0.022466477006673813,
0.03436149284243584,
-0.013617333024740219,
0.01597597263753414,
-0.10656305402517319,
0.07608737796545029,
-0.008539467118680477,
0.05636981874704361,
-0.04466145858168602,
0.026335326954722404,
0.01734194904565811,
0.04483114555478096,
0.010444196872413158,
0.017986757680773735,
0.009621217846870422,
-0.025962017476558685,
-0.04754612594842911,
-0.01868247054517269,
-0.00006237300112843513,
-0.04394877329468727,
0.030238114297389984,
-0.012208935804665089,
-0.005731157958507538,
0.048123057931661606,
0.029186058789491653,
0.0501253604888916,
0.031239263713359833,
-0.010562977753579617,
-0.029779961332678795,
-0.012310747057199478,
0.031290169805288315,
-0.02002299390733242,
0.04075866937637329,
0.05253490433096886,
0.06739943474531174,
-0.009052769280970097,
-0.01617959700524807,
0.008798238821327686,
0.036041390150785446,
-0.020209649577736855,
0.008747333660721779,
-0.056607380509376526,
-0.022347697988152504,
0.04449177160859108,
-0.039061807096004486,
-0.0045475950464606285,
-0.023399753496050835,
0.03841699659824371,
-0.011258691549301147,
0.029864804819226265,
0.04880180582404137,
0.0022525868844240904,
-0.08212821185588837,
0.018241286277770996,
0.027353445068001747,
-0.0015399039257317781,
0.04055504500865936,
-0.009553343988955021,
0.03899393230676651,
-0.022466477006673813,
-0.011173848994076252,
0.009120643138885498,
0.03324156254529953,
-0.005989929661154747,
-0.037297070026397705,
0.020599927753210068,
-0.05334940180182457,
-0.032545849680900574,
-0.013430677354335785,
0.025554770603775978,
0.041369542479515076,
-0.035735953599214554,
0.021058080717921257,
-0.049175117164850235,
0.002373488387092948,
-0.020498115569353104,
-0.008552193641662598,
-0.033937279134988785,
-0.008424929343163967,
0.06393782794475555,
0.03244403749704361,
0.01668865606188774,
0.06278396397829056,
0.018360067158937454,
-0.006931689102202654,
0.00326858414337039,
0.021482296288013458,
-0.04401664808392525,
-0.04401664808392525,
0.016968639567494392,
0.08328207582235336,
0.028507312759757042,
-0.025164490565657616,
0.02572445571422577,
0.007631645537912846,
0.061765845865011215,
0.0286260936409235,
0.06627950072288513,
-0.014839074574410915,
0.01868247054517269,
-0.015076635405421257,
0.022941600531339645,
0.04259128496050835,
0.047919437289237976,
-0.032545849680900574,
-0.017155293375253677,
0.034310586750507355,
-0.040690794587135315,
-0.047749750316143036,
-0.0037118897307664156,
0.05847392976284027,
0.026589857414364815,
0.025554770603775978,
0.009706061333417892,
0.05229734629392624,
-0.056301943957805634,
0.037500690668821335,
-0.025707487016916275,
-0.005018474999815226,
0.003052233951166272,
-0.05246702954173088,
0.007271061651408672,
-0.04540807753801346,
0.06281790137290955,
0.008925504051148891,
0.019615747034549713,
-0.04089441895484924,
-0.09509225189685822,
0.00938365701586008,
0.017613446339964867,
-0.005468144081532955,
0.02190651185810566,
0.024078497663140297,
-0.02409546636044979,
-0.07486563175916672,
-0.0016894401051104069,
-0.039638739079236984,
-0.03638076037168503,
0.0737796425819397,
-0.0450008288025856,
-0.03648257255554199,
-0.0398763008415699,
-0.024536652490496635,
-0.005523291882127523,
0.02019268088042736,
-0.011623517610132694,
-0.009112158790230751,
-0.03736494109034538,
-0.03176529332995415,
0.00016411855176556855,
0.007033500820398331,
-0.05898298695683479,
-0.003548566484823823,
-0.008908535353839397,
0.03563414141535759,
-0.03281734883785248,
-0.02446877770125866,
0.10785266757011414,
0.0055487449280917645,
-0.03885818272829056,
-0.033852435648441315,
-0.05820243060588837,
-0.021227767691016197,
0.02489299327135086,
0.042964592576026917,
-0.045645639300346375,
-0.053451213985681534,
0.012565277516841888,
0.024027593433856964,
0.00768255116418004,
0.0180885698646307,
0.025928080081939697,
-0.022653132677078247,
0.018495816737413406,
-0.056980688124895096,
0.012353168800473213,
-0.0071437968872487545,
-0.031290169805288315,
0.016900764778256416,
-0.0063547552563250065,
-0.0347517728805542,
-0.007661340292543173,
-0.01574689708650112,
0.008577646687626839,
0.06716187298297882,
0.027014072984457016,
0.07289727032184601,
0.07411901652812958,
-0.06146040931344032,
0.002929211361333728,
-0.05796486884355545,
0.029813898727297783,
-0.019208498299121857,
-0.02090536244213581,
0.014211234636604786,
0.040147799998521805,
-0.02577536180615425,
0.025486895814538002,
-0.014991792850196362,
-0.00787344854325056,
-0.05436751991510391,
0.03403909131884575,
-0.010232089087367058,
0.008195852860808372,
-0.005807516630738974,
0.06773880869150162,
0.021635014563798904,
0.034106962382793427,
0.033513061702251434,
0.011072036810219288,
-0.0049336315132677555,
0.028744874522089958,
0.05124529078602791,
-0.0002346444525755942,
0.01410093903541565,
-0.039808426052331924,
0.04944661259651184,
-0.03478571027517319,
-0.03084898553788662,
0.02446877770125866,
-0.005039685871452093,
0.05657344311475754,
0.04876786842942238,
-0.023026442155241966,
0.04276096820831299,
-0.0464261956512928,
0.06529532372951508,
-0.01885215751826763,
-0.07452626526355743,
-0.03566807880997658,
0.00018546191859059036,
0.0595259852707386,
-0.025283271446824074,
-0.06957142055034637,
-0.003970661666244268,
0.028049159795045853,
-0.025639614090323448,
-0.005298457574099302,
-0.010003012605011463,
-0.04384696111083031,
0.020073899999260902,
-0.07595162838697433,
0.041233792901039124,
-0.00625294353812933,
-0.013057367876172066,
-0.03716132044792175,
-0.011487768031656742,
0.0020532053895294666,
0.042998529970645905,
-0.020871425047516823,
0.0709289088845253,
-0.013277960009872913,
-0.033343374729156494,
-0.08056709915399551,
0.065498948097229,
-0.017494667321443558,
-0.0678066834807396,
0.014075485989451408,
0.023009473457932472,
-0.04802124947309494,
-0.04893755540251732,
0.010927803814411163,
0.027387382462620735,
-0.0029249691870063543,
-0.02115989290177822,
-0.020498115569353104,
0.014915433712303638,
0.03967267647385597,
-0.03933330625295639,
0.035702016204595566,
0.006571105215698481,
-0.011368988081812859,
-0.02979693002998829,
0.04018173739314079,
-0.03195194527506828,
0.010121793486177921,
0.03841699659824371,
-0.015967488288879395,
-0.006295364815741777,
-0.01947999745607376,
-0.027760693803429604,
-0.018207348883152008,
0.0018463999731466174,
0.04449177160859108,
-0.08009197562932968,
-0.03022114560008049,
-0.02324703522026539,
0.0063717239536345005,
0.022398604080080986,
0.03994417563080788,
-0.05738793686032295,
0.02703104168176651,
0.027081947773694992,
0.013651269488036633,
-0.0012132576666772366,
0.0344633050262928,
-0.018903063610196114,
0.0015632358845323324,
-0.015297227539122105,
0.02438393421471119,
-0.008806723169982433,
-0.04055504500865936,
0.043507590889930725,
-0.0008680519531480968,
0.007691035512834787,
0.01842794194817543,
-0.009137611836194992,
0.012463465332984924,
0.02261919528245926,
0.024536652490496635,
-0.030289020389318466,
-0.011165364645421505,
-0.02090536244213581,
0.03298703208565712,
-0.024774212390184402,
-0.010147245600819588,
-0.027387382462620735,
0.017392855137586594,
-0.01863156631588936,
0.011156880296766758,
0.005497838836163282,
0.022636163979768753,
0.007924354635179043,
-0.03432755544781685,
-0.011445347219705582,
-0.03185013681650162,
0.011199302040040493,
-0.013481583446264267,
0.02073567733168602,
-0.03539657965302467,
0.027217697352170944,
-0.012132576666772366,
0.06604193896055222,
0.02401062473654747,
-0.021176861599087715,
-0.07561225444078445,
0.02216104231774807,
-0.008514014072716236,
0.032970067113637924,
0.004865757189691067,
-0.005811758805066347,
0.007389842066913843,
-0.04001205042004585,
0.008263726718723774,
-0.04968417435884476,
-0.06794243305921555,
-0.021923480555415154,
-0.004708797205239534,
0.015127541497349739,
-0.049548424780368805,
0.0026831659488379955,
-0.022194979712367058,
-0.05531776323914528,
0.03320762515068054,
-0.029406651854515076,
-0.004080957733094692,
0.03984236344695091,
-0.02770978771150112,
0.01152170542627573,
0.02065083384513855,
-0.04411846026778221,
-0.04024961218237877,
-0.013676722534000874,
-0.00792011246085167,
-0.000008832309504214209,
-0.05704856291413307,
0.015059666708111763,
-0.03936724364757538,
0.0501253604888916,
-0.08769392222166061,
-0.03436149284243584,
0.0026004440151154995,
-0.04113198071718216,
-0.04890361800789833,
0.01550933625549078,
-0.010656305588781834,
-0.0529760904610157,
0.002570748794823885,
0.035702016204595566,
0.051652535796165466,
-0.01720619946718216,
0.06196947023272514,
-0.06471838802099228,
-0.014618482440710068,
0.030543548986315727,
-0.017494667321443558,
0.02594504877924919,
0.010164214298129082,
0.01677349954843521,
0.004708797205239534,
0.01796978898346424,
-0.007449232507497072,
0.04591713845729828,
0.04343971610069275,
0.06112103536725044,
-0.03157863765954971,
0.03777218982577324,
-0.009188517928123474,
-0.05087197944521904,
0.08280695974826813,
-0.0005398148205131292,
0.01683288998901844,
-0.012005312368273735
] |
711,195
|
yt_dlp.YoutubeDL
|
sort_formats
| null |
def sort_formats(self, info_dict):
formats = self._get_formats(info_dict)
formats.sort(key=FormatSorter(
self, info_dict.get('_format_sort_fields') or []).calculate_preference)
|
(self, info_dict)
|
[
0.06498109549283981,
-0.016796838492155075,
0.011281201615929604,
-0.032783567905426025,
-0.02635440230369568,
-0.02532022073864937,
0.03957469388842583,
-0.01568509265780449,
-0.020373383536934853,
0.006511037237942219,
-0.02494102157652378,
-0.02266582101583481,
0.03264567628502846,
-0.025406403467059135,
-0.0005822659586556256,
0.010850291699171066,
-0.03107716701924801,
0.01377185620367527,
0.007053982466459274,
-0.0664634257555008,
-0.013840802013874054,
-0.019408147782087326,
-0.017770692706108093,
-0.06267142295837402,
0.04988204315304756,
0.023837894201278687,
0.01731392927467823,
-0.02133862115442753,
-0.028302112594246864,
-0.002454027533531189,
0.002848309464752674,
0.02483760192990303,
0.014030401594936848,
0.042953021824359894,
-0.06074095144867897,
-0.05912073329091072,
0.016831310465931892,
0.018132656812667847,
-0.03328342363238335,
0.07191012054681778,
0.044331930577754974,
-0.04688291251659393,
-0.010066037066280842,
-0.039712585508823395,
-0.022855421528220177,
0.06139593571424484,
-0.09266269952058792,
0.04322880506515503,
-0.011014037765562534,
0.013866656459867954,
-0.07066909968852997,
-0.09797149896621704,
-0.001962791197001934,
0.043745893985033035,
-0.04622793197631836,
0.017667274922132492,
0.059982553124427795,
0.02852618508040905,
0.012306764721870422,
-0.02995680272579193,
0.002041432075202465,
-0.008885346353054047,
-0.052950114011764526,
-0.016995055601000786,
-0.021579930558800697,
-0.0504680797457695,
0.01868421956896782,
-0.04646924138069153,
-0.04919258877635002,
-0.018563564866781235,
0.014711238443851471,
0.025251274928450584,
0.01647796481847763,
0.007829618640244007,
-0.02582007646560669,
0.01470261998474598,
-0.00902323704212904,
-0.008376874029636383,
0.0134012745693326,
-0.02842276729643345,
0.05863811448216438,
-0.008053692057728767,
0.04988204315304756,
-0.03467956930398941,
0.01894276589155197,
-0.040850184857845306,
0.09817834198474884,
0.004589182324707508,
0.04371142387390137,
0.07646051794290543,
-0.006937636993825436,
-0.05612160637974739,
0.02301054820418358,
-0.04760684072971344,
0.006455019116401672,
0.025837311521172523,
-0.030611785128712654,
-0.01317720115184784,
-0.031645968556404114,
0.020528512075543404,
0.01897723786532879,
-0.07873571664094925,
0.01025563757866621,
-0.06315404176712036,
0.012746292166411877,
-0.05198488011956215,
0.014176910743117332,
0.022390039637684822,
-0.07170327752828598,
0.05777629837393761,
0.01894276589155197,
-0.05808655172586441,
0.01663309335708618,
-0.06294720619916916,
0.08183826506137848,
-0.027405820786952972,
0.002979736775159836,
-0.03149084001779556,
0.0034300368279218674,
-0.0032899912912398577,
-0.028801966458559036,
0.030956512317061424,
0.02419985644519329,
0.014306182973086834,
-0.10583128780126572,
-0.008523383177816868,
0.021286912262439728,
-0.0017128637991845608,
-0.006674782373011112,
0.022700292989611626,
0.003149945754557848,
0.0504680797457695,
-0.029836148023605347,
0.0002546403557062149,
0.04136727750301361,
-0.03397287800908089,
-0.038781821727752686,
0.021269675344228745,
-0.0011860773665830493,
0.03726502135396004,
0.008833637461066246,
-0.017589710652828217,
-0.006416236981749535,
-0.03857498615980148,
0.01814989373087883,
0.03224923834204674,
0.002841845853254199,
0.03623083978891373,
-0.0019800274167209864,
-0.01180691085755825,
0.005959473550319672,
0.07108277082443237,
0.028560657054185867,
0.006114600691944361,
0.008807783015072346,
-0.05729367956519127,
-0.025406403467059135,
-0.02600967511534691,
-0.017787929624319077,
0.0030357548967003822,
0.06870415061712265,
0.023027785122394562,
0.04502138867974281,
-0.018856583163142204,
-0.04819287732243538,
0.07246167957782745,
0.016167711466550827,
-0.05022677034139633,
-0.0023376820608973503,
0.006459327880293131,
0.020235493779182434,
0.00959203764796257,
-0.02297607623040676,
-0.03581716865301132,
0.07921833544969559,
0.00321027310565114,
-0.021373093128204346,
-0.01515076495707035,
0.029026038944721222,
0.042815133929252625,
0.021407566964626312,
0.007558146491646767,
-0.009824728593230247,
0.05281222239136696,
-0.027061093598604202,
-0.021700583398342133,
0.0014220001175999641,
-0.026819784194231033,
-0.027112802490592003,
-0.04595215246081352,
0.005231237038969994,
0.057914189994335175,
-0.0135046923533082,
-0.006502418778836727,
0.02600967511534691,
0.03916102275252342,
-0.011824146844446659,
-0.0053088003769516945,
0.022786475718021393,
0.0017268683295696974,
-0.00964374653995037,
-0.03978153318166733,
-0.013530546799302101,
-0.022631347179412842,
-0.013470219448208809,
0.003845863975584507,
0.024234330281615257,
-0.03274909406900406,
-0.03888523951172829,
-0.025113385170698166,
0.020425092428922653,
-0.03940233215689659,
-0.01180691085755825,
-0.0034235732164233923,
-0.00873021874576807,
-0.0016363774193450809,
0.09397266805171967,
0.001085352385416627,
-0.03605847805738449,
0.010660692118108273,
-0.02444116584956646,
0.05681106075644493,
-0.013366801664233208,
-0.017624184489250183,
0.03943680599331856,
0.06463637202978134,
0.01313411071896553,
-0.008398419246077538,
-0.018305020406842232,
-0.00993676483631134,
-0.02266582101583481,
-0.06094778701663017,
-0.059637825936079025,
-0.007691727951169014,
0.03240436688065529,
-0.01509905606508255,
0.014892219565808773,
-0.03743738681077957,
-0.06267142295837402,
-0.0010476477909833193,
0.043056439608335495,
0.06866967678070068,
-0.008148491382598877,
-0.004938218742609024,
-0.027578184381127357,
-0.0871470645070076,
0.007950273342430592,
-0.04091913253068924,
-0.03536902368068695,
-0.0016740820137783885,
0.030904803425073624,
0.010410765185952187,
-0.00708414614200592,
-0.023975783959031105,
-0.05887942388653755,
-0.06467084586620331,
-0.057672880589962006,
0.005782800726592541,
0.004959764424711466,
-0.0010880455374717712,
-0.026182038709521294,
-0.01825331151485443,
-0.0369892418384552,
0.00047750119119882584,
0.013711528852581978,
-0.026647420600056648,
0.062050916254520416,
-0.0040742456912994385,
-0.017667274922132492,
0.041643060743808746,
-0.00956618320196867,
-0.07508160918951035,
-0.06629106402397156,
0.06046517193317413,
-0.029094984754920006,
0.05794866010546684,
0.07639157027006149,
-0.02326909266412258,
0.006347291637212038,
0.01416829228401184,
0.09638575464487076,
-0.03454167768359184,
-0.03311105817556381,
0.029784439131617546,
0.045124806463718414,
0.02464800328016281,
-0.0007648637401871383,
0.02980167604982853,
-0.034455493092536926,
0.025165094062685966,
0.03957469388842583,
0.03305934742093086,
0.040643349289894104,
0.012392946518957615,
-0.051467787474393845,
-0.0436769500374794,
0.0667736828327179,
-0.03242160379886627,
0.016546910628676414,
-0.002092063892632723,
-0.028043566271662712,
-0.0010481864446774125,
0.11327739804983139,
0.00773481884971261,
0.002986200386658311,
-0.00640761898830533,
-0.029525894671678543,
-0.03255949541926384,
-0.007838237099349499,
0.0031003912445157766,
0.03211135044693947,
0.027698839083313942,
-0.0007540910155512393,
-0.015236946754157543,
-0.019046183675527573,
0.02335527539253235,
-0.02823316678404808,
0.06873862445354462,
0.002484191209077835,
0.01190171018242836,
-0.0005957318935543299,
0.05822444334626198,
-0.02242451161146164,
-0.014650911092758179,
0.0438837856054306,
-0.042125675827264786,
-0.028112512081861496,
-0.03654109686613083,
-0.0046495096758008,
-0.014194146730005741,
-0.0051838369108736515,
0.00820881873369217,
0.060017023235559464,
-0.028250403702259064,
-0.001602982054464519,
0.040057312697172165,
-0.0032167367171496153,
-0.012005128897726536,
-0.04826182499527931,
-0.012427419424057007,
-0.023372512310743332,
-0.03226647526025772,
-0.006317127961665392,
0.00564490957185626,
-0.02862960286438465,
0.04312538728117943,
0.02030443772673607,
0.04667607694864273,
-0.07597789913415909,
0.019787346944212914,
0.0250789113342762,
-0.03188727796077728,
0.006523964460939169,
0.0367824025452137,
-0.01283247396349907,
-0.034007348120212555,
0.01150527410209179,
-0.0404365137219429,
0.005920691415667534,
0.04519375041127205,
0.0709448829293251,
0.005623364355415106,
-0.03290422260761261,
-0.05384640768170357,
0.0436769500374794,
-0.039609167724847794,
0.0600859709084034,
-0.038333676755428314,
0.010531418956816196,
-0.014107964932918549,
-0.012074073776602745,
0.014176910743117332,
0.07028990238904953,
-0.04850313439965248,
-0.09190430492162704,
-0.003386945929378271,
0.049744151532649994,
0.041091494262218475,
-0.018425675109028816,
-0.02026996575295925,
0.012280910275876522,
0.02385512925684452,
0.03933338448405266,
0.02345869317650795,
-0.05426007881760597,
-0.01799476519227028,
-0.019253021106123924,
-0.046848442405462265,
-0.014513019472360611,
-0.008514764718711376,
-0.04446982219815254,
-0.014314801432192326,
-0.01825331151485443,
0.027509238570928574,
0.0334385484457016,
0.050433605909347534,
0.021183492615818977,
0.016012582927942276,
-0.006347291637212038,
-0.004328482318669558,
0.027130039408802986,
-0.09535157680511475,
-0.03523113206028938,
-0.001004556892439723,
-0.005412218626588583,
0.012280910275876522,
0.03964364156126976,
0.1067965179681778,
-0.033662620931863785,
0.08500975370407104,
0.009893673472106457,
-0.0269576758146286,
-0.03104269504547119,
0.01918407529592514,
-0.01833949238061905,
0.02390683814883232,
-0.054466914385557175,
0.026492293924093246,
-0.06470531970262527,
-0.009928146377205849,
0.023286329582333565,
0.020442329347133636,
-0.034162476658821106,
0.057914189994335175,
0.06811811774969101,
-0.042125675827264786,
-0.012375710532069206,
0.01923578418791294,
-0.013926983810961246,
0.02375171147286892,
0.07508160918951035,
0.05126095190644264,
0.015288656577467918,
-0.020649166777729988,
0.06801469624042511,
-0.006299891509115696,
0.036610040813684464,
-0.0006226637051440775,
-0.057362623512744904,
-0.018718693405389786,
0.04895127937197685,
0.01756385713815689,
0.03442102298140526,
-0.017684511840343475,
0.003832936752587557,
0.036954768002033234,
0.07604684680700302,
0.011091601103544235,
-0.07266851514577866,
-0.054811641573905945,
0.00043090913095511496,
0.010927855968475342,
-0.002056513912975788,
-0.044194042682647705,
0.008557855151593685,
0.004740000702440739,
0.08425135165452957,
0.023975783959031105,
-0.02207978442311287,
0.023286329582333565,
-0.016210801899433136,
-0.0003967057273257524,
-0.01180691085755825,
-0.022562403231859207,
-0.04157411307096481,
0.020976657047867775,
0.033817749470472336,
-0.011729346588253975,
-0.007183255162090063,
0.02335527539253235,
0.03357644006609917,
0.04657265916466713,
0.039816003292798996,
0.04760684072971344,
-0.10293557494878769,
0.0540187694132328,
0.0642571672797203,
-0.02494102157652378,
-0.018373966217041016,
0.05443244427442551,
0.03736843913793564,
-0.03512771427631378,
-0.037747640162706375,
0.02980167604982853,
0.021217966452240944,
-0.018029239028692245,
-0.010479710064828396,
-0.02940523996949196,
-0.006623073481023312,
-0.05763840675354004,
-0.023045020177960396,
0.025389166548848152,
0.014874983578920364,
0.03857498615980148,
0.03885076940059662,
0.02335527539253235,
-0.044642187654972076,
-0.03476575016975403,
-0.031508076936006546,
-0.01727083884179592,
0.04412509500980377,
0.04205673187971115,
-0.043504588305950165,
-0.03200793266296387,
0.0020522046834230423,
-0.0009765478316694498,
0.0533982589840889,
0.004181973170489073,
-0.008562164381146431,
0.04509033262729645,
-0.04216014966368675,
-0.044676657766103745,
-0.008394110016524792,
0.02095942012965679,
-0.013547783717513084,
-0.013013456016778946,
-0.04446982219815254,
-0.05108858644962311,
0.035334549844264984,
0.04888233169913292,
0.01224643737077713,
-0.019011711701750755,
0.024423930794000626,
-0.07211695611476898,
0.019494328647851944,
-0.010031565092504025,
0.005584582220762968,
0.017684511840343475,
0.03571375086903572,
-0.07515055686235428,
0.052053824067115784,
-0.019994184374809265,
0.0436769500374794,
-0.0568455345928669,
-0.014900838024914265,
-0.04057440534234047,
0.01503011118620634,
0.03202516585588455,
-0.04181542247533798,
0.03854051232337952,
-0.0028914003632962704,
0.0012442501028999686,
0.010669310577213764,
-0.10341819375753403,
0.07921833544969559,
0.00023269093071576208,
-0.021614402532577515,
-0.05822444334626198,
-0.009557564742863178,
-0.002507891273126006,
-0.003854482201859355,
0.01652105711400509,
-0.01594363898038864,
0.03507600352168083,
-0.012849710881710052,
0.0032727548386901617,
0.022097021341323853,
-0.03369709476828575,
0.03957469388842583,
-0.010384909808635712,
0.03195622190833092,
0.07804626226425171,
0.018063711002469063,
0.01873592846095562,
-0.03626531362533569,
-0.017443202435970306,
0.026475057005882263,
0.08121775090694427,
-0.05943099036812782,
0.03221476823091507,
0.042229097336530685,
-0.009764401242136955,
-0.01696058362722397,
-0.017925819382071495,
-0.0020295821595937014,
-0.006498110014945269,
0.009583419188857079,
0.0033804820850491524,
0.00034768981277011335,
0.00829069223254919,
-0.010410765185952187,
0.005429455079138279,
-0.005765564274042845,
-0.016702039167284966,
-0.003901882329955697,
-0.03321447595953941,
0.030215349048376083,
0.016857165843248367,
0.09755782783031464,
-0.015426547266542912,
-0.04874444007873535,
-0.02202807553112507,
0.026578476652503014,
-0.04853760451078415,
-0.041780948638916016,
-0.006218018941581249,
0.008226055651903152,
0.005170909687876701,
-0.058948371559381485,
0.009945383295416832,
0.005567346233874559,
0.0020425093825906515,
-0.009428291581571102,
-0.03433483839035034,
0.0504680797457695,
-0.000579034152906388,
0.06453295052051544,
-0.014495783485472202,
-0.04481454938650131,
0.025251274928450584,
0.0052484734915196896,
0.03629978746175766,
0.025199566036462784,
-0.014211383648216724,
0.05488058924674988,
-0.0009867819026112556,
0.0043134004808962345,
-0.03040494956076145,
0.05808655172586441,
-0.008264836855232716,
-0.002423863857984543,
0.03685135021805763,
-0.02380342036485672,
0.07549528032541275,
-0.006097364239394665,
-0.024768657982349396,
-0.07363375276327133,
-0.003518373239785433,
0.03388669341802597,
-0.05543215200304985,
0.006170618813484907,
-0.014581965282559395,
0.03462785854935646,
0.018184365704655647,
-0.0743921548128128,
-0.025509821251034737,
-0.013539165258407593,
-0.056535277515649796,
-0.01534898392856121,
-0.00961789209395647,
0.04946836829185486,
-0.08845702558755875,
0.01686578430235386,
-0.02311396598815918,
-0.0014306183438748121,
0.0606030598282814,
-0.04078124091029167,
-0.0435735322535038,
0.03507600352168083,
0.028905384242534637,
0.004873582161962986,
0.017201893031597137,
-0.004020382184535265,
0.02026996575295925,
-0.006670473609119654,
-0.004541782196611166,
-0.03104269504547119,
0.028750257566571236,
0.01982182078063488,
-0.008325164206326008,
-0.006286964286118746,
0.013366801664233208,
-0.01923578418791294,
-0.0007621705299243331,
-0.011453565210103989,
-0.026595711708068848,
-0.0006873000529594719,
0.02473418414592743,
0.008562164381146431,
0.013065164908766747,
-0.006864382419735193,
0.06198197230696678,
0.05943099036812782,
0.006355909630656242,
-0.04953731596469879,
0.06684262305498123,
-0.0005510250339284539,
0.06549818813800812,
0.06515346467494965,
-0.0002067017339868471,
0.022217676043510437,
-0.00963512808084488,
-0.028112512081861496,
0.08494080603122711,
-0.005899146199226379,
0.0034235732164233923,
-0.04088465869426727,
0.009824728593230247,
-0.030422184616327286,
0.041780948638916016,
0.01617632992565632,
0.003962209448218346,
0.0014510864857584238,
-0.08680233359336853,
-0.04802051559090614,
0.009505855850875378,
0.02149374783039093,
0.02297607623040676,
0.022941602393984795,
-0.0184429120272398,
0.025199566036462784,
-0.022493457421660423,
0.016995055601000786,
-0.03857498615980148,
-0.012504983693361282,
-0.014650911092758179,
-0.0008795933099463582,
0.016951965168118477,
0.003912655171006918,
-0.026147566735744476,
-0.017822401598095894,
0.029353531077504158,
-0.011669019237160683,
-0.020769819617271423,
-0.03588611260056496,
0.01192756462842226,
0.062292225658893585,
0.01480603776872158,
0.08211404830217361,
-0.04322880506515503,
0.010393528267741203,
0.026526765897870064,
0.004584873095154762,
-0.022493457421660423,
0.036368731409311295,
0.03369709476828575,
0.005640600807964802,
-0.014874983578920364,
-0.03402458503842354,
-0.080045685172081,
0.004199209623038769,
-0.005519946105778217,
-0.06515346467494965,
0.0030594549607485533,
-0.01637454703450203,
0.03452444076538086,
0.029629312455654144,
0.0045030005276203156,
0.02030443772673607,
0.001975718419998884,
-0.014030401594936848,
0.059189680963754654,
-0.0067825098522007465,
0.05474269762635231,
0.01663309335708618,
-0.010341819375753403,
0.03433483839035034,
-0.02139033004641533,
-0.0018658365588635206,
0.03633425757288933,
0.005502709653228521,
-0.03486916795372963,
-0.03826473280787468,
-0.01952880248427391,
-0.021011129021644592,
0.03864393010735512,
-0.0018507547210901976,
0.021080074831843376,
-0.029939567670226097,
0.002996972994878888,
-0.03473127633333206,
-0.0076529462821781635,
-0.02271752990782261,
0.0017807320691645145,
0.032731857150793076,
-0.020735347643494606,
-0.02478589303791523,
-0.07060015201568604
] |
711,201
|
yt_dlp.YoutubeDL
|
urlopen
|
Start an HTTP download
|
def urlopen(self, req):
""" Start an HTTP download """
if isinstance(req, str):
req = Request(req)
elif isinstance(req, urllib.request.Request):
self.deprecation_warning(
'Passing a urllib.request.Request object to YoutubeDL.urlopen() is deprecated. '
'Use yt_dlp.networking.common.Request instead.')
req = urllib_req_to_req(req)
assert isinstance(req, Request)
# compat: Assume user:pass url params are basic auth
url, basic_auth_header = extract_basic_auth(req.url)
if basic_auth_header:
req.headers['Authorization'] = basic_auth_header
req.url = sanitize_url(url)
clean_proxies(proxies=req.proxies, headers=req.headers)
clean_headers(req.headers)
try:
return self._request_director.send(req)
except NoSupportingHandlers as e:
for ue in e.unsupported_errors:
# FIXME: This depends on the order of errors.
if not (ue.handler and ue.msg):
continue
if ue.handler.RH_KEY == 'Urllib' and 'unsupported url scheme: "file"' in ue.msg.lower():
raise RequestError(
'file:// URLs are disabled by default in yt-dlp for security reasons. '
'Use --enable-file-urls to enable at your own risk.', cause=ue) from ue
if (
'unsupported proxy type: "https"' in ue.msg.lower()
and 'requests' not in self._request_director.handlers
and 'curl_cffi' not in self._request_director.handlers
):
raise RequestError(
'To use an HTTPS proxy for this request, one of the following dependencies needs to be installed: requests, curl_cffi')
elif (
re.match(r'unsupported url scheme: "wss?"', ue.msg.lower())
and 'websockets' not in self._request_director.handlers
):
raise RequestError(
'This request requires WebSocket support. '
'Ensure one of the following dependencies are installed: websockets',
cause=ue) from ue
elif re.match(r'unsupported (?:extensions: impersonate|impersonate target)', ue.msg.lower()):
raise RequestError(
f'Impersonate target "{req.extensions["impersonate"]}" is not available.'
f' See --list-impersonate-targets for available targets.'
f' This request requires browser impersonation, however you may be missing dependencies'
f' required to support this target.')
raise
except SSLError as e:
if 'UNSAFE_LEGACY_RENEGOTIATION_DISABLED' in str(e):
raise RequestError('UNSAFE_LEGACY_RENEGOTIATION_DISABLED: Try using --legacy-server-connect', cause=e) from e
elif 'SSLV3_ALERT_HANDSHAKE_FAILURE' in str(e):
raise RequestError(
'SSLV3_ALERT_HANDSHAKE_FAILURE: The server may not support the current cipher list. '
'Try using --legacy-server-connect', cause=e) from e
raise
|
(self, req)
|
[
-0.0292789526283741,
-0.010534761473536491,
-0.04804336652159691,
0.04221992567181587,
-0.047841161489486694,
-0.0018236157484352589,
-0.03902512416243553,
0.07004301995038986,
-0.026953622698783875,
0.003755915444344282,
0.012920753099024296,
0.005080343224108219,
0.03475864604115486,
0.04153243824839592,
0.028146617114543915,
-0.008497568778693676,
-0.02450696937739849,
0.024183444678783417,
-0.007087205071002245,
-0.08686628937721252,
-0.011080708354711533,
0.05746601149439812,
0.01344648003578186,
0.026387454941868782,
-0.04804336652159691,
0.08355016261339188,
-0.015539278276264668,
0.0006893848767504096,
-0.04982274770736694,
-0.011747977696359158,
0.02353639528155327,
0.04513164609670639,
-0.008517789654433727,
0.0359112024307251,
0.008219540119171143,
0.03113921731710434,
-0.0007203471614047885,
-0.024587849155068398,
-0.07157976180315018,
-0.022404061630368233,
-0.08452073484659195,
-0.050388917326927185,
0.03809498995542526,
0.0008833730826154351,
0.03142230212688446,
0.05912407487630844,
-0.10199104994535446,
0.05107640475034714,
-0.010484211146831512,
-0.03473842516541481,
0.00940748117864132,
0.07813113182783127,
0.0312807597219944,
-0.02650877647101879,
0.0233139730989933,
0.04509120434522629,
-0.04031922295689583,
0.0811237320303917,
0.009837161749601364,
0.03864093869924545,
0.016206547617912292,
0.025922387838363647,
0.01602456532418728,
0.03659868985414505,
-0.07141800224781036,
-0.0075623816810548306,
-0.026165030896663666,
-0.01878463290631771,
-0.02222207747399807,
0.013749784789979458,
0.008810983039438725,
0.03908578306436539,
-0.05419032648205757,
-0.0196439940482378,
0.07388487458229065,
-0.02088754065334797,
-0.014093529433012009,
-0.03164472430944443,
-0.013416149653494358,
0.030815694481134415,
0.024587849155068398,
-0.03748838230967522,
0.053421955555677414,
0.043999310582876205,
0.038924023509025574,
-0.03336344659328461,
0.029218291863799095,
-0.030269745737314224,
-0.02677163854241371,
0.03942953050136566,
-0.05819394066929817,
0.02064489759504795,
0.00877559743821621,
-0.04808380454778671,
0.010125300846993923,
-0.027580449357628822,
-0.03447556123137474,
-0.00558584975078702,
-0.023212872445583344,
-0.03722551837563515,
0.004119880497455597,
-0.03158406540751457,
-0.07279297709465027,
0.019077826291322708,
0.01983608677983284,
-0.06470486521720886,
0.00213955738581717,
-0.036133624613285065,
-0.03623472526669502,
-0.015134872868657112,
-0.031867146492004395,
-0.06341077387332916,
-0.0010836801957339048,
0.05107640475034714,
-0.011768197640776634,
-0.05204697698354721,
-0.03651781007647514,
-0.01914859749376774,
-0.030391067266464233,
0.014538374729454517,
-0.0905059352517128,
0.052370503544807434,
-0.032271552830934525,
-0.01231414545327425,
0.043594904243946075,
-0.028045516461133957,
-0.012718550860881805,
-0.026023488491773605,
0.060094647109508514,
-0.027479348704218864,
0.013699233531951904,
0.041451554745435715,
-0.018339786678552628,
0.057829976081848145,
0.0008530427003279328,
-0.012253484688699245,
-0.0016921840142458677,
0.048002924770116806,
0.009902877733111382,
-0.021130183711647987,
-0.0017578998813405633,
-0.0005285705556161702,
-0.003366675227880478,
0.017197340726852417,
-0.0038924021646380424,
-0.0003202069492544979,
-0.01238491665571928,
-0.04355446621775627,
-0.023495955392718315,
0.004344830755144358,
0.015468508005142212,
-0.04298829659819603,
0.015620159916579723,
-0.013375709764659405,
-0.0007955413311719894,
0.01929013803601265,
-0.06700997799634933,
-0.03716485947370529,
-0.009387261234223843,
0.006864781957119703,
-0.012253484688699245,
-0.07149887830018997,
-0.001538004376925528,
-0.017136679962277412,
0.02889476716518402,
-0.029218291863799095,
0.04509120434522629,
-0.016772715374827385,
0.06717174500226974,
0.06057993322610855,
0.006495762150734663,
0.06846583634614944,
0.00940748117864132,
-0.005092980805784464,
0.04343314468860626,
0.04622353985905647,
0.043716225773096085,
-0.038944244384765625,
-0.03370719403028488,
0.0035966807045042515,
0.03712441772222519,
0.013466700911521912,
0.004317027982324362,
-0.024203665554523468,
0.026852520182728767,
0.037751246243715286,
-0.01745009422302246,
0.019249698147177696,
-0.04029900208115578,
0.053057990968227386,
-0.031179659068584442,
-0.023091549053788185,
0.021534588187932968,
0.012182713486254215,
0.004971659276634455,
-0.00889186467975378,
-0.023597056046128273,
0.028187058866024017,
0.06300636380910873,
0.010787514969706535,
0.015963904559612274,
0.03748838230967522,
0.028530802577733994,
-0.014750688336789608,
-0.040379881858825684,
0.016226768493652344,
-0.03530459478497505,
-0.032959043979644775,
-0.032696180045604706,
0.03075503371655941,
0.042543452233076096,
0.042139045894145966,
-0.05273446813225746,
-0.02929917350411415,
-0.011373902671039104,
0.00702654430642724,
0.0032832666765898466,
0.01105037797242403,
-0.06676733493804932,
-0.035587675869464874,
0.0017300969921052456,
0.007567436434328556,
-0.011737867258489132,
-0.03471820428967476,
0.046263981610536575,
-0.026791859418153763,
0.04335226118564606,
0.016054894775152206,
-0.03570900112390518,
0.0071478658355772495,
0.035486575216054916,
-0.012860092334449291,
0.08181121945381165,
0.06895112246274948,
0.048649974167346954,
-0.012577008455991745,
-0.02045280486345291,
0.04302873834967613,
-0.0034652489703148603,
0.0057375021278858185,
-0.005954870022833347,
-0.0026033599860966206,
-0.01170753687620163,
0.023597056046128273,
-0.042422130703926086,
0.07081139087677002,
0.014892229810357094,
0.04581913352012634,
-0.038398295640945435,
-0.006763680838048458,
0.001074833795428276,
-0.005904319230467081,
-0.03631560876965523,
-0.04108759015798569,
-0.03777146711945534,
-0.02715582400560379,
0.018471218645572662,
-0.040117017924785614,
0.012395026162266731,
-0.0392879880964756,
-0.009281104430556297,
0.06276372075080872,
-0.051561690866947174,
0.06110566109418869,
-0.039975475519895554,
-0.013911547139286995,
0.060215968638658524,
-0.03554723784327507,
-0.009463086724281311,
0.025659523904323578,
0.0718224048614502,
0.03210978955030441,
0.0004656981327570975,
0.016600843518972397,
-0.012253484688699245,
0.00447120750322938,
0.03777146711945534,
-0.022565823048353195,
0.051844775676727295,
-0.046385303139686584,
0.03605274483561516,
-0.002056148834526539,
0.02004839852452278,
0.043473582714796066,
-0.04517208784818649,
-0.0030785363633185625,
-0.06276372075080872,
0.0017591635696589947,
-0.03245353698730469,
-0.028005076572299004,
-0.018875623121857643,
0.019077826291322708,
0.06248063966631889,
-0.003002710407599807,
-0.023091549053788185,
0.0024491804651916027,
-0.04674926772713661,
0.017086129635572433,
0.05920495465397835,
0.04901393875479698,
-0.045859575271606445,
0.024972034618258476,
0.02474961243569851,
0.01655029132962227,
0.008462183177471161,
-0.0784546509385109,
0.042624332010746,
-0.05362416058778763,
-0.01251634769141674,
-0.04561693221330643,
0.06057993322610855,
-0.0052168299444019794,
-0.0037584430538117886,
0.010534761473536491,
0.0012530249077826738,
0.02264670468866825,
-0.007001269143074751,
0.051966097205877304,
0.022990448400378227,
0.04828600957989693,
-0.04990363121032715,
0.027924194931983948,
0.026569437235593796,
0.022161416709423065,
0.056091032922267914,
-0.017672516405582428,
0.09818963706493378,
0.0292789526283741,
-0.027883755043148994,
0.009291214868426323,
0.010332558304071426,
0.020826879888772964,
-0.04674926772713661,
-0.018754301592707634,
-0.026812080293893814,
-0.020705558359622955,
-0.026124591007828712,
-0.034394681453704834,
0.0626019611954689,
-0.027054723352193832,
-0.04044054448604584,
-0.006045861169695854,
-0.01344648003578186,
0.00745117012411356,
0.01378011517226696,
-0.06959817558526993,
0.02650877647101879,
-0.012617449276149273,
0.07141800224781036,
-0.04230080917477608,
-0.03578988090157509,
-0.0076685380190610886,
-0.02913741022348404,
0.019330579787492752,
0.0030886465683579445,
0.008335806429386139,
0.010297173634171486,
-0.03688177466392517,
-0.02197943441569805,
-0.012425356544554234,
-0.019441790878772736,
0.025093356147408485,
-0.012769101187586784,
0.059164512902498245,
-0.04108759015798569,
-0.03562811762094498,
0.09163826704025269,
-0.048245567828416824,
-0.004729015752673149,
0.036679573357105255,
-0.02687274105846882,
0.0011544511653482914,
-0.018066812306642532,
0.0041603208519518375,
-0.01124247070401907,
0.020129280164837837,
-0.003081063972786069,
-0.031482961028814316,
-0.004127462860196829,
-0.00532804150134325,
0.039611510932445526,
0.0052522155456244946,
-0.01138401310890913,
0.005125838797539473,
0.020847100764513016,
-0.07485544681549072,
-0.006197513081133366,
0.017328772693872452,
0.016155997291207314,
0.005454418249428272,
0.03405093774199486,
0.008714936673641205,
0.06862760335206985,
0.05471605435013771,
0.0063289450481534,
-0.03006754443049431,
-0.06903200596570969,
0.007830300368368626,
-0.02610437013208866,
-0.026589656248688698,
0.021332386881113052,
0.026023488491773605,
-0.03568878024816513,
0.021999655291438103,
-0.024062123149633408,
0.04549561068415642,
0.0866236463189125,
0.036659352481365204,
-0.009129452519118786,
0.007774694357067347,
-0.03184692934155464,
0.020462915301322937,
-0.07618997991085052,
-0.0086542759090662,
-0.030188865959644318,
0.0035284373443573713,
-0.042139045894145966,
0.05139993131160736,
0.050914645195007324,
0.057304248213768005,
0.03006754443049431,
-0.023131990805268288,
0.026528995484113693,
0.0020991170313209295,
-0.018825072795152664,
-0.021069522947072983,
0.00500704487785697,
-0.02460807003080845,
-0.03762992471456528,
-0.015468508005142212,
0.02290956676006317,
0.06963861733675003,
-0.008912084624171257,
-0.024931594729423523,
0.05067199841141701,
0.007911181077361107,
-0.03522371128201485,
0.0572638101875782,
-0.016034675762057304,
0.0007753210375085473,
-0.03433402255177498,
-0.05285578966140747,
-0.029642917215824127,
0.03382851555943489,
0.09883669018745422,
-0.016469411551952362,
-0.007516886107623577,
0.0016327869379892945,
-0.009685509838163853,
-0.01585269346833229,
-0.04966098815202713,
0.017723068594932556,
0.058517467230558395,
0.027519788593053818,
-0.07942522317171097,
0.005469583440572023,
0.04476768150925636,
0.03423291817307472,
-0.057546891272068024,
0.002288681920617819,
0.04302873834967613,
-0.0006957037257961929,
0.05774909630417824,
0.0077949147671461105,
-0.03354543074965477,
0.020968422293663025,
0.02584150619804859,
-0.015417956747114658,
0.014791128225624561,
0.010999827645719051,
-0.02782309427857399,
-0.004342303145676851,
0.022060316056013107,
0.02624591253697872,
0.024850713089108467,
0.013456590473651886,
-0.010565091855823994,
0.015610049478709698,
0.04780072346329689,
-0.07085183262825012,
-0.012647779658436775,
-0.046789709478616714,
0.06203579157590866,
-0.002222966169938445,
-0.013163397088646889,
-0.07376354932785034,
-0.027641110122203827,
-0.016752494499087334,
0.03500128909945488,
0.03516305238008499,
0.04901393875479698,
0.06866804510354996,
0.00032763159833848476,
-0.06426002085208893,
-0.007036654278635979,
-0.00003479308361420408,
-0.08298399299383163,
-0.023779038339853287,
-0.0021799979731440544,
0.009508582763373852,
0.07085183262825012,
-0.04023833945393562,
0.0069153327494859695,
-0.011859188787639141,
0.04634486138820648,
0.025052916258573532,
-0.02553820237517357,
0.07384443283081055,
-0.011838968843221664,
0.05285578966140747,
-0.036254946142435074,
0.04476768150925636,
0.02104930207133293,
0.008740212768316269,
0.03447556123137474,
0.006050916388630867,
-0.001785702770575881,
0.09786611050367355,
0.03631560876965523,
-0.004600111860781908,
0.07521940767765045,
0.08694716542959213,
0.0439184308052063,
-0.03977327421307564,
-0.03233221545815468,
0.023354412987828255,
-0.04602133855223656,
0.0033211796544492245,
-0.008740212768316269,
0.027984855696558952,
0.03922732546925545,
-0.008002172224223614,
0.017581526190042496,
-0.049701426178216934,
0.006126742344349623,
0.011616545729339123,
-0.0812046080827713,
-0.01637841947376728,
-0.0678187906742096,
-0.008391412906348705,
0.059407155960798264,
0.013972207903862,
-0.0018311983440071344,
-0.01781405881047249,
-0.08007227629423141,
-0.018461108207702637,
-0.01702546887099743,
0.0479220449924469,
-0.03382851555943489,
-0.02007872983813286,
-0.06506883352994919,
0.007243912201374769,
0.03471820428967476,
0.005156169179826975,
-0.06895112246274948,
0.0013231639750301838,
0.037710804492235184,
-0.01456870511174202,
0.006394661031663418,
-0.003035568166524172,
-0.04881173372268677,
-0.06146962568163872,
-0.07291430234909058,
-0.021130183711647987,
0.0037331676576286554,
-0.010403329506516457,
0.06988126039505005,
-0.001587291364558041,
-0.055160898715257645,
-0.0007247703615576029,
0.0027449019253253937,
0.03210978955030441,
-0.03631560876965523,
0.019462011754512787,
0.012809542007744312,
-0.006050916388630867,
-0.030795473605394363,
-0.020594347268342972,
0.026973841711878777,
-0.002916774246841669,
-0.01150533463805914,
0.0076685380190610886,
-0.022201858460903168,
-0.029521595686674118,
-0.011525554582476616,
-0.08144725114107132,
0.0612269826233387,
0.014679917134344578,
-0.006970938760787249,
-0.003920204937458038,
-0.05362416058778763,
-0.0412493534386158,
-0.04315005987882614,
-0.023738598451018333,
0.01616610772907734,
0.0452529676258564,
-0.059043191373348236,
0.030269745737314224,
0.039469968527555466,
0.07263121753931046,
0.013608242385089397,
0.0718628466129303,
0.01350714173167944,
-0.026569437235593796,
0.004087022505700588,
0.02011916972696781,
-0.013092625886201859,
-0.013355488888919353,
-0.04776028171181679,
-0.0719437226653099,
-0.010949277319014072,
0.013416149653494358,
0.019199147820472717,
0.007825245149433613,
-0.04468679800629616,
-0.009387261234223843,
-0.04735587537288666,
0.06668645143508911,
-0.009195168502628803,
-0.03777146711945534,
0.013476811349391937,
-0.026043709367513657,
0.003766025649383664,
0.01205128151923418,
-0.07554293423891068,
0.0005437357467599213,
0.01997762732207775,
0.03210978955030441,
-0.034819308668375015,
0.004461097531020641,
0.01405308861285448,
0.008492513559758663,
0.05087420344352722,
0.014730467461049557,
0.007810079958289862,
-0.013871106319129467,
0.039065565913915634,
-0.030391067266464233,
0.023212872445583344,
0.03397005423903465,
0.049580104649066925,
0.04767939820885658,
-0.0014482769183814526,
0.0014293204294517636,
-0.021999655291438103,
0.015134872868657112,
-0.024688951671123505,
-0.03833763301372528,
0.0452125258743763,
-0.048245567828416824,
-0.006050916388630867,
0.003755915444344282,
0.06620116531848907,
-0.022181637585163116,
-0.03722551837563515,
0.022525383159518242,
0.011100929230451584,
-0.030694371089339256,
0.06834451854228973,
-0.039975475519895554,
0.038924023509025574,
-0.013031965121626854,
0.08872655034065247,
-0.01443727407604456,
0.003111394355073571,
0.055848389863967896,
-0.0035107445437461138,
-0.06159094721078873,
0.028773445636034012,
-0.06684821844100952,
0.03397005423903465,
-0.014892229810357094,
-0.0036800894886255264,
0.050388917326927185,
-0.0016428970266133547,
-0.055969711393117905,
-0.012354586273431778,
-0.0851677805185318,
0.017207451164722443,
-0.003508217167109251,
-0.032817501574754715,
-0.005429143086075783,
-0.036254946142435074,
-0.0010185962310060859,
-0.029784459620714188,
0.020321372896432877,
0.04767939820885658,
-0.009473197162151337,
-0.055888831615448,
-0.09681466221809387,
-0.016469411551952362,
0.044120632112026215,
-0.022060316056013107,
-0.00728435255587101,
0.0008227123180404305,
-0.06616073101758957,
-0.012758991681039333,
-0.015347185544669628,
0.031988468021154404,
0.02808595634996891,
0.04501032456755638,
-0.04553605243563652,
-0.006162127945572138,
0.017510754987597466,
-0.007476445287466049,
0.00477451179176569,
-0.001989169279113412,
-0.015033772215247154,
-0.01983608677983284,
0.006591808516532183,
0.004008668940514326,
-0.01802637241780758,
0.0070214890874922276,
-0.032130010426044464,
-0.01914859749376774,
-0.022323179990053177,
-0.031867146492004395,
-0.047436755150556564,
-0.006601918488740921,
0.0020902706310153008,
-0.008447018451988697,
-0.054271209985017776,
-0.0014331117272377014,
0.030249526724219322,
0.03225133195519447,
0.0005696429871022701,
-0.044403716921806335,
0.0060964119620621204,
0.011727757751941681,
-0.006066081579774618,
0.0004827589727938175,
0.05160213261842728,
-0.0006255646585486829,
0.005474638659507036,
-0.028449922800064087,
-0.023334193974733353,
-0.032797280699014664,
0.03138186037540436,
0.04310961812734604,
0.0359112024307251,
-0.04941834509372711,
0.003007765393704176,
-0.010615642182528973,
-0.004107242450118065,
0.015235974453389645,
-0.030128205195069313,
0.03136163949966431,
-0.03338366746902466,
0.03061349131166935,
0.0018754302291199565,
0.004610221832990646,
-0.040521424263715744,
-0.048771295696496964,
0.036396488547325134,
0.012566898949444294,
-0.016792936250567436,
-0.01988663710653782,
0.0016378420405089855,
0.0005010836175642908,
-0.007870740257203579,
-0.026286352425813675,
0.0009851063368842006,
0.07056874781847,
0.020200051367282867,
-0.058113060891628265,
0.05402856692671776,
0.019259808585047722,
0.04114825278520584
] |
711,202
|
yt_dlp.YoutubeDL
|
warn_if_short_id
| null |
def warn_if_short_id(self, argv):
# short YouTube ID starting with dash?
idxs = [
i for i, a in enumerate(argv)
if re.match(r'^-[0-9A-Za-z_-]{10}$', a)]
if idxs:
correct_argv = (
['yt-dlp']
+ [a for i, a in enumerate(argv) if i not in idxs]
+ ['--'] + [argv[i] for i in idxs]
)
self.report_warning(
'Long argument string detected. '
'Use -- to separate parameters and URLs, like this:\n%s' %
shell_quote(correct_argv))
|
(self, argv)
|
[
-0.03392123803496361,
0.05672133341431618,
0.0356120727956295,
0.03463592007756233,
0.04608825966715813,
-0.008227556012570858,
0.07146818190813065,
0.06125346198678017,
0.0232533048838377,
-0.06899294257164001,
-0.07481498271226883,
0.022364310920238495,
-0.03709372878074646,
-0.00752159021794796,
0.005041993223130703,
-0.03066159226000309,
-0.028412960469722748,
0.058708496391773224,
0.009778939187526703,
-0.00861540250480175,
0.04106805846095085,
0.02510101906955242,
-0.016559699550271034,
0.02463037520647049,
-0.03088819980621338,
0.07823151350021362,
0.0843673124909401,
-0.013927579857409,
-0.031846918165683746,
-0.021667061373591423,
-0.00322914170101285,
0.03296251967549324,
0.04776166379451752,
0.06711036711931229,
0.0008835471817292273,
-0.023933125659823418,
-0.02314871735870838,
0.05156167596578598,
-0.09984628111124039,
-0.04417082294821739,
-0.03343316540122032,
0.0027258137706667185,
0.014424370601773262,
-0.012236746959388256,
0.001019728952087462,
-0.009168844670057297,
0.006606448907405138,
0.004741303622722626,
-0.07816178351640701,
-0.04061484336853027,
0.0424974225461483,
-0.041486408561468124,
-0.012698675505816936,
-0.008968384936451912,
-0.006349337752908468,
0.080392986536026,
0.014302351512014866,
0.09691782295703888,
0.004619284998625517,
-0.008027097210288048,
-0.05145708844065666,
0.004924331791698933,
-0.021213848143815994,
-0.05306076630949974,
0.007212185300886631,
-0.03142856806516647,
0.0022878532763570547,
-0.025240469723939896,
-0.02422945573925972,
0.011016558855772018,
-0.0064452094957232475,
-0.051526814699172974,
-0.025048725306987762,
0.0033729495480656624,
0.016864746809005737,
-0.04933047667145729,
-0.05996354669332504,
0.008802788332104683,
-0.0005360113573260605,
0.0338689461350441,
0.00016341809532605112,
-0.03249187394976616,
0.05065525323152542,
-0.021579904481768608,
-0.031672604382038116,
0.010214720852673054,
0.0035516200587153435,
-0.006292686332017183,
-0.03831391781568527,
-0.01775374263525009,
-0.00011793339217547327,
0.0030156085267663,
0.02262577973306179,
0.025362487882375717,
0.0018302827375009656,
0.014677124097943306,
-0.015757862478494644,
0.04302036017179489,
-0.011295459233224392,
-0.005381902679800987,
-0.039359793066978455,
-0.050899289548397064,
0.008484667167067528,
-0.030190948396921158,
0.018076220527291298,
-0.02928452380001545,
-0.016097772866487503,
-0.023619363084435463,
-0.03716345503926277,
0.008048886433243752,
-0.013639964163303375,
-0.07369938492774963,
-0.03421756997704506,
-0.04044053331017494,
0.0058481888845562935,
0.018512001261115074,
0.04204420745372772,
-0.028273509815335274,
-0.024822119623422623,
-0.02365422435104847,
-0.01501703355461359,
-0.02945883572101593,
-0.07906821370124817,
-0.047238726168870926,
0.024194594472646713,
-0.013195466250181198,
-0.058255281299352646,
0.0258331336081028,
-0.016524838283658028,
0.0169431883841753,
-0.017370253801345825,
0.039813004434108734,
-0.03296251967549324,
0.006188098806887865,
-0.010519767180085182,
-0.05644243210554123,
0.038662541657686234,
0.05173598974943161,
-0.0027127403300255537,
-0.04054512083530426,
-0.013143172487616539,
0.03463592007756233,
0.010083986446261406,
-0.010667933151125908,
-0.035978127270936966,
-0.005717454478144646,
-0.035699229687452316,
-0.05253782868385315,
0.0493653379380703,
0.0120624341070652,
0.000575776444748044,
-0.003911139909178019,
-0.027314789593219757,
-0.008597970940172672,
0.018512001261115074,
-0.026617540046572685,
-0.0025035652797669172,
-0.03369463235139847,
0.03474050760269165,
-0.005752317141741514,
0.03702400252223015,
-0.10430867969989777,
-0.005168369505554438,
0.022695505991578102,
-0.011809681542217731,
-0.057453446090221405,
0.04040566831827164,
0.0327359139919281,
0.02578083798289299,
0.09782425314188004,
0.047238726168870926,
0.059231434017419815,
0.031951505690813065,
0.04898184910416603,
-0.01705649122595787,
0.06637825071811676,
-0.014319783076643944,
-0.029946910217404366,
-0.004715156741440296,
-0.0035864824894815683,
-0.029092779383063316,
0.0025406067725270987,
-0.01246335357427597,
-0.013936295174062252,
0.05323508009314537,
-0.005460343323647976,
0.005137864965945482,
0.03782584145665169,
-0.011870690621435642,
-0.013151888735592365,
-0.008436731994152069,
0.0015557402512058616,
-0.0004186226869933307,
0.02192853018641472,
-0.0430552214384079,
0.015139052644371986,
-0.018233101814985275,
-0.05438554286956787,
0.039813004434108734,
-0.04532128572463989,
-0.03859281912446022,
0.007913793437182903,
0.004536486230790615,
-0.07593058794736862,
0.05679105594754219,
0.06278741359710693,
0.019052371382713318,
0.02257348597049713,
0.0007876752060838044,
-0.028691859915852547,
0.03684969246387482,
-0.02865699678659439,
-0.019889071583747864,
-0.00047690849169157445,
-0.0027693919837474823,
0.0010001187911257148,
0.03576895222067833,
0.008423658087849617,
-0.029894616454839706,
-0.013500513508915901,
0.03831391781568527,
-0.01947072148323059,
0.03712859004735947,
0.06334520876407623,
0.006623880006372929,
-0.014276204630732536,
0.07795260846614838,
0.057453446090221405,
-0.009238569997251034,
0.04256714507937431,
-0.024612944573163986,
-0.010301876813173294,
0.009020678699016571,
0.045216698199510574,
-0.03209095448255539,
-0.01438950840383768,
-0.03449647128582001,
-0.03479280322790146,
0.0614277720451355,
-0.028273509815335274,
-0.0192266833037138,
-0.017352823168039322,
0.007434433791786432,
0.04047539457678795,
0.016917040571570396,
-0.030051497742533684,
-0.037756115198135376,
0.023183580487966537,
0.012149590998888016,
0.012733537703752518,
-0.014180333353579044,
-0.008863797411322594,
-0.024717532098293304,
0.01756199821829796,
-0.022416604682803154,
0.010502336546778679,
-0.03320655599236488,
-0.06125346198678017,
-0.06268282234668732,
-0.025397351011633873,
-0.021457886323332787,
0.06805165112018585,
-0.04563504830002785,
0.0855526402592659,
-0.026669833809137344,
0.03381665050983429,
0.027419377118349075,
-0.004194397944957018,
-0.03261389583349228,
-0.027628552168607712,
0.034025825560092926,
-0.017352823168039322,
-0.019889071583747864,
0.0269835963845253,
0.0005204866174608469,
0.03984786942601204,
0.054803892970085144,
0.019993659108877182,
-0.02044687233865261,
0.006763330195099115,
0.01775374263525009,
0.031951505690813065,
0.06341493874788284,
0.05069011449813843,
0.011234449222683907,
-0.00824062991887331,
0.02572854422032833,
0.011696377769112587,
-0.05323508009314537,
0.011748671531677246,
-0.04612312465906143,
0.019261546432971954,
0.07760398834943771,
-0.007878931239247322,
-0.029127640649676323,
0.07851041108369827,
0.0367451049387455,
-0.013761982321739197,
-0.01441565528512001,
-0.04608825966715813,
-0.018285395577549934,
-0.003335908055305481,
-0.06104428693652153,
-0.010301876813173294,
-0.046018537133932114,
-0.023357892408967018,
-0.05093415081501007,
-0.031777191907167435,
0.05295617878437042,
-0.03285793215036392,
0.004819744266569614,
-0.006405989173799753,
-0.0030308610294014215,
0.009081688709557056,
0.02117898501455784,
0.06268282234668732,
0.018233101814985275,
-0.0042183659970760345,
-0.030696455389261246,
0.07188653200864792,
0.027140477672219276,
-0.053897466510534286,
0.06149749830365181,
0.029214797541499138,
0.007687187287956476,
0.03681482747197151,
0.0396038293838501,
-0.043787334114313126,
0.054246094077825546,
-0.012698675505816936,
0.0038370569236576557,
-0.025745976716279984,
-0.015635844320058823,
-0.07307185977697372,
0.02354963682591915,
-0.029842322692275047,
-0.025641389191150665,
-0.007111955434083939,
0.0015655453316867352,
0.016219791024923325,
0.02928452380001545,
0.037233177572488785,
-0.004667220637202263,
0.05069011449813843,
0.061706673353910446,
-0.01561841182410717,
-0.022538624703884125,
-0.028064334765076637,
0.010458758100867271,
-0.03426986560225487,
0.003730290336534381,
0.008218840695917606,
-0.05082956328988075,
-0.013735835440456867,
0.08290308713912964,
0.02877901680767536,
0.009543617255985737,
0.03984786942601204,
-0.030818473547697067,
0.02170192264020443,
-0.041381821036338806,
-0.0947563499212265,
0.03587353974580765,
-0.042009346187114716,
-0.047796525061130524,
0.003963433671742678,
0.05598921701312065,
-0.07362965494394302,
0.002409872133284807,
0.014520242810249329,
-0.033746927976608276,
0.008166546933352947,
0.020429441705346107,
-0.08583154529333115,
-0.016795022413134575,
-0.02049916610121727,
0.005556215066462755,
0.024368906393647194,
-0.04291577264666557,
0.01882576383650303,
-0.01506932731717825,
0.006955074146389961,
0.052921317517757416,
0.02049916610121727,
-0.08227556198835373,
-0.026687264442443848,
-0.05386260524392128,
-0.01590602844953537,
-0.01461611408740282,
0.042288243770599365,
0.056024082005023956,
-0.033729493618011475,
0.03932493180036545,
0.03249187394976616,
-0.027192771434783936,
-0.007830995135009289,
0.010807383805513382,
0.019662465900182724,
-0.03667537868022919,
-0.016455112025141716,
0.0022006970830261707,
-0.062159884721040726,
-0.024072574451565742,
0.06484430283308029,
-0.00015688137500546873,
0.026425795629620552,
0.03883685544133186,
0.06093969941139221,
-0.03263132646679878,
0.03153315559029579,
-0.02354963682591915,
0.017710164189338684,
0.013570238836109638,
0.011739956215023994,
-0.00031839293660596013,
-0.001847713952884078,
-0.03196893632411957,
-0.009386735036969185,
0.0007239421829581261,
-0.02893589809536934,
0.040231358259916306,
-0.048493776470422745,
0.02923222817480564,
0.002686593448743224,
-0.007146818097680807,
-0.027070753276348114,
-0.019052371382713318,
-0.011670230887830257,
0.036257028579711914,
-0.06620393693447113,
-0.048772674053907394,
0.022869817912578583,
0.02980746142566204,
-0.05191030353307724,
-0.0006248018471524119,
0.022416604682803154,
0.040684569627046585,
0.04110291972756386,
0.03880199417471886,
0.024560650810599327,
0.013884001411497593,
-0.02164962887763977,
-0.0021691028960049152,
0.036326754838228226,
0.05668646842241287,
-0.030574437230825424,
-0.02916250377893448,
0.007992234081029892,
0.012925282120704651,
0.013657394796609879,
0.024944137781858444,
0.016690434888005257,
-0.04284604638814926,
-0.07481498271226883,
0.01461611408740282,
-0.06449567526578903,
-0.058359868824481964,
0.05271214246749878,
-0.07767371088266373,
-0.012158306315541267,
-0.034601058810949326,
0.013012438081204891,
-0.0013890537666156888,
0.015574834309518337,
0.00821448303759098,
0.059580057859420776,
0.011931699700653553,
-0.012890418991446495,
-0.031376276165246964,
0.030243242159485817,
-0.01148720271885395,
-0.002337968209758401,
0.055954355746507645,
0.017483556643128395,
-0.00881586130708456,
0.007508516777306795,
-0.03653592988848686,
0.05442040413618088,
0.03922034427523613,
0.02808176539838314,
-0.026948733255267143,
-0.010493620298802853,
0.04713413864374161,
0.004144283011555672,
0.008977101184427738,
-0.049016714096069336,
-0.019784484058618546,
-0.05874335765838623,
-0.060381896793842316,
0.03639647737145424,
0.02199825458228588,
-0.004251049365848303,
0.023689087480306625,
-0.04061484336853027,
0.03343316540122032,
-0.012158306315541267,
-0.011705093085765839,
0.02686157636344433,
0.027820296585559845,
-0.0029044842813163996,
0.012733537703752518,
-0.06219474971294403,
-0.0024904918391257524,
-0.06484430283308029,
0.06812138110399246,
-0.004902543034404516,
-0.03205609321594238,
0.050794702023267746,
-0.02177164889872074,
0.031376276165246964,
-0.02928452380001545,
-0.016751443967223167,
0.07509388029575348,
0.023741381242871284,
0.073490209877491,
0.044414859265089035,
0.010406464338302612,
0.04978368803858757,
0.0741177350282669,
0.023898262530565262,
-0.007918151095509529,
0.018965214490890503,
0.03205609321594238,
-0.058708496391773224,
0.021091828122735023,
-0.05501306802034378,
-0.05232865363359451,
-0.015165199525654316,
0.01689089462161064,
0.013535376638174057,
-0.026268914341926575,
0.014223910868167877,
0.03364234045147896,
-0.009778939187526703,
0.009160129353404045,
0.02354963682591915,
-0.0430552214384079,
-0.011278027668595314,
0.034078121185302734,
0.026338638737797737,
-0.006562870927155018,
-0.03191664442420006,
0.06853973120450974,
-0.008794072084128857,
-0.03139370679855347,
0.05218920484185219,
-0.03411298245191574,
0.11260596662759781,
-0.010615639388561249,
0.01642896607518196,
-0.004632358439266682,
-0.006362411193549633,
0.016673004254698753,
0.028151491656899452,
-0.05184057727456093,
-0.0786498636007309,
0.015287218615412712,
0.03726804256439209,
-0.03095792420208454,
0.034705646336078644,
-0.006066079717129469,
-0.029702873900532722,
0.051352500915527344,
-0.06676173955202103,
-0.06062593311071396,
-0.0002813515020534396,
0.022834954783320427,
-0.055501144379377365,
-0.045216698199510574,
0.03320655599236488,
-0.046541474759578705,
-0.0157927256077528,
-0.02560652606189251,
-0.014799143187701702,
-0.09259486943483353,
-0.008733063004910946,
0.018686315044760704,
0.02004595287144184,
-0.00749544333666563,
0.04455430805683136,
-0.019366133958101273,
0.05769748240709305,
-0.014921161346137524,
0.025972582399845123,
-0.00206669420003891,
0.013997304253280163,
0.11058393865823746,
-0.018459707498550415,
0.005717454478144646,
0.018930353224277496,
0.01727438159286976,
0.0010867303935810924,
0.04431027173995972,
-0.04465889558196068,
0.006109657697379589,
0.035402897745370865,
0.047064412385225296,
-0.0522589273750782,
0.024787256494164467,
0.02721020206809044,
-0.00022238479868974537,
0.006763330195099115,
0.02147531695663929,
-0.00285654840990901,
0.04852863773703575,
0.047970838844776154,
-0.003039576578885317,
-0.04319467023015022,
-0.09175816923379898,
-0.0666222870349884,
-0.045913949608802795,
0.02980746142566204,
0.009927104227244854,
-0.012794547714293003,
-0.04047539457678795,
0.006140162702649832,
0.010955548845231533,
0.000707055616658181,
0.02682671509683132,
0.009970682673156261,
-0.017439980059862137,
0.05644243210554123,
0.010519767180085182,
-0.041660718619823456,
-0.0120624341070652,
-0.005639013834297657,
-0.023166149854660034,
0.04640202224254608,
-0.003579945769160986,
-0.06160208582878113,
-0.02084779180586338,
-0.023619363084435463,
0.002357578370720148,
-0.01490373071283102,
0.0015492035308852792,
-0.019191822037100792,
-0.03831391781568527,
-0.05306076630949974,
-0.018930353224277496,
0.06993422657251358,
0.000942922430112958,
-0.03526344522833824,
-0.046715784817934036,
0.004251049365848303,
0.019366133958101273,
0.03517628833651543,
-0.06191584840416908,
0.01260280329734087,
-0.05041121318936348,
-0.027768002822995186,
0.018180808052420616,
0.0505158007144928,
0.01504318043589592,
-0.024316612631082535,
0.0350194089114666,
0.06498374789953232,
-0.02273036725819111,
-0.016559699550271034,
0.0080358125269413,
-0.009665635414421558,
0.09510497748851776,
-0.03196893632411957,
0.034304726868867874,
-0.021858803927898407,
-0.0218239426612854,
0.017422547563910484,
-0.00821448303759098,
-0.04748276248574257,
-0.003932928666472435,
-0.0014130218187347054,
-0.015923459082841873,
-0.038279056549072266,
0.024194594472646713,
0.030766179785132408,
0.0005106815369799733,
-0.011199587024748325,
-0.014659692533314228,
-0.0011766102397814393,
0.012132159434258938,
-0.027768002822995186,
-0.006114015821367502,
-0.08875999599695206,
0.01872117631137371,
-0.056024082005023956,
-0.019679896533489227,
0.060835111886262894,
-0.009648204781115055,
-0.0029545992147177458,
-0.019592739641666412,
-0.04218365624547005,
-0.0013084341771900654,
0.0018182987114414573,
0.011992709711194038,
0.019156958907842636,
0.05640757083892822,
-0.0499580018222332,
-0.05299104005098343,
0.0775342583656311,
0.04661119729280472,
-0.06219474971294403,
-0.021440453827381134,
0.03657079115509987,
0.011225733906030655,
0.034025825560092926,
-0.014851436950266361,
0.0076174624264240265,
0.005412407219409943,
0.0192266833037138,
0.011304174549877644,
-0.007029157131910324,
0.004728230182081461,
0.011234449222683907,
0.06132318452000618,
-0.013195466250181198,
0.010206004604697227,
-0.12585371732711792,
0.006127089262008667,
-0.0556754544377327,
0.0843673124909401,
0.010214720852673054,
0.007055304013192654,
0.03263132646679878,
-0.026844145730137825,
0.0018782186089083552,
-0.012289040721952915,
-0.013875286094844341,
0.027367083355784416,
0.009221138432621956,
0.04030108079314232,
-0.037930428981781006,
-0.01108628325164318,
-0.03636161610484123,
-0.027820296585559845,
0.014563820324838161,
0.014895014464855194,
0.03719831630587578,
0.04863322526216507,
0.004041874315589666,
0.02825607918202877,
-0.0006558512686751783,
0.0163592416793108,
0.03754694014787674,
-0.010580777190625668,
-0.007055304013192654,
0.0229744054377079,
0.0060922265984117985,
0.011269312351942062,
0.03128911927342415,
-0.000007804916094755754,
-0.04542587324976921,
0.045913949608802795,
0.013291338458657265,
-0.06383328884840012,
0.025292763486504555,
0.03949924185872078,
-0.004342563450336456,
-0.024996431544423103,
0.04057998210191727,
0.009839948266744614,
-0.03203866258263588,
-0.033154264092445374,
0.007199111860245466,
0.020185403525829315,
0.04117264598608017,
-0.02239917404949665,
0.0350368395447731,
-0.014755564741790295,
0.033502887934446335
] |
711,205
|
yt_dlp
|
_real_main
| null |
def _real_main(argv=None):
setproctitle('yt-dlp')
parser, opts, all_urls, ydl_opts = parse_options(argv)
# Dump user agent
if opts.dump_user_agent:
ua = traverse_obj(opts.headers, 'User-Agent', casesense=False, default=std_headers['User-Agent'])
write_string(f'{ua}\n', out=sys.stdout)
return
if print_extractor_information(opts, all_urls):
return
# We may need ffmpeg_location without having access to the YoutubeDL instance
# See https://github.com/yt-dlp/yt-dlp/issues/2191
if opts.ffmpeg_location:
FFmpegPostProcessor._ffmpeg_location.set(opts.ffmpeg_location)
with YoutubeDL(ydl_opts) as ydl:
pre_process = opts.update_self or opts.rm_cachedir
actual_use = all_urls or opts.load_info_filename
if opts.rm_cachedir:
ydl.cache.remove()
try:
updater = Updater(ydl, opts.update_self)
if opts.update_self and updater.update() and actual_use:
if updater.cmd:
return updater.restart()
# This code is reachable only for zip variant in py < 3.10
# It makes sense to exit here, but the old behavior is to continue
ydl.report_warning('Restart yt-dlp to use the updated version')
# return 100, 'ERROR: The program must exit for the update to complete'
except Exception:
traceback.print_exc()
ydl._download_retcode = 100
if opts.list_impersonate_targets:
known_targets = [
# List of simplified targets we know are supported,
# to help users know what dependencies may be required.
(ImpersonateTarget('chrome'), 'curl_cffi'),
(ImpersonateTarget('edge'), 'curl_cffi'),
(ImpersonateTarget('safari'), 'curl_cffi'),
]
available_targets = ydl._get_available_impersonate_targets()
def make_row(target, handler):
return [
join_nonempty(target.client.title(), target.version, delim='-') or '-',
join_nonempty((target.os or "").title(), target.os_version, delim='-') or '-',
handler,
]
rows = [make_row(target, handler) for target, handler in available_targets]
for known_target, known_handler in known_targets:
if not any(
known_target in target and handler == known_handler
for target, handler in available_targets
):
rows.append([
ydl._format_out(text, ydl.Styles.SUPPRESS)
for text in make_row(known_target, f'{known_handler} (not available)')
])
ydl.to_screen('[info] Available impersonate targets')
ydl.to_stdout(render_table(['Client', 'OS', 'Source'], rows, extra_gap=2, delim='-'))
return
if not actual_use:
if pre_process:
return ydl._download_retcode
args = sys.argv[1:] if argv is None else argv
ydl.warn_if_short_id(args)
# Show a useful error message and wait for keypress if not launched from shell on Windows
if not args and compat_os_name == 'nt' and getattr(sys, 'frozen', False):
import ctypes.wintypes
import msvcrt
kernel32 = ctypes.WinDLL('Kernel32')
buffer = (1 * ctypes.wintypes.DWORD)()
attached_processes = kernel32.GetConsoleProcessList(buffer, 1)
# If we only have a single process attached, then the executable was double clicked
# When using `pyinstaller` with `--onefile`, two processes get attached
is_onefile = hasattr(sys, '_MEIPASS') and os.path.basename(sys._MEIPASS).startswith('_MEI')
if attached_processes == 1 or is_onefile and attached_processes == 2:
print(parser._generate_error_message(
'Do not double-click the executable, instead call it from a command line.\n'
'Please read the README for further information on how to use yt-dlp: '
'https://github.com/yt-dlp/yt-dlp#readme'))
msvcrt.getch()
_exit(2)
parser.error(
'You must provide at least one URL.\n'
'Type yt-dlp --help to see a list of all options.')
parser.destroy()
try:
if opts.load_info_filename is not None:
if all_urls:
ydl.report_warning('URLs are ignored due to --load-info-json')
return ydl.download_with_info_file(expand_path(opts.load_info_filename))
else:
return ydl.download(all_urls)
except DownloadCancelled:
ydl.to_screen('Aborting remaining downloads')
return 101
|
(argv=None)
|
[
0.041620027273893356,
-0.0011296977754682302,
-0.0808929055929184,
0.0014591109938919544,
-0.006260817404836416,
-0.021260583773255348,
-0.004204440396279097,
0.02401639148592949,
-0.05146968364715576,
0.007104325108230114,
-0.02724372409284115,
-0.007418675813823938,
-0.006522776558995247,
0.01679680496454239,
-0.006952389143407345,
-0.027034157887101173,
0.017991336062550545,
0.07133664935827255,
-0.029171742498874664,
-0.01377903763204813,
-0.007015259005129337,
0.02615397609770298,
0.013967648148536682,
0.04711068794131279,
-0.043673787266016006,
0.008958994410932064,
0.012888377532362938,
-0.008194074034690857,
-0.03933574631810188,
-0.006779496092349291,
0.025106141343712807,
0.0059412275440990925,
-0.010033025406301022,
0.035353973507881165,
-0.007596808020025492,
0.03248290345072746,
0.010258310474455357,
0.026258759200572968,
-0.046901121735572815,
-0.026510240510106087,
-0.04610476642847061,
-0.05587059259414673,
0.07791705429553986,
0.008277901448309422,
0.010928925126791,
0.052517518401145935,
-0.07548607140779495,
-0.022570379078388214,
-0.02261229231953621,
-0.08571294695138931,
0.01865147240459919,
0.03432709351181984,
0.0429193452000618,
0.02680363319814205,
0.03323734551668167,
0.07728835195302963,
0.009158083237707615,
0.0974067971110344,
0.02376491017639637,
-0.03449474647641182,
-0.013307511806488037,
-0.023220036178827286,
-0.006852844730019569,
0.05352343991398811,
-0.02715989761054516,
-0.019343044608831406,
0.001239065546542406,
-0.022549422457814217,
-0.047320254147052765,
-0.007596808020025492,
-0.0006381973507814109,
-0.013716167770326138,
-0.014701133593916893,
-0.047865130007267,
0.06530111283063889,
-0.037156250327825546,
-0.004694303497672081,
-0.033384039998054504,
-0.005438266787678003,
0.028689738363027573,
-0.013957169838249683,
-0.0011781600769609213,
0.031875159591436386,
0.004725738428533077,
0.01704828441143036,
0.015916623175144196,
0.09313162416219711,
-0.003711957484483719,
-0.022339854389429092,
0.04182959720492363,
-0.03730294480919838,
0.03474622592329979,
0.014281999319791794,
0.011243275366723537,
-0.0026326868683099747,
-0.023220036178827286,
-0.012008195742964745,
0.010132569819688797,
-0.0023406026884913445,
0.006313209421932697,
-0.017090197652578354,
-0.05620589852333069,
0.02219315804541111,
0.01769794337451458,
0.02382778190076351,
-0.042772646993398666,
-0.039147138595581055,
0.030575841665267944,
-0.0255671888589859,
-0.04958358034491539,
-0.06509154289960861,
-0.06425327807664871,
-0.0230942964553833,
-0.05687651410698891,
0.02140728011727333,
-0.026300672441720963,
-0.03133028373122215,
-0.012291111052036285,
-0.03711433708667755,
0.027013201266527176,
-0.06748060882091522,
0.035500667989254,
-0.052768997848033905,
-0.016933022066950798,
-0.021962633356451988,
-0.07829427719116211,
-0.010970838367938995,
0.029569920152425766,
0.04222777485847473,
-0.015832794830203056,
0.017467418685555458,
0.014596349559724331,
-0.0019751701038330793,
0.0214596726000309,
0.0445539690554142,
-0.06006193533539772,
0.007890202105045319,
0.041871510446071625,
0.0032220943830907345,
-0.015361269935965538,
-0.008110247552394867,
0.004010590724647045,
-0.0003811501956079155,
0.020265139639377594,
0.01237493846565485,
-0.011494756676256657,
-0.005184166599065065,
-0.04304508492350578,
0.021794980391860008,
0.03682094067335129,
0.039482444524765015,
-0.03489292412996292,
-0.014344869181513786,
0.01410386711359024,
-0.023576300591230392,
-0.01713211089372635,
-0.04099132865667343,
-0.039545316249132156,
-0.005053187254816294,
0.025881538167595863,
0.0035862172953784466,
-0.09095212817192078,
-0.0056425947695970535,
0.004702161997556686,
-0.02954896353185177,
-0.04233255609869957,
0.017058763653039932,
0.010761271230876446,
0.03283916786313057,
0.087431401014328,
0.03265055641531944,
0.04256308078765869,
-0.018923910334706306,
0.009870611131191254,
0.0462305061519146,
0.07611477375030518,
0.05687651410698891,
-0.0536491833627224,
0.020516620948910713,
0.005506375804543495,
-0.004107515327632427,
0.015549879521131516,
-0.02443552576005459,
-0.01761411689221859,
0.03761729598045349,
0.010321180336177349,
-0.010268788784742355,
0.033530738204717636,
-0.009273344650864601,
0.06450475752353668,
-0.049876973032951355,
0.005490658339112997,
0.04472162202000618,
0.023136209696531296,
0.007093846797943115,
0.02986331470310688,
-0.03547971323132515,
0.021669238805770874,
0.01621001586318016,
-0.07137855887413025,
0.0015468673082068563,
0.022717075422406197,
0.042458295822143555,
-0.03162367641925812,
-0.010960360057651997,
0.01935352385044098,
-0.013705689460039139,
0.007596808020025492,
-0.020516620948910713,
0.008251705206930637,
0.07888106256723404,
-0.010048743337392807,
-0.06320544332265854,
0.012437808327376842,
-0.000790460966527462,
-0.022968556731939316,
0.03277629613876343,
0.013380859978497028,
-0.02764190174639225,
-0.03623415529727936,
-0.02674076333642006,
-0.014847829937934875,
0.008099769242107868,
0.037072423845529556,
0.013108422979712486,
-0.029569920152425766,
0.058720704168081284,
0.05000271275639534,
0.020914798602461815,
-0.02912982925772667,
0.029884271323680878,
-0.039796795696020126,
0.04262595251202583,
0.052433691918849945,
0.06370840221643448,
-0.04778130352497101,
-0.04895487800240517,
0.04778130352497101,
-0.015549879521131516,
0.03265055641531944,
-0.007806375157088041,
0.004372093826532364,
0.041620027273893356,
-0.02008700743317604,
-0.043715700507164,
0.04836808890104294,
0.006858083885163069,
0.004170385655015707,
-0.01481639500707388,
-0.006858083885163069,
0.018221860751509666,
-0.02539953403174877,
-0.006606603506952524,
-0.01418769359588623,
-0.06391797214746475,
-0.013003639876842499,
0.055241890251636505,
-0.05306239426136017,
0.025357620790600777,
-0.01564418524503708,
-0.014344869181513786,
-0.00925762765109539,
-0.0725940465927124,
0.06609746813774109,
-0.03547971323132515,
0.00044533010805025697,
0.04828426241874695,
-0.039796795696020126,
-0.06827696412801743,
0.004694303497672081,
0.046984948217868805,
0.03885374218225479,
-0.02095671184360981,
-0.005831204820424318,
-0.04929018393158913,
0.05172116309404373,
0.029905227944254875,
-0.0429193452000618,
0.02008700743317604,
-0.011117535643279552,
0.06458858400583267,
0.03900044038891792,
0.017142590135335922,
0.00824646558612585,
0.0005628841463476419,
-0.04027879983186722,
-0.02592345140874386,
-0.0007767081260681152,
-0.049625493586063385,
-0.020265139639377594,
-0.014617306180298328,
0.039398618042469025,
0.10956168919801712,
-0.029569920152425766,
-0.01472209021449089,
0.04023688659071922,
-0.055158063769340515,
-0.042269688099622726,
0.004497834015637636,
-0.01921730488538742,
-0.07598903775215149,
0.006040771957486868,
0.05121820420026779,
0.027013201266527176,
-0.039147138595581055,
-0.01643006131052971,
0.057379476726055145,
-0.07431250065565109,
0.04222777485847473,
-0.058050092309713364,
0.04908061772584915,
-0.015497487969696522,
0.0255671888589859,
0.0487033985555172,
-0.03231525048613548,
0.0007596808136440814,
-0.00024132963153533638,
0.021428236737847328,
0.025944408029317856,
0.0214596726000309,
-0.04338039457798004,
0.05222412571310997,
0.04832617565989494,
-0.010069699957966805,
0.043673787266016006,
-0.027830513194203377,
0.0759052112698555,
0.03315351903438568,
0.011117535643279552,
-0.030010011047124863,
0.01694350130856037,
0.0037433926481753588,
-0.03390796110033989,
0.01890295371413231,
0.04669155180454254,
-0.0121758496388793,
-0.03719816356897354,
-0.04933209717273712,
0.0717557817697525,
-0.02078905701637268,
-0.01766650751233101,
0.01766650751233101,
-0.055996332317590714,
0.03325830027461052,
0.0643371045589447,
-0.043841440230607986,
0.05054758861660957,
0.004131091758608818,
0.057379476726055145,
-0.07540224492549896,
0.011473799124360085,
0.05486467108130455,
-0.05784052237868309,
0.017635073512792587,
0.009231431409716606,
-0.04727834090590477,
0.00528895016759634,
-0.0408446304500103,
0.002128415973857045,
-0.00033383385743945837,
-0.1130824163556099,
-0.011693845503032207,
-0.04585328325629234,
0.0330277755856514,
-0.0544455349445343,
-0.07569564133882523,
0.08571294695138931,
-0.06689382344484329,
0.022067416459321976,
0.0019673113711178303,
-0.028689738363027573,
0.01357994880527258,
0.019793614745140076,
-0.03587789088487625,
-0.0014551816275343299,
0.009168561547994614,
0.00020154462254140526,
-0.01626240834593773,
-0.02772573009133339,
0.030177664011716843,
0.0202232263982296,
0.041117068380117416,
-0.017603637650609016,
0.0024742018431425095,
0.009194756858050823,
-0.05369109660387039,
-0.015298399142920971,
0.018452385440468788,
-0.019678352400660515,
-0.017938945442438126,
0.04256308078765869,
-0.005574485287070274,
0.03744964301586151,
0.03719816356897354,
0.04191342368721962,
-0.038644175976514816,
-0.07230065762996674,
0.033782217651605606,
-0.046565812081098557,
-0.009032342582941055,
0.019143955782055855,
0.04296125844120979,
0.02458222210407257,
0.0026903178077191114,
-0.020893841981887817,
0.008298858068883419,
0.09212570637464523,
0.004395670257508755,
-0.012490199878811836,
0.06031341478228569,
-0.04924827069044113,
-0.02053757756948471,
-0.07770748436450958,
-0.007560133468359709,
-0.036003630608320236,
0.03845556452870369,
-0.033384039998054504,
0.0325876846909523,
0.0470268614590168,
0.03900044038891792,
0.07871340960264206,
-0.008623686619102955,
0.019143955782055855,
0.009907285682857037,
0.0037695884238928556,
0.00616651214659214,
-0.00039424814167432487,
-0.008822775445878506,
-0.020715709775686264,
-0.04639815911650658,
0.017635073512792587,
0.038308870047330856,
-0.004948403686285019,
-0.034704312682151794,
0.016482453793287277,
0.03744964301586151,
0.010887011885643005,
0.01727880910038948,
0.011295667849481106,
0.0035154884681105614,
-0.05918175354599953,
-0.044092919677495956,
-0.03239907696843147,
0.026195889338850975,
0.03598267212510109,
0.010740314610302448,
-0.013621862046420574,
-0.019395437091588974,
-0.015654662624001503,
-0.023073339834809303,
-0.021836893633008003,
0.03969201073050499,
0.021962633356451988,
-0.00684760557487607,
-0.0816892609000206,
-0.01817994751036167,
0.009121408686041832,
0.024372655898332596,
-0.06831888109445572,
0.013737124390900135,
-0.014764003455638885,
-0.039901576936244965,
0.095730260014534,
0.037910692393779755,
0.0030151468235999346,
-0.015864230692386627,
0.027201810851693153,
-0.035102490335702896,
-0.039796795696020126,
0.01418769359588623,
-0.0005085276789031923,
-0.03306969255208969,
0.0569184273481369,
0.04849383234977722,
0.02376491017639637,
-0.011578583158552647,
0.012071065604686737,
-0.0181485116481781,
0.0037433926481753588,
-0.05662503466010094,
-0.000040419439756078646,
0.004534508567303419,
0.05000271275639534,
0.01143188588321209,
-0.03638084977865219,
-0.07452206313610077,
0.028249647468328476,
-0.046565812081098557,
0.026468327268958092,
0.03499770909547806,
0.027662858366966248,
0.011232797056436539,
0.03918905183672905,
-0.10780132561922073,
-0.006522776558995247,
-0.008607969619333744,
0.006852844730019569,
0.027830513194203377,
0.06157081946730614,
-0.07561181485652924,
0.04222777485847473,
-0.0602295882999897,
0.022968556731939316,
-0.06995350122451782,
0.04073984548449516,
0.040970370173454285,
-0.018211381509900093,
0.0453922376036644,
-0.05100863426923752,
0.06312161684036255,
-0.031393155455589294,
0.018777213990688324,
0.027285639196634293,
-0.02952800691127777,
0.06391797214746475,
0.02705511450767517,
0.016953980550169945,
0.05369109660387039,
0.0420810766518116,
-0.035018663853406906,
0.0334259532392025,
0.05017036572098732,
0.04312891140580177,
-0.06006193533539772,
-0.006512298248708248,
0.019122999161481857,
-0.02871069498360157,
0.03933574631810188,
0.01621001586318016,
0.017100676894187927,
0.006858083885163069,
-0.0038088823202997446,
0.009849654510617256,
-0.0660555511713028,
0.025860581547021866,
-0.0251480545848608,
-0.03359360992908478,
-0.02533666417002678,
-0.003654326545074582,
-0.023387691006064415,
0.043589960783720016,
0.009587695822119713,
-0.024477439001202583,
-0.05406831577420235,
-0.01418769359588623,
-0.022738032042980194,
-0.011369016021490097,
0.06978584825992584,
0.009671522304415703,
-0.03265055641531944,
-0.0325876846909523,
-0.012511156499385834,
0.059852369129657745,
0.018253296613693237,
-0.06982776522636414,
-0.007010019849985838,
0.05088289454579353,
0.008136442862451077,
0.004843620117753744,
0.01335990335792303,
-0.051930733025074005,
-0.0350605770945549,
-0.08986237645149231,
-0.07058220356702805,
0.044512055814266205,
0.009896807372570038,
0.02722276747226715,
0.02896217443048954,
-0.030911149457097054,
-0.034515704959630966,
0.004173004999756813,
0.020768100395798683,
0.032294292002916336,
0.004835761152207851,
-0.02665693685412407,
-0.011295667849481106,
0.011976760812103748,
-0.022884728386998177,
0.04157811403274536,
0.007560133468359709,
-0.0060722073540091515,
-0.0022921403869986534,
0.030429145321249962,
-0.020013660192489624,
-0.018578125163912773,
-0.026007279753684998,
0.0627443939447403,
0.008529381826519966,
0.03820408508181572,
-0.026426414027810097,
-0.060774464160203934,
0.011892933398485184,
-0.02764190174639225,
-0.019866961985826492,
-0.00031009383383207023,
0.03086923621594906,
-0.019322087988257408,
0.03587789088487625,
0.10075987130403519,
0.015130746178328991,
-0.02904600277543068,
0.04597902670502663,
-0.013150336220860481,
-0.029989054426550865,
0.03736581653356552,
-0.022381767630577087,
-0.01991935446858406,
-0.0734742283821106,
-0.04744599387049675,
-0.04191342368721962,
-0.024938486516475677,
0.0021808077581226826,
0.028081992641091347,
-0.04589519649744034,
-0.001167026930488646,
0.005338722374290228,
0.02342960424721241,
0.03531206026673317,
0.03283916786313057,
-0.003929383587092161,
0.0004934650496579707,
0.03405465558171272,
0.027516162022948265,
-0.007078129332512617,
-0.07167195528745651,
-0.017572201788425446,
-0.009079495444893837,
0.02969565987586975,
0.00056615867651999,
0.04555989056825638,
0.0036281307693570852,
0.004023688845336437,
0.027935296297073364,
0.023282906040549278,
0.05809200555086136,
0.0011624426115304232,
0.03455761820077896,
-0.03235716372728348,
0.03638084977865219,
0.024225957691669464,
0.0502961091697216,
0.011463320814073086,
0.013307511806488037,
0.01245876494795084,
-0.007476306986063719,
0.01719498261809349,
-0.021857850253582,
0.02657311037182808,
0.06773208826780319,
-0.004450681619346142,
-0.0010556943016126752,
-0.033111605793237686,
0.025022312998771667,
0.018777213990688324,
-0.07632434368133545,
0.040383584797382355,
-0.02567197196185589,
-0.026698850095272064,
0.0367371141910553,
0.005385874770581722,
0.027013201266527176,
0.01316081453114748,
0.04308699816465378,
-0.015120266936719418,
-0.004283027723431587,
-0.001731548341922462,
-0.00004007152529084124,
-0.04778130352497101,
0.020883362740278244,
-0.02971661649644375,
0.03615032881498337,
-0.0054644625633955,
0.026531197130680084,
0.0011113606160506606,
-0.004034167155623436,
-0.06580407172441483,
-0.029255568981170654,
-0.018756257370114326,
0.03244099020957947,
-0.006936671677976847,
0.014648741111159325,
-0.0416828989982605,
-0.021281540393829346,
-0.033384039998054504,
-0.04635624587535858,
0.028270604088902473,
0.060858290642499924,
-0.030303405597805977,
0.0015717534115538,
-0.0841621533036232,
-0.06299587339162827,
0.06676807999610901,
0.0029706137720495462,
-0.037659209221601486,
0.00837220624089241,
-0.06538493931293488,
-0.05758904293179512,
-0.008644643239676952,
0.0001365460775559768,
-0.03269246965646744,
0.03455761820077896,
-0.0009509107912890613,
0.014774481765925884,
0.01637767069041729,
-0.014554436318576336,
0.039482444524765015,
-0.07548607140779495,
-0.00831457506865263,
0.00443234434351325,
-0.029066959396004677,
0.03654850646853447,
-0.02944418042898178,
0.018075164407491684,
0.006402275525033474,
0.025064226239919662,
-0.04273073375225067,
-0.08374302089214325,
-0.01786559633910656,
0.029507050290703773,
0.006758539471775293,
-0.019175391644239426,
0.007319131400436163,
0.00021726216073147953,
-0.00852414220571518,
0.027034157887101173,
0.033216387033462524,
-0.04614667966961861,
-0.04002732038497925,
0.06165464594960213,
0.02542049065232277,
-0.02680363319814205,
-0.030911149457097054,
-0.013307511806488037,
0.016251929104328156,
-0.03944053128361702,
-0.022989513352513313,
0.055325716733932495,
0.012437808327376842,
0.031958986073732376,
-0.008136442862451077,
-0.06278631091117859,
-0.0032116160728037357,
-0.021386323496699333,
0.015120266936719418,
0.018127555027604103,
0.00934145413339138,
-0.006889518816024065,
-0.04132663458585739,
0.05800817906856537,
-0.01472209021449089,
0.027683816850185394,
-0.016063319519162178,
-0.06504963338375092,
0.017834162339568138,
0.02812390774488449,
-0.007884962484240532,
0.02550431713461876,
0.025630058720707893,
-0.005042708944529295,
-0.016671063378453255,
0.0044873557053506374,
-0.0074867852963507175,
0.024770833551883698,
-0.013307511806488037,
0.020694753155112267,
0.01266833208501339,
-0.028815478086471558,
0.04929018393158913
] |
711,210
|
yt_dlp.compat
|
compat_shlex_quote
| null |
def compat_shlex_quote(s):
from ..utils import shell_quote
return shell_quote(s)
|
(s)
|
[
-0.034141525626182556,
-0.003199139144271612,
0.027886589989066124,
0.03157005086541176,
0.009365028701722622,
0.0045565469190478325,
0.06341809779405594,
0.03389827907085419,
-0.02496761828660965,
0.0024976306594908237,
0.044966038316488266,
0.05111672729253769,
-0.05552992969751358,
0.02415100298821926,
-0.008982783183455467,
-0.019998420029878616,
-0.001230354537256062,
0.07603222131729126,
0.08624861389398575,
0.03829410672187805,
-0.029606696218252182,
-0.00038713274989277124,
-0.011823566630482674,
-0.052749957889318466,
0.0063504972495138645,
0.022656768560409546,
-0.00002148098064935766,
0.012796556577086449,
-0.010172958485782146,
-0.02211814746260643,
0.024428999051451683,
-0.010407518595457077,
0.05177696794271469,
-0.003227373119443655,
0.03042331337928772,
-0.06140261888504028,
-0.006949928589165211,
0.05167271941900253,
-0.03992734104394913,
-0.09688200801610947,
-0.031239930540323257,
0.01177144143730402,
-0.016758015379309654,
0.003633509622886777,
0.045626282691955566,
0.01817406341433525,
-0.05542568117380142,
-0.004204706754535437,
-0.014707786962389946,
0.013300426304340363,
0.05400094762444496,
-0.037286367267370224,
-0.01430816575884819,
-0.02913757599890232,
-0.015333279967308044,
0.01096351258456707,
0.04142157360911369,
-0.0076536089181900024,
0.012952929362654686,
-0.04632127657532692,
0.018903806805610657,
0.020571788772940636,
0.03603538125753403,
-0.01008608378469944,
0.04746801406145096,
-0.010850576683878899,
-0.01921655237674713,
-0.03544463589787483,
0.017114199697971344,
-0.005651160608977079,
-0.053027957677841187,
-0.023369135335087776,
-0.0291897002607584,
-0.07492022961378098,
0.04441004619002342,
-0.02543673850595951,
-0.02833833359181881,
-0.0037942267954349518,
-0.04576528072357178,
0.0014138760743662715,
0.004547859542071819,
-0.07728321105241776,
0.011067761108279228,
0.033950403332710266,
-0.07575422525405884,
0.000969732238445431,
-0.009556151926517487,
0.02482862025499344,
-0.013717422261834145,
0.03042331337928772,
0.046529773622751236,
-0.0681440532207489,
-0.007054177578538656,
0.05424419417977333,
-0.0060464381240308285,
-0.009008845314383507,
0.03242141753435135,
0.0023282261099666357,
-0.039371345192193985,
-0.05087347701191902,
-0.03746011480689049,
0.04798925668001175,
-0.010546516627073288,
-0.03335965797305107,
0.001909058541059494,
-0.027938714250922203,
0.01012952160090208,
-0.03141367807984352,
-0.06331384927034378,
-0.07992418110370636,
0.025714736431837082,
0.05719791352748871,
-0.025801610201597214,
-0.012900805100798607,
0.03113568015396595,
0.015724213793873787,
0.019372927024960518,
-0.01940767653286457,
0.07248775660991669,
0.005868345964699984,
0.026635602116584778,
0.033724527806043625,
-0.0055295368656516075,
-0.006771836895495653,
0.02519349195063114,
0.07408624142408371,
-0.018955931067466736,
0.04708576574921608,
-0.028581582009792328,
0.043263304978609085,
-0.021388405933976173,
0.062479861080646515,
0.021562153473496437,
-0.053653448820114136,
-0.03132680431008339,
0.029068076983094215,
-0.058170903474092484,
0.08895909041166306,
-0.04531353712081909,
0.0043046120554208755,
0.0252977404743433,
-0.040031589567661285,
-0.006224529817700386,
-0.03322065994143486,
-0.05695466697216034,
0.03004106692969799,
-0.011206760071218014,
-0.010642078705132008,
0.028320958837866783,
0.0460432767868042,
0.034054651856422424,
0.007948980666697025,
0.0356878824532032,
0.036278627812862396,
-0.015993524342775345,
0.028737954795360565,
0.024793870747089386,
-0.05320170521736145,
0.04864950105547905,
0.0027104723267257214,
0.018921181559562683,
-0.006076843943446875,
-0.04441004619002342,
0.047537513077259064,
-0.018295686691999435,
-0.015437529422342777,
0.044688042253255844,
-0.010294581763446331,
0.026183856651186943,
-0.00005046164005761966,
0.04642552509903908,
0.038328856229782104,
0.005138603504747152,
0.04903174564242363,
0.03335965797305107,
0.0291897002607584,
0.015724213793873787,
0.06664981693029404,
-0.0010354308178648353,
-0.027122097089886665,
-0.001995932776480913,
-0.019911546260118484,
0.05480019003152847,
-0.02060653828084469,
-0.01603696122765541,
-0.01899068057537079,
0.017774442210793495,
0.01259674597531557,
0.023525508120656013,
-0.02206602320075035,
-0.04513978585600853,
0.016975201666355133,
-0.01044226810336113,
-0.06230610981583595,
-0.06668456643819809,
-0.016245458275079727,
-0.02713947184383869,
-0.03659137338399887,
-0.022291896864771843,
-0.01879955641925335,
-0.05358394980430603,
0.036521874368190765,
0.009382403455674648,
-0.057823408395051956,
0.05997788533568382,
-0.019164428114891052,
0.04750276356935501,
-0.025176117196679115,
-0.04687726870179176,
-0.012118938378989697,
-0.002758252900093794,
-0.018538935109972954,
-0.027851838618516922,
0.014273416250944138,
-0.0001889511913759634,
0.025836359709501266,
0.02121465839445591,
0.008405069820582867,
0.0660938248038292,
-0.000059115118347108364,
-0.017713630571961403,
-0.01352629903703928,
-0.0022435239516198635,
0.048962246626615524,
0.021718528121709824,
0.006359184626489878,
-0.022517768666148186,
0.03518401458859444,
0.026374978944659233,
0.0009420411079190671,
-0.001660381443798542,
-0.046529773622751236,
0.01442978996783495,
0.013343863189220428,
0.00826172810047865,
-0.035896383225917816,
-0.020797662436962128,
-0.04666877165436745,
0.021388405933976173,
-0.008800347335636616,
-0.006989022251218557,
-0.038989100605249405,
0.0157329011708498,
0.022813141345977783,
0.05865740031003952,
-0.0011912612244486809,
-0.046251777559518814,
0.04722476750612259,
0.0157329011708498,
0.006289685610681772,
0.0243073757737875,
0.009156530722975731,
-0.02220502309501171,
-0.03707787021994591,
0.008826409466564655,
0.00789251271635294,
-0.0003960916365031153,
0.0243073757737875,
-0.027973463758826256,
0.04010108858346939,
-0.06032538041472435,
-0.04142157360911369,
0.0010147981811314821,
-0.03080555982887745,
-0.0680745542049408,
-0.05709366500377655,
-0.05420944467186928,
0.01177144143730402,
0.026427103206515312,
0.04187332093715668,
0.005316695664077997,
-0.01549834106117487,
-0.026878848671913147,
-0.01860843412578106,
-0.06331384927034378,
0.017470384016633034,
-0.045070286840200424,
-0.001188003458082676,
0.041456326842308044,
-0.06817880272865295,
0.02524561621248722,
0.025037119165062904,
-0.004030958749353886,
-0.0001892226719064638,
0.012857368215918541,
0.015619965270161629,
0.021110408008098602,
-0.04996998608112335,
-0.04048333317041397,
0.02557573840022087,
-0.026930974796414375,
-0.009860211052000523,
0.03971884399652481,
-0.04920549690723419,
0.0214057806879282,
0.00876994151622057,
-0.009052282199263573,
-0.07554572820663452,
0.03435002267360687,
-0.05945663899183273,
0.046912018209695816,
0.03207392245531082,
-0.060672879219055176,
0.054174695163965225,
-0.012292686849832535,
0.025471488013863564,
-0.023890379816293716,
0.015724213793873787,
-0.013083240948617458,
0.01442978996783495,
-0.023091137409210205,
0.05097772553563118,
-0.034714892506599426,
0.0009952514665201306,
-0.011945189908146858,
0.038850102573633194,
-0.04889274761080742,
-0.08207865804433823,
-0.04201231896877289,
0.01655820570886135,
0.01442978996783495,
-0.032438792288303375,
0.06668456643819809,
-0.01846943609416485,
-0.03056231141090393,
-0.02154477871954441,
-0.027226345613598824,
-0.00336419977247715,
0.029554571956396103,
0.0700552836060524,
-0.04315905645489693,
0.027087347581982613,
0.028077712282538414,
-0.0005228735390119255,
0.05354920029640198,
0.005486099980771542,
0.03982309252023697,
-0.039892591536045074,
-0.07561522722244263,
0.0009610448614694178,
0.041734322905540466,
0.07068077474832535,
0.04357605427503586,
0.014447164721786976,
-0.09771599620580673,
0.021909650415182114,
-0.005268914625048637,
0.03066655993461609,
0.0067892116494476795,
-0.07113251835107803,
0.014985783956944942,
-0.040170587599277496,
-0.008882877416908741,
-0.0525762103497982,
0.0025910204276442528,
0.03888485208153725,
0.010233770124614239,
0.04409729689359665,
0.00452179741114378,
-0.042637813836336136,
0.02781708911061287,
-0.024793870747089386,
0.0434718057513237,
-0.016462644562125206,
0.011041698977351189,
-0.001866707461886108,
-0.012631495483219624,
-0.021579528227448463,
-0.022135522216558456,
0.038189858198165894,
-0.011667192913591862,
0.037703365087509155,
-0.03431527316570282,
-0.07749170809984207,
-0.04423629492521286,
0.022900015115737915,
-0.02875532954931259,
-0.01649739407002926,
-0.002730018924921751,
-0.06720580905675888,
0.02743484452366829,
0.0453830361366272,
0.0006140913465060294,
-0.046634022146463394,
0.0006227787816897035,
-0.03285578638315201,
-0.03108355589210987,
0.011302321217954159,
0.05942188948392868,
0.00420687859877944,
-0.008722160942852497,
-0.005777128040790558,
0.029415573924779892,
0.009651714004576206,
-0.05994313582777977,
-0.007727452088147402,
0.032960038632154465,
-0.009929710999131203,
0.009703838266432285,
0.0314658023416996,
-0.000651555834338069,
0.024376874789595604,
0.05420944467186928,
-0.01565471477806568,
0.004011412151157856,
-0.0020100497640669346,
-0.04889274761080742,
0.03501026704907417,
-0.03895435109734535,
0.0409003309905529,
0.011258884333074093,
-0.047537513077259064,
0.013960669748485088,
-0.02097140997648239,
-0.007427736185491085,
-0.04176907241344452,
-0.07346075028181076,
0.02581898495554924,
-0.01326567679643631,
-0.015020533464848995,
-0.010485704988241196,
-0.03620912879705429,
-0.06022113189101219,
0.053132206201553345,
-0.025071868672966957,
0.005916127003729343,
-0.0012922523310407996,
0.030388563871383667,
0.03381140157580376,
-0.03971884399652481,
-0.00022302212892100215,
0.019338177517056465,
0.03428052365779877,
-0.0447227917611599,
0.02055441401898861,
0.022326646372675896,
0.07547622919082642,
0.024324750527739525,
0.007267019245773554,
0.03381140157580376,
0.05254146084189415,
0.039753593504428864,
0.006771836895495653,
-0.022465644404292107,
0.03228241950273514,
-0.013960669748485088,
0.008274759165942669,
0.05243721231818199,
0.0050169797614216805,
0.0023890379816293716,
0.03202179819345474,
0.00760582834482193,
-0.02277839183807373,
0.02022429183125496,
-0.0012401279527693987,
-0.08527562767267227,
0.046251777559518814,
-0.018399937078356743,
-0.03473226726055145,
0.016836201772093773,
-0.0236818827688694,
0.004269862547516823,
-0.014707786962389946,
0.0049735428765416145,
0.013630547560751438,
-0.0027408781461417675,
0.052610959857702255,
0.03648712486028671,
0.010025272145867348,
-0.012944241985678673,
0.03527088835835457,
0.030058441683650017,
-0.007032459136098623,
0.04552203416824341,
-0.028737954795360565,
0.03360290452837944,
-0.015411467291414738,
0.002212031977251172,
-0.007640577852725983,
0.041074078530073166,
-0.06411309540271759,
-0.06529457867145538,
0.02762596681714058,
0.018260937184095383,
0.024567998945713043,
0.002853814512491226,
0.08110567182302475,
-0.06581582874059677,
0.04204706847667694,
0.0590396448969841,
0.11390933394432068,
0.09389353543519974,
0.005768440663814545,
0.0034076368901878595,
0.06592007726430893,
0.00393974082544446,
-0.01381298340857029,
0.027695465832948685,
0.0791596919298172,
-0.010303269140422344,
0.022986888885498047,
-0.016627704724669456,
-0.004791107028722763,
-0.03641762584447861,
-0.009191281162202358,
-0.002890736097469926,
0.06456483900547028,
-0.020398041233420372,
-0.028633706271648407,
-0.006663244217634201,
0.0010131692979484797,
-0.03676512464880943,
0.009243405424058437,
-0.017470384016633034,
0.022604642435908318,
-0.024602748453617096,
0.03242141753435135,
0.025401988998055458,
0.019685672596096992,
0.04246406629681587,
-0.03236929327249527,
-0.053931448608636856,
-0.0602906309068203,
-0.060012634843587875,
-0.04399304836988449,
-0.10049597173929214,
-0.001714677782729268,
0.043923549354076385,
0.022222397848963737,
-0.029780445620417595,
0.011111198924481869,
-0.03853735327720642,
-0.048614751547575,
-0.031153054907917976,
0.02220502309501171,
0.07672721147537231,
-0.08339914679527283,
0.000990907778032124,
-0.00852235034108162,
0.03360290452837944,
-0.007584109902381897,
0.024324750527739525,
0.004371939692646265,
-0.013465487398207188,
-0.014794660732150078,
0.06369609385728836,
-0.017470384016633034,
0.015263780951499939,
0.002228320809081197,
0.00822263490408659,
0.004278549924492836,
0.0014920628163963556,
-0.04840625450015068,
0.06532932817935944,
0.002452021697536111,
-0.10049597173929214,
-0.02625335566699505,
-0.030492812395095825,
-0.09695150703191757,
0.020345916971564293,
0.011180697940289974,
0.021179907023906708,
0.01748775877058506,
-0.009677776135504246,
-0.03421102464199066,
-0.09125256538391113,
0.014481914229691029,
-0.005555599462240934,
-0.03302953764796257,
0.03118780441582203,
0.008083635941147804,
-0.028790079057216644,
0.09389353543519974,
0.018347812816500664,
-0.010329331271350384,
-0.009434528648853302,
0.07763070613145828,
-0.03089243359863758,
-0.0018352156039327383,
0.05698941648006439,
0.050143737345933914,
-0.018295686691999435,
-0.0947275310754776,
0.01756594516336918,
-0.0074233924970030785,
-0.0178439412266016,
0.027539093047380447,
0.0369388721883297,
-0.006163718178868294,
-0.00953877717256546,
-0.004838888067752123,
0.05188121646642685,
0.017148949205875397,
0.008709129877388477,
0.01770494319498539,
-0.05035223439335823,
-0.002415100345388055,
0.0005701113259419799,
0.0038811007980257273,
0.004035302437841892,
0.07304374873638153,
0.002091494156047702,
0.021510029211640358,
0.026305479928851128,
0.07832569628953934,
-0.02567998692393303,
-0.009269467554986477,
-0.014464539475739002,
-0.08388563990592957,
-0.03593113273382187,
-0.029033327475190163,
0.023803506046533585,
-0.022430894896388054,
0.008948033675551414,
-0.001245557563379407,
0.08840309083461761,
-0.019372927024960518,
-0.05094297602772713,
0.02003316953778267,
0.04246406629681587,
0.03582688421010971,
0.04785025864839554,
-0.026965724304318428,
-0.04121307656168938,
0.034002527594566345,
-0.007484204601496458,
0.0008806862751953304,
-0.022986888885498047,
-0.01383904553949833,
-0.051811717450618744,
-0.019998420029878616,
0.0051820408552885056,
0.045209284871816635,
0.011675880290567875,
0.015724213793873787,
-0.06133311986923218,
-0.08902858942747116,
-0.020380666479468346,
0.0036465406883507967,
-0.025905858725309372,
-0.00225438317283988,
-0.0343673974275589,
-0.01046833023428917,
-0.02752171829342842,
-0.009582214057445526,
-0.025123992934823036,
-0.04315905645489693,
0.008948033675551414,
-0.0031947954557836056,
-0.02178802713751793,
0.013482862152159214,
0.08541462570428848,
-0.012952929362654686,
-0.0039071631617844105,
0.01951192505657673,
0.01869530789554119,
-0.03530563786625862,
-0.019199177622795105,
0.05931764096021652,
-0.02667035162448883,
0.031118305400013924,
-0.003251263638958335,
-0.06084662675857544,
0.05344495177268982,
-0.046529773622751236,
-0.04493128880858421,
-0.0262881051748991,
0.0022739297710359097,
-0.0042546596378088,
0.015072657726705074,
0.018313061445951462,
-0.009755962528288364,
-0.07436423748731613,
-0.012926867231726646,
-0.026357604190707207,
-0.06696256250143051,
0.04830200597643852,
0.02206602320075035,
-0.006498183589428663,
-0.0019286052556708455,
-0.03812035918235779,
-0.03916284814476967,
0.00448270421475172,
0.03843310475349426,
-0.027504343539476395,
0.026965724304318428,
0.04176907241344452,
0.03843310475349426,
0.05865740031003952,
-0.014994471333920956,
0.0008681981125846505,
0.029224449768662453,
-0.03466276824474335,
0.010589953511953354,
-0.032299794256687164,
-0.005755409598350525,
0.019894171506166458,
-0.043020058423280716,
0.059213392436504364,
-0.012118938378989697,
0.03732111677527428,
-0.012171062640845776,
0.0009414981468580663,
0.025749485939741135,
0.0014649146469309926,
-0.019564049318432808,
0.014229979366064072,
-0.013109303079545498,
-0.010338018648326397,
0.005877033341675997,
-0.03388090431690216,
0.025888483971357346,
0.020345916971564293,
-0.021110408008098602,
0.033394407480955124,
-0.053931448608636856,
0.009121781215071678,
-0.016705891117453575,
0.03617437928915024,
0.004604327958077192,
-0.01965092308819294,
-0.04256831482052803,
0.03441952168941498,
0.03843310475349426,
0.06369609385728836,
-0.005251539871096611,
-0.004943136591464281,
0.06828305125236511,
0.0843721330165863,
-0.026496604084968567,
-0.03150055184960365,
0.001160855288617313,
-0.03546201065182686,
0.03108355589210987,
0.011067761108279228,
0.004647764842957258,
0.01288343034684658,
-0.020988784730434418,
0.004269862547516823,
0.060499127954244614,
0.052749957889318466,
0.037564363330602646,
-0.04138682410120964,
-0.05139472335577011,
0.0738777443766594,
-0.006498183589428663,
-0.00005575553223025054,
0.023803506046533585,
0.009052282199263573,
-0.05605117604136467,
-0.03165692463517189,
0.04632127657532692,
-0.04590427875518799,
0.02310851216316223,
0.01940767653286457,
-0.021510029211640358,
0.03122255578637123,
0.041074078530073166,
-0.010103458538651466,
0.0009349826141260564,
-0.06779655814170837,
0.038572102785110474,
-0.041734322905540466,
-0.006389590911567211,
0.005138603504747152,
0.0009072914835996926,
0.019720422104001045,
-0.053653448820114136
] |
711,214
|
yt_dlp.utils
|
download_range_func
| null |
from yt_dlp.utils import download_range_func
|
(chapters, ranges, from_info=False)
|
[
-0.0015964433550834656,
0.002680083503946662,
-0.0771188735961914,
0.037006255239248276,
-0.04500851780176163,
0.039943795651197433,
-0.04949924349784851,
-0.02685992233455181,
-0.03886331990361214,
-0.02079913578927517,
0.027231335639953613,
0.002113467315211892,
0.012054044753313065,
-0.00044553750194609165,
-0.005811771377921104,
0.03239735588431358,
-0.011657307855784893,
0.07644357532262802,
-0.0211874321103096,
0.01610582508146763,
-0.04585263878107071,
0.0025977815967053175,
-0.02125496044754982,
0.01512664370238781,
-0.01724538765847683,
0.06742836534976959,
0.00871132593601942,
-0.02886893041431904,
-0.050714775919914246,
-0.07036590576171875,
-0.0022812364622950554,
-0.046021465212106705,
-0.010610598139464855,
0.03812049329280853,
-0.017709653824567795,
0.007204570807516575,
0.05105242505669594,
0.0298143457621336,
-0.10115943104028702,
0.008390560746192932,
-0.01110018789768219,
-0.05392243340611458,
0.0115475719794631,
-0.01838495023548603,
0.018216125667095184,
-0.004256478976458311,
-0.06499730050563812,
-0.06975813955068588,
0.01843559741973877,
-0.05270690098404884,
0.021964022889733315,
0.010787863284349442,
0.023432793095707893,
-0.04166579991579056,
-0.008913915604352951,
0.09920107573270798,
-0.010922922752797604,
0.13188542425632477,
0.023399027064442635,
0.06486223638057709,
-0.02258867211639881,
-0.017220063135027885,
0.0023614277597516775,
0.003853411413729191,
0.003568520536646247,
0.04153074324131012,
-0.03447389230132103,
-0.024243148043751717,
-0.05047842115163803,
0.04379298537969589,
0.028987107798457146,
0.005820212885737419,
-0.01132810115814209,
-0.0055923000909388065,
0.03241423889994621,
-0.029611757025122643,
-0.07252685725688934,
-0.02453014999628067,
-0.040416501462459564,
-0.018570657819509506,
0.026556039229035378,
-0.014713024720549583,
0.042239803820848465,
-0.021103018894791603,
0.03111429139971733,
-0.05388867110013962,
0.01980307325720787,
-0.01536299753934145,
0.030776644125580788,
0.036567311733961105,
-0.053989965468645096,
0.016798002645373344,
-0.06989319622516632,
-0.023297732695937157,
0.04217227175831795,
-0.02603268437087536,
-0.016882415860891342,
0.029510462656617165,
-0.06560506671667099,
-0.04207097738981247,
0.007613969501107931,
-0.03119870275259018,
-0.014687701128423214,
0.034254420548677444,
0.019026482477784157,
-0.06837378442287445,
-0.0338323600590229,
-0.0036993592511862516,
-0.03221165016293526,
-0.03498036414384842,
-0.04960053786635399,
0.025256093591451645,
0.021474432200193405,
-0.013362431898713112,
-0.01296569500118494,
0.030489642173051834,
0.03825555369257927,
0.008310369215905666,
0.007356512360274792,
-0.029983170330524445,
0.0010366857750341296,
0.017642123624682426,
-0.07097367197275162,
0.009597653523087502,
0.027974162250757217,
0.02930787391960621,
0.0005539542762562633,
0.06300517171621323,
0.050309598445892334,
-0.02729886583983898,
0.04821617901325226,
-0.014983143657445908,
-0.04625781625509262,
0.02599892020225525,
0.038086727261543274,
-0.05324713885784149,
-0.0013410968240350485,
0.08333159983158112,
-0.01703435741364956,
-0.0009190365090034902,
-0.026336567476391792,
0.02741704322397709,
0.03151946887373924,
-0.01584414765238762,
0.008103559724986553,
-0.0033553801476955414,
-0.030523406341671944,
0.013565020635724068,
-0.006322464440017939,
0.024800268933176994,
-0.0027919295243918896,
0.04483969509601593,
-0.010424891486763954,
-0.004275471903383732,
0.025239210575819016,
-0.021930256858468056,
0.002671642228960991,
-0.03876202553510666,
-0.0015204725787043571,
-0.024698974564671516,
-0.02927410788834095,
-0.005482564214617014,
-0.0009295879863202572,
-0.04490722343325615,
0.018216125667095184,
-0.011994956061244011,
-0.037107549607753754,
-0.003203438362106681,
0.013615667819976807,
0.03396742045879364,
0.020596547052264214,
0.02544179931282997,
-0.01106642372906208,
-0.0018275214824825525,
0.040315207093954086,
-0.002631546463817358,
0.011733278632164001,
0.02966240420937538,
0.008496075868606567,
0.028126103803515434,
-0.038964614272117615,
0.03410248085856438,
-0.03916720300912857,
0.0017357233446091413,
0.0011933757923543453,
-0.0049296654760837555,
-0.013927992433309555,
0.004032786935567856,
-0.02886893041431904,
0.010323597118258476,
-0.03548683598637581,
-0.009065857157111168,
0.025661271065473557,
-0.0033363872207701206,
0.010543067939579487,
-0.06354541331529617,
-0.0207316055893898,
0.05483408644795418,
0.012180662713944912,
0.009859330952167511,
0.06590894609689713,
0.030016934499144554,
0.01039112638682127,
0.03224541246891022,
-0.011707955040037632,
0.015430527739226818,
-0.00811622105538845,
0.025711918249726295,
-0.06178963929414749,
0.013733845204114914,
-0.0019615255296230316,
-0.0023403249215334654,
-0.03835684806108475,
0.0036402707919478416,
0.016831768676638603,
0.000677934498526156,
-0.0367361344397068,
-0.0013379313750192523,
0.017270710319280624,
0.0020121729467064142,
0.05432761088013649,
-0.035621896386146545,
0.02601580135524273,
-0.04213850945234299,
0.09717518091201782,
-0.012163780629634857,
0.048317473381757736,
0.0042037214152514935,
-0.0026885245461016893,
-0.025627506896853447,
0.01612270623445511,
0.004680649843066931,
0.046460408717393875,
0.02314579114317894,
0.06847507506608963,
-0.003083151066675782,
-0.023871734738349915,
0.059189748018980026,
-0.008031808771193027,
0.030776644125580788,
-0.022774377837777138,
0.04004509001970291,
0.021406902000308037,
0.020157603546977043,
-0.003619167720898986,
0.015683764591813087,
0.020106956362724304,
0.04288133606314659,
-0.015937000513076782,
-0.0193641297519207,
0.02171078696846962,
-0.055070437490940094,
-0.033258359879255295,
0.0019298711558803916,
0.011522248387336731,
0.018283655866980553,
-0.004794606007635593,
-0.04774346947669983,
0.040787916630506516,
-0.006550377234816551,
0.008318809792399406,
-0.05726515129208565,
-0.08346666395664215,
0.021558843553066254,
-0.05662362277507782,
-0.011496924795210361,
0.010804745368659496,
-0.026623569428920746,
-0.007854543626308441,
0.006879584398120642,
0.05186278000473976,
0.04261121526360512,
-0.008770414628088474,
-0.04639287665486336,
-0.012720899656414986,
-0.011024217121303082,
0.06222858279943466,
-0.06668554246425629,
0.0264547448605299,
-0.024344442412257195,
0.02886893041431904,
0.007179247215390205,
-0.018047301098704338,
0.02880140021443367,
-0.008099338971078396,
-0.05935857072472572,
0.014949378557503223,
-0.02265620231628418,
-0.02650539204478264,
-0.03862696513533592,
-0.021508196368813515,
0.013919551856815815,
0.04949924349784851,
-0.012568958103656769,
0.0879911482334137,
0.05061348155140877,
0.08859891444444656,
-0.055475618690252304,
0.046460408717393875,
0.04916159436106682,
-0.030489642173051834,
-0.0454474613070488,
0.05368608236312866,
0.027687160298228264,
-0.053584787994623184,
-0.030962349846959114,
0.07509298622608185,
-0.04048403352499008,
-0.015920117497444153,
-0.037478961050510406,
-0.013446844182908535,
-0.02552621252834797,
0.030540289357304573,
-0.01577661745250225,
-0.011133952997624874,
-0.012484545819461346,
-0.031367529183626175,
0.08312901109457016,
0.011277453042566776,
0.04588640481233597,
-0.059257276356220245,
0.04257745295763016,
0.06226234883069992,
-0.014561083167791367,
0.0072003500536084175,
-0.03643225133419037,
0.03256617859005928,
0.03687119483947754,
0.005140695255249739,
0.00638999417424202,
-0.010028154589235783,
0.018722599372267723,
0.0463591143488884,
0.030337700620293617,
0.023821087554097176,
0.011108629405498505,
0.015472733415663242,
-0.03602707386016846,
0.008905474096536636,
-0.018688833341002464,
-0.005014077294617891,
-0.011032658629119396,
0.006651671603322029,
0.04051779583096504,
0.03869449719786644,
-0.024209383875131607,
0.013640991412103176,
-0.01985372044146061,
0.06499730050563812,
-0.026539156213402748,
0.01612270623445511,
0.07043343782424927,
-0.00897300336509943,
0.06655047833919525,
0.05561067536473274,
0.04261121526360512,
0.06915037333965302,
-0.053179606795310974,
-0.008504516445100307,
-0.0003226124099455774,
0.005541652906686068,
-0.06222858279943466,
-0.04014638438820839,
0.018233008682727814,
0.0043218983337283134,
-0.011420954018831253,
0.010695010423660278,
-0.004819929599761963,
0.08339913189411163,
0.03879579156637192,
-0.04713570326566696,
-0.03415312618017197,
-0.011699513532221317,
0.003674035659059882,
-0.050782304257154465,
-0.022943202406167984,
-0.044535811990499496,
-0.022943202406167984,
-0.05615091323852539,
0.04629158228635788,
0.015050672926008701,
0.025762565433979034,
0.00012595864245668054,
0.020360192283988,
0.05328090116381645,
-0.04770970717072487,
-0.008778856135904789,
-0.021018607541918755,
-0.02366914600133896,
0.001345317461527884,
0.10223990678787231,
-0.010576833039522171,
0.03153635188937187,
0.03828931972384453,
-0.027754690498113632,
-0.07320215553045273,
-0.04781100153923035,
0.0057780067436397076,
0.04565005004405975,
-0.030877938494086266,
-0.008812621235847473,
0.03643225133419037,
-0.012636488303542137,
0.05804174393415451,
0.009639859199523926,
-0.04109179973602295,
0.06303893774747849,
-0.026994982734322548,
-0.008086676709353924,
-0.0043387808836996555,
-0.05554314702749252,
-0.03714131563901901,
-0.059257276356220245,
0.01941477693617344,
0.00028620968805626035,
0.009622977115213871,
-0.013792932964861393,
-0.01838495023548603,
0.0071328203193843365,
0.010906040668487549,
0.04534616693854332,
-0.055002909153699875,
0.05723138898611069,
0.01740577071905136,
0.00840322207659483,
-0.06921790540218353,
0.02594827301800251,
0.0026568700559437275,
-0.0005383907700888813,
0.024344442412257195,
-0.016840210184454918,
0.022099081426858902,
-0.09514929354190826,
-0.08596526086330414,
0.043657924979925156,
0.04335404187440872,
-0.04217227175831795,
-0.010306715033948421,
0.07907723635435104,
-0.05463149771094322,
0.025610623881220818,
-0.001993180252611637,
0.03953861817717552,
-0.04990442097187042,
0.006499730050563812,
-0.03455830365419388,
-0.0803603008389473,
-0.02029266394674778,
-0.03214411810040474,
-0.06101305037736893,
-0.04828370735049248,
0.027957279235124588,
0.04784476384520531,
0.022487377747893333,
-0.024260031059384346,
-0.019651131704449654,
0.005900403950363398,
-0.029088402166962624,
-0.020512133836746216,
-0.01564999856054783,
0.03413624316453934,
0.026201508939266205,
0.012383251450955868,
-0.011370306834578514,
0.039876263588666916,
0.005659829825162888,
-0.026758627966046333,
-0.01085539348423481,
-0.014257200062274933,
-0.03866073116660118,
-0.019566718488931656,
-0.032853178679943085,
-0.0221834946423769,
-0.03265058994293213,
0.05429384857416153,
0.04291509836912155,
0.019161541014909744,
0.03216100111603737,
0.06081046164035797,
-0.04308392480015755,
-0.002553465310484171,
-0.10933052003383636,
0.03714131563901901,
0.047912295907735825,
-0.032296061515808105,
-0.030101345852017403,
-0.05051218718290329,
-0.007702602073550224,
-0.06243117153644562,
-0.032346706837415695,
0.018536891788244247,
0.026994982734322548,
-0.006714980583637953,
-0.026809275150299072,
0.03774908185005188,
-0.014341611415147781,
0.06276881694793701,
0.036499783396720886,
0.026066448539495468,
-0.018199244514107704,
0.006326685193926096,
0.002112412126734853,
-0.009690506383776665,
0.009335976094007492,
0.036601077765226364,
0.0730670914053917,
0.003800653852522373,
-0.0026273259427398443,
-0.03818802535533905,
-0.030033817514777184,
0.009040533564984798,
0.00988465454429388,
-0.019684895873069763,
0.06222858279943466,
0.0027138483710587025,
-0.00579488929361105,
-0.020984841510653496,
0.06661801040172577,
0.0032688577193766832,
0.01514352671802044,
0.0045244875364005566,
0.02788975089788437,
0.02694433555006981,
-0.06638165563344955,
-0.008597370237112045,
0.007259438745677471,
-0.04372545704245567,
-0.011184600181877613,
-0.04865512251853943,
0.06381552666425705,
0.03913343697786331,
-0.004448516294360161,
0.09825565665960312,
-0.02780533768236637,
0.011209923774003983,
0.07988759130239487,
-0.05527302622795105,
-0.04355663061141968,
-0.03602707386016846,
0.02837933972477913,
0.022402964532375336,
0.0035917339846491814,
0.01607205905020237,
-0.0037689991295337677,
0.005769565235823393,
0.04764217510819435,
-0.023719793185591698,
0.06070916727185249,
0.09771542251110077,
0.056421030312776566,
0.04190215468406677,
0.010711892507970333,
0.038930848240852356,
-0.064018115401268,
0.012467663735151291,
0.03177270665764809,
-0.03207658976316452,
-0.011615102179348469,
0.015481174923479557,
-0.05388867110013962,
-0.02027578093111515,
-0.03248176723718643,
-0.041361916810274124,
0.04879017919301987,
-0.08704573661088943,
0.03361288830637932,
0.022487377747893333,
-0.028446869924664497,
-0.04588640481233597,
-0.06847507506608963,
0.013379313983023167,
0.02689368836581707,
0.02731574885547161,
-0.02697809971868992,
0.013286461122334003,
0.0038660732097923756,
0.006145199295133352,
-0.12303904443979263,
0.008390560746192932,
-0.02783910371363163,
-0.01065280381590128,
-0.01752394624054432,
0.061181873083114624,
-0.08805868029594421,
0.004053889773786068,
0.025391152128577232,
0.003264636965468526,
-0.006343567743897438,
0.0423748642206192,
-0.023686029016971588,
-0.0010641197441145778,
-0.012138457037508488,
-0.04629158228635788,
-0.01721162162721157,
-0.025678154081106186,
0.028126103803515434,
-0.042206037789583206,
-0.00615364033728838,
-0.007280541583895683,
0.010272949934005737,
0.0005660884780809283,
0.09771542251110077,
-0.03977496922016144,
0.04355663061141968,
0.03622966259717941,
0.05554314702749252,
0.0035263143945485353,
-0.049836888909339905,
-0.012222868390381336,
-0.03302200511097908,
0.018621305003762245,
-0.014485112391412258,
0.015641557052731514,
-0.006415317766368389,
-0.008812621235847473,
-0.0018264662940055132,
0.04278004169464111,
-0.012400134466588497,
-0.022487377747893333,
-0.006942893378436565,
-0.04156450554728508,
0.03389988839626312,
0.007749028503894806,
0.010939804837107658,
-0.03572319075465202,
0.022757496684789658,
0.02638721466064453,
-0.0015964433550834656,
0.03310641646385193,
0.02123807929456234,
-0.03626342862844467,
-0.0010482924990355968,
0.04949924349784851,
-0.021457549184560776,
0.02211596444249153,
0.011404071934521198,
0.03960614651441574,
-0.007685719523578882,
-0.021119901910424232,
-0.005368608050048351,
-0.02407432347536087,
0.07982005923986435,
-0.021001724526286125,
-0.017372004687786102,
-0.014485112391412258,
0.011665749363601208,
-0.06040528044104576,
0.025357387959957123,
0.022301670163869858,
-0.017760301008820534,
-0.024918444454669952,
-0.010720334015786648,
0.03531801328063011,
0.04244239255785942,
-0.06668554246425629,
0.009800242260098457,
0.01584414765238762,
-0.051727719604969025,
0.08265630900859833,
-0.06989319622516632,
-0.04639287665486336,
-0.030320817604660988,
0.018081067129969597,
-0.025830095633864403,
-0.04656170308589935,
-0.04477216675877571,
-0.0020047868601977825,
-0.06854260712862015,
-0.011767043732106686,
-0.014991585165262222,
0.02729886583983898,
-0.01841871440410614,
0.007495792582631111,
0.013598785735666752,
0.0217276681214571,
-0.0198199562728405,
0.02122119627892971,
-0.016004528850317,
0.03785037621855736,
0.031857118010520935,
0.004760840907692909,
-0.0004452737048268318,
-0.014805878512561321,
-0.0230951439589262,
-0.017726536840200424,
0.08664055913686752,
-0.0454474613070488,
-0.012661811895668507,
0.005630285479128361,
0.028210515156388283,
-0.022352317348122597,
0.0006547211669385433,
-0.08664055913686752,
0.0043894280679523945,
0.04065285623073578,
-0.026100214570760727,
-0.02979746274650097,
-0.014468230307102203,
0.03317394480109215,
0.00024189335817936808,
0.024310678243637085,
-0.022791260853409767,
0.026302803307771683,
0.028075456619262695,
-0.002274905564263463,
-0.03528424724936485,
-0.03791790455579758,
-0.020579664036631584,
-0.07583580911159515,
0.017591476440429688,
0.030776644125580788,
-0.021069254726171494,
-0.016646061092615128,
0.006077669560909271,
0.0094119468703866,
0.008686002343893051,
-0.11014087498188019,
0.034321948885917664,
0.013311784714460373,
0.020630311220884323,
0.034710247069597244,
-0.020512133836746216,
0.01510132011026144,
0.00004599798558047041,
-0.014991585165262222,
0.040281444787979126,
-0.07036590576171875,
0.049364183098077774,
-0.015523380599915981,
0.04571758210659027,
0.002325552748516202,
-0.0038027639966458082,
0.009859330952167511,
-0.027822220697999,
-0.004689090885221958,
-0.015894794836640358,
-0.011505366303026676,
0.05415878817439079,
0.012205986306071281,
-0.004305015783756971,
-0.01895895227789879,
-0.00815842766314745,
-0.029139049351215363,
0.0015837815590202808,
-0.014257200062274933,
-0.011285894550383091,
0.012695576064288616,
-0.02925722673535347,
-0.0037985434755682945,
-0.010998893529176712,
0.03197529539465904,
0.02783910371363163,
0.0027518337592482567,
0.027180688455700874,
0.0183680672198534,
-0.03249865025281906,
0.048823945224285126,
0.017659006640315056,
-0.036094602197408676,
-0.0038681833539158106,
-0.013050107285380363,
0.041767094284296036,
0.019110893830657005,
0.02407432347536087,
0.028598811477422714,
0.013598785735666752,
0.014299405738711357,
0.012121574021875858
] |
711,227
|
yt_dlp
|
get_postprocessors
| null |
def get_postprocessors(opts):
yield from opts.add_postprocessors
for when, actions in opts.parse_metadata.items():
yield {
'key': 'MetadataParser',
'actions': actions,
'when': when
}
sponsorblock_query = opts.sponsorblock_mark | opts.sponsorblock_remove
if sponsorblock_query:
yield {
'key': 'SponsorBlock',
'categories': sponsorblock_query,
'api': opts.sponsorblock_api,
'when': 'after_filter'
}
if opts.convertsubtitles:
yield {
'key': 'FFmpegSubtitlesConvertor',
'format': opts.convertsubtitles,
'when': 'before_dl'
}
if opts.convertthumbnails:
yield {
'key': 'FFmpegThumbnailsConvertor',
'format': opts.convertthumbnails,
'when': 'before_dl'
}
if opts.extractaudio:
yield {
'key': 'FFmpegExtractAudio',
'preferredcodec': opts.audioformat,
'preferredquality': opts.audioquality,
'nopostoverwrites': opts.nopostoverwrites,
}
if opts.remuxvideo:
yield {
'key': 'FFmpegVideoRemuxer',
'preferedformat': opts.remuxvideo,
}
if opts.recodevideo:
yield {
'key': 'FFmpegVideoConvertor',
'preferedformat': opts.recodevideo,
}
# If ModifyChapters is going to remove chapters, subtitles must already be in the container.
if opts.embedsubtitles:
keep_subs = 'no-keep-subs' not in opts.compat_opts
yield {
'key': 'FFmpegEmbedSubtitle',
# already_have_subtitle = True prevents the file from being deleted after embedding
'already_have_subtitle': opts.writesubtitles and keep_subs
}
if not opts.writeautomaticsub and keep_subs:
opts.writesubtitles = True
# ModifyChapters must run before FFmpegMetadataPP
if opts.remove_chapters or sponsorblock_query:
yield {
'key': 'ModifyChapters',
'remove_chapters_patterns': opts.remove_chapters,
'remove_sponsor_segments': opts.sponsorblock_remove,
'remove_ranges': opts.remove_ranges,
'sponsorblock_chapter_title': opts.sponsorblock_chapter_title,
'force_keyframes': opts.force_keyframes_at_cuts
}
# FFmpegMetadataPP should be run after FFmpegVideoConvertorPP and
# FFmpegExtractAudioPP as containers before conversion may not support
# metadata (3gp, webm, etc.)
# By default ffmpeg preserves metadata applicable for both
# source and target containers. From this point the container won't change,
# so metadata can be added here.
if opts.addmetadata or opts.addchapters or opts.embed_infojson:
yield {
'key': 'FFmpegMetadata',
'add_chapters': opts.addchapters,
'add_metadata': opts.addmetadata,
'add_infojson': opts.embed_infojson,
}
# Deprecated
# This should be above EmbedThumbnail since sponskrub removes the thumbnail attachment
# but must be below EmbedSubtitle and FFmpegMetadata
# See https://github.com/yt-dlp/yt-dlp/issues/204 , https://github.com/faissaloo/SponSkrub/issues/29
# If opts.sponskrub is None, sponskrub is used, but it silently fails if the executable can't be found
if opts.sponskrub is not False:
yield {
'key': 'SponSkrub',
'path': opts.sponskrub_path,
'args': opts.sponskrub_args,
'cut': opts.sponskrub_cut,
'force': opts.sponskrub_force,
'ignoreerror': opts.sponskrub is None,
'_from_cli': True,
}
if opts.embedthumbnail:
yield {
'key': 'EmbedThumbnail',
# already_have_thumbnail = True prevents the file from being deleted after embedding
'already_have_thumbnail': opts.writethumbnail
}
if not opts.writethumbnail:
opts.writethumbnail = True
opts.outtmpl['pl_thumbnail'] = ''
if opts.split_chapters:
yield {
'key': 'FFmpegSplitChapters',
'force_keyframes': opts.force_keyframes_at_cuts,
}
# XAttrMetadataPP should be run after post-processors that may change file contents
if opts.xattrs:
yield {'key': 'XAttrMetadata'}
if opts.concat_playlist != 'never':
yield {
'key': 'FFmpegConcat',
'only_multi_video': opts.concat_playlist != 'always',
'when': 'playlist',
}
# Exec must be the last PP of each category
for when, exec_cmd in opts.exec_cmd.items():
yield {
'key': 'Exec',
'exec_cmd': exec_cmd,
'when': when,
}
|
(opts)
|
[
0.03177488222718239,
-0.03015371598303318,
-0.06282024085521698,
-0.03657759353518486,
-0.038867492228746414,
0.042515117675065994,
-0.0016806947533041239,
0.051958419382572174,
0.001958066364750266,
0.030052391812205315,
0.0007915857131592929,
0.02265581674873829,
0.0015502413734793663,
0.07688386738300323,
0.02417566068470478,
0.03347710892558098,
0.013111191801726818,
0.01936282031238079,
0.03487536683678627,
-0.013678601011633873,
-0.00387813663110137,
-0.00044740422163158655,
-0.015056593343615532,
0.01583678089082241,
-0.011408966034650803,
0.019433746114373207,
0.026911379769444466,
-0.03359869495034218,
-0.07189878076314926,
0.016150880604982376,
0.0009796664817258716,
-0.037996113300323486,
0.03951595723628998,
-0.0059679229743778706,
-0.007300320081412792,
0.026040002703666687,
-0.058078326284885406,
0.05726774036884308,
-0.07356047630310059,
0.009904320351779461,
0.0594157874584198,
-0.017974695190787315,
0.024459363892674446,
-0.03757055848836899,
-0.018248267471790314,
0.04336623102426529,
-0.014610772021114826,
0.03838114067912102,
-0.01631299778819084,
-0.022331582382321358,
0.051593657582998276,
-0.03430795669555664,
0.02863387018442154,
0.05143154039978981,
0.01167240645736456,
0.005821004509925842,
-0.0269316453486681,
0.054673872888088226,
0.032646261155605316,
0.03136959299445152,
0.031248003244400024,
0.03422689810395241,
0.005395448300987482,
0.025513123720884323,
0.0010246285237371922,
-0.018055753782391548,
0.031187210232019424,
-0.08122049272060394,
-0.04689227044582367,
0.0176605936139822,
-0.006803837604820728,
-0.07084502279758453,
0.016606833785772324,
0.024337777867913246,
0.01482355035841465,
-0.09135279059410095,
-0.01778218150138855,
0.009230522438883781,
0.051026247441768646,
-0.010020841844379902,
0.007123004645109177,
0.04417681321501732,
-0.07489793747663498,
-0.044217344373464584,
0.06513040512800217,
0.01626233570277691,
0.08227425068616867,
-0.003746416885405779,
-0.025918414816260338,
0.012381667271256447,
-0.022757139056921005,
-0.020973853766918182,
0.07866715639829636,
0.013070663437247276,
-0.037286851555109024,
0.038989078253507614,
-0.030376626178622246,
-0.012969340197741985,
-0.026364237070083618,
-0.01362793892621994,
-0.03185594081878662,
0.03673970699310303,
0.01652577705681324,
0.015654398128390312,
0.04231247305870056,
-0.011439363472163677,
-0.04543321952223778,
0.005197868216782808,
0.010020841844379902,
-0.04381205141544342,
-0.013040265999734402,
-0.06711633503437042,
-0.04393364116549492,
-0.026323707774281502,
0.013678601011633873,
-0.081990547478199,
-0.0017870839219540358,
0.050256192684173584,
-0.013374632224440575,
-0.003389253281056881,
-0.030356362462043762,
-0.03361896052956581,
-0.04859449714422226,
-0.05613292381167412,
-0.0268708523362875,
-0.0355035699903965,
0.0719798356294632,
0.044217344373464584,
0.0016667628660798073,
-0.00027911312645301223,
-0.0176605936139822,
0.04470369219779968,
-0.014995799399912357,
-0.030052391812205315,
-0.03400398790836334,
-0.058686263859272,
0.019707318395376205,
-0.012756561860442162,
-0.01628260128200054,
-0.002467214362695813,
-0.01942361332476139,
-0.013455689884722233,
-0.016454849392175674,
-0.006363082677125931,
-0.0714934840798378,
-0.0643603503704071,
0.005139607470482588,
-0.052971649914979935,
0.0034677786752581596,
0.027924610301852226,
0.0355643630027771,
-0.017143845558166504,
0.052080005407333374,
0.05872679129242897,
0.03613176941871643,
-0.0030320899095386267,
0.0006737977382726967,
0.056619275361299515,
-0.03256520256400108,
0.022250523790717125,
0.058078326284885406,
-0.046608567237854004,
-0.01574558950960636,
0.054106466472148895,
-0.019565464928746223,
-0.02348666451871395,
0.04348781704902649,
-0.04450104758143425,
0.05670033395290375,
0.057308271527290344,
0.06695421785116196,
0.028937840834259987,
-0.020538166165351868,
-0.00003849085624096915,
0.041826121509075165,
0.08551658689975739,
0.03134932741522789,
-0.024276982992887497,
-0.024013543501496315,
-0.022250523790717125,
-0.026283178478479385,
0.014600640162825584,
-0.01359754242002964,
-0.025857621803879738,
-0.003994658123701811,
0.026404766365885735,
0.044217344373464584,
-0.020254461094737053,
0.012067565694451332,
-0.021885761991143227,
0.02567524090409279,
-0.009965114295482635,
-0.001107586664147675,
0.010780763812363148,
-0.010284281335771084,
0.00272305472753942,
-0.021257558837532997,
0.02845148928463459,
0.04121818393468857,
-0.027154555544257164,
-0.027803022414445877,
-0.020072080194950104,
0.005187735892832279,
-0.0420287661254406,
-0.018906865268945694,
0.04677068442106247,
-0.007300320081412792,
0.012868016958236694,
-0.08280113339424133,
0.02184523269534111,
-0.013911643996834755,
-0.004567132797092199,
0.04847290739417076,
0.006677183788269758,
0.013982569798827171,
-0.02832990139722824,
-0.0019859301391988993,
0.028410959988832474,
-0.038806695491075516,
0.008354078978300095,
0.019849169999361038,
-0.013455689884722233,
-0.001467916532419622,
0.059780552983284,
0.03252467140555382,
0.01410415768623352,
0.04259617626667023,
-0.011196187697350979,
0.002520408947020769,
-0.012797091156244278,
-0.007072343025356531,
0.012685636058449745,
-0.03039688989520073,
0.06699474900960922,
0.038239289075136185,
-0.0008903755806386471,
-0.00706727709621191,
0.02575629949569702,
-0.01993022859096527,
0.011054336093366146,
0.016100220382213593,
-0.005045883823186159,
-0.002037858124822378,
-0.0479460284113884,
-0.03481457382440567,
-0.003006759099662304,
0.016637232154607773,
-0.010046171955764294,
0.03315287455916405,
0.07299306988716125,
0.04571692273020744,
-0.012472857721149921,
0.015948235988616943,
0.009985378943383694,
-0.029687630012631416,
-0.03554409742355347,
-0.006423876155167818,
-0.05499810725450516,
0.022615287452936172,
-0.05280953273177147,
0.004691253416240215,
0.011510289274156094,
-0.037165265530347824,
0.045919571071863174,
0.019352687522768974,
-0.001921336748637259,
0.018511706963181496,
-0.050256192684173584,
-0.0827200710773468,
0.023182695731520653,
0.007244592532515526,
0.02385142631828785,
-0.06225283071398735,
0.00953449122607708,
-0.010436265729367733,
0.01810641400516033,
-0.022574758157134056,
-0.030619801953434944,
0.003629895392805338,
0.026769528165459633,
0.039556488394737244,
0.0049622924998402596,
0.022250523790717125,
-0.041947707533836365,
0.07830239087343216,
-0.0022202394902706146,
-0.027559848502278328,
0.07676228135824203,
0.01111513003706932,
0.007153401616960764,
-0.04405522719025612,
0.01978837512433529,
0.012837620452046394,
-0.030477948486804962,
0.02492544986307621,
0.03299075737595558,
-0.07570852339267731,
-0.007685346994549036,
-0.003913599532097578,
-0.08138260990381241,
-0.023000314831733704,
-0.02322322502732277,
0.07356047630310059,
0.05143154039978981,
-0.03197753056883812,
0.08762410283088684,
0.0479460284113884,
-0.06180701032280922,
0.03331499174237251,
-0.034530866891145706,
0.01044639851897955,
0.004779911134392023,
0.03290969878435135,
0.03138985484838486,
0.00489389942958951,
-0.022736873477697372,
0.02869466505944729,
0.06326606124639511,
0.036030448973178864,
0.02877572365105152,
-0.06675156950950623,
0.017974695190787315,
0.04814867675304413,
0.04429840296506882,
0.06431981921195984,
-0.014073760248720646,
-0.0473380908370018,
-0.003700821427628398,
-0.007356047630310059,
-0.04462263733148575,
-0.05998319759964943,
0.007123004645109177,
-0.02725587785243988,
0.0658193975687027,
-0.05937526002526283,
-0.013506351970136166,
-0.028167786076664925,
-0.007138203363865614,
0.04895925894379616,
-0.061158545315265656,
0.05751091614365578,
-0.0029940938111394644,
-0.018744749948382378,
0.038239289075136185,
-0.016546040773391724,
0.002340560546144843,
0.02133861742913723,
-0.035463038831949234,
0.02423645369708538,
-0.019383084028959274,
0.07611381262540817,
-0.022007348015904427,
0.04539269208908081,
0.04014416038990021,
0.0595373772084713,
-0.05690297856926918,
-0.011236716993153095,
-0.058199912309646606,
-0.062414947897195816,
-0.001451451564207673,
0.03852299228310585,
0.026668205857276917,
0.01862316206097603,
0.08843468874692917,
0.009215324185788631,
-0.01280722301453352,
0.010709838010370731,
0.005213066935539246,
0.05216106399893761,
-0.04046839475631714,
0.012716032564640045,
0.021885761991143227,
0.008440203033387661,
-0.02593868039548397,
-0.01885620504617691,
-0.017255302518606186,
-0.01577598601579666,
0.03084271214902401,
-0.045919571071863174,
0.02901889756321907,
-0.0009290049783885479,
0.0770459845662117,
-0.049324020743370056,
-0.01126711443066597,
-0.008075440302491188,
-0.036597855389118195,
0.021946555003523827,
0.025290213525295258,
-0.004691253416240215,
-0.03706394135951996,
0.01900818943977356,
0.016272468492388725,
-0.03009292110800743,
-0.01623193919658661,
-0.034470073878765106,
-0.03734764829277992,
-0.02423645369708538,
0.03809743747115135,
-0.003450046991929412,
-0.04450104758143425,
0.06529252231121063,
-0.07882927358150482,
0.037104472517967224,
0.052769001573324203,
0.018045620992779732,
-0.07072342932224274,
0.06950755417346954,
0.07489793747663498,
0.03053874336183071,
0.07611381262540817,
-0.017609931528568268,
-0.08478706330060959,
-0.05045883730053902,
-0.010618647560477257,
-0.05791620910167694,
-0.015299768187105656,
0.006829168181866407,
0.052728474140167236,
-0.026141326874494553,
0.005263728089630604,
0.052850060164928436,
0.001913737622089684,
0.03305155411362648,
0.0043543544597923756,
0.017316095530986786,
-0.021298088133335114,
-0.0348956324160099,
-0.005170004442334175,
-0.09086643904447556,
-0.023628516122698784,
-0.04103580117225647,
-0.013820452615618706,
-0.010030973702669144,
-0.02462148107588291,
0.05475493147969246,
-0.01252351887524128,
-0.024965979158878326,
-0.010618647560477257,
-0.004681121092289686,
0.033963460475206375,
0.036030448973178864,
0.005309323780238628,
-0.024459363892674446,
-0.0596589632332325,
0.0877862200140953,
0.027032967656850815,
-0.0299510695040226,
0.02914048545062542,
0.010831424966454506,
0.0008378142956644297,
-0.03254493698477745,
0.04042786359786987,
0.03696262091398239,
-0.04620327427983284,
0.028492018580436707,
-0.046730153262615204,
0.0899747982621193,
0.0054765064269304276,
-0.06322553008794785,
-0.04689227044582367,
0.013171985745429993,
-0.0528905913233757,
0.018430648371577263,
0.015968499705195427,
0.0419071801006794,
0.045352160930633545,
0.00035431375727057457,
0.006727844942361116,
-0.08794833719730377,
0.014995799399912357,
0.0002441250253468752,
0.005268794484436512,
0.013607675209641457,
-0.00692542502656579,
0.012827487662434578,
-0.042150355875492096,
-0.03149117901921272,
-0.03923225402832031,
0.0004477208713069558,
-0.021885761991143227,
0.01703239046037197,
-0.04908084496855736,
0.008718841709196568,
0.0348956324160099,
-0.01626233570277691,
-0.03941463679075241,
0.052971649914979935,
-0.05909155681729317,
0.009569954127073288,
-0.008151432499289513,
0.01126711443066597,
-0.021379146724939346,
0.06221230328083038,
-0.0591726154088974,
-0.01280722301453352,
0.015218709595501423,
0.054430700838565826,
0.006185767240822315,
0.05852414667606354,
-0.08770516514778137,
0.023587986826896667,
-0.011368436738848686,
0.014884344302117825,
-0.05175577104091644,
0.044217344373464584,
-0.009205191396176815,
-0.02310163713991642,
-0.019281761720776558,
-0.07234460115432739,
0.0357467420399189,
-0.021703379228711128,
-0.015421356074512005,
-0.00827808678150177,
-0.028492018580436707,
-0.0064644054509699345,
0.04417681321501732,
-0.007680281065404415,
0.058888908475637436,
0.03197753056883812,
-0.0003476644342299551,
0.043082527816295624,
-0.024520158767700195,
0.005157338920980692,
-0.0038325414061546326,
0.021500734612345695,
0.03045768477022648,
-0.054552286863327026,
0.015309900976717472,
0.013070663437247276,
-0.02883651666343212,
-0.0409952737390995,
-0.01957559771835804,
-0.012260079383850098,
-0.0013475954765453935,
0.0018884068122133613,
0.0011614145478233695,
0.02423645369708538,
0.026080531999468803,
0.07886979728937149,
-0.0035209732595831156,
0.043325699865818024,
0.03777320310473442,
-0.005760211031883955,
-0.011793993413448334,
0.005907129030674696,
0.00406305119395256,
0.02127782441675663,
0.005613292567431927,
0.048756614327430725,
-0.03347710892558098,
-0.042271941900253296,
-0.01614074967801571,
-0.011378569528460503,
0.04859449714422226,
-0.004673521965742111,
-0.027661170810461044,
0.05232318118214607,
0.005033218301832676,
0.026161590591073036,
0.024378307163715363,
0.02674926444888115,
0.06622469425201416,
-0.09451406449079514,
-0.07732968777418137,
0.04972931370139122,
0.01574558950960636,
-0.006773440632969141,
0.019433746114373207,
-0.022250523790717125,
-0.006712646689265966,
0.04539269208908081,
0.001191811403259635,
0.02567524090409279,
0.004627926740795374,
-0.044217344373464584,
-0.032200440764427185,
-0.0005908395396545529,
0.028025932610034943,
0.020396314561367035,
-0.07181771844625473,
0.003097949782386422,
0.011186055839061737,
0.045473746955394745,
-0.024702539667487144,
-0.007817067205905914,
-0.04847290739417076,
0.010279214940965176,
0.027032967656850815,
0.1126711443066597,
0.03763135150074959,
-0.009463565424084663,
0.017133714631199837,
0.007660016417503357,
-0.04600062966346741,
0.02304084412753582,
0.005623424891382456,
-0.0044379462487995625,
-0.005192802287638187,
-0.009797930717468262,
-0.006874763406813145,
-0.024276982992887497,
0.00933691207319498,
0.040184687823057175,
0.0067379772663116455,
0.0067379772663116455,
-0.026972174644470215,
-0.022554492577910423,
0.009179861284792423,
-0.026141326874494553,
0.006256693508476019,
-0.02820831537246704,
-0.005354919005185366,
0.02322322502732277,
-0.058321502059698105,
-0.02158179320394993,
-0.044784750789403915,
-0.01945400983095169,
0.027053233236074448,
0.0528905913233757,
-0.06881856173276901,
-0.0010024640941992402,
0.013394896872341633,
-0.04563586413860321,
0.017589667811989784,
-0.057997267693281174,
0.008789767511188984,
-0.00788799300789833,
-0.06330659240484238,
-0.021804703399538994,
-0.011571083217859268,
0.011054336093366146,
-0.03027530387043953,
0.07291200757026672,
-0.00953449122607708,
-0.010517324320971966,
0.011327908374369144,
0.03582780063152313,
-0.01554294303059578,
0.005142140667885542,
-0.03015371598303318,
0.0765596330165863,
-0.0660625770688057,
-0.00043822184670716524,
-0.04267723485827446,
-0.03894855082035065,
0.0019289359916001558,
0.018744749948382378,
-0.024155395105481148,
0.039434898644685745,
0.00853139441460371,
0.03290969878435135,
0.04097500815987587,
-0.05564657598733902,
-0.0016477648168802261,
0.011621744371950626,
0.035787273198366165,
0.014620904810726643,
0.023446135222911835,
0.0016135682817548513,
-0.011652141809463501,
0.049445610493421555,
-0.04405522719025612,
0.03813796490430832,
-0.0021645119413733482,
-0.032200440764427185,
-0.02208840660750866,
-0.018906865268945694,
-0.018461044877767563,
-0.010588250122964382,
-0.01775178499519825,
-0.006439074873924255,
-0.009711806662380695,
-0.026465559378266335,
-0.0355643630027771,
-0.016242071986198425,
-0.04085342213511467,
-0.012594444677233696,
0.019281761720776558,
-0.020913060754537582,
0.0036020316183567047,
-0.022878726944327354,
0.009255853481590748,
0.0008555458043701947,
0.04624380171298981,
-0.023142166435718536,
-0.01652577705681324,
0.013678601011633873,
-0.04494686797261238,
-0.01566453091800213,
-0.03720579296350479,
0.03215990960597992,
0.030437419191002846,
0.002614132594317198,
-0.02454042248427868,
-0.04539269208908081,
0.01089221891015768,
0.007371245883405209,
-0.06440088152885437,
0.036293886601924896,
-0.008404740132391453,
-0.005159872118383646,
-0.032261233776807785,
0.005238397512584925,
-0.03724632412195206,
-0.026526354253292084,
-0.002821844769641757,
-0.006748109590262175,
0.0006623989320360124,
0.03033609688282013,
0.004980023950338364,
-0.007634685840457678,
0.03224096819758415,
0.029343131929636,
-0.003926265053451061,
-0.003754016011953354,
-0.06156383454799652,
-0.01086182240396738,
0.08053149282932281,
0.08053149282932281,
0.0088302968069911,
0.0016920935595408082,
0.018146943300962448,
0.021541263908147812,
0.03400398790836334,
-0.010117098689079285,
-0.01906898245215416,
-0.05130995064973831,
-0.015451752580702305,
0.09046114981174469,
-0.02758011221885681,
0.010821293108165264,
-0.013151721097528934,
-0.060023728758096695,
-0.023081371560692787,
-0.02857307717204094,
-0.0721014216542244,
0.037732671946287155,
0.01076049916446209,
-0.0011348172556608915,
-0.03927278146147728,
-0.06371188163757324,
0.028188049793243408,
-0.04916190356016159,
0.035463038831949234,
-0.005076280795037746,
0.018015224486589432,
0.0890020951628685,
-0.00926598533987999,
-0.0019770644139498472,
0.013891379348933697,
0.029910540208220482,
-0.011773728765547276,
-0.061401721090078354,
0.019403347745537758,
-0.022959785535931587,
-0.007984249852597713,
0.03929304704070091,
-0.002072054659947753,
-0.06723792105913162,
-0.06476563960313797,
-0.0076093547977507114,
-0.04054945334792137,
0.038421668112277985,
0.018359722569584846,
0.06808903813362122,
-0.00284970854409039,
0.030234774574637413,
0.036293886601924896
] |
711,228
|
yt_dlp
|
get_urls
|
@param verbose -1: quiet, 0: normal, 1: verbose
|
def get_urls(urls, batchfile, verbose):
"""
@param verbose -1: quiet, 0: normal, 1: verbose
"""
batch_urls = []
if batchfile is not None:
try:
batch_urls = read_batch_urls(
read_stdin(None if verbose == -1 else 'URLs') if batchfile == '-'
else open(expand_path(batchfile), encoding='utf-8', errors='ignore'))
if verbose == 1:
write_string('[debug] Batch file urls: ' + repr(batch_urls) + '\n')
except OSError:
_exit(f'ERROR: batch file {batchfile} could not be read')
_enc = preferredencoding()
return [
url.strip().decode(_enc, 'ignore') if isinstance(url, bytes) else url.strip()
for url in batch_urls + urls]
|
(urls, batchfile, verbose)
|
[
-0.07323373854160309,
0.016262423247098923,
-0.08875652402639389,
-0.0015729308361187577,
-0.05678880587220192,
0.06608711183071136,
-0.008981314487755299,
-0.010537436231970787,
0.05598193034529686,
0.013188604265451431,
-0.01858699880540371,
-0.0020544156432151794,
-0.01575332321226597,
-0.012958068400621414,
0.015666870400309563,
0.004586714319884777,
0.023553138598799706,
0.01630084589123726,
0.019288213923573494,
0.0003064813790842891,
-0.0314682237803936,
0.009351133368909359,
-0.015983859077095985,
0.011046537198126316,
-0.01130589097738266,
0.04714469984173775,
0.03477257862687111,
-0.03154506906867027,
-0.01763603650033474,
0.023649195209145546,
0.03239036723971367,
0.01090245135128498,
-0.013736128807067871,
-0.007953506894409657,
0.0015381101984530687,
-0.029739199206233025,
0.04664520174264908,
0.07646124809980392,
-0.05605877563357353,
-0.009490416385233402,
-0.003602131735533476,
-0.0023750055115669966,
0.016291240230202675,
-0.031525857746601105,
0.039998069405555725,
0.012122374027967453,
-0.05870994180440903,
-0.021747268736362457,
-0.09152296185493469,
-0.08506794273853302,
0.0012859610142186284,
0.03529128432273865,
0.02430238202214241,
-0.008832426741719246,
0.008582678623497486,
0.012016710825264454,
0.010450984351336956,
0.03717399761080742,
0.009048555046319962,
0.05290811136364937,
-0.007554870564490557,
-0.04641466587781906,
0.04291819781064987,
-0.010162814520299435,
0.04745208099484444,
0.01821237802505493,
-0.012833194807171822,
-0.003724604146555066,
-0.01739589497447014,
-0.006522259674966335,
0.009524036198854446,
-0.026550112292170525,
-0.07277266681194305,
-0.041304443031549454,
-0.015465151518583298,
0.005821044556796551,
0.0542144812643528,
0.058633096516132355,
-0.013438352383673191,
-0.03477257862687111,
0.011968682520091534,
-0.016012676060199738,
0.04122759774327278,
-0.02820228971540928,
0.014283652417361736,
-0.06743190437555313,
0.0271072406321764,
0.018366068601608276,
-0.03823062404990196,
0.0876038447022438,
-0.031122418120503426,
0.005047786980867386,
0.0014840782387182117,
-0.009524036198854446,
-0.025224527344107628,
-0.01135391928255558,
-0.0487968772649765,
0.01752076856791973,
0.025262949988245964,
-0.05052589997649193,
0.017251810058951378,
-0.02897074446082115,
-0.00037852401146665215,
-0.030353963375091553,
-0.02618509531021118,
-0.07646124809980392,
-0.030738189816474915,
0.0016341670416295528,
-0.023380236700177193,
0.0052639152854681015,
-0.02153594419360161,
0.033523838967084885,
0.07876661419868469,
0.017962628975510597,
0.02341865934431553,
-0.02889389917254448,
-0.011814991943538189,
-0.006392582785338163,
0.012496995739638805,
-0.0038494779728353024,
-0.03363910689949989,
0.015762928873300552,
-0.03707794100046158,
0.004485854413360357,
0.03897986561059952,
0.02898995578289032,
0.018894381821155548,
0.01006675697863102,
0.03484942391514778,
0.013361507095396519,
0.05179385095834732,
0.02799096517264843,
0.00011054041533498093,
0.004946927540004253,
0.02399499900639057,
-0.09644106775522232,
-0.02591613680124283,
0.03294749930500984,
0.016339268535375595,
-0.017962628975510597,
-0.004156860057264566,
0.027933329343795776,
-0.005278323777019978,
0.006397385615855455,
-0.011690118350088596,
-0.07258055359125137,
0.05744199454784393,
-0.04483933374285698,
0.031429801136255264,
-0.00359973032027483,
0.02192017249763012,
0.015791745856404305,
-0.07135102152824402,
0.013380718417465687,
-0.012910040095448494,
0.024744242429733276,
-0.02261178195476532,
0.0019223375711590052,
0.042879775166511536,
-0.03773112967610359,
0.0005631332751363516,
0.01973007619380951,
-0.02282310649752617,
0.0038518793880939484,
0.006152440793812275,
0.02879784256219864,
0.03356226161122322,
0.0346573106944561,
-0.0078094215132296085,
0.03992122411727905,
0.0360405296087265,
0.036616869270801544,
0.0013507993426173925,
0.020287204533815384,
0.07557752728462219,
-0.0008200852898880839,
0.025724023580551147,
0.013073336333036423,
0.03865327313542366,
0.06547234207391739,
-0.06547234207391739,
-0.004437826108187437,
0.03354305028915405,
-0.011690118350088596,
0.038115356117486954,
0.007132220547646284,
-0.044493529945611954,
-0.0241871140897274,
0.009572064504027367,
-0.012035922147333622,
-0.01958599127829075,
-0.019528357312083244,
0.013822579756379128,
-0.009221456944942474,
-0.012199219316244125,
-0.06996780633926392,
-0.05625088885426521,
-0.015340277925133705,
-0.01510013546794653,
-0.059132594615221024,
-0.042995043098926544,
0.01942269317805767,
0.0016521777724847198,
-0.0319485068321228,
0.036194220185279846,
0.029009167104959488,
-0.020479319617152214,
-0.018702266737818718,
-0.009951489046216011,
0.07269582152366638,
-0.008582678623497486,
0.03290907293558121,
-0.04495460167527199,
-0.038192201405763626,
0.017174962908029556,
-0.013957059010863304,
-0.004212092608213425,
0.060438964515924454,
-0.01734786666929722,
0.006498245522379875,
0.02449449524283409,
-0.04822053387761116,
0.05286968871951103,
0.017837755382061005,
0.03504153713583946,
-0.010470195673406124,
0.07899715006351471,
0.02749146893620491,
0.007391574326902628,
0.01658901758491993,
0.008789201267063618,
0.011555638164281845,
0.05755726248025894,
0.06093846261501312,
0.08476056158542633,
0.013918636366724968,
-0.02451370656490326,
-0.008275297470390797,
0.07892030477523804,
0.03796166554093361,
-0.019595596939325333,
0.0107103381305933,
0.002067623659968376,
-0.01982613280415535,
-0.0009689733851701021,
0.06685556471347809,
-0.0049709416925907135,
0.045261986553668976,
-0.01439892128109932,
-0.021574366837739944,
0.038000088185071945,
0.03089188039302826,
0.010374139063060284,
-0.006954515352845192,
-0.023341812193393707,
-0.03976753354072571,
-0.05509820580482483,
-0.0368858277797699,
-0.012151191011071205,
-0.010326110757887363,
-0.003602131735533476,
0.03219825401902199,
0.03813456743955612,
0.019883766770362854,
-0.05248545855283737,
-0.0023041635286062956,
0.027952542528510094,
0.0020844335667788982,
-0.05748041719198227,
0.09144611656665802,
0.15876275300979614,
0.05459871143102646,
-0.021459098905324936,
-0.002060419414192438,
-0.03208298608660698,
0.03158349171280861,
-0.008678736165165901,
-0.006978529505431652,
0.0031698758248239756,
-0.04779788479208946,
-0.011334707960486412,
0.028913110494613647,
-0.02001824602484703,
-0.051985964179039,
0.038499582558870316,
-0.06216799095273018,
-0.027472257614135742,
0.021459098905324936,
-0.046683624386787415,
-0.04107390716671944,
0.031410589814186096,
-0.011555638164281845,
0.026626957580447197,
-0.08883336931467056,
0.000896930752787739,
0.010028334334492683,
0.01958599127829075,
-0.013611255213618279,
-0.0351375937461853,
0.003294749651104212,
-0.05675038322806358,
-0.019365059211850166,
0.02996973507106304,
0.02549348585307598,
-0.03698188439011574,
-0.013601649552583694,
0.0336967408657074,
-0.0207290668040514,
0.04234185814857483,
-0.02810623310506344,
0.03479178994894028,
-0.018654238432645798,
0.01799144595861435,
-0.012439360842108727,
-0.03788482025265694,
0.03265932574868202,
-0.007161037530750036,
0.036098163574934006,
0.012045527808368206,
-0.01749195158481598,
-0.006325343158096075,
0.024955568835139275,
0.06554918736219406,
-0.013928242027759552,
-0.0492195263504982,
0.012775559909641743,
0.017712881788611412,
0.012612263672053814,
-0.061514802277088165,
0.04514671489596367,
0.07446326315402985,
-0.006680753547698259,
-0.023860519751906395,
0.04472406581044197,
0.0328514389693737,
0.014946444891393185,
-0.02532058395445347,
-0.01149800419807434,
0.04522356390953064,
-0.06339751929044724,
-0.008822821080684662,
-0.018260406330227852,
-0.023341812193393707,
-0.0030450019985437393,
-0.03239036723971367,
0.03425386920571327,
-0.014629457145929337,
0.03479178994894028,
-0.007991929538547993,
-0.012564235366880894,
0.043878767639398575,
-0.03607895225286484,
-0.05748041719198227,
0.04764419421553612,
-0.008083183318376541,
0.06255221366882324,
-0.028624938800930977,
-0.08960182219743729,
0.04395561292767525,
0.019172945991158485,
0.01844291388988495,
-0.01568608172237873,
0.015762928873300552,
-0.01856778748333454,
0.05233176797628403,
-0.018173955380916595,
0.07991929352283478,
-0.0004007371317129582,
-0.018106715753674507,
-0.030815035104751587,
-0.02608903869986534,
0.06551076471805573,
0.07062099128961563,
-0.05636615678668022,
-0.038211412727832794,
-0.06285960227251053,
0.0018899183487519622,
-0.016070310026407242,
-0.011766963638365269,
0.10358770191669464,
-0.03240957856178284,
0.000118420080980286,
0.0438019223511219,
-0.007967915385961533,
0.03096872568130493,
-0.02580086886882782,
-0.0029033180326223373,
0.00528312660753727,
-0.012045527808368206,
0.0524086132645607,
0.05079485848546028,
-0.011939865536987782,
0.017030877992510796,
0.01075836643576622,
0.009125400334596634,
-0.07822869718074799,
0.07899715006351471,
0.05509820580482483,
0.05002640560269356,
-0.03757743909955025,
-0.03557945415377617,
0.033427782356739044,
-0.05947839841246605,
0.02777963876724243,
-0.029623931273818016,
-0.007021755445748568,
0.016368085518479347,
-0.0002800657239276916,
-0.03406175598502159,
-0.04910425841808319,
-0.008131211623549461,
-0.05440659821033478,
0.03715478628873825,
-0.04122759774327278,
-0.01031650509685278,
0.02201622910797596,
-0.0761154443025589,
-0.013255844824016094,
0.012016710825264454,
0.03258248046040535,
0.021747268736362457,
0.014811965636909008,
-0.013169392943382263,
-0.019749287515878677,
0.037788763642311096,
-0.00898611731827259,
0.01813553273677826,
-0.04564621299505234,
0.014437343925237656,
-0.01632966287434101,
-0.025378217920660973,
-0.07327216118574142,
-0.02380288578569889,
-0.054944515228271484,
0.03338935971260071,
-0.007670138962566853,
0.016713891178369522,
0.011219439096748829,
0.04822053387761116,
-0.0067768101580441,
-0.04702943190932274,
-0.05098697170615196,
0.011382736265659332,
0.031737182289361954,
0.014235624112188816,
-0.005955524276942015,
0.00018671048746909946,
-0.012266458943486214,
0.02153594419360161,
-0.0007354352273978293,
-0.0967484563589096,
0.0014432540629059076,
0.011440370231866837,
-0.022534934803843498,
0.02509004808962345,
0.018663844093680382,
-0.03346620500087738,
0.051640160381793976,
-0.055636122822761536,
0.046875741332769394,
0.08821860700845718,
0.01894241012632847,
0.04264923930168152,
-0.033715952187776566,
-0.07012149691581726,
-0.07373323291540146,
0.015810957178473473,
0.05286968871951103,
0.015907013788819313,
-0.003811055328696966,
-0.06850773841142654,
-0.021439887583255768,
-0.0003686181444209069,
-0.012228036299347878,
-0.07884345948696136,
0.03863406181335449,
0.03836510330438614,
-0.01553239207714796,
0.03707794100046158,
-0.06301329284906387,
-0.06850773841142654,
-0.0998222753405571,
0.03106478415429592,
-0.011718935333192348,
0.003700589993968606,
0.01966283656656742,
-0.008899666368961334,
-0.02063301019370556,
0.03761586174368858,
0.02837519161403179,
0.0406128354370594,
0.0006753996713086963,
-0.009394359774887562,
-0.03260169178247452,
-0.012083951383829117,
-0.006911289878189564,
0.013130970299243927,
0.09597999602556229,
0.003916717600077391,
0.009951489046216011,
0.03494548052549362,
-0.019153734669089317,
0.030757401138544083,
-0.0013604050036519766,
0.01563805341720581,
-0.018250800669193268,
0.03607895225286484,
-0.01186302024871111,
-0.07258055359125137,
-0.05271599441766739,
0.0008651119424030185,
0.03079582378268242,
0.005643339361995459,
0.02311127632856369,
0.01260265801101923,
-0.0478363074362278,
0.0077902101911604404,
0.02080591209232807,
0.05110223963856697,
0.06416597217321396,
0.008184042759239674,
0.01200710516422987,
-0.01195907685905695,
-0.013784157112240791,
-0.04095863923430443,
-0.030353963375091553,
-0.035022325813770294,
0.011411553248763084,
-0.058018334209918976,
0.022630993276834488,
0.07254213094711304,
-0.00180586869828403,
0.0078670559450984,
-0.01449497789144516,
0.00943758524954319,
0.021574366837739944,
0.01364007219672203,
-0.061822183430194855,
0.0259929820895195,
0.06109215319156647,
-0.01787617802619934,
0.051448047161102295,
0.020056668668985367,
0.01294846273958683,
-0.033120401203632355,
0.009893855080008507,
-0.018529364839196205,
0.0670861005783081,
0.02172805741429329,
0.001987176015973091,
0.03617500886321068,
0.0009197442559525371,
0.039498575031757355,
-0.03484942391514778,
-0.005797030404210091,
-0.009792995639145374,
0.004190479870885611,
0.019557174295186996,
-0.058018334209918976,
0.0032155029475688934,
0.0005268117529340088,
0.022073863074183464,
-0.10919742286205292,
0.013918636366724968,
-0.008899666368961334,
0.001910330494865775,
-0.030622921884059906,
0.012775559909641743,
-0.027222510427236557,
-0.04579990357160568,
-0.019009649753570557,
-0.01169972401112318,
-0.01923057995736599,
0.007924689911305904,
0.0305652879178524,
-0.004865278955549002,
0.021977806463837624,
-0.0743095725774765,
0.05271599441766739,
0.013611255213618279,
0.030008157715201378,
-0.001690600416623056,
-0.024955568835139275,
0.017050089314579964,
0.05306180194020271,
0.03625185415148735,
0.01599346473813057,
0.01220882497727871,
-0.043187156319618225,
-0.04053598642349243,
0.030008157715201378,
0.07811342924833298,
-0.033005133271217346,
-0.019691653549671173,
-0.00567695964127779,
-0.05755726248025894,
-0.013495986349880695,
-0.014783148653805256,
-0.050948549062013626,
0.01858699880540371,
0.007045769598335028,
-0.002759232884272933,
0.014187595807015896,
0.00411843741312623,
-0.02092118002474308,
-0.04230343550443649,
0.004041591659188271,
-0.05917101725935936,
-0.04045914113521576,
0.04541567713022232,
-0.024648185819387436,
-0.023264966905117035,
0.028836265206336975,
-0.029854467138648033,
-0.06247537210583687,
0.045261986553668976,
-0.03206377476453781,
0.02241966687142849,
0.013006096705794334,
-0.060707926750183105,
0.03644396737217903,
-0.03548339754343033,
0.026454055681824684,
0.000996589777059853,
-0.030238693580031395,
-0.0014036305947229266,
-0.026281151920557022,
0.001939147594384849,
-0.011123382486402988,
0.042188167572021484,
0.0046731652691960335,
0.035310495644807816,
0.06639449298381805,
0.01875990256667137,
0.055636122822761536,
-0.04583832621574402,
0.015868591144680977,
-0.005518465768545866,
0.02968156524002552,
-0.06528022885322571,
-0.021190140396356583,
-0.02558954246342182,
-0.0253013726323843,
-0.028471248224377632,
0.01549396850168705,
-0.01732865534722805,
-0.03356226161122322,
-0.009951489046216011,
0.08906390517950058,
-0.029047589749097824,
0.046491511166095734,
0.07150471210479736,
-0.004810046404600143,
0.01942269317805767,
-0.05586665868759155,
0.027222510427236557,
-0.023533927276730537,
-0.03515680506825447,
0.04272608458995819,
-0.020575376227498055,
0.027164874598383904,
0.016627440229058266,
0.019355453550815582,
-0.025128470733761787,
-0.11403868347406387,
0.02777963876724243,
0.007948704063892365,
-0.021266985684633255,
-0.04184236004948616,
-0.009711346589028835,
-0.025839291512966156,
-0.00867393333464861,
-0.03310118988156319,
-0.011036931537091732,
0.03239036723971367,
-0.017856966704130173,
-0.02689591608941555,
0.002675183117389679,
-0.02658853493630886,
-0.010777577757835388,
-0.03348541632294655,
-0.00379664683714509,
0.025262949988245964,
0.06551076471805573,
-0.006118820980191231,
0.008414579555392265,
0.002939339494332671,
0.026953550055623055,
0.036597657948732376,
0.03984437882900238,
0.0016281635034829378,
0.05459871143102646,
0.02532058395445347,
0.018798325210809708,
-0.03775034099817276,
0.09421255439519882,
0.02518610469996929,
-0.04245712608098984,
-0.008515438996255398,
0.02420632541179657,
-0.010258871130645275,
-0.016646651551127434,
-0.02968156524002552,
0.00486047612503171,
-0.01963401958346367,
-0.021286197006702423,
-0.026857493445277214,
0.010306899435818195,
-0.05924786254763603,
0.0693146213889122,
0.018145138397812843,
-0.03848037123680115,
-0.026242729276418686,
-0.05302337929606438,
0.008846835233271122,
-0.06036211922764778,
-0.0008068775059655309,
-0.02887468785047531,
0.018481336534023285,
0.036808982491493225,
0.007535659242421389,
-0.02021035924553871,
0.010719943791627884,
0.025147682055830956,
-0.032428789883852005,
-0.009500022046267986,
0.006829641759395599,
-0.006190863437950611,
0.00034790587960742414,
0.0056097195483744144,
0.0031914885621517897,
0.054637134075164795,
-0.021190140396356583,
0.017242204397916794,
-0.007185052148997784,
-0.02589692547917366,
-0.00020727266382891685,
-0.0587867870926857,
0.03617500886321068,
-0.042495548725128174,
0.004101627040654421,
-0.07642282545566559,
-0.005662551149725914,
0.0005355168832466006,
-0.016867581754922867,
-0.04245712608098984,
0.04545409977436066,
-0.0117477523162961,
-0.033812008798122406,
-0.04718312248587608,
-0.05229334533214569,
0.02791411802172661,
-0.02170884609222412,
0.03410017862915993,
0.06593342125415802,
-0.051755428314208984,
0.040689680725336075,
-0.0314682237803936,
-0.05271599441766739,
-0.00032689343788661063,
-0.03594446927309036,
0.04622255265712738,
-0.021843327209353447,
0.012477784417569637,
0.013572831638157368,
0.02313048765063286,
-0.019317030906677246,
0.007458813954144716
] |
711,242
|
yt_dlp.options
|
parseOpts
| null |
def parseOpts(overrideArguments=None, ignore_config_files='if_override'):
PACKAGE_NAME = 'yt-dlp'
root = Config(create_parser())
if ignore_config_files == 'if_override':
ignore_config_files = overrideArguments is not None
def read_config(*paths):
path = os.path.join(*paths)
conf = Config.read_file(path, default=None)
if conf is not None:
return conf, path
def _load_from_config_dirs(config_dirs):
for config_dir in config_dirs:
head, tail = os.path.split(config_dir)
assert tail == PACKAGE_NAME or config_dir == os.path.join(compat_expanduser('~'), f'.{PACKAGE_NAME}')
yield read_config(head, f'{PACKAGE_NAME}.conf')
if tail.startswith('.'): # ~/.PACKAGE_NAME
yield read_config(head, f'{PACKAGE_NAME}.conf.txt')
yield read_config(config_dir, 'config')
yield read_config(config_dir, 'config.txt')
def add_config(label, path=None, func=None):
""" Adds config and returns whether to continue """
if root.parse_known_args()[0].ignoreconfig:
return False
elif func:
assert path is None
args, current_path = next(
filter(None, _load_from_config_dirs(func(PACKAGE_NAME))), (None, None))
else:
current_path = os.path.join(path, 'yt-dlp.conf')
args = Config.read_file(current_path, default=None)
if args is not None:
root.append_config(args, current_path, label=label)
return True
def load_configs():
yield not ignore_config_files
yield add_config('Portable', get_executable_path())
yield add_config('Home', expand_path(root.parse_known_args()[0].paths.get('home', '')).strip())
yield add_config('User', func=get_user_config_dirs)
yield add_config('System', func=get_system_config_dirs)
opts = optparse.Values({'verbose': True, 'print_help': False})
try:
try:
if overrideArguments is not None:
root.append_config(overrideArguments, label='Override')
else:
root.append_config(sys.argv[1:], label='Command-line')
loaded_all_configs = all(load_configs())
except ValueError as err:
raise root.parser.error(err)
if loaded_all_configs:
# If ignoreconfig is found inside the system configuration file,
# the user configuration is removed
if root.parse_known_args()[0].ignoreconfig:
user_conf = next((i for i, conf in enumerate(root.configs) if conf.label == 'User'), None)
if user_conf is not None:
root.configs.pop(user_conf)
try:
root.configs[0].load_configs() # Resolve any aliases using --config-location
except ValueError as err:
raise root.parser.error(err)
opts, args = root.parse_args()
except optparse.OptParseError:
with contextlib.suppress(optparse.OptParseError):
opts, _ = root.parse_known_args(strict=False)
raise
except (SystemExit, KeyboardInterrupt):
opts.verbose = False
raise
finally:
verbose = opts.verbose and f'\n{root}'.replace('\n| ', '\n[debug] ')[1:]
if verbose:
write_string(f'{verbose}\n')
if opts.print_help:
if verbose:
write_string('\n')
root.parser.print_help()
if opts.print_help:
sys.exit()
return root.parser, opts, args
|
(overrideArguments=None, ignore_config_files='if_override')
|
[
0.012070273980498314,
-0.008566168136894703,
0.022711990401148796,
-0.026500774547457695,
-0.04062071815133095,
0.02774299681186676,
-0.0056365905329585075,
0.01522759348154068,
-0.005320858675986528,
-0.05031006410717964,
-0.016676854342222214,
-0.02395421452820301,
-0.08045469224452972,
0.02590036578476429,
-0.022380731999874115,
0.018716171383857727,
-0.005885035265237093,
0.052297621965408325,
0.006946101319044828,
-0.006345693022012711,
0.016117854043841362,
-0.0254655871540308,
-0.010983328334987164,
0.07730772346258163,
0.01970995031297207,
0.007065147627145052,
0.03869527205824852,
-0.029771963134407997,
-0.04122112691402435,
0.002066490938887,
-0.03186304122209549,
-0.0037214953918009996,
0.01967889443039894,
0.04269108921289444,
0.0035688052885234356,
-0.04018593952059746,
0.00150490237865597,
0.08488529175519943,
-0.015589908696711063,
0.007489574141800404,
-0.01002060528844595,
-0.05995799973607063,
0.06625193357467651,
0.0030900316778570414,
0.0132814422249794,
0.05776340514421463,
-0.013933610171079636,
0.06053770333528519,
-0.04215279221534729,
-0.057721998542547226,
0.049895986914634705,
-0.015300055965781212,
-0.03360215201973915,
0.015424278564751148,
-0.037101082503795624,
0.044057536870241165,
0.029419999569654465,
0.04192505031824112,
0.039399195462465286,
0.028964517638087273,
0.003832777962088585,
0.02318817749619484,
0.00723077729344368,
0.01322968304157257,
-0.05362265929579735,
-0.025010105222463608,
-0.06190415099263191,
-0.05138665810227394,
-0.046210724860429764,
0.006915045436471701,
-0.02730822004377842,
-0.016614742577075958,
0.008768029510974884,
-0.06298074871301651,
0.055320363491773605,
-0.005916090682148933,
-0.029730554670095444,
0.017753448337316513,
-0.01699776202440262,
0.020869359374046326,
-0.06757697463035583,
0.03596237674355507,
-0.006925397552549839,
0.0093425577506423,
0.07457483559846878,
0.05353984609246254,
0.032566964626312256,
0.017442891374230385,
0.09714189916849136,
0.008835316635668278,
-0.0077690742909908295,
-0.000102548161521554,
0.06443000584840775,
0.05436799302697182,
0.00849888101220131,
0.002245060633867979,
-0.022173693403601646,
0.0057866922579705715,
0.004989598877727985,
-0.015527796931564808,
-0.03999960422515869,
-0.017339373007416725,
-0.0038094862829893827,
-0.05768059194087982,
0.025527698919177055,
-0.0004642164276447147,
-0.016852835193276405,
0.03836401179432869,
0.027825811877846718,
-0.009295974858105183,
-0.07064112275838852,
-0.051842138171195984,
0.001493256539106369,
-0.008245260454714298,
-0.0017339373007416725,
0.013084757141768932,
-0.03219429776072502,
0.015217240899801254,
-0.0009814861696213484,
0.010972976684570312,
-0.0813242495059967,
0.0455482043325901,
-0.007738018874078989,
0.025341365486383438,
-0.020641617476940155,
-0.07606550306081772,
-0.018850745633244514,
0.02927507273852825,
0.018384911119937897,
0.0072618331760168076,
0.10534057766199112,
0.0039155930280685425,
0.0325462631881237,
-0.05908844247460365,
0.049150653183460236,
-0.039709754288196564,
0.001827104133553803,
0.04815687611699104,
0.014368387870490551,
-0.0013975017936900258,
0.043519239872694016,
-0.025734735652804375,
0.020869359374046326,
-0.006754591595381498,
-0.05573444068431854,
-0.022898325696587563,
0.024202659726142883,
-0.058591555804014206,
-0.022691287100315094,
0.06024785339832306,
-0.017059873789548874,
-0.007660380098968744,
-0.04695605859160423,
0.013240034691989422,
0.009052705951035023,
-0.007013388443738222,
-0.053581252694129944,
0.004880904220044613,
-0.03244274482131004,
-0.018457375466823578,
-0.013291793875396252,
-0.06865356862545013,
0.05287732556462288,
0.014047480188310146,
-0.03587956354022026,
-0.018498782068490982,
0.009492659941315651,
-0.01875757798552513,
0.03890230879187584,
0.024575326591730118,
-0.007846713066101074,
0.013498831540346146,
-0.021759619936347008,
0.002158363815397024,
-0.004875728394836187,
0.007965760305523872,
0.03192514926195145,
-0.025279253721237183,
-0.0008171503432095051,
-0.01627313159406185,
-0.03488578274846077,
0.00498442305251956,
0.02211158350110054,
-0.02784651704132557,
0.026811329647898674,
0.02134554460644722,
0.01793978177011013,
0.03380918875336647,
-0.02569332905113697,
0.0019189768936485052,
-0.04505131393671036,
-0.023374510928988457,
0.030972778797149658,
0.055858660489320755,
0.008923307061195374,
0.05991659313440323,
-0.021169563755393028,
0.05581725388765335,
0.0041795652359724045,
-0.021055692806839943,
0.019161300733685493,
-0.04728731885552406,
0.014565073885023594,
-0.045009907335042953,
0.000042458821553736925,
0.006552730221301317,
-0.05113821104168892,
-0.016821779310703278,
0.009456428699195385,
0.01219449657946825,
-0.003718907479196787,
-0.036811232566833496,
-0.00973592884838581,
-0.004800677299499512,
0.012266959995031357,
-0.03662489727139473,
0.0640159323811531,
0.042525459080934525,
-0.07610690593719482,
0.0008592047961428761,
0.044181760400533676,
-0.006894342135637999,
0.06480267643928528,
0.055444587022066116,
0.021221322938799858,
0.015248296782374382,
0.03989608585834503,
0.0038612454663962126,
0.038094863295555115,
0.04136605188250542,
0.03503071144223213,
-0.04703887179493904,
-0.0011406460544094443,
-0.016614742577075958,
0.06654178351163864,
-0.046583391726017,
0.009233863092958927,
-0.008348778821527958,
0.0368526391685009,
0.041014086455106735,
-0.01863335631787777,
0.001811576308682561,
-0.023167474195361137,
-0.01740148477256298,
-0.02612810581922531,
0.0013133928878232837,
0.004477181471884251,
-0.04018593952059746,
0.04451301693916321,
0.04455442726612091,
0.011966755613684654,
0.03122122399508953,
0.0026306675281375647,
0.05296013876795769,
-0.039606235921382904,
0.005336386151611805,
0.042007867246866226,
-0.0053053307346999645,
0.031055593863129616,
-0.011324940249323845,
0.035817451775074005,
0.028157072141766548,
-0.029192257672548294,
0.04910924658179283,
-0.009073409251868725,
0.0233123991638422,
0.07975076884031296,
-0.11975037306547165,
-0.025010105222463608,
0.03099348209798336,
0.047742798924446106,
0.05180073156952858,
-0.016387002542614937,
0.025051511824131012,
-0.005600358825176954,
0.06086896359920502,
0.03672841563820839,
-0.007427462842315435,
0.03281541168689728,
0.002833822974935174,
0.03130403906106949,
0.048488132655620575,
0.0015398398973047733,
0.035796746611595154,
0.024409696459770203,
-0.0016899419715628028,
-0.06811527162790298,
-0.007039268035441637,
-0.023892104625701904,
0.028985220938920975,
0.032339226454496384,
-0.018509134650230408,
0.04173871874809265,
-0.0017675808630883694,
0.052297621965408325,
0.009295974858105183,
-0.04509272426366806,
-0.04840531945228577,
0.010455382987856865,
-0.07842572778463364,
-0.019637487828731537,
-0.036479972302913666,
-0.005300154909491539,
0.031366150826215744,
0.05320858582854271,
0.006262877956032753,
0.029668444767594337,
-0.1050921306014061,
0.06645897030830383,
-0.017670633271336555,
-0.009761808440089226,
-0.03838471323251724,
0.034740857779979706,
-0.0028726423624902964,
-0.0038353658746927977,
-0.027825811877846718,
0.00300980475731194,
-0.050227247178554535,
-0.011148958466947079,
-0.024306178092956543,
-0.05101399123668671,
0.04045508801937103,
-0.049688950181007385,
-0.01832280121743679,
0.04002030938863754,
0.04128323495388031,
0.002882994245737791,
0.06443000584840775,
-0.0007996815256774426,
0.0038043102249503136,
-0.029502814635634422,
-0.0058902110904455185,
-0.030724335461854935,
0.0477013923227787,
0.0048420848324894905,
-0.03759797289967537,
-0.020952174440026283,
-0.01825033687055111,
0.0017805207753553987,
-0.035403378307819366,
0.07565142959356308,
-0.001022246666252613,
-0.0607033334672451,
-0.029026629403233528,
0.06728711724281311,
0.015424278564751148,
0.08140706270933151,
0.02631443925201893,
0.0029192259535193443,
0.037121787667274475,
0.01827104203402996,
0.021304138004779816,
-0.05267028883099556,
0.022919028997421265,
0.0060920724645257,
-0.04737013205885887,
-0.0014492610935121775,
0.010983328334987164,
0.016832131892442703,
-0.02838481217622757,
-0.01952361688017845,
-0.022608472034335136,
-0.020310359075665474,
0.04645916819572449,
-0.011190365999937057,
-0.013923258520662785,
-0.007246305234730244,
-0.023229584097862244,
0.03151107579469681,
-0.029937593266367912,
0.032359927892684937,
-0.015579556114971638,
0.054243769496679306,
-0.09589967131614685,
0.05320858582854271,
-0.021593989804387093,
-0.033229485154151917,
-0.001288160216063261,
-0.027121884748339653,
0.018032947555184364,
0.00802269484847784,
0.042194198817014694,
0.010269049555063248,
-0.002549146767705679,
-0.010455382987856865,
-0.01901637576520443,
0.0016291247447952628,
-0.0013127458514645696,
0.02579684741795063,
-0.021531878039240837,
-0.009549595415592194,
0.03157318755984306,
-0.012774201110005379,
0.04356064647436142,
-0.03511352464556694,
-0.024989401921629906,
-0.016138557344675064,
0.018415967002511024,
-0.0363350436091423,
0.005263923201709986,
-0.01827104203402996,
-0.03801204636693001,
0.04670761525630951,
0.0362936370074749,
0.010113772004842758,
0.004052754957228899,
0.06368467211723328,
0.03455452620983124,
-0.05192495509982109,
0.05387110263109207,
0.02848833240568638,
0.005051710177212954,
-0.03192514926195145,
0.029544221237301826,
-0.0243889931589365,
0.02970985136926174,
-0.045796651393175125,
0.07432638853788376,
0.04016523435711861,
-0.025651920586824417,
-0.015848705545067787,
-0.0319872610270977,
-0.019264820963144302,
0.007567212916910648,
0.044388797134160995,
0.06426437944173813,
-0.07022704929113388,
0.006273230072110891,
-0.0650925263762474,
-0.04049649462103844,
0.013695516623556614,
0.018022596836090088,
-0.00032608374021947384,
-0.004086398519575596,
0.02643866278231144,
-0.03078644536435604,
0.004495297092944384,
-0.06484407931566238,
0.0026837210170924664,
-0.050889767706394196,
-0.04132464528083801,
0.011469866149127483,
0.018798986449837685,
0.005031006410717964,
-0.011511273682117462,
0.007841537706553936,
-0.05320858582854271,
0.010237994603812695,
-0.012825960293412209,
-0.027991442009806633,
-0.022587768733501434,
-0.019461505115032196,
0.05627273768186569,
-0.029937593266367912,
-0.07213179022073746,
-0.05755636841058731,
-0.02590036578476429,
0.003918180707842112,
-0.057597775012254715,
0.03774289786815643,
0.02503080852329731,
-0.053249992430210114,
0.07395371794700623,
0.021593989804387093,
-0.009125168435275555,
-0.01995839551091194,
0.03281541168689728,
0.022670583799481392,
-0.037867121398448944,
0.02395421452820301,
-0.0417594239115715,
-0.045258354395627975,
-0.029647741466760635,
0.06240104138851166,
-0.04434738680720329,
-0.026252329349517822,
0.04703887179493904,
-0.007153138518333435,
-0.022504953667521477,
-0.03411974757909775,
-0.0005580302095040679,
0.012380830012261868,
-0.006495795212686062,
0.03948201239109039,
0.008421242237091064,
-0.09374648332595825,
0.052711695432662964,
-0.019337283447384834,
-0.05755636841058731,
0.011449162848293781,
-0.0028855823911726475,
-0.0520077683031559,
-0.005336386151611805,
-0.044802870601415634,
0.011563032865524292,
-0.025092920288443565,
0.05573444068431854,
0.019948042929172516,
0.07921247184276581,
-0.062856525182724,
0.018467726185917854,
-0.05039287731051445,
0.040807049721479416,
-0.042090680450201035,
0.03411974757909775,
0.003793958341702819,
-0.025051511824131012,
0.08177973330020905,
-0.02674921788275242,
0.018726523965597153,
-0.04910924658179283,
0.010641717351973057,
0.05627273768186569,
-0.011904644779860973,
0.03393341228365898,
-0.01208062656223774,
-0.01630418747663498,
0.036811232566833496,
0.019130246713757515,
-0.017981188371777534,
-0.002374459058046341,
-0.022070175036787987,
0.0059264423325657845,
0.035258449614048004,
0.018291745334863663,
0.03171811252832413,
0.026521477848291397,
-0.017546411603689194,
-0.00944607611745596,
0.008333250880241394,
0.010093067772686481,
0.013467775657773018,
-0.004743741825222969,
0.010662420652806759,
-0.00010432738781673834,
-0.040144532918930054,
0.0076189725659787655,
0.06347763538360596,
-0.03631434217095375,
-0.031697411090135574,
0.07378809154033661,
0.04028945788741112,
0.03979256749153137,
0.019099190831184387,
-0.025941772386431694,
0.005181108135730028,
-0.00899577047675848,
-0.00392853282392025,
0.03772219642996788,
-0.03024814836680889,
0.013084757141768932,
0.01032598502933979,
0.03728741779923439,
0.07718349993228912,
-0.006480267271399498,
-0.10376708954572678,
0.01939939521253109,
0.027680886909365654,
0.021024636924266815,
-0.005745284724980593,
-0.048074059188365936,
0.023995622992515564,
-0.08803226053714752,
0.013995721004903316,
0.036272935569286346,
-0.008866372518241405,
-0.03826049342751503,
-0.011066143400967121,
-0.006516498979181051,
0.009358085691928864,
0.012939831241965294,
-0.03683193400502205,
-0.011376699432730675,
-0.029337184503674507,
-0.05329139903187752,
0.05395391955971718,
0.027494553476572037,
0.051966361701488495,
-0.024678844958543777,
-0.006795999128371477,
-0.025858957320451736,
-0.01578659377992153,
0.015962574630975723,
-0.006821878720074892,
-0.019182005897164345,
-0.009948141872882843,
0.05258747190237045,
0.014026776887476444,
0.01719444803893566,
0.006304285489022732,
-0.009508187882602215,
0.05983377993106842,
-0.0027613600250333548,
-0.025092920288443565,
-0.021945953369140625,
0.018229633569717407,
-0.008017519488930702,
-0.014078536070883274,
0.07180053740739822,
-0.04107619822025299,
-0.08521655201911926,
-0.033767782151699066,
0.037970639765262604,
-0.01689424365758896,
-0.03639715537428856,
-0.00959617830812931,
-0.009182103909552097,
-0.05382969602942467,
-0.024016326293349266,
-0.00106365408282727,
0.0111075509339571,
-0.03155248239636421,
0.044927094131708145,
-0.01321933139115572,
-0.04430598020553589,
0.009192455559968948,
0.061738520860672,
0.012070273980498314,
0.022028768435120583,
-0.07163490355014801,
-0.048819392919540405,
0.07308416813611984,
-0.012422237545251846,
0.0007608620799146593,
-0.09821849316358566,
-0.023871399462223053,
-0.04542398080229759,
0.03161459416151047,
-0.02610740251839161,
0.017184095457196236,
0.06293933838605881,
-0.05896422266960144,
0.00013497861800715327,
0.006402628496289253,
-0.029958296567201614,
-0.06633474677801132,
0.07109660655260086,
-0.05432658642530441,
-0.0012816902017220855,
-0.000006469915661000414,
0.07126224040985107,
-0.044388797134160995,
0.005465784575790167,
0.013260738924145699,
-0.007867417298257351,
0.024947993457317352,
-0.014782463200390339,
0.06057911366224289,
0.04670761525630951,
0.038301900029182434,
0.04078634828329086,
-0.01778450421988964,
-0.03482367470860481,
-0.032566964626312256,
-0.06302215158939362,
0.04973035678267479,
0.048612356185913086,
0.028591850772500038,
0.021200619637966156,
0.004404718521982431,
-0.017101280391216278,
0.004712686408311129,
-0.005973026156425476,
-0.005235455464571714,
-0.01734972558915615,
-0.04093127325177193,
-0.0064750914461910725,
0.012463645078241825,
0.07196616381406784,
-0.003742199158295989,
0.06732852756977081,
-0.07975076884031296,
-0.00791917648166418,
0.052711695432662964,
0.027701590210199356,
-0.09167611598968506,
-0.07465764880180359,
0.0029062859248369932,
-0.01041397638618946,
-0.022629177197813988,
0.01037774421274662,
0.030620815232396126,
-0.0035455136094242334,
-0.025051511824131012,
-0.0552375502884388,
-0.014130295254290104,
0.10086856782436371,
-0.010439855977892876,
0.02362295612692833,
-0.035175636410713196,
-0.03730811923742294,
0.051510877907276154,
0.02052774839103222,
0.028529739007353783,
0.00963758584111929,
-0.055320363491773605,
-0.011904644779860973,
-0.03544478490948677,
-0.002525855088606477,
-0.025734735652804375,
0.05892281234264374,
-0.04865376278758049,
-0.04944050684571266,
0.029834074899554253,
-0.014130295254290104,
0.004909371957182884,
-0.062359634786844254,
0.009094113484025002,
0.010983328334987164,
0.006982332561165094,
-0.019202709197998047,
0.0552789568901062,
0.05432658642530441,
-0.06331200152635574,
0.03639715537428856,
0.019720302894711494,
0.0013185687130317092,
-0.025941772386431694,
0.00454964442178607,
0.007096203044056892,
-0.057390738278627396,
0.024306178092956543,
0.012670682743191719,
-0.022711990401148796,
0.010548549704253674,
-0.005962674040347338,
-0.044595833867788315,
-0.051759324967861176,
0.04103479161858559,
0.02958562970161438,
-0.07854995131492615,
-0.02751525677740574,
0.01962713524699211,
0.009094113484025002,
-0.016821779310703278,
0.0026914847549051046,
-0.009974021464586258,
0.028364108875393867,
0.014389092102646828,
0.011376699432730675,
0.021262729540467262,
0.024119844660162926,
-0.011852884665131569,
0.035279154777526855,
-0.024658141657710075,
-0.036024488508701324,
0.02687344141304493,
0.014192406088113785,
-0.013064052909612656,
0.004355547018349171,
-0.01950291357934475,
-0.019803117960691452,
-0.04389190673828125,
0.02861255407333374,
-0.02989618480205536,
0.005714229308068752,
-0.00405016727745533,
-0.008007166907191277,
0.021945953369140625,
-0.052711695432662964,
-0.005372617859393358,
-0.04898502305150032,
0.04637635499238968,
0.006827055010944605,
0.0627737045288086,
-0.033767782151699066,
-0.02989618480205536,
0.026583587750792503
] |
711,245
|
yt_dlp
|
parse_options
|
@returns ParsedOptions(parser, opts, urls, ydl_opts)
|
def parse_options(argv=None):
"""@returns ParsedOptions(parser, opts, urls, ydl_opts)"""
parser, opts, urls = parseOpts(argv)
urls = get_urls(urls, opts.batchfile, -1 if opts.quiet and not opts.verbose else opts.verbose)
set_compat_opts(opts)
try:
warnings, deprecation_warnings = validate_options(opts)
except ValueError as err:
parser.error(f'{err}\n')
postprocessors = list(get_postprocessors(opts))
print_only = bool(opts.forceprint) and all(k not in opts.forceprint for k in POSTPROCESS_WHEN[3:])
any_getting = any(getattr(opts, k) for k in (
'dumpjson', 'dump_single_json', 'getdescription', 'getduration', 'getfilename',
'getformat', 'getid', 'getthumbnail', 'gettitle', 'geturl'
))
if opts.quiet is None:
opts.quiet = any_getting or opts.print_json or bool(opts.forceprint)
playlist_pps = [pp for pp in postprocessors if pp.get('when') == 'playlist']
write_playlist_infojson = (opts.writeinfojson and not opts.clean_infojson
and opts.allow_playlist_files and opts.outtmpl.get('pl_infojson') != '')
if not any((
opts.extract_flat,
opts.dump_single_json,
opts.forceprint.get('playlist'),
opts.print_to_file.get('playlist'),
write_playlist_infojson,
)):
if not playlist_pps:
opts.extract_flat = 'discard'
elif playlist_pps == [{'key': 'FFmpegConcat', 'only_multi_video': True, 'when': 'playlist'}]:
opts.extract_flat = 'discard_in_playlist'
final_ext = (
opts.recodevideo if opts.recodevideo in FFmpegVideoConvertorPP.SUPPORTED_EXTS
else opts.remuxvideo if opts.remuxvideo in FFmpegVideoRemuxerPP.SUPPORTED_EXTS
else opts.audioformat if (opts.extractaudio and opts.audioformat in FFmpegExtractAudioPP.SUPPORTED_EXTS)
else None)
return ParsedOptions(parser, opts, urls, {
'usenetrc': opts.usenetrc,
'netrc_location': opts.netrc_location,
'netrc_cmd': opts.netrc_cmd,
'username': opts.username,
'password': opts.password,
'twofactor': opts.twofactor,
'videopassword': opts.videopassword,
'ap_mso': opts.ap_mso,
'ap_username': opts.ap_username,
'ap_password': opts.ap_password,
'client_certificate': opts.client_certificate,
'client_certificate_key': opts.client_certificate_key,
'client_certificate_password': opts.client_certificate_password,
'quiet': opts.quiet,
'no_warnings': opts.no_warnings,
'forceurl': opts.geturl,
'forcetitle': opts.gettitle,
'forceid': opts.getid,
'forcethumbnail': opts.getthumbnail,
'forcedescription': opts.getdescription,
'forceduration': opts.getduration,
'forcefilename': opts.getfilename,
'forceformat': opts.getformat,
'forceprint': opts.forceprint,
'print_to_file': opts.print_to_file,
'forcejson': opts.dumpjson or opts.print_json,
'dump_single_json': opts.dump_single_json,
'force_write_download_archive': opts.force_write_download_archive,
'simulate': (print_only or any_getting or None) if opts.simulate is None else opts.simulate,
'skip_download': opts.skip_download,
'format': opts.format,
'allow_unplayable_formats': opts.allow_unplayable_formats,
'ignore_no_formats_error': opts.ignore_no_formats_error,
'format_sort': opts.format_sort,
'format_sort_force': opts.format_sort_force,
'allow_multiple_video_streams': opts.allow_multiple_video_streams,
'allow_multiple_audio_streams': opts.allow_multiple_audio_streams,
'check_formats': opts.check_formats,
'listformats': opts.listformats,
'listformats_table': opts.listformats_table,
'outtmpl': opts.outtmpl,
'outtmpl_na_placeholder': opts.outtmpl_na_placeholder,
'paths': opts.paths,
'autonumber_size': opts.autonumber_size,
'autonumber_start': opts.autonumber_start,
'restrictfilenames': opts.restrictfilenames,
'windowsfilenames': opts.windowsfilenames,
'ignoreerrors': opts.ignoreerrors,
'force_generic_extractor': opts.force_generic_extractor,
'allowed_extractors': opts.allowed_extractors or ['default'],
'ratelimit': opts.ratelimit,
'throttledratelimit': opts.throttledratelimit,
'overwrites': opts.overwrites,
'retries': opts.retries,
'file_access_retries': opts.file_access_retries,
'fragment_retries': opts.fragment_retries,
'extractor_retries': opts.extractor_retries,
'retry_sleep_functions': opts.retry_sleep,
'skip_unavailable_fragments': opts.skip_unavailable_fragments,
'keep_fragments': opts.keep_fragments,
'concurrent_fragment_downloads': opts.concurrent_fragment_downloads,
'buffersize': opts.buffersize,
'noresizebuffer': opts.noresizebuffer,
'http_chunk_size': opts.http_chunk_size,
'continuedl': opts.continue_dl,
'noprogress': opts.quiet if opts.noprogress is None else opts.noprogress,
'progress_with_newline': opts.progress_with_newline,
'progress_template': opts.progress_template,
'progress_delta': opts.progress_delta,
'playliststart': opts.playliststart,
'playlistend': opts.playlistend,
'playlistreverse': opts.playlist_reverse,
'playlistrandom': opts.playlist_random,
'lazy_playlist': opts.lazy_playlist,
'noplaylist': opts.noplaylist,
'logtostderr': opts.outtmpl.get('default') == '-',
'consoletitle': opts.consoletitle,
'nopart': opts.nopart,
'updatetime': opts.updatetime,
'writedescription': opts.writedescription,
'writeannotations': opts.writeannotations,
'writeinfojson': opts.writeinfojson,
'allow_playlist_files': opts.allow_playlist_files,
'clean_infojson': opts.clean_infojson,
'getcomments': opts.getcomments,
'writethumbnail': opts.writethumbnail is True,
'write_all_thumbnails': opts.writethumbnail == 'all',
'writelink': opts.writelink,
'writeurllink': opts.writeurllink,
'writewebloclink': opts.writewebloclink,
'writedesktoplink': opts.writedesktoplink,
'writesubtitles': opts.writesubtitles,
'writeautomaticsub': opts.writeautomaticsub,
'allsubtitles': opts.allsubtitles,
'listsubtitles': opts.listsubtitles,
'subtitlesformat': opts.subtitlesformat,
'subtitleslangs': opts.subtitleslangs,
'matchtitle': decodeOption(opts.matchtitle),
'rejecttitle': decodeOption(opts.rejecttitle),
'max_downloads': opts.max_downloads,
'prefer_free_formats': opts.prefer_free_formats,
'trim_file_name': opts.trim_file_name,
'verbose': opts.verbose,
'dump_intermediate_pages': opts.dump_intermediate_pages,
'write_pages': opts.write_pages,
'load_pages': opts.load_pages,
'test': opts.test,
'keepvideo': opts.keepvideo,
'min_filesize': opts.min_filesize,
'max_filesize': opts.max_filesize,
'min_views': opts.min_views,
'max_views': opts.max_views,
'daterange': opts.date,
'cachedir': opts.cachedir,
'youtube_print_sig_code': opts.youtube_print_sig_code,
'age_limit': opts.age_limit,
'download_archive': opts.download_archive,
'break_on_existing': opts.break_on_existing,
'break_on_reject': opts.break_on_reject,
'break_per_url': opts.break_per_url,
'skip_playlist_after_errors': opts.skip_playlist_after_errors,
'cookiefile': opts.cookiefile,
'cookiesfrombrowser': opts.cookiesfrombrowser,
'legacyserverconnect': opts.legacy_server_connect,
'nocheckcertificate': opts.no_check_certificate,
'prefer_insecure': opts.prefer_insecure,
'enable_file_urls': opts.enable_file_urls,
'http_headers': opts.headers,
'proxy': opts.proxy,
'socket_timeout': opts.socket_timeout,
|
(argv=None)
|
[
0.0015698557253926992,
0.025157371535897255,
-0.08840791881084442,
-0.01095178909599781,
0.0022828627843409777,
0.004940209444612265,
0.0014247741783037782,
0.04702126979827881,
-0.036109160631895065,
-0.023887598887085915,
-0.018907709047198296,
0.006696066819131374,
-0.04634670168161392,
0.06848836690187454,
0.05761593580245972,
0.050632186233997345,
-0.014751187525689602,
0.05134643241763115,
0.038033660501241684,
0.01651696488261223,
0.00254698540084064,
-0.011626356281340122,
-0.022875748574733734,
0.05198131874203682,
-0.01737009361386299,
0.00878920778632164,
0.05884602665901184,
-0.028054039925336838,
-0.05602871999144554,
0.05237812176346779,
0.0012660525972023606,
0.0034373144153505564,
0.017231212928891182,
0.054719265550374985,
-0.02523673139512539,
0.004853408318012953,
-0.02470104582607746,
0.04436268284916878,
-0.10023268312215805,
-0.03307361155748367,
-0.04749743267893791,
-0.04721967130899429,
0.009369533509016037,
-0.012519164942204952,
-0.02827228233218193,
0.033430732786655426,
-0.042735785245895386,
0.0479339174926281,
-0.03339105471968651,
-0.03922407329082489,
0.024562165141105652,
-0.006572065409272909,
0.012330682948231697,
0.050870269536972046,
-0.003918439149856567,
0.06380607932806015,
-0.014741267077624798,
0.08563029766082764,
0.0024998649023473263,
0.003206671914085746,
-0.017915699630975723,
0.0032686726190149784,
0.010168101638555527,
0.00888344831764698,
-0.010892268270254135,
-0.003397634020075202,
0.0030256302561610937,
-0.04591021686792374,
-0.04293418675661087,
0.007881518453359604,
-0.02686362899839878,
-0.01734033226966858,
0.003127311123535037,
-0.029601575806736946,
0.024264562875032425,
-0.051901958882808685,
-0.05221940204501152,
-0.0004541545349638909,
-0.006899429019540548,
0.014503184705972672,
0.003000830067321658,
0.03097054921090603,
-0.007752557285130024,
-0.00319923204369843,
0.0361885204911232,
0.011477554216980934,
0.0519416369497776,
0.009984579868614674,
-0.017737137153744698,
0.0006392264040187001,
-0.04404523968696594,
-0.02396695874631405,
0.04154537618160248,
0.03130783140659332,
-0.06944069266319275,
-0.024681206792593002,
-0.026010500267148018,
-0.049481455236673355,
-0.029899178072810173,
-0.05563191697001457,
-0.06420288234949112,
-0.002901629079133272,
-0.05003697797656059,
-0.03989863768219948,
0.021090131253004074,
-0.08491604775190353,
-0.04829104244709015,
-0.018748987466096878,
-0.007286312524229288,
-0.03071262687444687,
-0.022320222109556198,
-0.06384575366973877,
-0.020574284717440605,
-0.0328950472176075,
0.027280272915959358,
-0.028054039925336838,
-0.04364843666553497,
-0.03174431622028351,
-0.019116031005978584,
0.026050180196762085,
-0.031903039664030075,
0.004337563179433346,
-0.06432192027568817,
-0.026724746450781822,
0.03033566288650036,
-0.04479916766285896,
0.021705176681280136,
0.02307415008544922,
0.04964017495512962,
0.021447254344820976,
0.03593060001730919,
0.02942301332950592,
-0.027081869542598724,
-0.009270332753658295,
0.00916617177426815,
-0.04932273179292679,
0.0035216351971030235,
0.035712357610464096,
-0.010247462429106236,
0.010604585520923138,
-0.007643436081707478,
-0.009771297685801983,
0.020475083962082863,
-0.04646574333310127,
-0.033688656985759735,
-0.026704907417297363,
0.0046128458343446255,
-0.1095178946852684,
-0.0317244753241539,
0.061345893889665604,
0.08015439659357071,
-0.025752577930688858,
-0.025197051465511322,
-0.01795537956058979,
0.02267734706401825,
0.0032661925069987774,
-0.034700505435466766,
-0.020316362380981445,
-0.04352939501404762,
0.009870498441159725,
0.017469294369220734,
-0.07940047234296799,
0.0069490293972194195,
0.022101979702711105,
0.015574555844068527,
-0.033192649483680725,
0.04214058071374893,
0.019443394616246223,
0.06952005624771118,
0.09642336517572403,
0.062496624886989594,
0.0420612208545208,
-0.02154645510017872,
-0.0040325201116502285,
0.004077160730957985,
0.09309020638465881,
0.03194271773099899,
-0.038529664278030396,
-0.023153511807322502,
-0.008957849815487862,
-0.04059304669499397,
0.011824757792055607,
-0.019373953342437744,
-0.02928413264453411,
0.07047238200902939,
0.016407843679189682,
0.03545443341135979,
0.03823206201195717,
0.009275292977690697,
0.013868298381567001,
0.012390203773975372,
-0.03591075912117958,
0.020971089601516724,
-0.004181321710348129,
-0.02841116301715374,
-0.015624156221747398,
0.012191801331937313,
-0.007206951733678579,
0.09523294866085052,
-0.02075284719467163,
-0.02763739600777626,
-0.02944285422563553,
0.007549195550382137,
-0.09808994084596634,
0.000587145856115967,
0.04025576263666153,
-0.05233844369649887,
-0.010713706724345684,
0.0024614245630800724,
0.05567159503698349,
0.009781217202544212,
-0.01720145158469677,
-0.0032463523093611,
0.0018538185395300388,
0.012142200954258442,
-0.04714031144976616,
0.026030339300632477,
0.04563245549798012,
-0.03120863065123558,
0.023093990981578827,
0.025058170780539513,
-0.03858918696641922,
-0.013461573980748653,
0.008858648128807545,
0.046703826636075974,
-0.009632416069507599,
0.08348755538463593,
0.04098984971642494,
0.002591625787317753,
-0.022875748574733734,
0.02075284719467163,
-0.009786177426576614,
0.029264291748404503,
0.09689952433109283,
0.04237866401672363,
-0.011130351573228836,
-0.012687806971371174,
0.02993885800242424,
-0.03775589540600777,
-0.012618365697562695,
-0.0007781077874824405,
-0.031149111688137054,
-0.0006209362181834877,
0.01115019153803587,
-0.04356907308101654,
0.015108310617506504,
0.004657486453652382,
0.01241996418684721,
0.010882348753511906,
0.02192341908812523,
0.037894777953624725,
0.009483614936470985,
-0.011378353461623192,
-0.01152715552598238,
-0.03200224041938782,
-0.01209260057657957,
0.021447254344820976,
-0.09039194136857986,
0.011765237897634506,
-0.045672137290239334,
0.002794987987726927,
0.020127881318330765,
-0.06364735215902328,
0.035474274307489395,
-0.002663546474650502,
-0.00019406194041948766,
0.03823206201195717,
-0.05531447380781174,
-0.057774655520915985,
0.028371483087539673,
0.0007613676134496927,
0.016507044434547424,
-0.055235110223293304,
0.020415563136339188,
-0.05110834911465645,
-0.0015611755661666393,
0.03710117191076279,
-0.04539437219500542,
0.0394819937646389,
0.019116031005978584,
0.030474543571472168,
0.014096460305154324,
0.007846798747777939,
0.006105821114033461,
0.0012294722255319357,
-0.019185472279787064,
-0.039938319474458694,
0.053806617856025696,
-0.05424310266971588,
0.03606947883963585,
-0.002980989869683981,
0.022459104657173157,
0.06999621540307999,
-0.02827228233218193,
0.009334812872111797,
0.05924282968044281,
-0.02333207242190838,
-0.05729849264025688,
0.01764785684645176,
-0.03771621733903885,
-0.03973991796374321,
-0.008546165190637112,
0.06948037445545197,
0.03692260757088661,
-0.034958429634571075,
0.04098984971642494,
0.026645386591553688,
-0.0763847604393959,
0.07733709365129471,
-0.027359632775187492,
0.010912109166383743,
-0.020108040422201157,
0.03775589540600777,
0.06773443520069122,
0.020931409671902657,
0.005991739686578512,
-0.00374235725030303,
0.0243240837007761,
0.01870930753648281,
0.030534064397215843,
-0.06360767781734467,
0.020534604787826538,
0.05491766706109047,
0.02243926376104355,
0.06757571548223495,
-0.016040800139307976,
0.011298992671072483,
0.013292932882905006,
0.025316093116998672,
0.00014128390466794372,
-0.04341035336256027,
0.03325217217206955,
-0.031168950721621513,
0.045672137290239334,
-0.02676442638039589,
-0.022221021354198456,
-0.03583139926195145,
-0.014949589036405087,
0.05372725799679756,
-0.011497395113110542,
0.030395183712244034,
0.02789531834423542,
-0.04424364119768143,
0.025693057104945183,
0.014354383572936058,
-0.030395183712244034,
0.05912379175424576,
-0.03537507355213165,
0.05003697797656059,
-0.04591021686792374,
0.03059358522295952,
0.013650055974721909,
-0.026566024869680405,
0.09697888791561127,
0.027300111949443817,
-0.036625005304813385,
0.00764839630573988,
-0.051663875579833984,
-0.03567267581820488,
-0.006899429019540548,
-0.07150407135486603,
0.014384143985807896,
-0.02230038307607174,
0.071900874376297,
0.009706816636025906,
-0.027359632775187492,
0.048846568912267685,
-0.06075068563222885,
0.03505763038992882,
-0.016675686463713646,
0.010793067514896393,
0.02904604934155941,
0.023133670911192894,
-0.07749581336975098,
-0.03479970619082451,
0.02164565585553646,
-0.009270332753658295,
0.03307361155748367,
-0.04190249741077423,
0.01254892535507679,
-0.010237541981041431,
0.041981857270002365,
-0.03531555086374283,
0.013292932882905006,
-0.02622874267399311,
-0.015356313437223434,
-0.028490524739027023,
-0.0009498494910076261,
0.01229100301861763,
-0.019205311313271523,
-0.0002986879844684154,
0.013144130818545818,
0.027101710438728333,
-0.0008270882535725832,
0.02434392273426056,
-0.006978789810091257,
-0.022974949330091476,
0.06007612124085426,
-0.03231968358159065,
-0.03775589540600777,
0.02944285422563553,
-0.0601554811000824,
0.03464098647236824,
0.06233790144324303,
-0.03108959086239338,
0.002027420327067375,
0.11943799257278442,
0.08570965379476547,
0.004354923497885466,
0.05594936013221741,
0.03503778949379921,
-0.057377852499485016,
-0.09126491099596024,
-0.0012257522903382778,
-0.07594827562570572,
0.046703826636075974,
-0.0425373837351799,
0.06237758323550224,
0.050116341561079025,
0.016467364504933357,
0.044402364641427994,
-0.018788667395710945,
0.027220752090215683,
0.037537652999162674,
0.026566024869680405,
0.0005211152019910514,
-0.013233412057161331,
0.008099760860204697,
-0.06090940907597542,
-0.062972791492939,
0.0010961709776893258,
0.00929513294249773,
0.021685335785150528,
-0.05583031848073006,
0.049481455236673355,
0.029482534155249596,
-0.009731616824865341,
-0.012787007726728916,
0.003228992223739624,
0.018252981826663017,
0.0350179485976696,
-0.031645115464925766,
-0.014890068210661411,
-0.011269232258200645,
0.07225800305604935,
0.0069490293972194195,
-0.0371210090816021,
-0.004203641787171364,
-0.012539004907011986,
0.006929188966751099,
-0.04602925851941109,
0.03130783140659332,
0.01663600653409958,
-0.07475786656141281,
-0.00975145772099495,
-0.02928413264453411,
0.013848458416759968,
0.04658478498458862,
-0.07646412402391434,
-0.04341035336256027,
0.04979889839887619,
-0.01922515220940113,
0.05817146226763725,
0.05261620506644249,
0.032438725233078,
0.05924282968044281,
0.0240860003978014,
0.036386922001838684,
-0.08067024499177933,
-0.0012511725071817636,
-0.0399581603705883,
-0.002488704863935709,
-0.01293580885976553,
0.0105748251080513,
0.02358999475836754,
0.015009109862148762,
0.0020968609023839235,
0.0002315723104402423,
0.01628880202770233,
-0.031903039664030075,
-0.014413903467357159,
-0.06948037445545197,
0.017637936398386955,
0.045791178941726685,
-0.008074960671365261,
-0.04765615612268448,
0.028986528515815735,
-0.05848890542984009,
-0.002456464571878314,
0.009572895243763924,
0.009230651892721653,
-0.004431804176419973,
0.0060959006659686565,
-0.05261620506644249,
0.03606947883963585,
0.02622874267399311,
0.007023429963737726,
-0.026942988857626915,
0.03422434255480766,
-0.0427754670381546,
0.0420612208545208,
-0.08067024499177933,
0.014622226357460022,
-0.03198239952325821,
0.03848998248577118,
-0.023391593247652054,
-0.025891458615660667,
0.015921758487820625,
-0.07015494257211685,
0.025197051465511322,
-0.03664484620094299,
0.050275061279535294,
0.015961438417434692,
-0.02091156877577305,
0.04916401207447052,
0.056385841220617294,
-0.0026685066986829042,
0.024482805281877518,
0.026942988857626915,
-0.011269232258200645,
-0.012469564564526081,
0.006958949379622936,
0.022340063005685806,
-0.0394819937646389,
-0.007702956907451153,
0.04622766003012657,
-0.029740456491708755,
0.02216150052845478,
0.027438994497060776,
0.008615606464445591,
-0.004121801350265741,
-0.015197591856122017,
0.014880148693919182,
-0.00233494327403605,
0.0371210090816021,
-0.008089840412139893,
-0.026605704799294472,
-0.01178507786244154,
0.03283552825450897,
-0.036109160631895065,
0.05817146226763725,
0.017489135265350342,
-0.010634345933794975,
-0.04654510319232941,
-0.05551287531852722,
0.00639846408739686,
0.016963370144367218,
0.04710062965750694,
0.02239958383142948,
-0.024423284456133842,
-0.04594989866018295,
0.00975145772099495,
0.038787588477134705,
0.006031420081853867,
-0.04622766003012657,
-0.014761107042431831,
0.04983857646584511,
-0.006735747214406729,
0.050235383212566376,
-0.019016830250620842,
-0.009989540092647076,
-0.01941363327205181,
-0.10769259184598923,
-0.07059142738580704,
-0.001329293241724372,
0.0066811866126954556,
0.00917609129101038,
0.02676442638039589,
-0.007028390187770128,
-0.01495950948446989,
0.01090218871831894,
0.002695786999538541,
-0.005361813586205244,
-0.01893746852874756,
-0.04483884945511818,
-0.048608485609292984,
0.02892700955271721,
0.020147720351815224,
0.0210306104272604,
-0.006170301698148251,
0.021070290356874466,
0.004518605303019285,
0.0129258893430233,
-0.022578146308660507,
-0.03033566288650036,
-0.028431003913283348,
0.10158181190490723,
0.016407843679189682,
0.0686074048280716,
-0.00997465942054987,
-0.03468066453933716,
0.041585054248571396,
0.027359632775187492,
-0.04368811473250389,
-0.029502375051379204,
0.039045508950948715,
0.021467093378305435,
-0.004310282878577709,
0.045791178941726685,
0.022201182320713997,
-0.0020125401206314564,
0.030236462131142616,
0.03275616839528084,
-0.010654185898602009,
0.02981981821358204,
0.010872428305447102,
-0.03640676289796829,
0.0012096320278942585,
-0.036109160631895065,
-0.01090218871831894,
-0.0171518512070179,
-0.014939669519662857,
0.02091156877577305,
-0.07392457872629166,
-0.04908464848995209,
-0.016457444056868553,
0.016457444056868553,
0.06126653030514717,
0.023728877305984497,
-0.035712357610464096,
-0.020733006298542023,
0.03722020983695984,
-0.0034025940112769604,
0.02573273703455925,
-0.0799163207411766,
-0.0007911279099062085,
-0.035474274307489395,
-0.04122793301939964,
-0.046941909939050674,
-0.015326553024351597,
0.0031248312443494797,
-0.04956081509590149,
0.04932273179292679,
0.018570424988865852,
-0.013253252021968365,
-0.026387464255094528,
0.016913769766688347,
-0.02154645510017872,
0.0021291011944413185,
0.007216872181743383,
0.08356691151857376,
-0.01119979191571474,
0.004253242630511522,
-0.007256552577018738,
-0.013203651644289494,
0.01734033226966858,
-0.0229154285043478,
0.005738777108490467,
0.05273524671792984,
0.01166603621095419,
0.010971629060804844,
0.0390058308839798,
-0.03555363416671753,
0.004565725568681955,
-0.04360875487327576,
0.06170301511883736,
0.016457444056868553,
0.015386073850095272,
0.028510363772511482,
-0.04309291020035744,
0.034601304680109024,
-0.026605704799294472,
0.06904388964176178,
-0.023470954969525337,
-0.02458200603723526,
-0.0006147361127659678,
-0.019393794238567352,
0.00903721060603857,
0.018064500764012337,
-0.015901919454336166,
0.014979349449276924,
-0.014235341921448708,
0.033946577459573746,
0.017003050073981285,
-0.0007043270161375403,
-0.026526344940066338,
-0.0105748251080513,
0.03231968358159065,
0.025534335523843765,
-0.014027019962668419,
0.0010676506208255887,
-0.000139733892865479,
-0.007102790754288435,
0.00773271732032299,
-0.024423284456133842,
0.013659976422786713,
0.037656694650650024,
-0.004568205680698156,
-0.004994770046323538,
-0.02295510843396187,
-0.016576485708355904,
0.05463990569114685,
-0.0229154285043478,
-0.007316072937101126,
-0.008476724848151207,
-0.03940263390541077,
-0.022359903901815414,
-0.00566437654197216,
0.07765453308820724,
-0.032280001789331436,
0.030236462131142616,
-0.044918209314346313,
0.012588605284690857,
0.01607055962085724,
0.010475624352693558,
-0.0049302889965474606,
-0.04309291020035744,
-0.0074648745357990265,
-0.01191403903067112,
-0.04015656188130379,
0.006378623656928539,
0.04721967130899429,
0.03517667204141617,
0.0001971619640244171,
-0.021963099017739296,
-0.04178345575928688,
-0.00012159871403127909,
-0.014691666699945927,
0.02829212322831154,
0.015306713059544563,
-0.007038310170173645,
0.003715077182278037,
0.023728877305984497,
0.0488862469792366,
0.023490794003009796,
-0.012846528552472591,
-0.08840791881084442,
-0.017300652340054512,
0.05083058774471283,
-0.026685066521167755,
0.0073954337276518345,
0.013798858039081097,
-0.033966418355703354,
0.023470954969525337,
-0.027974680066108704,
-0.04678318649530411,
0.07741644978523254,
0.02599065937101841,
0.03160543367266655,
0.019006909802556038,
-0.028847647830843925,
0.00862552598118782,
-0.0418231375515461,
0.020127881318330765,
-0.02241942472755909,
0.009528255090117455,
0.0838843584060669,
-0.021824218332767487,
-0.0375971756875515,
-0.03620836138725281,
0.024800248444080353,
-0.07122631371021271,
-0.08832856267690659,
0.050116341561079025,
-0.02065364643931389,
0.01440398395061493,
0.0026561066042631865,
0.04892592877149582,
-0.022379742935299873,
-0.056862007826566696,
-0.03985895961523056,
-0.01898706890642643,
0.012707646936178207,
0.044918209314346313,
0.020713167265057564,
0.018431544303894043,
-0.007618635892868042,
0.011745397001504898
] |
711,248
|
yt_dlp
|
print_extractor_information
| null |
def print_extractor_information(opts, urls):
out = ''
if opts.list_extractors:
# Importing GenericIE is currently slow since it imports YoutubeIE
from .extractor.generic import GenericIE
urls = dict.fromkeys(urls, False)
for ie in list_extractor_classes(opts.age_limit):
out += ie.IE_NAME + (' (CURRENTLY BROKEN)' if not ie.working() else '') + '\n'
if ie == GenericIE:
matched_urls = [url for url, matched in urls.items() if not matched]
else:
matched_urls = tuple(filter(ie.suitable, urls.keys()))
urls.update(dict.fromkeys(matched_urls, True))
out += ''.join(f' {url}\n' for url in matched_urls)
elif opts.list_extractor_descriptions:
_SEARCHES = ('cute kittens', 'slithering pythons', 'falling cat', 'angry poodle', 'purple fish', 'running tortoise', 'sleeping bunny', 'burping cow')
out = '\n'.join(
ie.description(markdown=False, search_examples=_SEARCHES)
for ie in list_extractor_classes(opts.age_limit) if ie.working() and ie.IE_DESC is not False)
elif opts.ap_list_mso:
out = 'Supported TV Providers:\n%s\n' % render_table(
['mso', 'mso name'],
[[mso_id, mso_info['name']] for mso_id, mso_info in MSO_INFO.items()])
else:
return False
write_string(out, out=sys.stdout)
return True
|
(opts, urls)
|
[
0.008961165323853493,
-0.00397153478115797,
-0.03288641944527626,
-0.04706292599439621,
0.05209577828645706,
0.005868458654731512,
0.05705179274082184,
-0.05574555695056915,
-0.05724388733506203,
0.07322607189416885,
-0.018575448542833328,
0.01651044376194477,
-0.0026676994748413563,
0.02237890101969242,
0.025644492357969284,
-0.01004649419337511,
-0.007602103520184755,
0.01530985813587904,
0.024972165003418922,
-0.005138503387570381,
-0.009734341874718666,
0.008965968154370785,
0.03553731366991997,
-0.039071835577487946,
-0.011669685132801533,
0.038399506360292435,
0.032271720468997955,
-0.0335395373404026,
-0.04494989663362503,
0.03813057392835617,
-0.0664643794298172,
-0.03972495347261429,
-0.04460413008928299,
0.018767543137073517,
-0.019862476736307144,
0.024395884945988655,
0.008005499839782715,
0.03918708860874176,
-0.038706857711076736,
0.031560976058244705,
-0.054324064403772354,
-0.004437361843883991,
0.03223330155014992,
-0.046601902693510056,
-0.06757852435112,
-0.0032127650920301676,
-0.0690000131726265,
-0.01940145157277584,
-0.04233742505311966,
-0.0641208365559578,
-0.010084913112223148,
0.029102176427841187,
0.011362334713339806,
-0.00945100374519825,
0.03889894858002663,
0.03484577685594559,
0.04368207976222038,
0.03809215500950813,
0.023512253537774086,
0.02203313261270523,
-0.03392372652888298,
-0.019641568884253502,
0.0015355480136349797,
0.0018537030555307865,
0.027949616312980652,
0.02483769878745079,
0.022859135642647743,
-0.00007781290332786739,
-0.020400337874889374,
0.014791205525398254,
0.043105799704790115,
-0.03882211074233055,
-0.043643660843372345,
0.0010258997790515423,
0.021476062014698982,
-0.016001395881175995,
-0.01450306549668312,
-0.061469946056604385,
0.09873609989881516,
-0.07115145772695541,
-0.021821830421686172,
-0.024607187137007713,
-0.00019674585200846195,
-0.024376675486564636,
0.04287528619170189,
-0.019132521003484726,
0.049060698598623276,
-0.04199165478348732,
0.02483769878745079,
0.06719433516263962,
-0.07138197124004364,
-0.0003154536825604737,
0.003145532449707389,
-0.004756717011332512,
-0.13031628727912903,
0.04514199122786522,
-0.02259020507335663,
-0.02376197651028633,
0.02410774491727352,
0.017720632255077362,
0.005541899707168341,
-0.031925953924655914,
0.018498610705137253,
0.010699612088501453,
-0.044488873332738876,
-0.04844599962234497,
-0.05332517623901367,
0.0349610298871994,
0.014070854522287846,
0.006660844665020704,
-0.011035775765776634,
-0.017365260049700737,
-0.006497565191239119,
-0.034000564366579056,
0.08198554068803787,
-0.03196437284350395,
-0.01085328683257103,
-0.03196437284350395,
-0.04264477267861366,
-0.04648664593696594,
-0.04314421862363815,
-0.020400337874889374,
-0.05459299683570862,
-0.04260635748505592,
-0.0032751956023275852,
-0.031925953924655914,
-0.01730763167142868,
-0.0010799260344356298,
0.0492912121117115,
-0.043105799704790115,
0.02376197651028633,
0.006180610973387957,
-0.006459146738052368,
0.03901420533657074,
0.07572329044342041,
-0.03964811563491821,
-0.058665379881858826,
-0.007904650643467903,
-0.012226756662130356,
0.03457684442400932,
-0.11871383339166641,
-0.03411582112312317,
-0.039609696716070175,
0.02483769878745079,
-0.038706857711076736,
-0.0409543514251709,
0.036632243543863297,
-0.051865264773368835,
0.0626993402838707,
-0.03991704434156418,
0.031560976058244705,
0.019382242113351822,
-0.03884132206439972,
-0.04306738078594208,
-0.04406626522541046,
-0.026528123766183853,
0.012745409272611141,
-0.001505533466115594,
0.013504178263247013,
0.007750975899398327,
0.04214533045887947,
-0.024780072271823883,
-0.03131125494837761,
0.044488873332738876,
0.00101149280089885,
0.0003631769213825464,
0.043989431113004684,
0.013629039749503136,
0.08021827787160873,
0.085981085896492,
0.026105517521500587,
0.030523668974637985,
-0.03501866012811661,
-0.003604155732318759,
0.017509330064058304,
0.05847328528761864,
0.004648664500564337,
0.009402981027960777,
0.0166160948574543,
0.012226756662130356,
-0.0524415485560894,
-0.011410358361899853,
-0.10818710178136826,
0.016308745369315147,
0.028199337422847748,
-0.02270546182990074,
0.028929293155670166,
0.0017768655670806766,
-0.016760164871811867,
0.0262207742780447,
0.000020372424842207693,
-0.028026452288031578,
0.023204904049634933,
-0.006219029426574707,
-0.008855514228343964,
-0.017115537077188492,
-0.017855098471045494,
-0.021898668259382248,
0.02958241105079651,
-0.0017336445162072778,
-0.07291872054338455,
0.04352840408682823,
-0.021802620962262154,
-0.01084368210285902,
0.020899781957268715,
0.04318263754248619,
0.0085241524502635,
0.009470213204622269,
-0.022820716723799706,
0.012678176164627075,
0.04883018881082535,
0.015098555013537407,
-0.026278400793671608,
-0.043451566249132156,
0.021226340904831886,
0.05121214687824249,
0.00414922134950757,
0.008144767954945564,
-0.025433190166950226,
-0.0061662038788199425,
-0.018959635868668556,
-0.019151730462908745,
-0.0009184474474750459,
0.05332517623901367,
0.0043341112323105335,
0.004936804994940758,
0.07053676247596741,
0.02343541570007801,
0.017115537077188492,
-0.03134967014193535,
0.006185413338243961,
-0.02574053965508938,
-0.032483022660017014,
0.09643097966909409,
0.019026868045330048,
-0.035402845591306686,
-0.05105847492814064,
0.03265590965747833,
0.017096327617764473,
-0.00024626997765153646,
-0.00269171129912138,
0.033001676201820374,
-0.01627032645046711,
0.01426294818520546,
0.0008013903861865401,
-0.05862696096301079,
-0.050981637090444565,
-0.017105933278799057,
-0.044680967926979065,
-0.0008776275208219886,
0.07330290973186493,
-0.04963698238134384,
0.006857740692794323,
-0.014493460766971111,
-0.0071362764574587345,
-0.03359716758131981,
-0.03905262425541878,
-0.06081682816147804,
0.027507800608873367,
-0.09527841210365295,
0.009479817934334278,
0.003841871628537774,
-0.028199337422847748,
0.03202199935913086,
-0.00005440150198410265,
-0.006824124604463577,
0.045218829065561295,
-0.0641208365559578,
-0.047677624970674515,
-0.004600641317665577,
0.08152451366186142,
0.06408242136240005,
-0.04790813848376274,
0.02063084952533245,
-0.041914816945791245,
0.027430962771177292,
-0.00009649700950831175,
-0.04963698238134384,
-0.05743597820401192,
0.003318416653200984,
0.0389757864177227,
0.0025092223659157753,
-0.09919712692499161,
-0.042414262890815735,
0.04775446280837059,
-0.012322803027927876,
0.024780072271823883,
0.07848943769931793,
0.0067520891316235065,
-0.007193904370069504,
0.010334634222090244,
0.033481910824775696,
0.03670908138155937,
-0.06108575686812401,
-0.016433605924248695,
0.03670908138155937,
0.007265939377248287,
-0.0008079936378635466,
-0.038745272904634476,
-0.03661303594708443,
-0.061815712600946426,
-0.05520769581198692,
0.0222060177475214,
-0.031042322516441345,
-0.05470824986696243,
0.0003544726932886988,
0.008812292478978634,
-0.018268099054694176,
0.0598563589155674,
-0.03392372652888298,
0.035594940185546875,
0.013494573533535004,
-0.0050040376372635365,
0.02923664264380932,
-0.013331294059753418,
0.036958806216716766,
-0.037170108407735825,
0.04037807136774063,
0.0009484620532020926,
0.03828424960374832,
0.03674750030040741,
0.0581275150179863,
0.007443625945597887,
-0.0001779867016011849,
0.03605596348643303,
-0.07710636407136917,
-0.03726615384221077,
-0.023512253537774086,
0.0299281794577837,
-0.03636331483721733,
-0.05278731510043144,
-0.00957106240093708,
0.025644492357969284,
0.03426949307322502,
0.02376197651028633,
0.04602562263607979,
-0.03864922747015953,
0.018354540690779686,
0.043989431113004684,
0.0573207251727581,
-0.01694265380501747,
-0.022839926183223724,
-0.1200200691819191,
0.0070066130720078945,
0.018844379112124443,
-0.010613170452415943,
0.03305930644273758,
0.008274431340396404,
-0.0001478220074204728,
-0.045218829065561295,
0.016107046976685524,
-0.023339370265603065,
0.013532992452383041,
0.004413350019603968,
0.010862891562283039,
0.0461408756673336,
-0.0029750491958111525,
-0.015348277054727077,
0.01652965322136879,
0.02416537143290043,
0.013321689330041409,
-0.022167598828673363,
-0.018162447959184647,
-0.0058780633844435215,
-0.06604177504777908,
-0.08006460219621658,
0.12985526025295258,
0.003419265616685152,
0.04963698238134384,
-0.054285645484924316,
-0.023358579725027084,
0.006291064899414778,
0.02656654268503189,
-0.061124175786972046,
-0.03864922747015953,
0.04060858115553856,
0.01495448499917984,
-0.012783827260136604,
-0.04879176989197731,
0.02397327870130539,
0.0007131473976187408,
0.07038308680057526,
0.0032199686393141747,
-0.002653292613103986,
0.057128630578517914,
-0.034730520099401474,
-0.032118044793605804,
0.0938953384757042,
-0.0018897205591201782,
0.02783435955643654,
0.01016175001859665,
0.005013642366975546,
-0.021629737690091133,
0.012418849393725395,
0.032271720468997955,
-0.024222999811172485,
-0.024030907079577446,
0.02923664264380932,
-0.06024054437875748,
-0.03023552894592285,
0.03830346092581749,
-0.025663701817393303,
-0.03567177802324295,
0.036478571593761444,
-0.04007072001695633,
0.015463532879948616,
0.029447944834828377,
-0.0028669966850429773,
-0.005388224963098764,
-0.019459079951047897,
0.011852174066007137,
-0.04967539757490158,
-0.024030907079577446,
-0.03655540943145752,
-0.035076286643743515,
0.041569050401449203,
-0.0486765131354332,
0.026355238631367683,
-0.014656740240752697,
0.015982186421751976,
0.04902227967977524,
-0.021572109311819077,
0.0033592365216463804,
0.05539978668093681,
0.026873892173171043,
-0.016712142154574394,
-0.03937918320298195,
-0.019824057817459106,
0.07176616042852402,
-0.03325139731168747,
-0.020400337874889374,
-0.028929293155670166,
-0.01579969748854637,
-0.038937367498874664,
0.04652506485581398,
-0.022474948316812515,
-0.027565428987145424,
-0.018546635285019875,
-0.012543710879981518,
0.007818209007382393,
-0.015136973932385445,
-0.04894544556736946,
-0.02047717571258545,
0.07660692185163498,
0.02218680828809738,
0.03620963916182518,
0.02326253242790699,
-0.045564595609903336,
-0.02869878150522709,
0.015703650191426277,
-0.04921437427401543,
-0.003642574418336153,
-0.011151032522320747,
-0.03252144157886505,
0.05209577828645706,
0.006569600198417902,
-0.00978716742247343,
0.055553462356328964,
-0.04076225683093071,
0.01914212480187416,
0.0036377720534801483,
-0.054823506623506546,
0.027776731178164482,
0.04810023307800293,
-0.012793431989848614,
0.040147557854652405,
0.039263926446437836,
0.005436248145997524,
-0.03809215500950813,
-0.011410358361899853,
0.0008572175865992904,
-0.003318416653200984,
0.023185694590210915,
0.0005558707634918392,
-0.010008075274527073,
0.053248338401317596,
-0.009306933730840683,
0.019199753180146217,
0.027507800608873367,
-0.05705179274082184,
-0.03741982951760292,
-0.0034504809882491827,
0.026720216497778893,
-0.049752235412597656,
-0.009177270345389843,
0.0255100280046463,
0.007861429825425148,
-0.008807490579783916,
0.03991704434156418,
0.0042092506773769855,
0.027219660580158234,
0.004612646996974945,
-0.024549558758735657,
-0.08805569261312485,
0.020592432469129562,
0.01896924152970314,
0.02030429057776928,
0.047831300646066666,
0.009883214719593525,
-0.018671495839953423,
0.01381152868270874,
-0.03184911608695984,
0.08767151087522507,
-0.045218829065561295,
0.0693073645234108,
-0.03446158766746521,
0.04491147771477699,
0.005868458654731512,
-0.01389797031879425,
0.05628341808915138,
0.018853984773159027,
-0.03457684442400932,
0.018047191202640533,
0.00024266821856144816,
0.021764202043414116,
-0.01907489262521267,
-0.024741653352975845,
0.01381152868270874,
0.03426949307322502,
0.025413980707526207,
0.03027394786477089,
0.0013578614452853799,
-0.010565146803855896,
-0.04176114499568939,
-0.016087837517261505,
0.05897272750735283,
-0.024876117706298828,
0.07952674478292465,
-0.0426831915974617,
0.0038946974091231823,
0.014416622929275036,
-0.0057820165529847145,
-0.047485534101724625,
-0.022436529397964478,
0.038188204169273376,
0.021898668259382248,
0.02080373466014862,
-0.039091043174266815,
0.06792429089546204,
0.06892317533493042,
0.06773219257593155,
-0.013763505034148693,
-0.05347885191440582,
-0.046986088156700134,
0.013753900304436684,
-0.05524611473083496,
-0.007919058203697205,
0.016068628057837486,
0.054285645484924316,
-0.00747724249958992,
0.01556918490678072,
-0.020554013550281525,
0.038380298763513565,
-0.002207875484600663,
0.008860316127538681,
0.1099543645977974,
0.015492347069084644,
-0.008965968154370785,
0.0021142298355698586,
0.0024419897235929966,
0.030389204621315002,
-0.030312366783618927,
-0.03567177802324295,
0.00877387449145317,
0.03388530761003494,
-0.027411753311753273,
0.031407300382852554,
0.0003553731075953692,
-0.05785858631134033,
-0.024607187137007713,
0.02585579641163349,
0.026489704847335815,
-0.045910365879535675,
0.009681516326963902,
-0.045910365879535675,
-0.006339088082313538,
0.054823506623506546,
0.01995852217078209,
0.11410358548164368,
-0.00958066713064909,
-0.006435134913772345,
-0.0038634820375591516,
0.021552899852395058,
-0.019199753180146217,
0.05224945396184921,
-0.051327403634786606,
-0.004418152384459972,
-0.029966598376631737,
0.024952955543994904,
-0.013571411371231079,
0.015348277054727077,
-0.025433190166950226,
-0.014973694458603859,
-0.011074194684624672,
-0.009691121056675911,
-0.001372268539853394,
-0.006766496226191521,
-0.021437643095850945,
0.02237890101969242,
0.020861363038420677,
-0.03388530761003494,
0.026643378660082817,
-0.024703234434127808,
-0.062199901789426804,
0.021283969283103943,
0.0021646544337272644,
0.003928313497453928,
0.002027787733823061,
-0.01976642943918705,
0.004956014454364777,
0.021053455770015717,
0.006838531233370304,
0.011247078888118267,
-0.07272662967443466,
-0.04195323586463928,
0.007405207492411137,
0.043451566249132156,
0.012918293476104736,
0.020765315741300583,
-0.024933746084570885,
-0.0029246248304843903,
0.022820716723799706,
-0.04322105646133423,
0.028775617480278015,
-0.008356071077287197,
0.01888279803097248,
-0.033501118421554565,
-0.005282573401927948,
0.06538865715265274,
0.025586863979697227,
0.02691231109201908,
0.020361918956041336,
0.04287528619170189,
0.012265174649655819,
-0.04564143344759941,
-0.001850101281888783,
0.035441264510154724,
0.028429849073290825,
-0.030139481648802757,
-0.03302088752388954,
0.0010373053373768926,
-0.021744992583990097,
-0.0064207278192043304,
0.02013140730559826,
0.025298723950982094,
0.02084215357899666,
-0.002144244499504566,
0.014070854522287846,
0.09850558638572693,
-0.00390670308843255,
-0.00269171129912138,
0.04391259327530861,
0.013244852423667908,
0.0299281794577837,
-0.043643660843372345,
-0.02535635232925415,
-0.02166815474629402,
0.04337472841143608,
0.027949616312980652,
0.010190564207732677,
-0.014186110347509384,
-0.02871798910200596,
0.06193096935749054,
-0.043297894299030304,
0.027142822742462158,
-0.0032487825956195593,
0.03569098562002182,
-0.009244503453373909,
-0.004951212089508772,
-0.007808603812009096,
0.020381128415465355,
0.02272466942667961,
0.10073387622833252,
-0.030177900567650795,
-0.003265590872615576,
-0.007534870412200689,
-0.022532576695084572,
0.005618737079203129,
-0.006195018067955971,
-0.01435899455100298,
0.01943987049162388,
-0.017835889011621475,
-0.005109689198434353,
-0.022302065044641495,
-0.0203235000371933,
0.016798583790659904,
-0.011006961576640606,
0.01654886268079281,
-0.023147275671362877,
-0.02205234207212925,
-0.06800112873315811,
0.005143305752426386,
0.021610528230667114,
-0.014839229173958302,
0.028986921533942223,
0.007304358296096325,
0.024222999811172485,
-0.06231515854597092,
0.07695268839597702,
-0.058358028531074524,
0.005988517310470343,
0.041914816945791245,
0.0029126189183443785,
0.0121691282838583,
-0.012783827260136604,
-0.0026676994748413563,
-0.036997221410274506,
0.020938200876116753,
0.003015869064256549,
-0.013264061883091927,
0.019363032653927803,
0.0344039611518383,
0.0072323232889175415,
-0.04318263754248619,
-0.010008075274527073,
-0.03657461702823639,
0.04314421862363815,
0.048369161784648895,
0.03286721184849739,
0.03223330155014992,
0.043489985167980194,
0.007035427261143923,
0.03188753500580788,
0.01050751842558384,
-0.03388530761003494,
0.08037195354700089,
-0.07699110358953476,
-0.0229167640209198,
0.03774638846516609,
0.015482742339372635,
-0.0020073777996003628,
0.010459495708346367,
-0.047139763832092285,
0.043297894299030304,
-0.06546549499034882,
-0.052556801587343216,
0.004605443682521582,
-0.04525724798440933,
0.05674444139003754,
-0.04952172562479973,
0.03515312448143959,
0.018008772283792496,
0.06108575686812401,
0.022801507264375687,
-0.026355238631367683,
-0.018767543137073517,
0.011170241981744766,
-0.010363448411226273,
-0.01966077834367752,
0.009599876590073109,
0.013273666612803936,
-0.04456571117043495,
-0.029851341620087624,
-0.011285497806966305,
0.03344349190592766,
0.018162447959184647,
0.027162032201886177,
-0.03884132206439972,
0.0007767783827148378,
-0.0041756341233849525,
-0.018508216366171837,
0.018152842298150063,
0.009960051625967026,
0.03200279176235199,
-0.004156424663960934,
0.03307851403951645,
-0.04813865199685097,
-0.008159174583852291
] |
711,258
|
yt_dlp.utils.traversal
|
traverse_obj
|
Safely traverse nested `dict`s and `Iterable`s
>>> obj = [{}, {"key": "value"}]
>>> traverse_obj(obj, (1, "key"))
'value'
Each of the provided `paths` is tested and the first producing a valid result will be returned.
The next path will also be tested if the path branched but no results could be found.
Supported values for traversal are `Mapping`, `Iterable`, `re.Match`,
`xml.etree.ElementTree` (xpath) and `http.cookies.Morsel`.
Unhelpful values (`{}`, `None`) are treated as the absence of a value and discarded.
The paths will be wrapped in `variadic`, so that `'key'` is conveniently the same as `('key', )`.
The keys in the path can be one of:
- `None`: Return the current object.
- `set`: Requires the only item in the set to be a type or function,
like `{type}`/`{type, type, ...}/`{func}`. If a `type`, return only
values of this type. If a function, returns `func(obj)`.
- `str`/`int`: Return `obj[key]`. For `re.Match`, return `obj.group(key)`.
- `slice`: Branch out and return all values in `obj[key]`.
- `Ellipsis`: Branch out and return a list of all values.
- `tuple`/`list`: Branch out and return a list of all matching values.
Read as: `[traverse_obj(obj, branch) for branch in branches]`.
- `function`: Branch out and return values filtered by the function.
Read as: `[value for key, value in obj if function(key, value)]`.
For `Iterable`s, `key` is the index of the value.
For `re.Match`es, `key` is the group number (0 = full match)
as well as additionally any group names, if given.
- `dict`: Transform the current object and return a matching dict.
Read as: `{key: traverse_obj(obj, path) for key, path in dct.items()}`.
- `any`-builtin: Take the first matching object and return it, resetting branching.
- `all`-builtin: Take all matching objects and return them as a list, resetting branching.
`tuple`, `list`, and `dict` all support nested paths and branches.
@params paths Paths which to traverse by.
@param default Value to return if the paths do not match.
If the last key in the path is a `dict`, it will apply to each value inside
the dict instead, depth first. Try to avoid if using nested `dict` keys.
@param expected_type If a `type`, only accept final values of this type.
If any other callable, try to call the function on each result.
If the last key in the path is a `dict`, it will apply to each value inside
the dict instead, recursively. This does respect branching paths.
@param get_all If `False`, return the first matching result, otherwise all matching ones.
@param casesense If `False`, consider string dictionary keys as case insensitive.
`traverse_string` is only meant to be used by YoutubeDL.prepare_outtmpl and is not part of the API
@param traverse_string Whether to traverse into objects as strings.
If `True`, any non-compatible object will first be
converted into a string and then traversed into.
The return value of that path will be a string instead,
not respecting any further branching.
@returns The result of the object traversal.
If successful, `get_all=True`, and the path branches at least once,
then a list of results is returned instead.
If no `default` is given and the last path branches, a `list` of results
is always returned. If a path ends on a `dict` that result will always be a `dict`.
|
def traverse_obj(
obj, *paths, default=NO_DEFAULT, expected_type=None, get_all=True,
casesense=True, is_user_input=NO_DEFAULT, traverse_string=False):
"""
Safely traverse nested `dict`s and `Iterable`s
>>> obj = [{}, {"key": "value"}]
>>> traverse_obj(obj, (1, "key"))
'value'
Each of the provided `paths` is tested and the first producing a valid result will be returned.
The next path will also be tested if the path branched but no results could be found.
Supported values for traversal are `Mapping`, `Iterable`, `re.Match`,
`xml.etree.ElementTree` (xpath) and `http.cookies.Morsel`.
Unhelpful values (`{}`, `None`) are treated as the absence of a value and discarded.
The paths will be wrapped in `variadic`, so that `'key'` is conveniently the same as `('key', )`.
The keys in the path can be one of:
- `None`: Return the current object.
- `set`: Requires the only item in the set to be a type or function,
like `{type}`/`{type, type, ...}/`{func}`. If a `type`, return only
values of this type. If a function, returns `func(obj)`.
- `str`/`int`: Return `obj[key]`. For `re.Match`, return `obj.group(key)`.
- `slice`: Branch out and return all values in `obj[key]`.
- `Ellipsis`: Branch out and return a list of all values.
- `tuple`/`list`: Branch out and return a list of all matching values.
Read as: `[traverse_obj(obj, branch) for branch in branches]`.
- `function`: Branch out and return values filtered by the function.
Read as: `[value for key, value in obj if function(key, value)]`.
For `Iterable`s, `key` is the index of the value.
For `re.Match`es, `key` is the group number (0 = full match)
as well as additionally any group names, if given.
- `dict`: Transform the current object and return a matching dict.
Read as: `{key: traverse_obj(obj, path) for key, path in dct.items()}`.
- `any`-builtin: Take the first matching object and return it, resetting branching.
- `all`-builtin: Take all matching objects and return them as a list, resetting branching.
`tuple`, `list`, and `dict` all support nested paths and branches.
@params paths Paths which to traverse by.
@param default Value to return if the paths do not match.
If the last key in the path is a `dict`, it will apply to each value inside
the dict instead, depth first. Try to avoid if using nested `dict` keys.
@param expected_type If a `type`, only accept final values of this type.
If any other callable, try to call the function on each result.
If the last key in the path is a `dict`, it will apply to each value inside
the dict instead, recursively. This does respect branching paths.
@param get_all If `False`, return the first matching result, otherwise all matching ones.
@param casesense If `False`, consider string dictionary keys as case insensitive.
`traverse_string` is only meant to be used by YoutubeDL.prepare_outtmpl and is not part of the API
@param traverse_string Whether to traverse into objects as strings.
If `True`, any non-compatible object will first be
converted into a string and then traversed into.
The return value of that path will be a string instead,
not respecting any further branching.
@returns The result of the object traversal.
If successful, `get_all=True`, and the path branches at least once,
then a list of results is returned instead.
If no `default` is given and the last path branches, a `list` of results
is always returned. If a path ends on a `dict` that result will always be a `dict`.
"""
if is_user_input is not NO_DEFAULT:
deprecation_warning('The is_user_input parameter is deprecated and no longer works')
casefold = lambda k: k.casefold() if isinstance(k, str) else k
if isinstance(expected_type, type):
type_test = lambda val: val if isinstance(val, expected_type) else None
else:
type_test = lambda val: try_call(expected_type or IDENTITY, args=(val,))
def apply_key(key, obj, is_last):
branching = False
result = None
if obj is None and traverse_string:
if key is ... or callable(key) or isinstance(key, slice):
branching = True
result = ()
elif key is None:
result = obj
elif isinstance(key, set):
item = next(iter(key))
if len(key) > 1 or isinstance(item, type):
assert all(isinstance(item, type) for item in key)
if isinstance(obj, tuple(key)):
result = obj
else:
result = try_call(item, args=(obj,))
elif isinstance(key, (list, tuple)):
branching = True
result = itertools.chain.from_iterable(
apply_path(obj, branch, is_last)[0] for branch in key)
elif key is ...:
branching = True
if isinstance(obj, http.cookies.Morsel):
obj = dict(obj, key=obj.key, value=obj.value)
if isinstance(obj, collections.abc.Mapping):
result = obj.values()
elif is_iterable_like(obj) or isinstance(obj, xml.etree.ElementTree.Element):
result = obj
elif isinstance(obj, re.Match):
result = obj.groups()
elif traverse_string:
branching = False
result = str(obj)
else:
result = ()
elif callable(key):
branching = True
if isinstance(obj, http.cookies.Morsel):
obj = dict(obj, key=obj.key, value=obj.value)
if isinstance(obj, collections.abc.Mapping):
iter_obj = obj.items()
elif is_iterable_like(obj) or isinstance(obj, xml.etree.ElementTree.Element):
iter_obj = enumerate(obj)
elif isinstance(obj, re.Match):
iter_obj = itertools.chain(
enumerate((obj.group(), *obj.groups())),
obj.groupdict().items())
elif traverse_string:
branching = False
iter_obj = enumerate(str(obj))
else:
iter_obj = ()
result = (v for k, v in iter_obj if try_call(key, args=(k, v)))
if not branching: # string traversal
result = ''.join(result)
elif isinstance(key, dict):
iter_obj = ((k, _traverse_obj(obj, v, False, is_last)) for k, v in key.items())
result = {
k: v if v is not None else default for k, v in iter_obj
if v is not None or default is not NO_DEFAULT
} or None
elif isinstance(obj, collections.abc.Mapping):
if isinstance(obj, http.cookies.Morsel):
obj = dict(obj, key=obj.key, value=obj.value)
result = (try_call(obj.get, args=(key,)) if casesense or try_call(obj.__contains__, args=(key,)) else
next((v for k, v in obj.items() if casefold(k) == key), None))
elif isinstance(obj, re.Match):
if isinstance(key, int) or casesense:
with contextlib.suppress(IndexError):
result = obj.group(key)
elif isinstance(key, str):
result = next((v for k, v in obj.groupdict().items() if casefold(k) == key), None)
elif isinstance(key, (int, slice)):
|
(obj, *paths, default=<class 'yt_dlp.utils.NO_DEFAULT'>, expected_type=None, get_all=True, casesense=True, is_user_input=<class 'yt_dlp.utils.NO_DEFAULT'>, traverse_string=False)
|
[
0.012031649239361286,
-0.023558473214507103,
-0.04635971039533615,
-0.02463122457265854,
-0.019656600430607796,
0.0006809871410951018,
0.020855559036135674,
-0.02631397359073162,
0.062219612300395966,
-0.03986009582877159,
0.011968545615673065,
0.06386028975248337,
0.0019522507209330797,
0.007603917736560106,
-0.0047695389948785305,
0.019256947562098503,
0.006089444737881422,
0.05603551119565964,
0.026061560958623886,
0.03733597323298454,
0.01510266400873661,
0.02984774485230446,
0.05574103072285652,
0.031740836799144745,
0.0012226216495037079,
-0.02549363300204277,
0.05039830505847931,
0.014755597338080406,
-0.006184099242091179,
0.017689889296889305,
0.03708356246352196,
-0.04905210807919502,
-0.031193941831588745,
0.008234948851168156,
-0.016238519921898842,
-0.046570051461458206,
-0.022086068987846375,
0.05675067752599716,
-0.04051215946674347,
-0.04644384607672691,
-0.02860671654343605,
0.033023931086063385,
-0.041816290467977524,
-0.021486589685082436,
-0.024378813803195953,
-0.006736251059919596,
-0.032834623008966446,
0.06638441234827042,
0.040659401565790176,
-0.042678698897361755,
0.039796993136405945,
-0.044382479041814804,
-0.028249133378267288,
-0.030331533402204514,
0.027344657108187675,
-0.03537977859377861,
-0.03958664834499359,
0.03514840081334114,
0.0521651916205883,
0.00888175517320633,
0.010701226070523262,
0.004354110453277826,
-0.025830183178186417,
0.05262794718146324,
-0.032981861382722855,
-0.05292242765426636,
-0.00961269810795784,
0.0010668359464034438,
-0.06356580555438995,
-0.01588093489408493,
-0.07261057943105698,
0.013525087386369705,
0.004338334780186415,
-0.016995755955576897,
-0.029300851747393608,
-0.03941837325692177,
-0.029742572456598282,
-0.016680240631103516,
0.04070146754384041,
0.0061262547969818115,
-0.019887978211045265,
-0.0033839012030512094,
-0.10130143165588379,
-0.10264763236045837,
-0.024105366319417953,
0.0466962605714798,
0.003241919446736574,
-0.02755500003695488,
0.009938730858266354,
0.03889251500368118,
-0.07252644002437592,
-0.0161123126745224,
-0.002646384295076132,
0.057045161724090576,
-0.07955191284418106,
-0.008734514005482197,
-0.0010333125246688724,
-0.017269201576709747,
0.027660172432661057,
0.0017747733509168029,
0.008429516106843948,
0.01531300786882639,
-0.014829217456281185,
0.0017353339353576303,
-0.021065901964902878,
-0.02677672915160656,
-0.018057990819215775,
0.0012370827607810497,
0.047074876725673676,
-0.024694327265024185,
-0.08792358636856079,
-0.06613200157880783,
-0.014734562486410141,
-0.014955423772335052,
0.014608357101678848,
0.03693632036447525,
-0.0604947954416275,
-0.044003862887620926,
-0.03066808357834816,
-0.03628425672650337,
-0.003607391146942973,
-0.021171074360609055,
-0.04063836485147476,
0.024925706908106804,
0.022506754845380783,
-0.016459379345178604,
0.03394944220781326,
0.016690757125616074,
0.007924691773951054,
0.04985141381621361,
0.06125203147530556,
0.0494307242333889,
-0.05136588588356972,
0.05342725291848183,
0.05675067752599716,
0.05683481693267822,
-0.06133616715669632,
0.0016748602502048016,
-0.06760440766811371,
-0.0007039934280328453,
0.04375144839286804,
-0.07311540096998215,
0.03161463141441345,
-0.014071980491280556,
-0.02265399694442749,
-0.03161463141441345,
0.0721057578921318,
-0.02036125212907791,
-0.0040596299804747105,
0.02564087323844433,
0.012263027019798756,
0.009244597516953945,
0.01144268736243248,
0.052333466708660126,
-0.035127367824316025,
-0.022317446768283844,
-0.04644384607672691,
-0.03615805134177208,
-0.026881901547312737,
-0.008277016691863537,
0.014892320148646832,
-0.02269606478512287,
-0.006599527783691883,
-0.02595638856291771,
0.05839135870337486,
0.007782709784805775,
0.03102566860616207,
-0.012199923396110535,
0.0335918590426445,
0.038429759442806244,
0.003757260972633958,
0.04884176328778267,
-0.07256851345300674,
0.013956291601061821,
0.015575936995446682,
0.044466618448495865,
-0.04892589896917343,
0.006231426727026701,
-0.03132014721632004,
-0.02009832300245762,
-0.02463122457265854,
0.0012955846032127738,
-0.02397916093468666,
0.009943989105522633,
0.024589156731963158,
0.026440178975462914,
-0.0016972091980278492,
0.022401584312319756,
-0.008066673763096333,
0.02183365635573864,
-0.07820571959018707,
0.004780056420713663,
0.05439483001828194,
0.01648041419684887,
0.013924740254878998,
-0.010764328762888908,
0.0056687574833631516,
0.015439213253557682,
0.008418998681008816,
0.06777267903089523,
-0.05990583077073097,
-0.022317446768283844,
0.015155250206589699,
-0.008918564766645432,
-0.04682246595621109,
0.01853126287460327,
0.039060790091753006,
0.07505056262016296,
-0.0012975565623492002,
0.003510107286274433,
-0.04463489353656769,
-0.013556639663875103,
-0.05145002156496048,
-0.018278850242495537,
0.004430360160768032,
0.030331533402204514,
0.042089737951755524,
-0.00011018384975614026,
-0.0024978292640298605,
0.02183365635573864,
0.04120629280805588,
0.0028685596771538258,
0.017647821456193924,
0.0027739049401134253,
0.03693632036447525,
-0.06428097933530807,
-0.007719606626778841,
0.020476941019296646,
0.024189503863453865,
-0.09566422551870346,
0.04846314340829849,
-0.052796222269535065,
0.041900426149368286,
0.030058087781071663,
0.06533269584178925,
-0.025661908090114594,
0.026608454063534737,
-0.030499808490276337,
0.06083134189248085,
0.0029290334787219763,
0.012620610184967518,
-0.03117290884256363,
-0.03382323682308197,
-0.02151814103126526,
-0.02256985940039158,
0.04896796867251396,
0.02256985940039158,
-0.014776631258428097,
0.0011726650409400463,
-0.03693632036447525,
0.04421420767903328,
0.023263992741703987,
0.02229641191661358,
0.0014277065638452768,
-0.03611598163843155,
0.028859129175543785,
-0.0006132827838882804,
-0.014440082013607025,
0.023137785494327545,
-0.010138557292521,
0.0014539995463564992,
-0.02906947396695614,
-0.033213239163160324,
0.05473138019442558,
-0.04513971880078316,
-0.016354208812117577,
0.042089737951755524,
-0.008650376461446285,
-0.02677672915160656,
0.0019246431766077876,
0.004262085538357496,
-0.040806639939546585,
0.007614435162395239,
0.02580914832651615,
-0.0472431518137455,
0.03390737250447273,
0.02049797587096691,
0.00031091400887817144,
-0.007782709784805775,
0.005758153740316629,
-0.022001931443810463,
-0.007724865339696407,
-0.03647356480360031,
-0.05321690812706947,
0.012904574163258076,
-0.0002974388771690428,
0.026650521904230118,
0.004698548000305891,
-0.0015604859218001366,
-0.021349865943193436,
0.08960633724927902,
-0.020035220310091972,
-0.02210710383951664,
0.009344510734081268,
-0.003912389278411865,
-0.0015525980852544308,
-0.06789888441562653,
-0.12368198484182358,
0.038198381662368774,
-0.022170206531882286,
-0.0193200521171093,
-0.021728483960032463,
0.07244230806827545,
-0.019351603463292122,
0.03533770889043808,
0.03516943380236626,
0.029300851747393608,
-0.03464357554912567,
-0.004277861211448908,
0.04215284064412117,
-0.03180393949151039,
-0.00418846495449543,
-0.004264714661985636,
0.015870418399572372,
-0.023495370522141457,
-0.0711381733417511,
-0.026923969388008118,
0.013199055567383766,
0.03969182074069977,
0.039754923433065414,
-0.05418448895215988,
0.03729390352964401,
-0.03807217627763748,
0.01379853393882513,
0.023411232978105545,
-0.03426495939493179,
-0.001993004698306322,
0.058012738823890686,
0.049683138728141785,
-0.005716084968298674,
-0.009402355179190636,
-0.03737804293632507,
0.004201611503958702,
0.04619143530726433,
0.007319954223930836,
-0.007162196561694145,
-0.012557507492601871,
-0.005384793970733881,
-0.009071064181625843,
0.011484756134450436,
0.035400811582803726,
-0.03024739772081375,
0.013987843878567219,
0.013146469369530678,
0.0161123126745224,
0.0007730124052613974,
0.10912621021270752,
0.035001158714294434,
0.05578310042619705,
0.010248987935483456,
-0.027996720746159554,
-0.011379583738744259,
0.03180393949151039,
-0.033486686646938324,
-0.04349903762340546,
-0.003757260972633958,
0.016322655603289604,
-0.04147974029183388,
0.01377750001847744,
-0.04120629280805588,
0.06457545608282089,
-0.02119210921227932,
-0.07214782387018204,
-0.01379853393882513,
0.04370938241481781,
-0.03397047519683838,
-0.014303358271718025,
-0.014208704233169556,
0.025598805397748947,
-0.033213239163160324,
0.005968497134745121,
0.0008814707980491221,
0.008392706513404846,
-0.044003862887620926,
0.011337514966726303,
0.06142030656337738,
0.04732729122042656,
0.031004633754491806,
0.004235792439430952,
0.09642146527767181,
0.0004851047124247998,
0.015944037586450577,
0.02059262990951538,
0.05931686982512474,
0.0461493656039238,
0.024000193923711777,
0.03405461460351944,
0.047537632286548615,
0.016133347526192665,
-0.011179757304489613,
-0.01803695596754551,
-0.015586454421281815,
0.03428599238395691,
-0.03706252574920654,
0.0031262303236871958,
-0.051702436059713364,
0.0854836031794548,
-0.011274412274360657,
-0.06810922920703888,
-0.01771092414855957,
0.05191277712583542,
0.031698767095804214,
-0.006546941585838795,
0.018194714561104774,
0.00529802730306983,
-0.004848417825996876,
0.05603551119565964,
-0.008308568969368935,
-0.016606619581580162,
0.01263112761080265,
0.03548495098948479,
-0.028354305773973465,
-0.058980319648981094,
-0.029826710000634193,
-0.004751134198158979,
0.009465457871556282,
0.0241684690117836,
0.09179390966892242,
-0.0011220511514693499,
0.030268430709838867,
0.02841740846633911,
-0.03388633951544762,
-0.01022795308381319,
0.014355944469571114,
0.02320089004933834,
-0.030037052929401398,
0.003631054889410734,
-0.047621771693229675,
0.06142030656337738,
0.037188731133937836,
0.004882598761469126,
-0.1028159111738205,
-0.03649459779262543,
-0.00913416687399149,
0.021065901964902878,
-0.007766934111714363,
-0.029826710000634193,
-0.0013363385805860162,
0.05363759398460388,
0.020256079733371735,
-0.05401621386408806,
0.01570214331150055,
-0.03075222112238407,
-0.006047375965863466,
0.00796676054596901,
0.0022822271566838026,
0.0032997638918459415,
0.03399151191115379,
0.027723275125026703,
0.004569712560623884,
0.019625049084424973,
-0.036452531814575195,
0.02421053871512413,
0.03744114562869072,
-0.014913355000317097,
0.0034864437766373158,
-0.003047351725399494,
0.10121729969978333,
0.02622983604669571,
0.03281358629465103,
0.03805113956332207,
-0.028774991631507874,
0.08666152507066727,
0.03171980008482933,
-0.06251408904790878,
0.06617406755685806,
-0.018057990819215775,
0.060578931123018265,
-0.035863567143678665,
-0.07391470670700073,
-0.008240207098424435,
-0.025661908090114594,
-0.06924508512020111,
0.022170206531882286,
0.05763412266969681,
0.005621430464088917,
0.03573736175894737,
-0.0450555793941021,
-0.041395604610443115,
-0.0710119679570198,
0.005821256432682276,
-0.0711381733417511,
0.06020031124353409,
-0.06920301169157028,
-0.028207065537571907,
-0.0472431518137455,
0.023916056379675865,
0.050776924937963486,
0.016049209982156754,
0.007514521945267916,
-0.017952818423509598,
0.0483369380235672,
-0.033444616943597794,
-0.03510633111000061,
-0.0012107897782698274,
0.00991243775933981,
-0.03254014253616333,
-0.03996526822447777,
-0.0036888993345201015,
-0.05553068593144417,
0.023032614961266518,
-0.006425994448363781,
0.029721537604928017,
0.01570214331150055,
-0.035674259066581726,
0.01054872665554285,
-0.015901969745755196,
0.016859032213687897,
-0.00951804406940937,
-0.04467696323990822,
-0.005295397713780403,
0.0007467194809578359,
0.028164995834231377,
-0.009596922434866428,
-0.014103532768785954,
0.007614435162395239,
0.05683481693267822,
0.011484756134450436,
-0.01683799736201763,
-0.05498379468917847,
-0.002234899904578924,
-0.008340120315551758,
0.01657506823539734,
0.0006796724628657103,
0.024189503863453865,
0.014482150785624981,
-0.00853468757122755,
0.006536424625664949,
0.03235083073377609,
-0.00138169398996979,
0.010406745597720146,
0.007908916100859642,
0.0024702216032892466,
0.06764647364616394,
0.023011580109596252,
-0.001305444398894906,
0.03098359890282154,
-0.02705017477273941,
0.003964975010603666,
0.0416480153799057,
0.10946276038885117,
0.023579508066177368,
-0.024589156731963158,
-0.010096488520503044,
0.05044037476181984,
-0.02608259581029415,
0.03428599238395691,
0.002551729790866375,
0.007388315629214048,
0.0024189504329115152,
-0.004022819455713034,
-0.04120629280805588,
0.03834562376141548,
0.07193747907876968,
-0.010790621861815453,
-0.05418448895215988,
0.005384793970733881,
0.02397916093468666,
-0.025977423414587975,
-0.015134215354919434,
-0.014050946570932865,
0.04421420767903328,
-0.03986009582877159,
-0.03996526822447777,
0.04387765750288963,
-0.0024807387962937355,
-0.00016244106518570334,
0.019572462886571884,
0.051786571741104126,
0.008934340439736843,
-0.02778637781739235,
0.05094520002603531,
-0.0076775383204221725,
-0.026292938739061356,
0.0016853773267939687,
0.06470166146755219,
-0.09684215486049652,
-0.006362891290336847,
0.016301622614264488,
-0.0344121977686882,
0.016585586592555046,
0.017795061692595482,
0.06520649045705795,
-0.014440082013607025,
0.053847938776016235,
-0.025325357913970947,
0.017826613038778305,
0.023873988538980484,
-0.044929374009370804,
-0.019351603463292122,
-0.02315882034599781,
0.003207738511264324,
-0.04530799388885498,
0.03756735101342201,
0.026292938739061356,
0.013461984694004059,
-0.0100701954215765,
0.02210710383951664,
0.0026713625993579626,
-0.07303126901388168,
-0.03548495098948479,
0.03922906517982483,
0.0411011204123497,
0.048715557903051376,
-0.008787100203335285,
0.04261559620499611,
0.03626322001218796,
0.023558473214507103,
0.06343960016965866,
-0.018247298896312714,
0.01694316975772381,
0.014303358271718025,
0.058601703494787216,
0.0461493656039238,
-0.0360528789460659,
-0.01634369045495987,
-0.014734562486410141,
0.01794230192899704,
-0.05843342840671539,
-0.04417213797569275,
-0.008450550958514214,
-0.010948379524052143,
-0.034349095076322556,
0.016869548708200455,
-0.05578310042619705,
-0.031698767095804214,
0.0002999038260895759,
-0.04063836485147476,
0.02490467205643654,
-0.02829120308160782,
0.004585488699376583,
-0.015029043890535831,
0.008387447334825993,
0.00897115096449852,
-0.030647048726677895,
-0.027386724948883057,
0.04741142690181732,
-0.014860768802464008,
-0.06970784068107605,
0.038429759442806244,
-0.07000231742858887,
0.011326998472213745,
-0.01379853393882513,
0.05237553268671036,
-0.03161463141441345,
0.03803010657429695,
0.013472502119839191,
-0.005852808244526386,
0.08733462542295456,
0.058475494384765625,
-0.015355076640844345,
0.02705017477273941,
-0.007372539956122637,
-0.0005058104288764298,
0.006920301355421543,
0.02233848161995411,
0.06693130731582642,
-0.06983404606580734,
-0.005789705086499453,
0.03651563450694084,
-0.03990216553211212,
-0.05599344149231911,
-0.007104352116584778,
-0.023179855197668076,
-0.05599344149231911,
0.0004699862911365926,
-0.040890779346227646,
-0.027071209624409676,
0.05708722770214081,
-0.025893285870552063,
0.014082497917115688,
-0.029132576659321785,
0.046065229922533035,
-0.018836261704564095,
-0.036221154034137726,
-0.016543516889214516,
0.0327715203166008,
0.048084527254104614,
0.02261192724108696,
-0.07231610268354416,
0.006489097140729427,
-0.0011411135783419013,
-0.03725183755159378,
0.02782844565808773,
-0.02997395023703575,
-0.016417311504483223,
0.028164995834231377,
-0.023179855197668076,
0.02934291958808899,
-0.05944307520985603,
0.030689118430018425,
-0.07050714641809464,
0.002750241430476308,
-0.026839831843972206,
-0.058938249945640564,
-0.020613664761185646,
-0.06495407968759537,
0.047074876725673676,
0.029132576659321785,
0.0002890579926315695,
0.007950984872877598,
0.010575019754469395,
0.03826148435473442,
-0.04589695483446121,
-0.003888725768774748,
-0.011653030291199684,
-0.023095717653632164,
0.026755694299936295,
0.0352325364947319,
-0.023369163274765015,
-0.03830355405807495,
0.06916094571352005,
0.0016051839338615537,
-0.08115052431821823,
0.016901101917028427,
-0.013188538141548634,
-0.021034350618720055,
0.053932074457407,
-0.039796993136405945,
-0.004482945892959833,
0.023221923038363457,
-0.03363392874598503,
0.026398111134767532,
0.008482102304697037,
0.025893285870552063,
-0.022212274372577667,
0.02705017477273941,
0.01183182280510664,
-0.018015921115875244,
0.036368392407894135,
0.011579410172998905,
0.02055056020617485,
0.018426092341542244,
-0.05136588588356972,
-0.004014931619167328,
-0.10424624383449554,
-0.008308568969368935,
-0.03178290277719498,
0.013577673584222794,
0.019940564408898354,
-0.047537632286548615,
0.035085298120975494,
-0.003725709393620491,
-0.012662678956985474,
0.010122781619429588,
-0.06726785749197006,
0.04530799388885498,
0.03245600312948227,
0.013220089487731457,
-0.03584253415465355,
0.022001931443810463,
-0.0035022194497287273,
0.01648041419684887,
-0.03293979540467262,
0.03964975103735924,
0.028753958642482758,
-0.07130645215511322,
0.01698523759841919,
0.037967003881931305,
0.037967003881931305,
-0.06508028507232666,
-0.03020532801747322,
0.0120842345058918,
0.015639040619134903,
0.017016790807247162,
0.010927345603704453,
-0.030520843341946602,
0.01418766938149929
] |
711,261
|
yt_dlp
|
validate_options
| null |
def validate_options(opts):
def validate(cndn, name, value=None, msg=None):
if cndn:
return True
raise ValueError((msg or 'invalid {name} "{value}" given').format(name=name, value=value))
def validate_in(name, value, items, msg=None):
return validate(value is None or value in items, name, value, msg)
def validate_regex(name, value, regex):
return validate(value is None or re.match(regex, value), name, value)
def validate_positive(name, value, strict=False):
return validate(value is None or value > 0 or (not strict and value == 0),
name, value, '{name} "{value}" must be positive' + ('' if strict else ' or 0'))
def validate_minmax(min_val, max_val, min_name, max_name=None):
if max_val is None or min_val is None or max_val >= min_val:
return
if not max_name:
min_name, max_name = f'min {min_name}', f'max {min_name}'
raise ValueError(f'{max_name} "{max_val}" must be must be greater than or equal to {min_name} "{min_val}"')
# Usernames and passwords
validate(sum(map(bool, (opts.usenetrc, opts.netrc_cmd, opts.username))) <= 1, '.netrc',
msg='{name}, netrc command and username/password are mutually exclusive options')
validate(opts.password is None or opts.username is not None, 'account username', msg='{name} missing')
validate(opts.ap_password is None or opts.ap_username is not None,
'TV Provider account username', msg='{name} missing')
validate_in('TV Provider', opts.ap_mso, MSO_INFO,
'Unsupported {name} "{value}", use --ap-list-mso to get a list of supported TV Providers')
# Numbers
validate_positive('autonumber start', opts.autonumber_start)
validate_positive('autonumber size', opts.autonumber_size, True)
validate_positive('concurrent fragments', opts.concurrent_fragment_downloads, True)
validate_positive('playlist start', opts.playliststart, True)
if opts.playlistend != -1:
validate_minmax(opts.playliststart, opts.playlistend, 'playlist start', 'playlist end')
# Time ranges
validate_positive('subtitles sleep interval', opts.sleep_interval_subtitles)
validate_positive('requests sleep interval', opts.sleep_interval_requests)
validate_positive('sleep interval', opts.sleep_interval)
validate_positive('max sleep interval', opts.max_sleep_interval)
if opts.sleep_interval is None:
validate(
opts.max_sleep_interval is None, 'min sleep interval',
msg='{name} must be specified; use --min-sleep-interval')
elif opts.max_sleep_interval is None:
opts.max_sleep_interval = opts.sleep_interval
else:
validate_minmax(opts.sleep_interval, opts.max_sleep_interval, 'sleep interval')
if opts.wait_for_video is not None:
min_wait, max_wait, *_ = map(parse_duration, opts.wait_for_video.split('-', 1) + [None])
validate(min_wait is not None and not (max_wait is None and '-' in opts.wait_for_video),
'time range to wait for video', opts.wait_for_video)
validate_minmax(min_wait, max_wait, 'time range to wait for video')
opts.wait_for_video = (min_wait, max_wait)
# Format sort
for f in opts.format_sort:
validate_regex('format sorting', f, FormatSorter.regex)
# Postprocessor formats
validate_regex('merge output format', opts.merge_output_format,
r'({0})(/({0}))*'.format('|'.join(map(re.escape, FFmpegMergerPP.SUPPORTED_EXTS))))
validate_regex('audio format', opts.audioformat, FFmpegExtractAudioPP.FORMAT_RE)
validate_in('subtitle format', opts.convertsubtitles, FFmpegSubtitlesConvertorPP.SUPPORTED_EXTS)
validate_regex('thumbnail format', opts.convertthumbnails, FFmpegThumbnailsConvertorPP.FORMAT_RE)
validate_regex('recode video format', opts.recodevideo, FFmpegVideoConvertorPP.FORMAT_RE)
validate_regex('remux video format', opts.remuxvideo, FFmpegVideoRemuxerPP.FORMAT_RE)
if opts.audioquality:
opts.audioquality = opts.audioquality.strip('k').strip('K')
# int_or_none prevents inf, nan
validate_positive('audio quality', int_or_none(float_or_none(opts.audioquality), default=0))
# Retries
def parse_retries(name, value):
if value is None:
return None
elif value in ('inf', 'infinite'):
return float('inf')
try:
return int(value)
except (TypeError, ValueError):
validate(False, f'{name} retry count', value)
opts.retries = parse_retries('download', opts.retries)
opts.fragment_retries = parse_retries('fragment', opts.fragment_retries)
opts.extractor_retries = parse_retries('extractor', opts.extractor_retries)
opts.file_access_retries = parse_retries('file access', opts.file_access_retries)
# Retry sleep function
def parse_sleep_func(expr):
NUMBER_RE = r'\d+(?:\.\d+)?'
op, start, limit, step, *_ = tuple(re.fullmatch(
rf'(?:(linear|exp)=)?({NUMBER_RE})(?::({NUMBER_RE})?)?(?::({NUMBER_RE}))?',
expr.strip()).groups()) + (None, None)
if op == 'exp':
return lambda n: min(float(start) * (float(step or 2) ** n), float(limit or 'inf'))
else:
default_step = start if op or limit else 0
return lambda n: min(float(start) + float(step or default_step) * n, float(limit or 'inf'))
for key, expr in opts.retry_sleep.items():
if not expr:
del opts.retry_sleep[key]
continue
try:
opts.retry_sleep[key] = parse_sleep_func(expr)
except AttributeError:
raise ValueError(f'invalid {key} retry sleep expression {expr!r}')
# Bytes
def validate_bytes(name, value):
if value is None:
return None
numeric_limit = parse_bytes(value)
validate(numeric_limit is not None, 'rate limit', value)
return numeric_limit
opts.ratelimit = validate_bytes('rate limit', opts.ratelimit)
opts.throttledratelimit = validate_bytes('throttled rate limit', opts.throttledratelimit)
opts.min_filesize = validate_bytes('min filesize', opts.min_filesize)
opts.max_filesize = validate_bytes('max filesize', opts.max_filesize)
opts.buffersize = validate_bytes('buffer size', opts.buffersize)
opts.http_chunk_size = validate_bytes('http chunk size', opts.http_chunk_size)
# Output templates
def validate_outtmpl(tmpl, msg):
err = YoutubeDL.validate_outtmpl(tmpl)
if err:
raise ValueError(f'invalid {msg} "{tmpl}": {err}')
for k, tmpl in opts.outtmpl.items():
validate_outtmpl(tmpl, f'{k} output template')
for type_, tmpl_list in opts.forceprint.items():
for tmpl in tmpl_list:
validate_outtmpl(tmpl, f'{type_} print template')
for type_, tmpl_list in opts.print_to_file.items():
for tmpl, file in tmpl_list:
validate_outtmpl(tmpl, f'{type_} print to file template')
validate_outtmpl(file, f'{type_} print to file filename')
validate_outtmpl(opts.sponsorblock_chapter_title, 'SponsorBlock chapter title')
for k, tmpl in opts.progress_template.items():
k = f'{k[:-6]} console title' if '-title' in k else f'{k} progress'
validate_outtmpl(tmpl, f'{k} template')
outtmpl_default = opts.outtmpl.get('default')
if outtmpl_default == '':
opts.skip_download = None
del opts.outtmpl['default']
def parse_chapters(name, value, advanced=False):
parse_timestamp = lambda x: float('inf') if x in ('inf', 'infinite') else parse_duration(x)
TIMESTAMP_RE = r'''(?x)(?:
(?P<start_sign>-?)(?P<start>[^-]+)
)?\s*-\s*(?:
(?P<end_sign>-?)(?P<end>[^-]+)
)?'''
chapters, ranges, from_url = [], [], False
for regex in value or []:
if advanced and regex == '*from-url':
from_url = True
continue
elif not regex.startswith('*'):
try:
chapters.append(re.compile(regex
|
(opts)
|
[
0.021553637459874153,
0.018276672810316086,
-0.08468304574489594,
-0.018805941566824913,
-0.02790486440062523,
0.006711581721901894,
-0.008265606127679348,
-0.0062780315056443214,
-0.056170083582401276,
-0.034458793699741364,
0.02833278477191925,
0.08517853170633316,
0.025945443660020828,
0.04391806945204735,
0.01523619145154953,
0.047746822237968445,
0.045832447707653046,
0.01838928461074829,
0.02855800651013851,
-0.0020889234729111195,
-0.007274634204804897,
-0.007353461347520351,
-0.026283275336027145,
0.07526881247758865,
-0.021621203050017357,
0.0448865182697773,
0.03279215842485428,
0.0030855259392410517,
-0.09801612049341202,
0.02927871234714985,
0.013220464810729027,
0.011373654007911682,
-0.0007516746409237385,
0.07017882168292999,
-0.05495389178395271,
-0.025540046393871307,
-0.00829938892275095,
0.005028055980801582,
-0.13134880363941193,
0.02364819124341011,
-0.03864790126681328,
-0.017116785049438477,
0.0042482283897697926,
-0.022803612053394318,
-0.030967868864536285,
0.007606834638863802,
-0.037994761019945145,
0.06306184083223343,
-0.04315231740474701,
-0.05607999488711357,
0.04245413467288017,
-0.01700417511165142,
0.0006010581855662167,
0.004864770919084549,
0.004048345144838095,
0.09297117590904236,
-0.016080770641565323,
0.10666460543870926,
0.048737794160842896,
-0.03986409306526184,
-0.02907601371407509,
0.0012119697639718652,
-0.009036987088620663,
0.04434598982334137,
-0.016080770641565323,
-0.0012971314135938883,
-0.02362566813826561,
-0.06963828951120377,
-0.038422681391239166,
-0.008203670382499695,
0.02675623819231987,
0.0055573247373104095,
-0.035427242517471313,
-0.021621203050017357,
0.017702359706163406,
-0.03637316823005676,
-0.051260270178318024,
0.035427242517471313,
-0.05378274247050285,
0.02364819124341011,
0.04060732200741768,
0.021564897149801254,
0.02835530787706375,
-0.04923328012228012,
0.08729560673236847,
-0.0012091544922441244,
0.01953791081905365,
-0.01720687374472618,
0.014087565243244171,
0.024368897080421448,
-0.04128298535943031,
-0.05346743389964104,
0.028850793838500977,
0.0074717020615935326,
-0.030427338555455208,
0.013929910957813263,
-0.010911950841546059,
-0.05391787365078926,
-0.09621435403823853,
-0.059908751398324966,
-0.04222891107201576,
-0.004999903030693531,
-0.028017476201057434,
-0.02131715416908264,
0.03416600450873375,
-0.07914261519908905,
-0.08225066214799881,
0.002360596088692546,
0.02326531521975994,
-0.03105795755982399,
-0.012646151706576347,
-0.05698087811470032,
-0.004943598061800003,
-0.01716182939708233,
0.025945443660020828,
-0.003980778623372316,
-0.02990933135151863,
-0.03108047880232334,
-0.03087778016924858,
0.01007863413542509,
0.024256287142634392,
0.018321717157959938,
-0.033693041652441025,
0.020776625722646713,
0.01388486661016941,
-0.020799146965146065,
-0.018411805853247643,
0.04770177975296974,
0.04648558795452118,
0.014335308223962784,
0.015483934432268143,
0.005067469552159309,
-0.00007038152398308739,
-0.006311814766377211,
-0.010388312861323357,
-0.023197749629616737,
0.007528007496148348,
0.06495369970798492,
-0.03225162625312805,
-0.027657121419906616,
0.004160955548286438,
0.0224883034825325,
0.0015498010907322168,
-0.05815202742815018,
0.02170003019273281,
-0.03177866339683533,
0.01953791081905365,
-0.07085448503494263,
-0.02111445553600788,
0.03306242451071739,
0.02693641558289528,
-0.019977090880274773,
-0.028242696076631546,
-0.008085428737103939,
0.055224157869815826,
-0.028648093342781067,
-0.03382817283272743,
-0.032319195568561554,
-0.03281468152999878,
-0.017916319891810417,
0.010624794289469719,
-0.06630502641201019,
-0.015720415860414505,
0.021182022988796234,
0.03551733121275902,
0.02263469621539116,
0.03385069593787193,
0.022184254601597786,
0.04004427045583725,
0.07576429843902588,
0.06680051237344742,
0.06797165423631668,
-0.029143579304218292,
-0.022916223853826523,
-0.007634987588971853,
0.037589363753795624,
0.031553443521261215,
-0.0605393685400486,
-0.023558102548122406,
-0.029976896941661835,
-0.047161247581243515,
0.02754451148211956,
0.006351228337734938,
-0.018040191382169724,
0.0488729290664196,
0.012364625930786133,
0.010512184351682663,
0.04587749019265175,
-0.017454616725444794,
-0.020359966903924942,
-0.020607709884643555,
-0.04729638248682022,
0.041328027844429016,
0.00445092748850584,
-0.018805941566824913,
-0.016869042068719864,
-0.0073759835213422775,
0.02380584552884102,
0.08265605568885803,
-0.0390532985329628,
0.007055043708533049,
-0.010956995189189911,
0.026846326887607574,
-0.08927755057811737,
0.0041694012470543385,
-0.03200388327240944,
-0.04702611640095711,
-0.026058053597807884,
-0.01493214350193739,
0.005895155947655439,
-0.04626036435365677,
0.0024929135106503963,
0.006514513399451971,
0.007567421067506075,
-0.00772507581859827,
-0.008575284853577614,
0.07792641967535019,
0.022341910749673843,
-0.027792254462838173,
0.001478011952713132,
0.06400776654481888,
-0.014324046671390533,
0.000764343305490911,
0.0054784975945949554,
0.08450286835432053,
0.017128046602010727,
0.04747655987739563,
0.023400448262691498,
0.0038737989962100983,
0.02599048800766468,
0.04864770546555519,
-0.021587420254945755,
0.01838928461074829,
0.05589981749653816,
-0.010833123698830605,
0.0156528502702713,
-0.01934647187590599,
0.017083002254366875,
0.009740802459418774,
-0.016305990517139435,
-0.0031699836254119873,
-0.0024971363600343466,
-0.03599029406905174,
0.006711581721901894,
-0.0025252888444811106,
-0.00017868108989205211,
0.012972721830010414,
0.009386079385876656,
-0.007629356812685728,
0.023603146895766258,
0.025449957698583603,
-0.0019354918040335178,
-0.037994761019945145,
-0.016260946169495583,
-0.056170083582401276,
0.02344549261033535,
-0.01698165386915207,
-0.05193593353033066,
0.054233185946941376,
-0.017229396849870682,
0.05684574693441391,
-0.028670616447925568,
-0.08040384948253632,
0.024886906147003174,
-0.01799514703452587,
0.005706533789634705,
0.031125523149967194,
-0.05526920035481453,
-0.07643996179103851,
0.011993011459708214,
0.005653043743222952,
0.030337249860167503,
-0.05743132159113884,
0.0273643359541893,
-0.03418852761387825,
0.02265721932053566,
0.03551733121275902,
-0.024931950494647026,
0.029841763898730278,
-0.00819803960621357,
0.013727211393415928,
0.022105427458882332,
0.002789923455566168,
0.017128046602010727,
0.03490923345088959,
0.016272207722067833,
-0.01679021492600441,
0.016700128093361855,
-0.02306261658668518,
0.06328706443309784,
-0.03671099990606308,
-0.05162062123417854,
0.09621435403823853,
-0.039571307599544525,
0.022747308015823364,
0.03986409306526184,
0.02833278477191925,
-0.08125969022512436,
-0.0031925057992339134,
-0.034075915813446045,
-0.003927289042621851,
-0.017060481011867523,
0.05918804183602333,
0.028828270733356476,
-0.038805555552244186,
0.023130182176828384,
0.01876089721918106,
-0.05378274247050285,
0.09234055876731873,
-0.05216115340590477,
-0.008541501127183437,
-0.0107261436060071,
0.02990933135151863,
0.0013175420463085175,
0.07337696105241776,
0.004448112100362778,
0.035089410841464996,
0.03418852761387825,
0.01584428735077381,
0.0107430350035429,
-0.04999903216958046,
0.059908751398324966,
0.04707116261124611,
0.02130589447915554,
0.018997380509972572,
-0.04058479890227318,
0.021384721621870995,
0.03434618189930916,
-0.022781090810894966,
-0.046800896525382996,
-0.06234113499522209,
0.02950393408536911,
0.001817250857129693,
0.043692849576473236,
-0.029413845390081406,
0.02049509808421135,
-0.02087797410786152,
0.0012506796047091484,
0.06373750418424606,
-0.007269003428518772,
0.07351209223270416,
0.02227434329688549,
-0.013794777914881706,
0.019808175042271614,
0.05130531266331673,
-0.059863705188035965,
0.050314340740442276,
0.020855452865362167,
0.029188623651862144,
-0.018434327095746994,
0.005453160032629967,
0.0410802848637104,
-0.02011222392320633,
0.06936802715063095,
0.03285972401499748,
-0.022375693544745445,
0.04330997169017792,
-0.0645482987165451,
-0.0033220078330487013,
-0.0507647842168808,
-0.03617047145962715,
0.02287117950618267,
-0.039954181760549545,
0.03891816735267639,
0.009847782552242279,
-0.001918600290082395,
0.047566648572683334,
-0.051890887320041656,
0.08526861667633057,
0.0013731435174122453,
0.008564023301005363,
-0.003938549663871527,
0.0293237566947937,
-0.08747578412294388,
-0.009481798857450485,
0.014098825864493847,
-0.015191147103905678,
0.025697700679302216,
-0.025247259065508842,
0.006171051878482103,
0.0253598690032959,
0.024864383041858673,
-0.019031163305044174,
0.0070719351060688496,
-0.010619163513183594,
-0.041102807968854904,
-0.006812931038439274,
0.005211047828197479,
0.02774721011519432,
0.0023957870434969664,
0.010602272115647793,
0.06139520928263664,
0.048512574285268784,
0.014605573378503323,
-0.0021860499400645494,
0.016914086416363716,
-0.024278810247778893,
0.03337773308157921,
-0.027837298810482025,
-0.038422681391239166,
-0.00014287448721006513,
-0.03574255108833313,
-0.00791088305413723,
0.04941345751285553,
0.005439084023237228,
-0.0032544415444135666,
0.11999768018722534,
0.026508495211601257,
-0.005225124303251505,
0.0332200787961483,
-0.024909427389502525,
-0.03749927505850792,
-0.06797165423631668,
0.024549074470996857,
-0.0820704847574234,
0.0029475779738277197,
-0.1036015972495079,
0.009740802459418774,
0.004647995810955763,
-0.012195710092782974,
0.025337347760796547,
-0.03360295295715332,
0.03358042985200882,
0.04281448572874069,
0.04263430833816528,
0.003355790860950947,
0.01620464213192463,
-0.007787011563777924,
-0.04860266298055649,
-0.0547286719083786,
0.002022764878347516,
0.05562955513596535,
-0.02596796676516533,
-0.06756626069545746,
0.03736414015293121,
-0.00009862210572464392,
-0.0351794995367527,
-0.004034268669784069,
0.0036626544315367937,
-0.011621396988630295,
0.00887370202690363,
-0.003631686558946967,
0.017916319891810417,
0.004926706664264202,
0.08936764299869537,
-0.023670712485909462,
-0.02542743645608425,
-0.008676634170114994,
-0.08229570090770721,
-0.005593923386186361,
-0.07243102788925171,
0.011598874814808369,
0.012634890154004097,
-0.04141811653971672,
-0.03353538736701012,
0.022375693544745445,
-0.011170955374836922,
0.06364741921424866,
-0.059503354132175446,
-0.07864712923765182,
0.04783691093325615,
0.007088826969265938,
0.048377443104982376,
0.04436850920319557,
0.000946631480474025,
0.09558373689651489,
0.05130531266331673,
0.008220561780035496,
-0.0547286719083786,
0.04729638248682022,
-0.06522396206855774,
-0.013299291953444481,
0.000005146648618392646,
0.025652656331658363,
0.04707116261124611,
-0.00011093886860180646,
0.03479662537574768,
0.0022226483561098576,
0.013400641269981861,
-0.02225182205438614,
0.044458597898483276,
-0.0546385832130909,
0.041328027844429016,
0.06720590591430664,
-0.017848754301667213,
-0.04905310645699501,
-0.01377225574105978,
-0.023558102548122406,
-0.03932356461882591,
-0.03279215842485428,
-0.057161055505275726,
-0.026666151359677315,
0.013963693752884865,
0.013817300088703632,
0.009932240471243858,
-0.030021941289305687,
-0.0013140230439603329,
0.018817203119397163,
0.04671080783009529,
-0.056170083582401276,
0.04806213453412056,
0.02502203732728958,
-0.004293272737413645,
-0.04531443864107132,
0.049908943474292755,
0.01992078498005867,
-0.03576507419347763,
0.014639356173574924,
-0.03853528946638107,
-0.0055460636503994465,
-0.017882537096738815,
0.04139559343457222,
0.025449957698583603,
0.012094360776245594,
-0.00018193623691331595,
0.04026949033141136,
-0.005633336957544088,
0.023152705281972885,
0.02891835942864418,
-0.040134359151124954,
-0.0011120280250906944,
0.025832833722233772,
0.03376060724258423,
-0.02263469621539116,
0.01173400692641735,
0.04430094361305237,
-0.03103543445467949,
-0.010500922799110413,
0.007055043708533049,
0.0040033007971942425,
0.011458111926913261,
0.011655179783701897,
0.04315231740474701,
-0.016835259273648262,
0.00394981075078249,
-0.014999710023403168,
-0.0547286719083786,
-0.004740899428725243,
-0.03666595742106438,
-0.013265509158372879,
0.00454383110627532,
0.0409676767885685,
0.004290457349270582,
-0.03612542524933815,
-0.023152705281972885,
0.026688672602176666,
0.03923347592353821,
0.06531405448913574,
0.002646345179527998,
-0.02362566813826561,
0.00536307180300355,
0.008057276718318462,
0.036238037049770355,
-0.01834424026310444,
-0.0566205270588398,
-0.03306242451071739,
0.028940880671143532,
-0.01602446474134922,
0.07508863508701324,
-0.02265721932053566,
0.0016244055004790425,
-0.05846733599901199,
-0.07396253198385239,
-0.08612445741891861,
-0.03184622898697853,
-0.026328319683670998,
0.007094457279890776,
0.0003761892148759216,
-0.00926220789551735,
0.01600194163620472,
0.0031559073831886053,
-0.010089894756674767,
-0.012477235868573189,
-0.04085506498813629,
-0.06797165423631668,
-0.05288185924291611,
-0.004397437442094088,
0.026621107012033463,
0.008141734637320042,
-0.0007509708520956337,
0.047791868448257446,
-0.009870304726064205,
0.005503834690898657,
-0.06999864429235458,
0.002595670521259308,
0.015697894617915154,
0.05801689624786377,
-0.005467236507683992,
0.014290263876318932,
0.042499177157878876,
-0.018119018524885178,
0.06707077473402023,
-0.003989224787801504,
-0.026260752230882645,
-0.006193573586642742,
0.05004407465457916,
0.007584312465041876,
0.003586642211303115,
0.05297194793820381,
0.006430055946111679,
-0.022555869072675705,
0.03218406066298485,
0.014324046671390533,
-0.013040288351476192,
0.017319483682513237,
0.04164333641529083,
-0.01658751629292965,
0.0018862247234210372,
0.0036542084999382496,
-0.013242986984550953,
0.0026294535491615534,
-0.0003976555890403688,
-0.002584409434348345,
-0.03083273582160473,
-0.030247163027524948,
-0.01679021492600441,
-0.05044947564601898,
0.06216095760464668,
0.024886906147003174,
-0.032161541283130646,
-0.03414348512887955,
0.08261101692914963,
-0.004659256897866726,
0.02596796676516533,
-0.08139482140541077,
0.01878342032432556,
-0.05229628458619118,
-0.007539268583059311,
-0.05396291986107826,
-0.04319736361503601,
0.017353268340229988,
-0.03227414935827255,
0.030337249860167503,
0.027679644525051117,
-0.05103504657745361,
-0.026711193844676018,
0.04038210213184357,
-0.038400158286094666,
0.01640734076499939,
-0.009329774416983128,
0.04565227031707764,
-0.037386663258075714,
-0.020044656470417976,
0.009065140038728714,
-0.00008683319902047515,
0.034684013575315475,
-0.027206679806113243,
-0.006807300727814436,
0.040337055921554565,
0.036846134811639786,
0.02128337137401104,
0.029008448123931885,
-0.024661684408783913,
-0.025922922417521477,
-0.044458597898483276,
0.051665667444467545,
0.0527917705476284,
0.040517233312129974,
0.045990101993083954,
-0.018715854734182358,
-0.007730706129223108,
-0.015517717227339745,
0.04743151366710663,
0.004769051913172007,
-0.02542743645608425,
0.008597806096076965,
0.0007277449476532638,
-0.014402874745428562,
0.0031925057992339134,
0.014943404123187065,
0.02362566813826561,
-0.05544937774538994,
0.025630135089159012,
0.05680070072412491,
0.00907640065997839,
0.016170857474207878,
-0.054188139736652374,
-0.026440929621458054,
-0.005782545544207096,
-0.004915445577353239,
0.03355791047215462,
-0.006035919301211834,
-0.02405358850955963,
-0.018254151567816734,
0.0006506771314889193,
-0.008034754544496536,
0.025044560432434082,
0.003234734758734703,
-0.008806135505437851,
-0.04450364410877228,
-0.01618211902678013,
0.052611593157052994,
-0.0702689066529274,
0.022589653730392456,
-0.01600194163620472,
-0.035810116678476334,
-0.03220658376812935,
0.012556063011288643,
0.05035938695073128,
-0.03576507419347763,
0.0253823921084404,
-0.051485490053892136,
0.0006749588064849377,
0.012837589718401432,
-0.006615862715989351,
-0.0371839664876461,
-0.029233667999505997,
-0.020281139761209488,
0.03599029406905174,
-0.02092301845550537,
0.026283275336027145,
0.04394059255719185,
0.028377829119563103,
0.004039899446070194,
-0.053242214024066925,
-0.00899194274097681,
0.008057276718318462,
0.002354965778067708,
0.01564158871769905,
0.004352393094450235,
-0.016846520826220512,
0.008721677586436272,
0.011508786119520664,
0.0185469388961792,
-0.01818658411502838,
0.013817300088703632,
-0.07535890489816666,
0.001521648489870131,
0.07716067135334015,
-0.013738472945988178,
-0.0026013010647147894,
0.03984156996011734,
-0.02907601371407509,
0.019627997651696205,
0.0022578390780836344,
-0.04114785045385361,
0.007133870851248503,
0.010709252208471298,
0.010191244073212147,
0.032702069729566574,
-0.022015338763594627,
0.013017766177654266,
-0.03168857470154762,
-0.0312831774353981,
-0.01698165386915207,
0.0302922073751688,
0.015574023127555847,
-0.012556063011288643,
0.00918901152908802,
-0.035810116678476334,
0.007539268583059311,
-0.07878226041793823,
-0.06824192404747009,
0.05486380308866501,
0.008732939139008522,
0.02032618224620819,
-0.011947967112064362,
0.011086497455835342,
-0.03891816735267639,
-0.03745422884821892,
-0.013986215926706791,
0.019571693614125252,
0.04981885477900505,
0.04666576161980629,
-0.009402970783412457,
-0.007511116098612547,
-0.0022775460965931416,
0.021936511620879173
] |
711,266
|
celery.app.base
|
Celery
|
Celery application.
Arguments:
main (str): Name of the main module if running as `__main__`.
This is used as the prefix for auto-generated task names.
Keyword Arguments:
broker (str): URL of the default broker used.
backend (Union[str, Type[celery.backends.base.Backend]]):
The result store backend class, or the name of the backend
class to use.
Default is the value of the :setting:`result_backend` setting.
autofinalize (bool): If set to False a :exc:`RuntimeError`
will be raised if the task registry or tasks are used before
the app is finalized.
set_as_current (bool): Make this the global current app.
include (List[str]): List of modules every worker should import.
amqp (Union[str, Type[AMQP]]): AMQP object or class name.
events (Union[str, Type[celery.app.events.Events]]): Events object or
class name.
log (Union[str, Type[Logging]]): Log object or class name.
control (Union[str, Type[celery.app.control.Control]]): Control object
or class name.
tasks (Union[str, Type[TaskRegistry]]): A task registry, or the name of
a registry class.
fixups (List[str]): List of fix-up plug-ins (e.g., see
:mod:`celery.fixups.django`).
config_source (Union[str, class]): Take configuration from a class,
or object. Attributes may include any settings described in
the documentation.
task_cls (Union[str, Type[celery.app.task.Task]]): base task class to
use. See :ref:`this section <custom-task-cls-app-wide>` for usage.
|
class Celery:
"""Celery application.
Arguments:
main (str): Name of the main module if running as `__main__`.
This is used as the prefix for auto-generated task names.
Keyword Arguments:
broker (str): URL of the default broker used.
backend (Union[str, Type[celery.backends.base.Backend]]):
The result store backend class, or the name of the backend
class to use.
Default is the value of the :setting:`result_backend` setting.
autofinalize (bool): If set to False a :exc:`RuntimeError`
will be raised if the task registry or tasks are used before
the app is finalized.
set_as_current (bool): Make this the global current app.
include (List[str]): List of modules every worker should import.
amqp (Union[str, Type[AMQP]]): AMQP object or class name.
events (Union[str, Type[celery.app.events.Events]]): Events object or
class name.
log (Union[str, Type[Logging]]): Log object or class name.
control (Union[str, Type[celery.app.control.Control]]): Control object
or class name.
tasks (Union[str, Type[TaskRegistry]]): A task registry, or the name of
a registry class.
fixups (List[str]): List of fix-up plug-ins (e.g., see
:mod:`celery.fixups.django`).
config_source (Union[str, class]): Take configuration from a class,
or object. Attributes may include any settings described in
the documentation.
task_cls (Union[str, Type[celery.app.task.Task]]): base task class to
use. See :ref:`this section <custom-task-cls-app-wide>` for usage.
"""
#: This is deprecated, use :meth:`reduce_keys` instead
Pickler = AppPickler
SYSTEM = platforms.SYSTEM
IS_macOS, IS_WINDOWS = platforms.IS_macOS, platforms.IS_WINDOWS
#: Name of the `__main__` module. Required for standalone scripts.
#:
#: If set this will be used instead of `__main__` when automatically
#: generating task names.
main = None
#: Custom options for command-line programs.
#: See :ref:`extending-commandoptions`
user_options = None
#: Custom bootsteps to extend and modify the worker.
#: See :ref:`extending-bootsteps`.
steps = None
builtin_fixups = BUILTIN_FIXUPS
amqp_cls = 'celery.app.amqp:AMQP'
backend_cls = None
events_cls = 'celery.app.events:Events'
loader_cls = None
log_cls = 'celery.app.log:Logging'
control_cls = 'celery.app.control:Control'
task_cls = 'celery.app.task:Task'
registry_cls = 'celery.app.registry:TaskRegistry'
#: Thread local storage.
_local = None
_fixups = None
_pool = None
_conf = None
_after_fork_registered = False
#: Signal sent when app is loading configuration.
on_configure = None
#: Signal sent after app has prepared the configuration.
on_after_configure = None
#: Signal sent after app has been finalized.
on_after_finalize = None
#: Signal sent by every new process after fork.
on_after_fork = None
def __init__(self, main=None, loader=None, backend=None,
amqp=None, events=None, log=None, control=None,
set_as_current=True, tasks=None, broker=None, include=None,
changes=None, config_source=None, fixups=None, task_cls=None,
autofinalize=True, namespace=None, strict_typing=True,
**kwargs):
self._local = threading.local()
self._backend_cache = None
self.clock = LamportClock()
self.main = main
self.amqp_cls = amqp or self.amqp_cls
self.events_cls = events or self.events_cls
self.loader_cls = loader or self._get_default_loader()
self.log_cls = log or self.log_cls
self.control_cls = control or self.control_cls
self._custom_task_cls_used = bool(task_cls)
self.task_cls = task_cls or self.task_cls
self.set_as_current = set_as_current
self.registry_cls = symbol_by_name(self.registry_cls)
self.user_options = defaultdict(set)
self.steps = defaultdict(set)
self.autofinalize = autofinalize
self.namespace = namespace
self.strict_typing = strict_typing
self.configured = False
self._config_source = config_source
self._pending_defaults = deque()
self._pending_periodic_tasks = deque()
self.finalized = False
self._finalize_mutex = threading.RLock()
self._pending = deque()
self._tasks = tasks
if not isinstance(self._tasks, TaskRegistry):
self._tasks = self.registry_cls(self._tasks or {})
# If the class defines a custom __reduce_args__ we need to use
# the old way of pickling apps: pickling a list of
# args instead of the new way that pickles a dict of keywords.
self._using_v1_reduce = app_has_custom(self, '__reduce_args__')
# these options are moved to the config to
# simplify pickling of the app object.
self._preconf = changes or {}
self._preconf_set_by_auto = set()
self.__autoset('broker_url', broker)
self.__autoset('result_backend', backend)
self.__autoset('include', include)
for key, value in kwargs.items():
self.__autoset(key, value)
self._conf = Settings(
PendingConfiguration(
self._preconf, self._finalize_pending_conf),
prefix=self.namespace,
keys=(_old_key_to_new, _new_key_to_old),
)
# - Apply fix-ups.
self.fixups = set(self.builtin_fixups) if fixups is None else fixups
# ...store fixup instances in _fixups to keep weakrefs alive.
self._fixups = [symbol_by_name(fixup)(self) for fixup in self.fixups]
if self.set_as_current:
self.set_current()
# Signals
if self.on_configure is None:
# used to be a method pre 4.0
self.on_configure = Signal(name='app.on_configure')
self.on_after_configure = Signal(
name='app.on_after_configure',
providing_args={'source'},
)
self.on_after_finalize = Signal(name='app.on_after_finalize')
self.on_after_fork = Signal(name='app.on_after_fork')
# Boolean signalling, whether fast_trace_task are enabled.
# this attribute is set in celery.worker.trace and checked by celery.worker.request
self.use_fast_trace_task = False
self.on_init()
_register_app(self)
def _get_default_loader(self):
# the --loader command-line argument sets the environment variable.
return (
os.environ.get('CELERY_LOADER') or
self.loader_cls or
'celery.loaders.app:AppLoader'
)
def on_init(self):
"""Optional callback called at init."""
def __autoset(self, key, value):
if value is not None:
self._preconf[key] = value
self._preconf_set_by_auto.add(key)
def set_current(self):
"""Make this the current app for this thread."""
_set_current_app(self)
def set_default(self):
"""Make this the default app for all threads."""
set_default_app(self)
def _ensure_after_fork(self):
if not self._after_fork_registered:
self._after_fork_registered = True
if register_after_fork is not None:
register_after_fork(self, _after_fork_cleanup_app)
def close(self):
"""Clean up after the application.
Only necessary for dynamically created apps, and you should
probably use the :keyword:`with` statement instead.
Example:
>>> with Celery(set_as_current=False) as app:
... with app.connection_for_write() as conn:
... pass
"""
self._pool = None
_deregister_app(self)
def start(self, argv=None):
"""Run :program:`celery` using `argv`.
Uses :data:`sys.argv` if `argv` is not specified.
|
(main=None, loader=None, backend=None, amqp=None, events=None, log=None, control=None, set_as_current=True, tasks=None, broker=None, include=None, changes=None, config_source=None, fixups=None, task_cls=None, autofinalize=True, namespace=None, strict_typing=True, **kwargs)
|
[
0.08794967085123062,
0.003948831930756569,
-0.026508942246437073,
0.020166803151369095,
0.04221424087882042,
-0.017645953223109245,
-0.019336523488163948,
0.023888058960437775,
-0.009258123114705086,
-0.074425108730793,
0.00699736038222909,
-0.024548280984163284,
0.043174564838409424,
0.03269102796912193,
0.0372125543653965,
0.031190522015094757,
0.00039200723404064775,
-0.019676636904478073,
0.05405823513865471,
-0.030590320006012917,
0.015395193360745907,
-0.02054693177342415,
0.04053367301821709,
0.027789374813437462,
-0.01462493371218443,
0.01607542298734188,
0.017655955627560616,
0.01359458640217781,
0.00039544590981677175,
-0.015275153331458569,
-0.03393144533038139,
-0.0005733183934353292,
0.012304150499403477,
0.002875970210880041,
0.07018367946147919,
-0.03769271448254585,
-0.004854137543588877,
0.04521525278687477,
0.008092730306088924,
-0.02670901082456112,
0.01915646158158779,
-0.028289543464779854,
0.03473171591758728,
-0.00602703308686614,
-0.00542182894423604,
0.04713590070605278,
0.006467181723564863,
0.05517861247062683,
0.02412813901901245,
-0.011874005198478699,
0.017765993252396584,
-0.05285783112049103,
-0.03547196462750435,
0.08114737272262573,
-0.03297112137079239,
0.08250783383846283,
0.016895700246095657,
0.04285445809364319,
0.002507095690816641,
-0.0410938635468483,
0.005581882782280445,
0.031310562044382095,
0.03597213327884674,
-0.006672251038253307,
0.022747673094272614,
0.03361133858561516,
0.0010616080835461617,
0.02780938148498535,
0.011223786510527134,
-0.0036287240218371153,
0.01242419146001339,
-0.036932457238435745,
-0.025068456307053566,
-0.038012824952602386,
0.036792412400245667,
-0.05229764059185982,
-0.03465168923139572,
-0.020787011831998825,
-0.034991804510354996,
0.012244130484759808,
0.009083064272999763,
0.04545533284544945,
-0.014804994687438011,
-0.013884684070944786,
0.02975003607571125,
0.014124765060842037,
0.010793641209602356,
0.012924360111355782,
-0.055458709597587585,
-0.03405148535966873,
-0.01050354354083538,
0.04833630472421646,
0.04197416082024574,
0.05509858578443527,
-0.007367485202848911,
-0.0759856328368187,
-0.04905654862523079,
-0.0370124876499176,
-0.007387492340058088,
-0.009458190761506557,
-0.05385816842317581,
-0.02922986075282097,
-0.05317793786525726,
-0.07590560615062714,
-0.001769346883520484,
-0.05101720988750458,
-0.027049124240875244,
0.0021069608628749847,
0.003476172685623169,
-0.054898519068956375,
-0.035592008382081985,
0.020086776465177536,
-0.09219110012054443,
-0.009168093092739582,
-0.041173890233039856,
0.040013499557971954,
-0.04829629138112068,
-0.009888336062431335,
0.05577881634235382,
-0.0005086090532131493,
-0.04505519941449165,
0.0347917377948761,
-0.02914983406662941,
-0.0013316991971805692,
0.0371125191450119,
0.05085715651512146,
-0.009123077616095543,
0.004956671968102455,
0.05033697932958603,
-0.06830304116010666,
0.037492647767066956,
0.015305163338780403,
-0.01270428579300642,
-0.013294484466314316,
0.014284818433225155,
0.056859180331230164,
-0.0001658371911616996,
0.04921660199761391,
-0.04657571017742157,
0.08322807401418686,
-0.009963360615074635,
0.004396483302116394,
0.03309116140007973,
0.008162753656506538,
0.06922335177659988,
-0.03293110802769661,
-0.01801607757806778,
-0.007352480199187994,
-0.02164730243384838,
0.022207491099834442,
0.06910330802202225,
0.003958835266530514,
0.012304150499403477,
0.05385816842317581,
-0.016325507313013077,
0.05405823513865471,
-0.011994046159088612,
0.02854963019490242,
0.023427903652191162,
-0.04113387688994408,
-0.041814107447862625,
-0.03869305178523064,
0.03223087266087532,
-0.01922648586332798,
-0.015855349600315094,
0.023407896980643272,
0.00591699592769146,
-0.014244805090129375,
0.014915031380951405,
0.05657908692955971,
-0.025908740237355232,
-0.024068119004368782,
-0.028909752145409584,
0.009483198635280132,
-0.018356192857027054,
0.08114737272262573,
-0.009528214111924171,
-0.0038713058456778526,
0.023227835074067116,
-0.0036487309262156487,
-0.025708673521876335,
0.018856361508369446,
-0.0635814517736435,
-0.005631899926811457,
0.059300005435943604,
0.06894325464963913,
0.00005310385313350707,
0.05441835895180702,
0.05577881634235382,
0.0016242979327216744,
-0.017655955627560616,
-0.032050810754299164,
0.050497036427259445,
-0.005261775106191635,
-0.022287517786026,
0.020026756450533867,
-0.021927397698163986,
-0.005806958768516779,
0.014554910361766815,
-0.01145386416465044,
-0.026789037510752678,
-0.025868726894259453,
0.054938532412052155,
-0.010993708856403828,
-0.004536530468612909,
-0.010683603584766388,
-0.004994184710085392,
0.0072874585166573524,
0.009158089756965637,
0.004136395175009966,
0.00326110003516078,
-0.05257773771882057,
-0.04713590070605278,
0.02983006276190281,
0.06090054288506508,
-0.03773272782564163,
0.06970351189374924,
0.026408908888697624,
-0.005316793452948332,
0.058099597692489624,
0.03231089934706688,
0.048176251351833344,
-0.01520512904971838,
0.020246829837560654,
-0.026849057525396347,
-0.005031697452068329,
0.024528274312615395,
-0.014284818433225155,
0.06126066669821739,
0.007417502347379923,
0.001406724564731121,
-0.008802969940006733,
0.000040208877180702984,
0.007852649316191673,
0.05417827516794205,
-0.017015740275382996,
-0.00044014849117957056,
0.03927324712276459,
0.0035812081769108772,
0.0019394042901694775,
0.04421491548418999,
0.02726919949054718,
0.023127801716327667,
-0.08266788721084595,
-0.0040888795629143715,
-0.029930096119642258,
0.005361808929592371,
0.023067781701683998,
-0.0018856361275538802,
-0.015715301036834717,
0.03289109468460083,
-0.03797281160950661,
0.004261437337845564,
-0.024028105661273003,
-0.06462179869413376,
-0.007482524029910564,
0.019566601142287254,
-0.016325507313013077,
0.02726919949054718,
0.012854336760938168,
0.01984669454395771,
0.06306127458810806,
-0.007332473527640104,
0.05149737372994423,
-0.016515571624040604,
0.000133326233481057,
-0.00401635468006134,
-0.07278455048799515,
-0.049296628683805466,
0.03411150723695755,
0.07282456755638123,
0.03295111656188965,
-0.018446221947669983,
0.05293785780668259,
-0.09379164129495621,
-0.03407149389386177,
-0.0509771965444088,
0.005226763430982828,
-0.05881984159350395,
-0.010943692177534103,
-0.014054741710424423,
-0.003513685427606106,
0.051297303289175034,
0.01664561592042446,
-0.0007665085722692311,
-0.061740826815366745,
-0.01924649253487587,
0.021927397698163986,
-0.011223786510527134,
-0.00935315527021885,
-0.01858627051115036,
0.00249459152109921,
0.009548220783472061,
-0.02162729576230049,
0.01668562926352024,
-0.038112856447696686,
-0.06954345852136612,
0.012244130484759808,
-0.008837981149554253,
-0.059219978749752045,
0.042534347623586655,
0.01300438679754734,
-0.019466567784547806,
0.03671238571405411,
0.0345916710793972,
0.03163066878914833,
0.005866979248821735,
-0.014875018037855625,
0.013574579730629921,
0.010683603584766388,
0.03921322897076607,
-0.038813091814517975,
0.055538736283779144,
-0.017495902255177498,
-0.012504218146204948,
0.04041363298892975,
0.040733739733695984,
0.01978667452931404,
0.012904353439807892,
0.026328882202506065,
-0.04569541662931442,
0.038673046976327896,
-0.010033384896814823,
0.019946729764342308,
0.021247167140245438,
0.03299112990498543,
0.0025283528957515955,
0.030910426750779152,
-0.01606541872024536,
0.011303813196718693,
-0.007967688143253326,
0.023247841745615005,
-0.035111844539642334,
-0.015805331990122795,
-0.017115773633122444,
-0.006512196734547615,
0.006417164579033852,
-0.041253916919231415,
-0.01852625049650669,
-0.05501855909824371,
0.06718266010284424,
0.030230198055505753,
-0.0457354299724102,
0.03093043342232704,
-0.04505519941449165,
-0.042534347623586655,
0.047496020793914795,
0.005231765098869801,
0.019536590203642845,
-0.062220990657806396,
0.0011653931578621268,
-0.020666971802711487,
-0.07878658175468445,
0.0186562929302454,
0.017095766961574554,
-0.09435182809829712,
-0.01983669213950634,
-0.04465506225824356,
0.011563900858163834,
-0.03493178263306618,
-0.049336642026901245,
-0.027529286220669746,
-0.03105047531425953,
0.04669575393199921,
-0.06322132796049118,
0.00016990106087177992,
0.012264137156307697,
-0.017025742679834366,
0.026548955589532852,
-0.0821877270936966,
0.01796605996787548,
-0.030650340020656586,
0.020586945116519928,
-0.004236428998410702,
0.015005061402916908,
0.02608880028128624,
-0.02414814569056034,
0.016445547342300415,
-0.043134551495313644,
0.044334955513477325,
0.010033384896814823,
0.02288772165775299,
-0.02987007610499859,
-0.0019894212018698454,
-0.02550860494375229,
-0.023267848417162895,
-0.011573904193937778,
-0.021427229046821594,
0.01546521671116352,
0.013714626431465149,
0.017045749351382256,
0.03477172926068306,
-0.04565540328621864,
0.016425540670752525,
0.0026558958925306797,
-0.03409149870276451,
-0.0035937123466283083,
0.048056211322546005,
0.00839783251285553,
-0.03947331756353378,
0.033851418644189835,
-0.03791278973221779,
0.09331148117780685,
-0.01117376983165741,
0.05637902021408081,
0.049296628683805466,
0.060540422797203064,
-0.017215806990861893,
0.01864629052579403,
0.04297449812293053,
0.009808308444917202,
-0.028989778831601143,
-0.06498192250728607,
-0.03453164920210838,
-0.07838644087314606,
-0.045015186071395874,
-0.014634937047958374,
-0.03951333090662956,
0.0678228810429573,
-0.004481511656194925,
-0.004166405647993088,
0.05781950429081917,
0.05229764059185982,
-0.022067444398999214,
0.038112856447696686,
0.028309550136327744,
-0.024008098989725113,
0.029269874095916748,
-0.05641903355717659,
-0.02720917947590351,
0.006467181723564863,
0.03103046864271164,
-0.024388227611780167,
-0.0008840482332743704,
0.0026208842173218727,
-0.036312248557806015,
0.06362146139144897,
-0.023968085646629333,
-0.005716928746551275,
-0.025828713551163673,
-0.04525526612997055,
-0.022487586364150047,
0.038092851638793945,
-0.03241093456745148,
0.004959173034876585,
-0.00864291563630104,
-0.01667562499642372,
0.04221424087882042,
-0.008672925643622875,
0.021887384355068207,
-0.02730921283364296,
-0.0070373741909861565,
-0.023828038945794106,
0.01145386416465044,
-0.05713927373290062,
-0.013314491137862206,
0.03031022474169731,
-0.03171069920063019,
-0.07202429324388504,
0.003278606105595827,
0.0007746363407932222,
-0.03579207509756088,
-0.01860627718269825,
-0.017655955627560616,
0.02724919281899929,
0.04581545665860176,
0.053137924522161484,
-0.004504019394516945,
-0.056659113615751266,
0.003516186261549592,
0.024968422949314117,
0.014414862729609013,
0.034391600638628006,
-0.00013613967166747898,
-0.06346140801906586,
0.01741587556898594,
0.01977667212486267,
-0.011864001862704754,
0.008988032117486,
-0.0631813108921051,
0.04829629138112068,
0.021227160468697548,
0.004053867422044277,
0.05577881634235382,
-0.06674251705408096,
-0.0707438662648201,
0.06390155851840973,
-0.0757855623960495,
0.02284770831465721,
-0.010133418254554272,
-0.025748686864972115,
0.012524224817752838,
0.04405486211180687,
0.044294942170381546,
-0.006327134557068348,
0.01601540297269821,
-0.019476570188999176,
0.011553897522389889,
0.03345128521323204,
0.001342953066341579,
0.03541194647550583,
0.004879145883023739,
-0.015825338661670685,
0.036232221871614456,
0.03209082409739494,
-0.023067781701683998,
-0.09475196152925491,
0.02226751111447811,
-0.03531191125512123,
-0.023387890309095383,
-0.03267102316021919,
-0.014574917033314705,
0.00622209906578064,
-0.06698259711265564,
0.01270428579300642,
-0.040733739733695984,
-0.0323709212243557,
-0.011984042823314667,
0.014404859393835068,
-0.05293785780668259,
0.01730583794414997,
0.04921660199761391,
0.03705250099301338,
0.0370124876499176,
-0.0011059980606660247,
-0.004396483302116394,
0.025148482993245125,
0.002195740817114711,
-0.010093404911458492,
0.09363158792257309,
-0.007247444707900286,
-0.02852962352335453,
0.014674950391054153,
0.0016868190141394734,
0.03047027811408043,
0.03921322897076607,
-0.04113387688994408,
-0.0065722172148525715,
-0.008497866801917553,
-0.0266489889472723,
-0.02294774167239666,
0.023968085646629333,
0.036252230405807495,
-0.04145398363471031,
-0.031870752573013306,
-0.03295111656188965,
0.0498168058693409,
0.04565540328621864,
-0.033891431987285614,
-0.04337463155388832,
-0.04019355773925781,
0.0002972877991851419,
0.06398158520460129,
0.05217760056257248,
-0.007532541174441576,
-0.08370824158191681,
0.06210095062851906,
0.05069710314273834,
0.01086366456001997,
-0.0009521961910650134,
-0.028049461543560028,
0.034431613981723785,
-0.09915345162153244,
-0.059820178896188736,
0.031290557235479355,
0.023828038945794106,
-0.008122740313410759,
0.017545919865369797,
-0.020266836509108543,
-0.03175071254372597,
-0.02038687653839588,
-0.006162078585475683,
0.04829629138112068,
0.004729095380753279,
-0.010373499244451523,
0.031950779259204865,
-0.007117400877177715,
0.04453502222895622,
-0.010018379427492619,
-0.05269777774810791,
0.014384852722287178,
0.036172203719615936,
-0.05881984159350395,
-0.004421491641551256,
-0.030630333349108696,
-0.04401484876871109,
0.030550306662917137,
0.04897652193903923,
-0.001342953066341579,
-0.00602703308686614,
-0.028689678758382797,
0.01492503471672535,
0.02720917947590351,
0.0016405534697696567,
0.013134431093931198,
0.004303951747715473,
-0.05253772437572479,
-0.006092055235058069,
0.08474858850240707,
0.013264474458992481,
-0.002309529110789299,
0.01244419813156128,
0.028729692101478577,
-0.09779299050569534,
0.04365472495555878,
0.011803981848061085,
-0.04453502222895622,
-0.00432395888492465,
-0.029329894110560417,
0.01514510903507471,
-0.027629321441054344,
-0.03677240386605263,
0.0185062438249588,
-0.025028442963957787,
-0.018886370584368706,
-0.048016197979450226,
-0.08066721260547638,
0.04421491548418999,
0.044855132699012756,
-0.04221424087882042,
0.02989008277654648,
0.010008376091718674,
0.021547269076108932,
-0.000009485621376370545,
-0.031210528686642647,
0.03467169776558876,
-0.006472183391451836,
-0.044935159385204315,
-0.07130405306816101,
-0.03903316706418991,
0.03029021807014942,
-0.008432844653725624,
0.028769705444574356,
0.015135105699300766,
0.049976859241724014,
-0.024708334356546402,
0.015885358676314354,
0.038813091814517975,
0.04821626469492912,
-0.015645278617739677,
0.03955334424972534,
-0.05289784446358681,
-0.01359458640217781,
-0.05133731663227081,
0.014704960398375988,
-0.04381478205323219,
0.0056419032625854015,
-0.01855625957250595,
0.00620209239423275,
0.016515571624040604,
-0.042574360966682434,
0.023748010396957397,
-0.05565877631306648,
0.007737610023468733,
-0.03853299841284752,
0.07274454087018967,
-0.029349900782108307,
-0.036212217062711716,
-0.0457354299724102,
0.012254133820533752,
-0.03473171591758728,
0.006972352042794228,
-0.039893459528684616,
0.0004095131589565426,
0.04917658865451813,
0.01932651922106743,
-0.006242105737328529,
0.025668658316135406,
0.01621546968817711,
0.03173070400953293,
0.047976184636354446,
-0.028069468215107918,
0.031130502000451088,
-0.015745311975479126,
-0.010693607851862907,
-0.022627633064985275,
-0.022047437727451324,
0.03279106318950653,
0.0006377151003107429,
-0.046895820647478104,
0.0014604927273467183,
0.01860627718269825,
-0.019516583532094955,
0.0767458900809288,
0.03521187976002693,
0.026869064196944237,
0.011463867500424385,
-0.03719254583120346,
0.02920985408127308,
-0.036332257091999054,
0.04401484876871109,
0.09531215578317642,
0.010303475894033909,
0.005136732943356037,
-0.007237441372126341,
-0.0509771965444088,
-0.07258448749780655,
-0.06790290772914886,
-0.007277455180883408,
-0.03047027811408043,
0.03537193313241005,
-0.04533529281616211,
0.013074410147964954,
-0.04725594073534012,
0.029329894110560417,
0.040733739733695984,
-0.08506869524717331,
-0.003173570614308119,
-0.031330570578575134,
-0.005346803925931454,
0.04585547000169754,
0.05153738707304001,
0.0322708860039711,
-0.023828038945794106,
-0.030750373378396034,
-0.08002699911594391,
0.012694282457232475,
-0.02600877359509468,
-0.03093043342232704,
0.026969097554683685,
-0.04217422753572464,
0.033791400492191315,
0.06262112408876419,
-0.0434146448969841,
0.0796668753027916,
0.017816010862588882,
0.014444872736930847,
-0.05785951763391495,
-0.0015342675615102053,
0.014214795082807541,
-0.008777961134910583,
-0.020366869866847992,
-0.028869738802313805,
0.08242780715227127,
0.07342477142810822,
-0.014294822700321674,
0.07974690198898315,
-0.03177071735262871,
-0.054978545755147934,
-0.0005061082192696631,
0.011954032815992832,
-0.04905654862523079,
-0.053698115050792694,
0.02418815903365612,
0.021547269076108932,
-0.0012366671580821276,
0.029369907453656197,
0.023788025602698326,
-0.019396543502807617,
-0.002398309065029025,
-0.0061970907263457775,
0.029009785503149033,
-0.043614711612463,
0.03759268298745155,
-0.04169406369328499,
-0.011103745549917221,
0.017495902255177498,
0.010293472558259964,
-0.028089474886655807,
-0.044374968856573105,
-0.02720917947590351,
-0.05293785780668259,
-0.026568962261080742,
0.02973002940416336,
0.06330135464668274,
0.006802294868975878,
0.02482837624847889,
0.06306127458810806
] |
711,267
|
celery.app.base
|
__autoset
| null |
def __autoset(self, key, value):
if value is not None:
self._preconf[key] = value
self._preconf_set_by_auto.add(key)
|
(self, key, value)
|
[
0.018172798678278923,
0.009859525598585606,
-0.028596967458724976,
0.039090629667043686,
-0.016522306948900223,
0.02004914917051792,
0.021664895117282867,
-0.019354205578565598,
0.047777436673641205,
-0.02411457523703575,
-0.036623578518629074,
-0.030091097578406334,
0.028093133121728897,
0.008365394547581673,
-0.0008187314961105585,
-0.018659260123968124,
0.028371110558509827,
0.03836093842983246,
0.004556230269372463,
-0.01867663487792015,
0.04597058147192001,
-0.040202539414167404,
0.009763970971107483,
-0.0027124553453177214,
0.017929568886756897,
-0.05024448782205582,
0.01971905119717121,
0.018207546323537827,
-0.004106687847524881,
0.0006672553136013448,
-0.004947136156260967,
-0.023002663627266884,
0.00595046253874898,
-0.04930631443858147,
0.067062146961689,
-0.01557544432580471,
0.01211809553205967,
0.07057161629199982,
-0.06087714061141014,
-0.02922241762280464,
0.03578964248299599,
0.039855070412158966,
-0.0005431968602351844,
-0.03658882901072502,
0.03089028410613537,
0.09604133665561676,
0.036241356283426285,
0.08186446875333786,
0.02065722644329071,
0.003218461759388447,
0.017842700704932213,
-0.03514682129025459,
-0.007088434416800737,
0.011787996627390385,
-0.05493536591529846,
0.03912537544965744,
0.029152922332286835,
0.0292919110506773,
-0.02571294829249382,
0.011640320532023907,
0.012439507059752941,
0.016548367217183113,
-0.02319377288222313,
-0.06636720150709152,
0.057680394500494,
0.008265496231615543,
-0.014724137261509895,
0.01733017899096012,
0.04023728892207146,
-0.009955080226063728,
-0.011318909004330635,
-0.030038977041840553,
-0.0035463888198137283,
-0.048333391547203064,
0.0352163128554821,
0.006280560977756977,
-0.09937706589698792,
0.027554551139473915,
-0.01120598055422306,
-0.03902113437652588,
-0.00928619597107172,
0.004825521260499954,
0.014272423461079597,
-0.00795277114957571,
-0.01562756486237049,
0.04979277402162552,
0.02312427945435047,
0.026998594403266907,
0.09555487334728241,
0.030699174851179123,
0.01742573454976082,
0.022290345281362534,
-0.005138246342539787,
0.06556801497936249,
0.04138394817709923,
0.01722593791782856,
0.045692604035139084,
-0.06956394761800766,
-0.0038156798109412193,
-0.013985758647322655,
0.0009017991251312196,
-0.028371110558509827,
0.06685366481542587,
-0.031672097742557526,
0.004278252366930246,
-0.02302003838121891,
0.029917361214756966,
0.024653157219290733,
0.002471396466717124,
-0.0021814743522554636,
-0.026564255356788635,
-0.05938300862908363,
-0.006610659882426262,
0.005889655090868473,
0.021195808425545692,
0.0003235835465602577,
-0.01236132625490427,
-0.00816994160413742,
0.0666799247264862,
0.04784693196415901,
-0.033652689307928085,
-0.040689002722501755,
-0.05093943327665329,
0.026668496429920197,
-0.013742527924478054,
-0.052016597241163254,
0.05358022451400757,
0.10994022339582443,
0.030021604150533676,
-0.07071060687303543,
0.023923465982079506,
0.01722593791782856,
-0.02472265250980854,
-0.02268993854522705,
0.02956989035010338,
-0.04256535321474075,
0.005859251134097576,
0.023384883999824524,
-0.014732823707163334,
-0.015419081784784794,
-0.012734858319163322,
0.012300518341362476,
0.026685869321227074,
0.004664815030992031,
0.05177336931228638,
-0.03544216975569725,
-0.047221481800079346,
0.04572734981775284,
-0.02274205908179283,
0.0062197535298764706,
0.021300049498677254,
0.008065699599683285,
-0.025747694075107574,
0.0174778550863266,
-0.04260009899735451,
0.005863594356924295,
-0.040584761649370193,
-0.007201362866908312,
0.04708249121904373,
0.010293865576386452,
0.01021568477153778,
-0.035529039800167084,
0.020674599334597588,
-0.02187337912619114,
-0.022429333999753,
0.015193224884569645,
-0.0444069541990757,
0.003952497150748968,
0.04221788048744202,
0.04221788048744202,
0.0018904663156718016,
-0.05521334335207939,
-0.01238738652318716,
0.015592818148434162,
0.05337173864245415,
0.03916012495756149,
-0.011562139727175236,
-0.030264833942055702,
-0.02373235486447811,
0.0548311248421669,
-0.020066523924469948,
0.0340522825717926,
-0.012578495778143406,
0.0062718745321035385,
0.012352638877928257,
0.00814388133585453,
0.02845797874033451,
0.002903565065935254,
0.04930631443858147,
0.051182664930820465,
0.06608922779560089,
-0.03658882901072502,
-0.016808969900012016,
0.011657694354653358,
0.010085382498800755,
-0.036797311156988144,
0.010789013467729092,
-0.07123181223869324,
-0.00816994160413742,
0.05027923732995987,
-0.044198472052812576,
-0.038326192647218704,
0.048646118491888046,
0.03818720206618309,
0.04454594478011131,
-0.0023106904700398445,
0.030629679560661316,
0.01628776267170906,
-0.01359485276043415,
-0.011883551254868507,
-0.01120598055422306,
-0.06403914093971252,
-0.009564174339175224,
-0.0214911587536335,
0.022620445117354393,
-0.08457475155591965,
0.010293865576386452,
0.025695573538541794,
-0.03749225661158562,
0.01692190021276474,
0.044754426926374435,
0.05236406996846199,
0.039750825613737106,
-0.024687904864549637,
0.03434763476252556,
0.016148773953318596,
-0.029274538159370422,
-0.06827829778194427,
-0.019319457933306694,
0.038777906447649,
0.004254363477230072,
0.04197464883327484,
-0.06956394761800766,
-0.057610902935266495,
0.0685562789440155,
-0.02939615398645401,
0.004799460526555777,
-0.016253015026450157,
-0.048055414110422134,
0.03313148021697998,
0.01197910588234663,
0.01772977225482464,
0.01633988320827484,
-0.04746470972895622,
-0.057228680700063705,
0.036727819591760635,
-0.0045171394012868404,
0.05451839789748192,
-0.01694796048104763,
0.04534513130784035,
0.0718572661280632,
-0.02956989035010338,
-0.042669594287872314,
0.022012367844581604,
0.016557052731513977,
-0.006775709334760904,
0.017877448350191116,
0.015323527157306671,
0.013907577842473984,
0.04652653634548187,
-0.03556378558278084,
0.027120210230350494,
-0.020396621897816658,
0.038152456283569336,
-0.013707781210541725,
0.0472562275826931,
0.036241356283426285,
0.03929911181330681,
-0.05979997664690018,
0.004063253756612539,
0.051738619804382324,
-0.025035377591848373,
0.0007801838219165802,
-0.03933386132121086,
0.011822744272649288,
-0.011822744272649288,
-0.017269371077418327,
-0.015592818148434162,
-0.015453829430043697,
0.0029187670443207026,
0.03358319401741028,
-0.04760370030999184,
0.05597778037190437,
0.045692604035139084,
-0.040689002722501755,
0.002988261403515935,
-0.016835032030940056,
0.025313355028629303,
0.005720261950045824,
-0.034538742154836655,
-0.003631085157394409,
0.0728301852941513,
0.0333399623632431,
0.055699802935123444,
0.016174834221601486,
-0.02175176329910755,
-0.03982032090425491,
-0.008895290084183216,
0.04273908957839012,
0.03978557512164116,
0.05781938508152962,
0.008903976529836655,
-0.10556207597255707,
0.009963767603039742,
0.027606671676039696,
-0.017842700704932213,
0.026616375893354416,
0.02357599325478077,
-0.0022715998347848654,
0.03439975529909134,
-0.03297511860728264,
0.026685869321227074,
-0.08207295089960098,
0.06251025944948196,
0.05163437873125076,
-0.0267032440751791,
0.02169964276254177,
0.0030686145182698965,
0.02274205908179283,
0.03297511860728264,
-0.019823292270302773,
-0.014116060920059681,
-0.10028049349784851,
0.012317892163991928,
0.001486529828980565,
-0.02889231964945793,
0.07435906678438187,
-0.012152842245995998,
-0.009911646135151386,
0.018607139587402344,
-0.06066865846514702,
-0.038326192647218704,
-0.04729097709059715,
0.09472093731164932,
-0.05351072922348976,
-0.006727931555360556,
-0.027849901467561722,
-0.06226703152060509,
0.0140639403834939,
0.0053163254633545876,
-0.019823292270302773,
0.014081313274800777,
-0.04114071652293205,
-0.03485146909952164,
0.0219776201993227,
0.004356433637440205,
-0.015288779512047768,
-0.031950075179338455,
0.033982787281274796,
-0.02989998832345009,
-0.02357599325478077,
0.009103773161768913,
0.04666552692651749,
0.009859525598585606,
0.09889061003923416,
-0.051286906003952026,
-0.021004699170589447,
-0.004054566845297813,
-0.010372047312557697,
-0.09506841003894806,
0.04027203470468521,
-0.04656128212809563,
-0.024079827591776848,
0.01577524095773697,
-0.0482291504740715,
0.07234372198581696,
-0.05913978070020676,
-0.00412188982591033,
0.003040382405743003,
-0.061398349702358246,
0.008760644122958183,
-0.04729097709059715,
0.03401753306388855,
-0.008652059361338615,
0.0515301376581192,
0.03038644976913929,
-0.012378699146211147,
0.0117011284455657,
-0.024323059245944023,
-0.00486461166292429,
0.006866920739412308,
0.03856942057609558,
0.042287375777959824,
0.03033432923257351,
-0.03697104752063751,
0.014958680607378483,
0.02027500607073307,
0.015167164616286755,
0.047221481800079346,
-0.006297934800386429,
0.04888934642076492,
0.054587893187999725,
-0.02581718936562538,
-0.03485146909952164,
-0.007040656637400389,
-0.031116141006350517,
0.009442558512091637,
-0.03578964248299599,
0.042773835361003876,
-0.02032712660729885,
0.030647054314613342,
-0.058653317391872406,
0.048541873693466187,
0.07081484794616699,
0.056568484753370285,
0.0022802867460995913,
-0.009095086716115475,
0.02995210886001587,
0.0011803198140114546,
-0.002894878387451172,
-0.0382566973567009,
-0.04405948147177696,
0.02169964276254177,
-0.039264366030693054,
-0.035025205463171005,
-0.015062922611832619,
-0.015818674117326736,
-0.022898422554135323,
0.012022539973258972,
-0.022846302017569542,
-0.008339334279298782,
0.03631085157394409,
-0.04819440469145775,
0.06879951059818268,
0.0036506305914372206,
0.02428831160068512,
0.03551166504621506,
-0.05225982889533043,
0.018311789259314537,
-0.041731417179107666,
0.034695107489824295,
-0.029760999605059624,
0.0562557615339756,
0.02741556242108345,
-0.01674816384911537,
-0.022933170199394226,
0.059556744992733,
-0.013342934660613537,
0.012178902514278889,
-0.0342433899641037,
-0.04159243032336235,
0.011536079458892345,
-0.013620913028717041,
-0.025400223210453987,
0.016331195831298828,
0.0008556504617445171,
-0.04941055551171303,
0.04468493163585663,
0.0453798770904541,
-0.015757868066430092,
-0.01585342176258564,
0.02626890316605568,
-0.03485146909952164,
0.023489125072956085,
0.016374630853533745,
-0.009598921053111553,
-0.03686680644750595,
-0.03658882901072502,
0.01852027140557766,
0.0034834095276892185,
-0.015123730525374413,
0.028475351631641388,
-0.02088308334350586,
0.015818674117326736,
0.03648458793759346,
0.0657070055603981,
0.03578964248299599,
0.06198905035853386,
-0.03328784182667732,
-0.02352387271821499,
-0.025695573538541794,
-0.06351792812347412,
0.020101269707083702,
0.007509744260460138,
-0.05896604433655739,
-0.02774566039443016,
0.0482291504740715,
0.026355771347880363,
-0.032054316252470016,
-0.0000955548748606816,
-0.009538114070892334,
0.04847238212823868,
-0.028284242376685143,
0.0003211403964087367,
0.03267976641654968,
-0.03551166504621506,
-0.024201443418860435,
-0.06351792812347412,
-0.04426796734333038,
0.050800446420907974,
-0.027815155684947968,
-0.02461840957403183,
-0.0008855113410390913,
-0.01236132625490427,
-0.005989552941173315,
-0.000988667132332921,
0.01978854462504387,
0.01623564213514328,
0.024635784327983856,
-0.05778463929891586,
-0.05538707971572876,
0.011171232908964157,
-0.028492726385593414,
0.004295625723898411,
-0.009807405062019825,
-0.01318657211959362,
-0.08568666130304337,
0.027015969157218933,
-0.05535233020782471,
0.012300518341362476,
0.049202073365449905,
-0.04482392221689224,
0.02939615398645401,
-0.004425927996635437,
0.0373532697558403,
-0.021717015653848648,
-0.01633988320827484,
-0.043051812797784805,
-0.043607767671346664,
0.006875607650727034,
-0.014541714452207088,
-0.030143218114972115,
0.05139114707708359,
-0.011510019190609455,
0.005416223779320717,
-0.01694796048104763,
-0.0008768245461396873,
-0.04934106022119522,
0.0050470344722270966,
0.013551418669521809,
0.018398655578494072,
-0.02599092572927475,
0.028492726385593414,
0.10382471233606339,
0.032506030052900314,
0.016331195831298828,
0.019684303551912308,
0.01834653504192829,
0.0027906366158276796,
-0.024166695773601532,
0.0015571101102977991,
0.031463611871004105,
0.0420788899064064,
0.013864143751561642,
0.04934106022119522,
0.013812022283673286,
-0.032558150589466095,
0.02110894024372101,
-0.029361406341195107,
-0.04187040776014328,
-0.061433095484972,
-0.006588942836970091,
0.04802066832780838,
0.012013853527605534,
-0.03724902495741844,
-0.06921647489070892,
0.0515301376581192,
-0.0006411949289031327,
0.0689384937286377,
0.02550446428358555,
0.013907577842473984,
-0.012995462864637375,
0.015254032798111439,
0.07498451322317123,
0.061676327139139175,
-0.04850712791085243,
-0.06212804093956947,
-0.01872875541448593,
0.06866052001714706,
0.0013888032408431172,
0.018033809959888458,
-0.022603070363402367,
0.024496793746948242,
0.022655190899968147,
-0.06904274225234985,
0.026390518993139267,
0.031463611871004105,
-0.02037924900650978,
-0.06720113754272461,
-0.03902113437652588,
-0.04954954609274864,
0.03445187583565712,
0.0462833046913147,
0.022985290735960007,
0.009659728966653347,
-0.04652653634548187,
0.0571591891348362,
0.07415058463811874,
-0.09319206327199936,
-0.04009829834103584,
-0.11126062273979187,
-0.03485146909952164,
-0.039542343467473984,
0.002351952949538827,
0.00895609799772501,
-0.014324543997645378,
0.0680350661277771,
-0.06473408639431,
0.05778463929891586,
-0.00248008337803185,
0.013125765137374401,
-0.036345597356557846,
-0.006484701298177242,
0.019962280988693237,
0.011466585099697113,
-0.01918046921491623,
-0.04086273908615112,
0.015836048871278763,
0.005967836361378431,
-0.006645407062023878,
-0.017382299527525902,
0.025139618664979935,
-0.002612557029351592,
0.036797311156988144,
-0.022238224744796753,
0.009051652625203133,
0.014307170175015926,
-0.02154328115284443,
-0.048333391547203064,
-0.03895163908600807,
-0.016001097857952118,
0.031237756833434105,
-0.014758884906768799,
-0.02550446428358555,
-0.05451839789748192,
-0.0229157954454422,
-0.032662391662597656,
-0.04402473568916321,
-0.001575569505803287,
-0.04166192561388016,
0.017086949199438095,
-0.008678119629621506,
0.008773674257099628,
0.020466117188334465,
0.03417389839887619,
0.007301261182874441,
0.006684497464448214,
0.030907658860087395,
0.03043857030570507,
-0.03846517950296402,
-0.016218267381191254,
-0.004543199669569731,
0.050418224185705185,
0.023315388709306717,
0.005498748738318682,
0.06483832746744156,
-0.06508155167102814,
-0.031185636296868324,
0.00718398904427886,
0.003314016619697213,
-0.03401753306388855,
-0.02614728733897209,
-0.009824777953326702,
0.06657568365335464,
0.01664392091333866,
0.00656722579151392,
0.006979849189519882,
-0.032367043197155,
-0.004447645042091608,
-0.03457349166274071,
-0.057715144008398056,
-0.021126313135027885,
-0.03163734823465347,
-0.02088308334350586,
0.03434763476252556,
-0.03229754790663719,
-0.02362811379134655,
-0.043051812797784805,
-0.03797871991991997,
0.034973084926605225,
0.0017797094769775867,
-0.06681891530752182,
-0.04562310874462128,
-0.038499925285577774,
0.04729097709059715,
-0.08909188956022263,
-0.021682269871234894,
0.011961732991039753,
-0.015219285152852535,
-0.0006097052246332169,
0.008365394547581673,
0.03367006406188011,
0.027867276221513748,
-0.03905588388442993,
-0.0382566973567009,
0.02599092572927475,
0.028041012585163116,
-0.016148773953318596,
0.03801346570253372,
-0.03401753306388855,
0.020466117188334465,
0.016096653416752815,
0.0017949114553630352,
0.0156015045940876,
-0.06191955879330635,
-0.04763844609260559,
-0.026668496429920197,
-0.014402725733816624,
-0.02477477304637432,
0.0024040737189352512,
0.01461120881140232,
0.05159963294863701,
-0.028336362913250923,
-0.023697609081864357,
-0.05229457467794418,
0.013785962015390396,
-0.040028803050518036,
-0.023662861436605453,
-0.044928163290023804,
-0.01829441450536251,
0.020309753715991974,
0.04760370030999184,
-0.023315388709306717,
-0.057715144008398056,
-0.038152456283569336,
-0.014168181456625462,
-0.023767102509737015,
-0.007288230583071709,
-0.00659328605979681,
0.03752700611948967,
-0.002170615829527378,
0.022620445117354393,
0.003264067694544792,
-0.07901519536972046,
0.046943504363298416,
-0.013525357469916344,
0.0128825344145298,
-0.0349557101726532,
0.017764519900083542,
0.014506966806948185,
0.02215135656297207,
-0.006884294096380472,
-0.020101269707083702,
0.02083096280694008,
0.025904057547450066,
-0.038326192647218704,
-0.005377133376896381,
-0.01857239194214344,
-0.00622409675270319,
0.03038644976913929,
-0.0026885666884481907,
-0.044650185853242874,
-0.0011553452350199223,
0.02461840957403183,
-0.019805919378995895,
-0.027068089693784714,
0.0032532091718167067,
0.031011899933218956,
0.012952028773725033,
0.08589514344930649,
-0.0585838221013546,
0.024079827591776848,
-0.0029404840897768736,
0.04649179056286812,
-0.0014767571119591594,
-0.04329504445195198,
-0.02213398367166519,
0.09214964509010315,
0.04214838519692421,
0.0021087222266942263,
-0.06449085474014282,
-0.025626080110669136,
-0.004284767434000969,
-0.02444467321038246,
0.06160683184862137,
-0.0349557101726532,
0.04478917643427849,
0.010198310948908329
] |
711,270
|
celery.app.base
|
__init__
| null |
def __init__(self, main=None, loader=None, backend=None,
amqp=None, events=None, log=None, control=None,
set_as_current=True, tasks=None, broker=None, include=None,
changes=None, config_source=None, fixups=None, task_cls=None,
autofinalize=True, namespace=None, strict_typing=True,
**kwargs):
self._local = threading.local()
self._backend_cache = None
self.clock = LamportClock()
self.main = main
self.amqp_cls = amqp or self.amqp_cls
self.events_cls = events or self.events_cls
self.loader_cls = loader or self._get_default_loader()
self.log_cls = log or self.log_cls
self.control_cls = control or self.control_cls
self._custom_task_cls_used = bool(task_cls)
self.task_cls = task_cls or self.task_cls
self.set_as_current = set_as_current
self.registry_cls = symbol_by_name(self.registry_cls)
self.user_options = defaultdict(set)
self.steps = defaultdict(set)
self.autofinalize = autofinalize
self.namespace = namespace
self.strict_typing = strict_typing
self.configured = False
self._config_source = config_source
self._pending_defaults = deque()
self._pending_periodic_tasks = deque()
self.finalized = False
self._finalize_mutex = threading.RLock()
self._pending = deque()
self._tasks = tasks
if not isinstance(self._tasks, TaskRegistry):
self._tasks = self.registry_cls(self._tasks or {})
# If the class defines a custom __reduce_args__ we need to use
# the old way of pickling apps: pickling a list of
# args instead of the new way that pickles a dict of keywords.
self._using_v1_reduce = app_has_custom(self, '__reduce_args__')
# these options are moved to the config to
# simplify pickling of the app object.
self._preconf = changes or {}
self._preconf_set_by_auto = set()
self.__autoset('broker_url', broker)
self.__autoset('result_backend', backend)
self.__autoset('include', include)
for key, value in kwargs.items():
self.__autoset(key, value)
self._conf = Settings(
PendingConfiguration(
self._preconf, self._finalize_pending_conf),
prefix=self.namespace,
keys=(_old_key_to_new, _new_key_to_old),
)
# - Apply fix-ups.
self.fixups = set(self.builtin_fixups) if fixups is None else fixups
# ...store fixup instances in _fixups to keep weakrefs alive.
self._fixups = [symbol_by_name(fixup)(self) for fixup in self.fixups]
if self.set_as_current:
self.set_current()
# Signals
if self.on_configure is None:
# used to be a method pre 4.0
self.on_configure = Signal(name='app.on_configure')
self.on_after_configure = Signal(
name='app.on_after_configure',
providing_args={'source'},
)
self.on_after_finalize = Signal(name='app.on_after_finalize')
self.on_after_fork = Signal(name='app.on_after_fork')
# Boolean signalling, whether fast_trace_task are enabled.
# this attribute is set in celery.worker.trace and checked by celery.worker.request
self.use_fast_trace_task = False
self.on_init()
_register_app(self)
|
(self, main=None, loader=None, backend=None, amqp=None, events=None, log=None, control=None, set_as_current=True, tasks=None, broker=None, include=None, changes=None, config_source=None, fixups=None, task_cls=None, autofinalize=True, namespace=None, strict_typing=True, **kwargs)
|
[
0.05147276446223259,
-0.0021166768856346607,
-0.034208107739686966,
0.01896100863814354,
0.02256450429558754,
-0.014695032499730587,
-0.03780156746506691,
0.010348755866289139,
-0.023106534034013748,
-0.06279516965150833,
-0.0030012396164238453,
-0.0052346037700772285,
0.007844377309083939,
0.01666240021586418,
-0.00048682314809411764,
0.04304118826985359,
-0.006800467614084482,
0.004127959255129099,
0.04276013746857643,
-0.05010765418410301,
0.020396385341882706,
-0.019482962787151337,
0.02230352722108364,
0.07162825018167496,
0.0023349944967776537,
-0.002467992715537548,
-0.022524353116750717,
-0.020797887817025185,
-0.003264726372435689,
-0.021259617060422897,
-0.020396385341882706,
0.020406421273946762,
0.025174276903271675,
-0.008200711570680141,
0.0465744212269783,
-0.041836678981781006,
-0.004165600053966045,
0.039969686418771744,
-0.02298608236014843,
-0.02455194666981697,
0.034910742193460464,
-0.054243139922618866,
0.022042550146579742,
-0.012376349419355392,
-0.0035181755665689707,
0.05151291564106941,
0.012225785292685032,
0.08034087717533112,
0.030855553224682808,
-0.018268415704369545,
-0.005380148533731699,
-0.04432599991559982,
-0.04019051417708397,
0.08439606428146362,
-0.0685366690158844,
0.08415516465902328,
0.015518114902079105,
0.03458953648805618,
0.0004990564775653183,
-0.02523450367152691,
-0.0172245055437088,
0.03990945965051651,
0.018971046432852745,
0.006253418978303671,
0.0321604423224926,
0.01036883145570755,
-0.025033751502633095,
0.023186834529042244,
0.008210749365389347,
0.02282548137009144,
0.017545709386467934,
-0.020306047052145004,
-0.021620970219373703,
-0.02216299995779991,
0.05143261328339577,
-0.04601231589913368,
-0.023226985707879066,
-0.0578165240585804,
-0.04396464675664902,
0.023467887192964554,
0.023628488183021545,
0.04890314117074013,
-0.017164280638098717,
-0.0030388806480914354,
0.028004879131913185,
0.012426537461578846,
0.019994881004095078,
-0.01750555820763111,
-0.057615771889686584,
-0.05199471861124039,
-0.04101359471678734,
0.044085100293159485,
0.033505477011203766,
0.04613276571035385,
0.012386387214064598,
-0.06982148438692093,
-0.058699831366539,
-0.03310397267341614,
-0.02748292312026024,
-0.03017299808561802,
-0.030996080487966537,
-0.049304645508527756,
-0.0601050928235054,
-0.06745260953903198,
0.017776573076844215,
-0.04645397141575813,
-0.023869391530752182,
-0.00030865592998452485,
-0.019292250275611877,
-0.05010765418410301,
-0.008516895584762096,
0.03635615482926369,
-0.06628824770450592,
0.031658560037612915,
-0.022504279389977455,
0.060867950320243835,
-0.047899384051561356,
-0.026037510484457016,
0.07295320928096771,
0.0008381388033740222,
-0.04946524649858475,
0.026900744065642357,
-0.02075773850083351,
-0.007693813182413578,
0.006494321394711733,
0.049144044518470764,
0.01269755233079195,
-0.0014667429495602846,
0.056049905717372894,
-0.06371862441301346,
0.029169239103794098,
0.0038920757360756397,
-0.023628488183021545,
0.011754019185900688,
0.03384675458073616,
0.011442853137850761,
-0.01884055696427822,
0.04862209036946297,
-0.04645397141575813,
0.0703032836318016,
0.0014027532888576388,
0.018037550151348114,
0.03962840884923935,
-0.0022132887970656157,
0.03442893549799919,
-0.024511797353625298,
-0.028687434270977974,
-0.00941024161875248,
-0.035171717405319214,
-0.009871970862150192,
0.06464208662509918,
-0.010449131950736046,
-0.027563223615288734,
0.06789426505565643,
-0.029410140588879585,
0.049023594707250595,
-0.02254442870616913,
0.02087818831205368,
-0.007141745649278164,
-0.022885706275701523,
-0.053962089121341705,
-0.025033751502633095,
0.053640883415937424,
-0.027262097224593163,
-0.010388906113803387,
0.013982363976538181,
0.01213544700294733,
-0.020285971462726593,
0.0108506353572011,
0.05741501972079277,
-0.017334919422864914,
-0.03691826015710831,
-0.0031367470510303974,
0.032642245292663574,
-0.022062623873353004,
0.07367591559886932,
0.0023550696205347776,
-0.015618490986526012,
0.011472966521978378,
-0.005164340604096651,
-0.013681236654520035,
0.012557025998830795,
-0.05665216222405434,
-0.0365569069981575,
0.021319841966032982,
0.055487800389528275,
0.009314884431660175,
0.0493849478662014,
0.031116532161831856,
0.00895353127270937,
-0.03784171864390373,
-0.024712547659873962,
0.04496840760111809,
-0.0006913390825502574,
-0.01919187419116497,
0.027844276279211044,
-0.024190593510866165,
0.008511876687407494,
0.014594657346606255,
-0.005590938031673431,
-0.021962247788906097,
-0.012326161377131939,
0.06982148438692093,
-0.02256450429558754,
-0.006102855317294598,
-0.015257137827575207,
-0.008481764234602451,
0.030976004898548126,
0.03248164430260658,
0.009435335174202919,
0.028827961534261703,
-0.0564112588763237,
-0.03101615607738495,
0.04918419569730759,
0.038745101541280746,
-0.020697511732578278,
0.05556810274720192,
0.039989762008190155,
0.0028682416304945946,
0.0293499156832695,
0.048461489379405975,
0.06528449058532715,
-0.0256560817360878,
0.004095336887985468,
-0.027462847530841827,
0.015076461248099804,
0.02202247455716133,
-0.022243300452828407,
0.03316419944167137,
0.009721406735479832,
0.01036883145570755,
-0.011613492853939533,
-0.012838078662753105,
-0.003603495191782713,
0.06946013122797012,
-0.007186914794147015,
0.012617251835763454,
0.031799089163541794,
-0.012406461872160435,
0.02272510528564453,
0.06697080284357071,
0.012275973334908485,
0.016371309757232666,
-0.07568343728780746,
-0.011663680896162987,
-0.003927207551896572,
-0.005435355473309755,
0.0015658641932532191,
-0.002439134521409869,
-0.011663680896162987,
0.013269695453345776,
-0.02736247330904007,
-0.011191913858056068,
-0.02342773601412773,
-0.0688980221748352,
-0.020135406404733658,
0.0337463803589344,
-0.029369991272687912,
0.029711268842220306,
0.01579916849732399,
0.02427089400589466,
0.02258457988500595,
-0.015347476117312908,
0.06596704572439194,
-0.016792889684438705,
-0.02356826327741146,
0.001993716461583972,
-0.05199471861124039,
-0.02184179797768593,
0.02892833575606346,
0.0711865946650505,
0.02186187356710434,
-0.01954318955540657,
0.059743739664554596,
-0.07219035178422928,
-0.03424825891852379,
-0.05456434190273285,
0.005580900702625513,
-0.06050659716129303,
-0.03414788469672203,
0.006609753705561161,
-0.002454190980643034,
0.07235095649957657,
0.02989194542169571,
-0.021620970219373703,
-0.054925695061683655,
-0.008426557295024395,
0.02902871184051037,
0.005299848038703203,
-0.04866224154829979,
-0.02045661024749279,
0.04155562445521355,
0.00932994019240141,
-0.0030188055243343115,
0.07287290692329407,
-0.026579540222883224,
-0.07299336045980453,
0.013380108401179314,
-0.0003531977126840502,
-0.013289770111441612,
0.033565703779459,
-0.01865988038480282,
-0.03487059101462364,
0.0246924739331007,
0.053239382803440094,
0.0017917099175974727,
0.025575781241059303,
-0.02525457926094532,
0.050990961492061615,
0.012275973334908485,
0.04838118702173233,
-0.022524353116750717,
0.07548268139362335,
-0.0013876969460397959,
-0.003312404965981841,
0.03509141877293587,
0.023949692025780678,
-0.01697356626391411,
0.027743900194764137,
0.03952803090214729,
-0.06122930347919464,
0.04757818207144737,
-0.010710109025239944,
0.016391385346651077,
0.014634807594120502,
0.02057706192135811,
0.018429016694426537,
0.00036668573739007115,
-0.02862720936536789,
-0.009565823711454868,
-0.03360585495829582,
0.03876517713069916,
-0.023046309128403664,
-0.007342497818171978,
-0.0507902093231678,
0.00015440637071151286,
0.011242101900279522,
-0.0428805872797966,
-0.023106534034013748,
-0.05344013497233391,
0.07002223283052444,
0.037038709968328476,
-0.04175637662410736,
0.04862209036946297,
-0.04388434812426567,
-0.034368712455034256,
0.025475405156612396,
0.009324922226369381,
0.03890570253133774,
-0.04629337042570114,
-0.024371270090341568,
-0.05119171366095543,
-0.05757562071084976,
0.056933216750621796,
0.047618329524993896,
-0.06620794534683228,
-0.010253398679196835,
-0.03731976076960564,
0.020677436143159866,
-0.04187683016061783,
-0.007693813182413578,
-0.016260897740721703,
-0.02455194666981697,
0.053801488131284714,
-0.026157962158322334,
-0.012677476741373539,
0.01732488162815571,
-0.02579660899937153,
0.03119683265686035,
-0.07130704820156097,
0.018780332058668137,
-0.036597054451704025,
0.036757659167051315,
0.01374146156013012,
0.020677436143159866,
0.019994881004095078,
-0.038584500551223755,
0.014865672215819359,
-0.060867950320243835,
0.02340766228735447,
0.0253951046615839,
0.04512900859117508,
-0.020024994388222694,
0.00937510933727026,
-0.01884055696427822,
-0.024170517921447754,
0.0029284670017659664,
-0.01715424284338951,
0.06407997757196426,
-0.0011900818208232522,
0.03565352410078049,
0.027964727953076363,
-0.031377509236335754,
-0.0019761507865041494,
0.005204490851610899,
-0.007206990383565426,
-0.02778405137360096,
0.04713652655482292,
-0.006494321394711733,
-0.04625321924686432,
0.017053866758942604,
-0.03735991194844246,
0.08343245089054108,
0.005021304823458195,
0.051553066819906235,
0.031377509236335754,
0.0662480965256691,
0.0009598446195013821,
0.002470501931384206,
0.0456911139190197,
-0.0088732298463583,
0.011533191427588463,
-0.06038614735007286,
-0.03756066411733627,
-0.06962072849273682,
-0.053520433604717255,
-0.023909540846943855,
-0.04593201354146004,
0.058338478207588196,
0.024371270090341568,
-0.009053906425833702,
0.09523665904998779,
0.03952803090214729,
-0.03129720687866211,
0.03316419944167137,
0.03974885866045952,
-0.02834615670144558,
0.037741340696811676,
-0.06375877559185028,
-0.006599715910851955,
0.008426557295024395,
0.05757562071084976,
-0.005711389239877462,
-0.0054303365759551525,
0.008050147444009781,
-0.0177464596927166,
0.05966344103217125,
-0.024311045184731483,
-0.0011486768489703536,
-0.02282548137009144,
-0.0456911139190197,
-0.029249539598822594,
0.0342683345079422,
-0.010348755866289139,
-0.012727664783596992,
-0.03456946089863777,
-0.059302087873220444,
0.02286563254892826,
-0.03665728121995926,
0.026760216802358627,
-0.04179652780294418,
0.01565864123404026,
-0.015608454123139381,
0.0007672483334317803,
-0.03155818581581116,
-0.018579579889774323,
0.016230784356594086,
-0.025997359305620193,
-0.07110629230737686,
0.024572022259235382,
-0.015477964654564857,
-0.03442893549799919,
-0.0256560817360878,
0.0011888272128999233,
0.026760216802358627,
0.04765848070383072,
0.055246900767087936,
0.013008717447519302,
-0.07869470864534378,
-0.002110403496772051,
0.017756497487425804,
0.021520594134926796,
0.029952170327305794,
0.0008469216991215944,
-0.08552027493715286,
0.003445402951911092,
0.006122930441051722,
-0.009058925323188305,
-0.014072702266275883,
-0.05785667151212692,
0.05926193669438362,
0.0204766858369112,
0.013349995948374271,
0.05018795281648636,
-0.06251411885023117,
-0.05560825392603874,
0.05689306557178497,
-0.073113813996315,
0.030413899570703506,
0.0022471656557172537,
-0.04693577438592911,
-0.005641126073896885,
0.03262216970324516,
0.06287547200918198,
0.009204470552504063,
0.022925857454538345,
-0.009952271357178688,
0.01931232400238514,
0.04982659965753555,
0.0026599615812301636,
0.035633448511362076,
-0.022203151136636734,
-0.02878781035542488,
0.044928256422281265,
0.04432599991559982,
-0.0042333537712693214,
-0.10463184863328934,
0.021078940480947495,
-0.04926449432969093,
-0.007091558072715998,
-0.03047412633895874,
-0.026820441707968712,
0.02649923972785473,
-0.05215532332658768,
0.02022574469447136,
-0.04456690326333046,
-0.028968486934900284,
-0.03161841258406639,
0.00010782568278955296,
-0.0409533716738224,
0.021078940480947495,
0.0578165240585804,
0.044767655432224274,
0.020617211237549782,
0.012376349419355392,
-0.012286011129617691,
0.005264716222882271,
0.01396228838711977,
0.021821722388267517,
0.07480012625455856,
-0.006328701041638851,
-0.025475405156612396,
0.012255898676812649,
0.003721436718478799,
0.031658560037612915,
0.04926449432969093,
-0.05532719939947128,
-0.02947036735713482,
0.0006022554589435458,
-0.044807806611061096,
-0.00986695196479559,
0.015327401459217072,
0.03394713252782822,
-0.024471646174788475,
-0.01947292685508728,
-0.03473006561398506,
0.032802846282720566,
0.06456178426742554,
-0.01797732524573803,
-0.04593201354146004,
-0.038704950362443924,
-0.008326181210577488,
0.05191441997885704,
0.05805742368102074,
-0.014514355920255184,
-0.07973862439393997,
0.06175125762820244,
0.07652658969163895,
0.03681788221001625,
0.01219567283987999,
-0.051553066819906235,
0.041676077991724014,
-0.10848627984523773,
-0.007964828051626682,
0.007061445154249668,
0.005766595713794231,
-0.015477964654564857,
0.019723866134881973,
-0.010092797689139843,
-0.0011568323243409395,
0.01502627320587635,
-0.02296600677073002,
0.026900744065642357,
-0.011051387526094913,
-0.0028255817014724016,
0.015648603439331055,
0.007091558072715998,
0.07343501597642899,
-0.01797732524573803,
-0.05335983261466026,
0.015036311000585556,
0.054363593459129333,
-0.03709893673658371,
-0.02892833575606346,
-0.019723866134881973,
-0.04665472358465195,
0.060586899518966675,
0.04637366905808449,
0.0260977353900671,
-0.029109012335538864,
-0.05878012999892235,
0.031136605888605118,
0.01467495784163475,
0.010800447314977646,
0.013169319368898869,
0.006690054200589657,
-0.06315652281045914,
-0.007337478920817375,
0.04593201354146004,
0.005731464363634586,
-0.025053827092051506,
0.0214402936398983,
0.03019307367503643,
-0.08174613863229752,
0.05528704822063446,
-0.020075181499123573,
-0.06412012875080109,
0.0018745200941339135,
-0.0303135234862566,
0.02874765917658806,
0.0007760312291793525,
-0.017886986956000328,
0.056049905717372894,
-0.020556986331939697,
0.014996160753071308,
-0.06476253271102905,
-0.05797712504863739,
0.04484795406460762,
0.03695840761065483,
-0.04926449432969093,
0.012004958465695381,
0.01769627258181572,
0.0047176675871014595,
-0.003633607877418399,
-0.0711865946650505,
0.0017477954970672727,
0.006158061791211367,
-0.062112610787153244,
-0.04356314241886139,
-0.020536910742521286,
0.03171878680586815,
-0.028185555711388588,
-0.010459169745445251,
-0.0006963578634895384,
0.03135743364691734,
-0.02172134630382061,
0.010800447314977646,
0.04910389333963394,
0.04396464675664902,
-0.023327361792325974,
0.04528960958123207,
-0.03695840761065483,
0.008772854693233967,
-0.06813516467809677,
0.0256560817360878,
-0.02653939090669155,
-0.010770334862172604,
-0.009641106240451336,
0.036436453461647034,
0.03946780785918236,
-0.06223306432366371,
0.02200239896774292,
-0.040571942925453186,
0.028727585449814796,
-0.05685291439294815,
0.06307622045278549,
-0.012597176246345043,
-0.019412700086832047,
-0.0004485548415686935,
0.008863192982971668,
-0.04581156373023987,
0.011523154564201832,
-0.004747780505567789,
-0.007884527556598186,
0.01219567283987999,
0.010047628544270992,
-0.004757817834615707,
0.020356234163045883,
-0.0036511735524982214,
0.005776633508503437,
0.027021193876862526,
-0.037038709968328476,
0.020938415080308914,
0.001455450663343072,
-0.0009824292501434684,
-0.015357513912022114,
-0.019553227350115776,
-0.0033977245911955833,
-0.003759077750146389,
-0.05432344228029251,
-0.01346040889620781,
0.012235823087394238,
-0.029831720516085625,
0.033063825219869614,
0.003806756343692541,
0.017595896497368813,
0.015477964654564857,
-0.027021193876862526,
0.024371270090341568,
-0.05348028242588043,
0.01933239959180355,
0.09379124641418457,
-0.0025131618604063988,
0.0006775374058634043,
-0.0013550748117268085,
-0.056049905717372894,
-0.09997440129518509,
-0.09090042114257812,
0.007673738058656454,
-0.015969807282090187,
0.044647205621004105,
-0.05010765418410301,
0.010449131950736046,
-0.05299847945570946,
0.012888266704976559,
0.05291817709803581,
-0.06998208165168762,
-0.009209489449858665,
-0.04444645345211029,
-0.004486802965402603,
0.06207245960831642,
0.04697592556476593,
0.04685547202825546,
-0.02776397578418255,
-0.0260977353900671,
-0.06564584374427795,
-0.009816763922572136,
-0.014303566887974739,
-0.02300615794956684,
0.01303883083164692,
-0.050870511680841446,
0.027181796729564667,
0.0465744212269783,
-0.039568182080984116,
0.08720658719539642,
0.009816763922572136,
0.014213228598237038,
-0.03852427378296852,
0.004685045685619116,
-0.005380148533731699,
-0.0033500459976494312,
-0.001147422124631703,
-0.028426457196474075,
0.06191185861825943,
0.05725441873073578,
-0.011884507723152637,
0.08447636663913727,
-0.010489282198250294,
-0.012557025998830795,
0.02396976761519909,
0.0026499240193516016,
-0.029249539598822594,
-0.053399983793497086,
0.04906374216079712,
-0.0045294626615941525,
-0.003774134209379554,
0.014624769799411297,
-0.008607233874499798,
-0.00620824983343482,
0.013078981079161167,
0.007156802341341972,
0.02665984071791172,
-0.027984803542494774,
0.025354953482747078,
-0.01234623696655035,
-0.011794169433414936,
0.023327361792325974,
0.009164320304989815,
-0.0300525464117527,
-0.06913892179727554,
-0.030353674665093422,
-0.052235621958971024,
-0.012597176246345043,
0.020306047052145004,
0.05709381774067879,
0.020637286826968193,
0.012988642789423466,
0.03456946089863777
] |
711,271
|
celery.app.base
|
__reduce__
| null |
def __reduce__(self):
if self._using_v1_reduce:
return self.__reduce_v1__()
return (_unpickle_app_v2, (self.__class__, self.__reduce_keys__()))
|
(self)
|
[
0.02091890200972557,
-0.04789777845144272,
-0.04574083909392357,
0.044097453355789185,
0.004583498928695917,
-0.04943845048546791,
-0.00877327099442482,
-0.06891939043998718,
0.045706599950790405,
-0.046665240079164505,
0.007686241064220667,
0.03899611905217171,
0.014670620672404766,
0.04645981639623642,
0.02066212333738804,
0.01826552115380764,
-0.020080091431736946,
0.03567511588335037,
0.06080518662929535,
0.03146394342184067,
0.0005111499922350049,
0.02475346252322197,
0.01946382224559784,
0.03403173014521599,
-0.0055036223493516445,
0.0075706904754042625,
0.03428851068019867,
-0.02917005494236946,
0.01889890991151333,
-0.032011739909648895,
-0.055087581276893616,
0.016605019569396973,
0.01876196078956127,
-0.029991747811436653,
0.01970348134636879,
-0.05375233292579651,
-0.01133249793201685,
0.05683367699384689,
0.008323907852172852,
-0.05464249849319458,
0.018539419397711754,
-0.040091708302497864,
-0.017529422417283058,
-0.06713905930519104,
0.046836428344249725,
0.0367022305727005,
0.029837679117918015,
0.010716229677200317,
0.06063399836421013,
-0.024976003915071487,
-0.014148503541946411,
-0.016527986153960228,
0.007874545641243458,
0.06306483596563339,
-0.023743465542793274,
0.05888790637254715,
-0.008204078301787376,
-0.016819002106785774,
-0.047315746545791626,
0.01915568858385086,
-0.042830679565668106,
-0.002557087456807494,
0.06624889373779297,
0.010716229677200317,
-0.0016112860757857561,
0.0005108825280331075,
-0.05464249849319458,
0.029854798689484596,
-0.04847981035709381,
0.047384221106767654,
-0.026105830445885658,
-0.06368110328912735,
-0.0022254150826483965,
0.001862715114839375,
-0.026653625071048737,
0.0034151561558246613,
-0.013489439152181149,
-0.03427139297127724,
0.024958886206150055,
-0.026790572330355644,
0.0390988290309906,
-0.022476691752672195,
-0.08319628238677979,
-0.04529575631022453,
0.0020488796290010214,
-0.007117048371583223,
0.02090178243815899,
-0.031361233443021774,
-0.10058876127004623,
-0.021090086549520493,
-0.018282640725374222,
0.09819215536117554,
-0.03158377483487129,
0.07977256923913956,
-0.004600617568939924,
-0.04669947922229767,
-0.0834701806306839,
-0.011597836390137672,
-0.033774953335523605,
-0.04272796958684921,
0.04238559678196907,
-0.019994497299194336,
-0.06443432718515396,
-0.03557240217924118,
0.01117843110114336,
-0.007288234308362007,
0.0021975974086672068,
0.005251123569905758,
-0.03363800421357155,
0.007138446439057589,
0.03067648969590664,
0.04368660971522331,
-0.04495338350534439,
0.04622015729546547,
-0.056114695966243744,
0.03742120787501335,
-0.01922416128218174,
-0.006620609667152166,
0.033210039138793945,
0.016382478177547455,
-0.04135848209261894,
0.044028978794813156,
-0.015492312610149384,
-0.021586526185274124,
-0.012761899270117283,
0.007159844972193241,
0.02843395620584488,
-0.011075719259679317,
0.02949530817568302,
-0.0312414038926363,
0.01562070194631815,
0.006787515711039305,
-0.054128941148519516,
-0.011204108595848083,
0.018299758434295654,
0.00023457799397874624,
0.04173509031534195,
0.030008865520358086,
-0.017820438370108604,
0.08792100846767426,
0.0018926726188510656,
0.021980252116918564,
0.05662825331091881,
0.07354141026735306,
0.006719041615724564,
-0.06570109724998474,
0.015406719408929348,
0.0772390216588974,
0.004677650984376669,
0.02418855018913746,
0.010964448563754559,
0.01819704659283161,
0.03933849185705185,
0.05714181065559387,
-0.00012370846525300294,
0.03445969521999359,
-0.005144132301211357,
-0.005901629570871592,
-0.02988903596997261,
-0.08292238414287567,
-0.012428087182343006,
0.01369486190378666,
0.013489439152181149,
-0.041495431214571,
0.0014625684125348926,
-0.034322746098041534,
0.05929875001311302,
-0.025198545306921005,
-0.03981781005859375,
0.016082903370261192,
-0.015886040404438972,
-0.06737872213125229,
0.012025800533592701,
0.013361049816012383,
-0.06282518059015274,
0.07936172187328339,
-0.03295326232910156,
0.0033038854598999023,
-0.012856051325798035,
0.033620886504650116,
-0.010964448563754559,
-0.02762938290834427,
-0.08929049968719482,
-0.0328676663339138,
0.024291260167956352,
0.04276220500469208,
0.0019204904092475772,
0.011632072739303112,
0.06946718692779541,
-0.015269770286977291,
-0.010716229677200317,
-0.026722099632024765,
0.020953137427568436,
0.01470485795289278,
-0.003635557834059,
-0.030402593314647675,
-0.0681319385766983,
0.03694188967347145,
-0.02771497704088688,
0.008858863264322281,
-0.07559563964605331,
0.018128573894500732,
0.04598049819469452,
0.010716229677200317,
-0.051800813525915146,
0.011572157964110374,
0.0038238621782511473,
0.003295326139777899,
0.025506678968667984,
-0.027834806591272354,
0.03663375601172447,
-0.005024302285164595,
0.0008259713649749756,
0.0381401889026165,
0.045706599950790405,
-0.05902485549449921,
0.06741295754909515,
-0.023743465542793274,
0.03146394342184067,
0.026054473593831062,
0.00851221289485693,
0.022100083529949188,
-0.011092837899923325,
-0.0017000887310132384,
-0.031600892543792725,
-0.055327240377664566,
-0.034014612436294556,
-0.042899154126644135,
0.022493809461593628,
-0.02420566789805889,
0.022014489397406578,
-0.04115305840969086,
0.02412007562816143,
-0.02466787025332451,
-0.004264665301889181,
0.06529024988412857,
-0.009363861754536629,
-0.023743465542793274,
0.02932412177324295,
0.015646379441022873,
0.03343258053064346,
0.00427750451490283,
0.03968086093664169,
0.01589459925889969,
0.01442240085452795,
-0.004296762868762016,
0.04700761288404465,
0.03629138320684433,
0.037386972457170486,
0.014884602278470993,
0.05762112885713577,
-0.005918748211115599,
-0.01373765803873539,
0.012667747214436531,
0.019771955907344818,
-0.02588328905403614,
0.007797511760145426,
-0.011195549741387367,
-0.02018280141055584,
0.017281202599406242,
0.043549660593271255,
0.0051184543408453465,
0.025027358904480934,
0.020456699654459953,
-0.05573808774352074,
-0.010904533788561821,
0.03427139297127724,
-0.007438021712005138,
-0.02643108367919922,
0.049883533269166946,
0.05666248872876167,
-0.01994314230978489,
0.02244245447218418,
0.036017484962940216,
-0.0690905749797821,
-0.020285513252019882,
-0.02066212333738804,
0.03101886250078678,
0.0017257665749639273,
-0.029854798689484596,
0.022305505350232124,
-0.009192676283419132,
0.004797481000423431,
-0.03735273331403732,
0.008182680234313011,
-0.0259688813239336,
-0.0005336181493476033,
-0.03319292142987251,
0.02281906269490719,
-0.033346988260746,
0.08689389377832413,
-0.015689175575971603,
0.019908905029296875,
-0.0005269311950542033,
0.04488490894436836,
-0.005559257697314024,
-0.04889065772294998,
-0.028142940253019333,
0.05128725618124008,
0.012599272653460503,
-0.04211169853806496,
-0.015141380950808525,
0.0037746462039649487,
0.012351053766906261,
0.04495338350534439,
-0.03182343393564224,
0.04368660971522331,
0.004797481000423431,
-0.013018677942454815,
0.07326751202344894,
-0.05786079168319702,
-0.028827684000134468,
0.002908018184825778,
-0.02644820138812065,
-0.07977256923913956,
-0.02956378273665905,
0.03540121763944626,
0.06789227575063705,
0.01833399571478367,
0.028228534385561943,
-0.022853299975395203,
0.001701158587820828,
-0.05727875977754593,
-0.008700517006218433,
-0.0009318925440311432,
-0.03653104230761528,
-0.00684743095189333,
-0.06782380491495132,
0.026893284171819687,
-0.053889282047748566,
-0.060291629284620285,
-0.01410570740699768,
0.023332620039582253,
0.04252254590392113,
-0.061489928513765335,
-0.0025677864905446768,
0.07840308547019958,
-0.013540794141590595,
-0.00576896034181118,
-0.020319750532507896,
0.0197890754789114,
0.006312475074082613,
-0.008623483590781689,
-0.002024271758273244,
-0.04365237057209015,
0.006967260967940092,
0.0017642833990976214,
0.014995873905718327,
0.04847981035709381,
-0.06782380491495132,
0.01562070194631815,
-0.04019441828131676,
-0.032559532672166824,
0.035777825862169266,
0.059641122817993164,
-0.030008865520358086,
-0.03230275586247444,
-0.03469935432076454,
0.008430899120867252,
-0.007104209624230862,
0.03677070513367653,
-0.02564362809062004,
-0.04824015125632286,
0.020970256999135017,
0.06217467039823532,
0.016442393884062767,
-0.06761837750673294,
-0.040742214769124985,
-0.007065692450851202,
-0.11428362131118774,
-0.03348393738269806,
-0.023058723658323288,
-0.021295510232448578,
0.0035991808399558067,
-0.005156971514225006,
0.036976125091314316,
0.0037275701761245728,
0.03487054258584976,
-0.047144562005996704,
0.04166661575436592,
-0.015517990104854107,
0.011751903221011162,
-0.0083367470651865,
-0.014995873905718327,
0.028570905327796936,
0.08579830825328827,
-0.001020160154439509,
-0.03372359648346901,
0.04077645018696785,
0.0381401889026165,
-0.0032482498791068792,
0.028331244364380836,
-0.05786079168319702,
-0.02324702776968479,
-0.016271207481622696,
0.06046281382441521,
-0.041940513998270035,
-0.003950111567974091,
0.0038260018918663263,
-0.05269097909331322,
-0.00026547169545665383,
0.01073334738612175,
0.06570109724998474,
0.026944641023874283,
0.0038024638779461384,
-0.015851803123950958,
0.0543343648314476,
-0.004981506150215864,
0.02057652920484543,
-0.020251275971531868,
0.027201419696211815,
-0.02964937500655651,
-0.05029438063502312,
-0.035538166761398315,
0.02444532886147499,
-0.046185921877622604,
0.07360988110303879,
-0.036496806889772415,
0.06984379142522812,
0.0071341670118272305,
0.03591477498412132,
0.06563262641429901,
0.01850518211722374,
-0.03903035447001457,
-0.01599731110036373,
-0.04673371464014053,
-0.031361233443021774,
0.02603735588490963,
-0.008152722381055355,
0.01647663116455078,
-0.006338153034448624,
-0.027030233293771744,
-0.020405344665050507,
-0.023281265050172806,
-0.048753708600997925,
-0.03101886250078678,
0.009389539249241352,
-0.024530921131372452,
0.034733593463897705,
0.05039709061384201,
0.017563659697771072,
-0.007472258992493153,
0.027132945135235786,
-0.051629628986120224,
0.049883533269166946,
-0.0017065081046894193,
-0.06080518662929535,
0.07415767759084702,
-0.03391190245747566,
-0.00019739859271794558,
0.05584079772233963,
-0.016254089772701263,
-0.03591477498412132,
-0.010707669891417027,
0.0013523675734177232,
-0.00045578210847452283,
-0.0018327576108276844,
-0.05303335189819336,
-0.0020114327780902386,
-0.0068303123116493225,
0.02780056931078434,
-0.07354141026735306,
0.019652126356959343,
0.009261149913072586,
-0.03069360926747322,
0.03254241496324539,
-0.01785467565059662,
-0.0018188487738370895,
-0.013438083231449127,
-0.024051601067185402,
0.031686484813690186,
0.005713324993848801,
0.031207166612148285,
-0.0528964027762413,
-0.023058723658323288,
0.08114205300807953,
0.022391099482774734,
-0.052930641919374466,
0.007061413023620844,
-0.048582520335912704,
0.023435331881046295,
-0.01437960471957922,
0.02370923012495041,
-0.013318252749741077,
-0.019498059526085854,
0.00240516010671854,
0.025421086698770523,
-0.0176321342587471,
0.0710078552365303,
0.0195494145154953,
-0.03326139599084854,
0.07326751202344894,
-0.014114267192780972,
0.08415492624044418,
0.010998685844242573,
0.0049558281898498535,
-0.004604896996170282,
-0.0042026108130812645,
0.01972060091793537,
-0.014088588766753674,
0.022322624921798706,
-0.011435209773480892,
-0.0035606641322374344,
0.008114205673336983,
-0.011888851411640644,
-0.0012764038983732462,
-0.03683917596936226,
-0.0057090455666184425,
0.0017557240789756179,
-0.04615168273448944,
-0.05409470200538635,
-0.028964633122086525,
0.02155228890478611,
0.048514045774936676,
0.02316143549978733,
-0.016724849119782448,
-0.023520924150943756,
-0.0022211354225873947,
-0.022408217191696167,
-0.008760431781411171,
-0.0019943141378462315,
0.010356739163398743,
0.031361233443021774,
0.01743527129292488,
-0.056594014167785645,
-0.041632380336523056,
-0.0032589491456747055,
0.01137529406696558,
-0.00036778193316422403,
0.04673371464014053,
-0.07107633352279663,
-0.014918839558959007,
-0.011983003467321396,
0.004412313457578421,
-0.0262085422873497,
0.034408338367938995,
-0.07018616795539856,
0.023846177384257317,
0.01534680463373661,
0.018231283873319626,
0.015158499591052532,
0.011726225726306438,
0.0557723231613636,
-0.01213707122951746,
-0.04967810958623886,
0.0229046568274498,
0.010990126058459282,
0.055806562304496765,
-0.012171308510005474,
-0.050260141491889954,
-0.05173233896493912,
0.023692110553383827,
0.056765202432870865,
0.016690611839294434,
0.06505059450864792,
-0.0705285370349884,
0.022082963958382607,
0.010476568713784218,
-0.032645124942064285,
0.0006002201116643846,
0.0017910310998558998,
0.06974108517169952,
0.002304588444530964,
-0.0424540713429451,
0.02131262794137001,
0.052280135452747345,
-0.0023495247587561607,
0.040091708302497864,
-0.013266896829009056,
-0.039064593613147736,
-0.0015577905578538775,
-0.019669245928525925,
0.017187051475048065,
-0.024496683850884438,
0.014020114205777645,
0.052108947187662125,
-0.012488001957535744,
0.016185615211725235,
-0.030505305156111717,
-0.08367560803890228,
-0.008032891899347305,
0.031857673078775406,
0.025215664878487587,
-0.06994650512933731,
0.000881606712937355,
-0.01678476482629776,
-0.008191239088773727,
0.0271671824157238,
-0.017803320661187172,
-0.010887415148317814,
-0.00279460777528584,
-0.018539419397711754,
-0.008875981904566288,
0.029769204556941986,
0.02932412177324295,
0.0005697276210412383,
-0.05601198226213455,
0.018145691603422165,
-0.028485313057899475,
0.007652003783732653,
0.024873292073607445,
0.013361049816012383,
0.03154953569173813,
-0.03851679712533951,
0.014319689944386482,
0.010613517835736275,
-0.07833460718393326,
0.06830312311649323,
0.007673402316868305,
0.03158377483487129,
-0.04943845048546791,
0.01122122723609209,
0.01606578379869461,
-0.012710543349385262,
0.05245131999254227,
-0.020867545157670975,
-0.033055972307920456,
-0.026568030938506126,
-0.028656497597694397,
-0.021449577063322067,
-0.0328676663339138,
-0.0007056063623167574,
-0.013232660479843616,
-0.0024201388005167246,
-0.0329190231859684,
0.07135023176670074,
-0.01930975541472435,
0.004917311482131481,
0.025900406762957573,
-0.0023987405002117157,
0.0020595788955688477,
-0.01924128085374832,
0.10209519416093826,
-0.04087916016578674,
0.06772109121084213,
0.007305352948606014,
0.016990188509225845,
0.05881943181157112,
-0.03588053584098816,
-0.015055788680911064,
-0.02627701498568058,
-0.019652126356959343,
-0.021124323830008507,
-0.027458198368549347,
-0.03807171434164047,
-0.026944641023874283,
-0.01122122723609209,
0.008054290898144245,
0.0049558281898498535,
0.00834958627820015,
-0.05782655254006386,
-0.02858802303671837,
0.015834683552384377,
0.014833247289061546,
0.02699599601328373,
0.06350991874933243,
0.04991777241230011,
-0.06607770919799805,
-0.01922416128218174,
-0.016040107235312462,
-0.04704184830188751,
-0.027458198368549347,
-0.022579403594136238,
-0.0055036223493516445,
0.07326751202344894,
0.028742091730237007,
-0.014961636625230312,
-0.012428087182343006,
0.046117447316646576,
-0.008580686524510384,
0.011512243188917637,
-0.022134320810437202,
0.05073946341872215,
-0.002646960085257888,
-0.06854278594255447,
-0.00036858435487374663,
0.01617705449461937,
0.05238284543156624,
-0.0024244184605777264,
-0.06628312915563583,
-0.015415278263390064,
0.006903066299855709,
-0.03944120183587074,
0.0016294745728373528,
-0.022733470425009727,
-0.04536423087120056,
-0.05118454620242119,
0.030402593314647675,
-0.0008002934628166258,
-0.0695699006319046,
0.08429187536239624,
-0.009115641936659813,
0.003338122507557273,
0.006154128350317478,
-0.06203772500157356,
0.04262525588274002,
-0.002051019575446844,
-0.06453703343868256,
0.03868798539042473,
-0.01005716435611248,
0.015244092792272568,
0.016819002106785774,
0.019754838198423386,
-0.06922752410173416,
0.021894659847021103,
0.11325650662183762,
-0.01835111528635025,
0.008251153863966465,
-0.02235686220228672,
0.0018905329052358866,
0.029341241344809532,
0.03267936408519745,
0.00859780516475439,
0.02588328905403614,
0.05142420530319214,
-0.03218292444944382,
0.015432396903634071,
0.015381041914224625,
-0.04704184830188751,
0.05727875977754593,
-0.045056093484163284,
0.028348363935947418,
0.025849051773548126,
-0.0029743527993559837,
0.026961758732795715,
0.024530921131372452,
0.03161801025271416,
-0.053238775581121445,
0.005764680914580822,
0.04919879138469696,
0.05423165112733841,
-0.021757710725069046,
-0.04752117022871971,
0.028245652094483376,
0.07860850542783737,
-0.01930975541472435,
0.02939259633421898,
-0.013078592717647552,
0.015072907321155071,
-0.0010228350292891264,
-0.033603765070438385,
-0.03677070513367653,
-0.01534680463373661,
0.07559563964605331,
-0.044508300721645355,
-0.03108733519911766,
0.03422003611922264,
0.039543911814689636,
-0.0033188641536980867,
0.01209427509456873,
0.02780056931078434,
0.054916396737098694,
0.03154953569173813,
0.0063852290622889996,
0.03406596928834915,
-0.01833399571478367,
-0.0011362455552443862,
-0.060839422047138214,
0.013472320511937141,
-0.07381530106067657,
-0.024239905178546906,
-0.0013887445675209165,
-0.04084492474794388,
-0.0036248588003218174,
0.0687139704823494,
0.010313943028450012,
0.051458440721035004,
-0.018248403444886208
] |
711,272
|
celery.app.base
|
__reduce_args__
|
Deprecated method, please use :meth:`__reduce_keys__` instead.
|
def __reduce_args__(self):
"""Deprecated method, please use :meth:`__reduce_keys__` instead."""
return (self.main, self._conf.changes if self.configured else {},
self.loader_cls, self.backend_cls, self.amqp_cls,
self.events_cls, self.log_cls, self.control_cls,
False, self._config_source)
|
(self)
|
[
0.0028731939382851124,
-0.025253506377339363,
-0.02539750374853611,
-0.023345544934272766,
-0.02309354953467846,
-0.04625909775495529,
0.01038579735904932,
0.0199976097792387,
0.05504292622208595,
-0.04406313970685005,
0.003919423557817936,
-0.006173879373818636,
-0.005048901308327913,
0.030077412724494934,
0.004022921435534954,
0.011375777423381805,
-0.03187737613916397,
0.01115978229790926,
0.012284760363399982,
0.016352681443095207,
0.0024322024546563625,
0.0034086834639310837,
0.0022713306825608015,
0.027197469025850296,
-0.01049379538744688,
0.08661431074142456,
0.04874304682016373,
-0.02266155742108822,
0.05713088437914848,
-0.04669108986854553,
-0.054250940680503845,
0.04993102326989174,
0.022895552217960358,
0.01868363469839096,
-0.007127860561013222,
-0.011411776766180992,
-0.012446756474673748,
0.0622427836060524,
-0.014642713591456413,
-0.02815145067870617,
0.015263701789081097,
-0.05367495119571686,
-0.013058745302259922,
-0.0505790114402771,
0.013022745959460735,
0.03826725110411644,
0.02640548348426819,
0.030959395691752434,
-0.002262330846861005,
-0.04730307683348656,
0.057778872549533844,
-0.027971453964710236,
0.019277622923254967,
0.07970244437456131,
-0.027179468423128128,
0.047555070370435715,
0.006340376101434231,
0.06836266815662384,
-0.027899455279111862,
0.02573949657380581,
0.0049319034442305565,
0.04388314113020897,
0.06033482030034065,
-0.00007474072481272742,
0.02573949657380581,
-0.07819047570228577,
-0.04935503751039505,
0.010907786898314953,
-0.03284936025738716,
0.06530272215604782,
-0.018881632015109062,
-0.03801525756716728,
-0.03252536430954933,
-0.028097450733184814,
-0.020033609122037888,
-0.044459130614995956,
-0.0452871136367321,
0.03547730669379234,
0.04363114759325981,
0.005863385275006294,
-0.05335095897316933,
0.0037596765905618668,
-0.06742668151855469,
0.045575108379125595,
0.059866830706596375,
-0.024263525381684303,
-0.016028687357902527,
-0.006578871514648199,
-0.07603051513433456,
-0.01618168316781521,
-0.07934244722127914,
0.06343076378107071,
-0.018611636012792587,
0.05461093410849571,
-0.0024209527764469385,
-0.02890743501484394,
-0.06868665665388107,
-0.01760365627706051,
0.0217615757137537,
-0.013238741084933281,
-0.009701810777187347,
-0.012149762362241745,
-0.024245526641607285,
-0.034343328326940536,
0.01082678884267807,
-0.08128641545772552,
0.0010484795784577727,
-0.04640309512615204,
0.01121378131210804,
-0.001583969104103744,
0.008981824852526188,
0.004742907360196114,
-0.02703547105193138,
0.05795886740088463,
-0.03508131578564644,
-0.016730673611164093,
-0.08114241808652878,
-0.0488150455057621,
0.0185756366699934,
0.014489716850221157,
-0.05770687386393547,
0.0446031279861927,
-0.04661909118294716,
0.02123958431184292,
0.004792406223714352,
0.02672947756946087,
0.007505853194743395,
-0.024785516783595085,
0.0431271567940712,
-0.024137528613209724,
0.03310135379433632,
-0.003215187229216099,
-0.05464693158864975,
-0.02177957445383072,
0.022229565307497978,
-0.03909523785114288,
0.0690106526017189,
0.05846285820007324,
-0.015200703404843807,
0.0399952195584774,
0.017639655619859695,
0.05230697989463806,
-0.00009625593520468101,
0.03383933752775192,
-0.025109509006142616,
-0.04179518297314644,
0.02496551163494587,
0.012824749574065208,
-0.05594290792942047,
0.04751907289028168,
0.029609421268105507,
0.018539637327194214,
-0.0091033224016428,
0.025235507637262344,
-0.01500270701944828,
-0.016883669421076775,
-0.040175214409828186,
-0.011618773452937603,
-0.02177957445383072,
-0.045359112322330475,
-0.03592729941010475,
-0.05000302195549011,
0.03619729354977608,
-0.06436674296855927,
0.039851222187280655,
0.0029496923089027405,
0.031715381890535355,
-0.03729527071118355,
0.002609949093312025,
0.031067393720149994,
-0.01082678884267807,
-0.017747653648257256,
0.02539750374853611,
0.02199557051062584,
-0.08128641545772552,
0.0954701378941536,
-0.022175567224621773,
-0.017018668353557587,
0.03859124705195427,
-0.027863455936312675,
0.006992863491177559,
-0.03540530800819397,
-0.037871260195970535,
-0.030743399634957314,
0.06980263441801071,
0.043595150113105774,
0.011690771207213402,
0.03562130406498909,
0.01028679870069027,
-0.028655439615249634,
-0.01544369850307703,
-0.01177177019417286,
0.011807769536972046,
0.02483951486647129,
-0.02276955544948578,
0.002967691980302334,
-0.06109080836176872,
0.0020598347764462233,
0.0014422218082472682,
0.04276716336607933,
-0.04463912919163704,
-0.016478678211569786,
0.009202320128679276,
-0.017999649047851562,
0.014975707046687603,
0.03385733813047409,
0.005345895420759916,
-0.01780165173113346,
-0.012572754174470901,
0.02593749389052391,
0.013256740756332874,
0.010097802616655827,
-0.03178738057613373,
-0.021167587488889694,
-0.004047670867294073,
-0.040175214409828186,
0.10878987610340118,
0.034361328929662704,
0.017828652635216713,
0.028439445421099663,
0.0870463028550148,
0.012185761705040932,
0.018863631412386894,
-0.018368640914559364,
0.00031752506038174033,
-0.0435231514275074,
0.0022657057270407677,
0.0006052381941117346,
-0.008068342693150043,
-0.06098280847072601,
0.016091685742139816,
-0.05651889741420746,
-0.033047355711460114,
0.017342660576105118,
0.05504292622208595,
-0.0007683599833399057,
0.03520731255412102,
-0.019367622211575508,
0.003230936825275421,
0.036791279911994934,
0.00511190015822649,
0.028223449364304543,
0.001198101555928588,
0.055906906723976135,
0.008486834354698658,
-0.04870704934000969,
0.018737634643912315,
0.03697127848863602,
0.017315661534667015,
0.028547441586852074,
0.021023590117692947,
-0.0008904201094992459,
-0.01061079278588295,
0.013616734184324741,
-0.03144538402557373,
-0.01844963990151882,
-0.012977746315300465,
-0.03198537603020668,
-0.002172332489863038,
-0.08013443648815155,
0.047879066318273544,
0.04683508351445198,
-0.030617402866482735,
0.0406792052090168,
0.017747653648257256,
0.016730673611164093,
0.04431513324379921,
-0.03659328445792198,
-0.06890265643596649,
0.06011882424354553,
0.07203458994626999,
0.03790726140141487,
-0.036323290318250656,
0.07473453879356384,
-0.05525892227888107,
-0.0371512733399868,
-0.008455335162580013,
-0.007015362847596407,
0.0033659343607723713,
0.008689329959452152,
0.02626148797571659,
-0.023489540442824364,
-0.021743575111031532,
0.0020913342013955116,
0.0049094040878117085,
-0.02977141924202442,
-0.0367552824318409,
0.018071647733449936,
-0.0007340481388382614,
-0.016217682510614395,
0.012662752531468868,
0.02408353053033352,
0.00763635104522109,
-0.026081491261720657,
0.08668630570173264,
0.01412072405219078,
-0.09179820865392685,
0.010196801275014877,
0.06004682555794716,
-0.005224397871643305,
0.0016210933681577444,
-0.01544369850307703,
-0.033911336213350296,
0.026459483429789543,
0.06346675753593445,
-0.0008172965608537197,
0.06170279532670975,
-0.03527931123971939,
0.015830690041184425,
0.00763635104522109,
0.005449393764138222,
-0.02881743758916855,
0.04103919863700867,
-0.01071879081428051,
-0.028619440272450447,
-0.041399192065000534,
0.02473151683807373,
0.01160077378153801,
0.015047705732285976,
0.07091861218214035,
-0.06476273387670517,
0.004153418820351362,
-0.04715907946228981,
0.00950381439179182,
0.03740327060222626,
0.03198537603020668,
-0.026855476200580597,
-0.04078720510005951,
0.04157918691635132,
-0.013472736813127995,
-0.09748609364032745,
0.024533521384000778,
-0.0459711030125618,
0.03769126534461975,
-0.06613070517778397,
0.015146704390645027,
0.03022141009569168,
0.001823589438572526,
-0.003453682642430067,
-0.06555472314357758,
0.018647635355591774,
0.0007295482791960239,
-0.06350275874137878,
0.0470510795712471,
-0.033587343990802765,
-0.020915592089295387,
0.03772726282477379,
-0.006992863491177559,
0.08071042597293854,
-0.07027062773704529,
-0.023147547617554665,
-0.05781487002968788,
-0.03833924978971481,
0.0753825306892395,
0.13982127606868744,
-0.026675479486584663,
-0.05507892370223999,
-0.050723008811473846,
0.023489540442824364,
0.0013218491803854704,
0.07358255982398987,
-0.012707752175629139,
-0.0025222008116543293,
0.042839162051677704,
0.032597362995147705,
0.01351773552596569,
-0.0024052029475569725,
-0.0413631908595562,
0.0063538760878145695,
-0.044999122619628906,
-0.022499561309814453,
0.0020317102316766977,
0.016235683113336563,
-0.010412796400487423,
-0.0169826690107584,
0.03938323259353638,
-0.0318593792617321,
0.03574730083346367,
-0.09431815892457962,
0.02021360583603382,
-0.010187800973653793,
-0.011843768879771233,
0.029087431728839874,
0.03266936168074608,
-0.026531482115387917,
0.04388314113020897,
-0.00788834597915411,
-0.02417352795600891,
0.07228659093379974,
0.03844724968075752,
-0.035459306091070175,
-0.02834944613277912,
-0.059866830706596375,
0.004882404580712318,
0.008936825208365917,
0.027845455333590508,
0.033047355711460114,
0.01829664222896099,
-0.0488150455057621,
-0.06951463967561722,
0.03725927323102951,
-0.02352553978562355,
-0.009521814063191414,
0.009800808504223824,
-0.01702766679227352,
-0.013490736484527588,
0.0753825306892395,
0.08323037624359131,
0.03549530729651451,
0.022355563938617706,
0.04024721309542656,
0.005899384617805481,
-0.04373914748430252,
-0.00007867815293138847,
0.008756829425692558,
-0.009377816691994667,
0.03286735713481903,
0.007798347622156143,
0.06717468798160553,
0.0024704516399651766,
0.01687467098236084,
-0.002400703029707074,
-0.0026009492576122284,
-0.00011137282126583159,
0.05907484516501427,
0.02134758234024048,
-0.06605871021747589,
-0.005890384782105684,
-0.010070803575217724,
-0.010682791471481323,
0.004317665472626686,
-0.006434874143451452,
-0.015101704746484756,
0.012680752202868462,
-0.0003237124183215201,
-0.025361504405736923,
0.029483424499630928,
0.024209527298808098,
0.03626929223537445,
0.025091510266065598,
-0.03833924978971481,
-0.017873650416731834,
0.06123480573296547,
-0.013751731254160404,
0.03729527071118355,
-0.03916723653674126,
-0.06782267242670059,
0.007685849908739328,
0.018521638587117195,
-0.016433678567409515,
-0.008225839585065842,
-0.006092880852520466,
0.017072666436433792,
-0.026081491261720657,
0.02384953387081623,
-0.033461347222328186,
-0.028961434960365295,
-0.028187450021505356,
-0.017270661890506744,
-0.019709615036845207,
0.06796666979789734,
-0.06170279532670975,
-0.013058745302259922,
0.033695340156555176,
0.02320154756307602,
0.016019687056541443,
0.03805125504732132,
-0.032273370772600174,
-0.05385494977235794,
-0.02023160457611084,
0.05709488317370415,
0.021833574399352074,
-0.016793671995401382,
-0.03869924321770668,
-0.029969414696097374,
0.03707927465438843,
0.03428933024406433,
-0.0149487080052495,
-0.030275408178567886,
-0.06638270616531372,
0.011447776108980179,
-0.02275155484676361,
0.047123078256845474,
0.006538372486829758,
-0.03673728182911873,
-0.05849885568022728,
0.008738829754292965,
-0.05572691187262535,
0.010457796044647694,
0.02914143167436123,
-0.03218337148427963,
0.0066193705424666405,
-0.005278396885842085,
0.015767691656947136,
0.03394733741879463,
0.037547267973423004,
0.012707752175629139,
-0.01859363727271557,
0.011357777751982212,
0.012347758747637272,
0.021077588200569153,
-0.04669108986854553,
0.0061018806882202625,
0.00024426085292361677,
0.03628729283809662,
-0.06613070517778397,
-0.027647459879517555,
0.01812564581632614,
-0.03232736885547638,
0.012023765593767166,
-0.03079739771783352,
-0.005093900486826897,
0.013796730898320675,
0.0224455613642931,
0.02483951486647129,
-0.056446898728609085,
-0.06335876137018204,
-0.0029384426306933165,
0.00521989818662405,
0.015083705075085163,
0.004306416027247906,
0.0717465952038765,
0.05651889741420746,
0.01642468012869358,
-0.0025986991822719574,
-0.011699771508574486,
-0.000031938830943545327,
-0.039635226130485535,
0.053602952510118484,
0.018269643187522888,
-0.019835611805319786,
-0.047555070370435715,
-0.0072448584251105785,
0.03517131134867668,
-0.04251516982913017,
0.016028687357902527,
-0.016685673967003822,
0.0206815954297781,
0.010043803602457047,
-0.026783477514982224,
0.07109861075878143,
-0.012239760719239712,
0.0006997363525442779,
0.0018854631343856454,
-0.043379154056310654,
-0.008473334833979607,
0.0098998062312603,
0.034361328929662704,
-0.018557637929916382,
-0.06782267242670059,
-0.05169498920440674,
-0.006259377580136061,
-0.003280435921624303,
0.031391385942697525,
-0.020717594772577286,
-0.05241497606039047,
0.01842264086008072,
-0.024983512237668037,
-0.005467393435537815,
0.002291580196470022,
-0.005935383960604668,
-0.02021360583603382,
-0.06422274559736252,
-0.0055303918197751045,
-0.006434874143451452,
0.008612832054495811,
0.04078720510005951,
0.0848863422870636,
-0.0221035685390234,
0.0038451747968792915,
-0.025361504405736923,
-0.011663772165775299,
0.02230156399309635,
-0.004031921271234751,
-0.010133801959455013,
-0.039311233907938004,
0.017252663150429726,
0.033497344702482224,
-0.03121139109134674,
-0.09338217973709106,
0.04453112930059433,
0.04319915547966957,
-0.011609773151576519,
-0.03520731255412102,
-0.01958361826837063,
-0.02539750374853611,
0.033911336213350296,
-0.011960766278207302,
0.03256136551499367,
0.00042805413249880075,
-0.029501423239707947,
0.05752687528729439,
0.020807594060897827,
-0.014255721122026443,
-0.015074705705046654,
-0.0013589734444394708,
-0.01516470406204462,
-0.00013788012438453734,
-0.016361679881811142,
0.026207488030195236,
-0.021635577082633972,
-0.004882404580712318,
0.05806686729192734,
-0.01934962160885334,
0.012860748916864395,
-0.03779926151037216,
0.010313798673450947,
0.013202741742134094,
-0.027773456647992134,
0.05144299566745758,
-0.0203396026045084,
-0.02330954559147358,
0.05691488832235336,
-0.00402967119589448,
0.038951240479946136,
-0.016523677855730057,
-0.004891404416412115,
0.017828652635216713,
0.014075725339353085,
0.01478671096265316,
-0.05867885425686836,
0.039203234016895294,
-0.014219722710549831,
0.016262682154774666,
-0.06933464854955673,
0.004769906867295504,
-0.03844724968075752,
-0.06595071405172348,
-0.011024784296751022,
-0.00999880488961935,
0.024335524067282677,
-0.04960703104734421,
0.1241975724697113,
-0.048635050654411316,
-0.021059589460492134,
0.007028862833976746,
0.015596695244312286,
0.004182668402791023,
-0.011420777067542076,
-0.013022745959460735,
0.030275408178567886,
-0.007352856453508139,
-0.0050849006511271,
-0.025199508294463158,
-0.023129548877477646,
-0.03594529628753662,
-0.029303427785634995,
-0.032039374113082886,
0.036539286375045776,
-0.014129724353551865,
0.021923571825027466,
0.02903343364596367,
-0.062278784811496735,
0.04694308340549469,
-0.033461347222328186,
0.05144299566745758,
-0.051190998405218124,
-0.017081666737794876,
0.012860748916864395,
-0.05738287791609764,
0.010358797386288643,
0.013418737798929214,
0.042839162051677704,
0.010313798673450947,
0.013463737443089485,
-0.0008122341241687536,
-0.045215118676424026,
0.05630290135741234,
0.046115100383758545,
-0.027665460482239723,
0.0636107549071312,
-0.023885533213615417,
0.018935630097985268,
-0.024245526641607285,
-0.04467512667179108,
-0.020645596086978912,
0.016136685386300087,
0.03938323259353638,
0.03178738057613373,
-0.05817486345767975,
-0.006749868392944336,
0.015875689685344696,
-0.04377514496445656,
-0.03383933752775192,
-0.014192722737789154,
0.024551520124077797,
-0.009377816691994667,
0.03812325373291969,
0.018539637327194214,
-0.05504292622208595,
0.060298822820186615,
0.015695692971348763,
0.04453112930059433,
-0.020141607150435448,
-0.009098822250962257,
-0.010871787555515766,
-0.04942703619599342,
-0.06807467341423035,
0.03022141009569168,
-0.02858344092965126,
0.03887924179434776,
0.0007070486899465322,
-0.03067140094935894,
-0.0017088416498154402,
0.0034424327313899994,
0.02123958431184292,
0.012068764306604862,
-0.034577324986457825,
-0.034703321754932404,
-0.008131341077387333,
-0.00011038847151212394,
0.021941570565104485,
0.03410933539271355,
-0.015083705075085163,
0.0417591854929924,
-0.008657830767333508,
0.0413631908595562,
-0.03065340220928192,
-0.026315486058592796,
0.03536931052803993,
-0.03547730669379234,
0.028547441586852074,
0.0551869235932827,
0.027125470340251923,
0.04316315799951553,
0.00037096149753779173,
0.017126666381955147,
-0.056230902671813965,
0.008045842871069908,
-0.018557637929916382,
0.032471366226673126,
-0.014804710634052753,
-0.03718727454543114,
0.04971502721309662,
0.051730990409851074,
-0.009035823866724968,
0.04114719480276108,
-0.028619440272450447,
-0.0046349093317985535,
0.060514818876981735,
-0.018395639955997467,
0.0014219721779227257,
0.0018224644009023905,
0.08711829781532288,
-0.0293574258685112,
-0.0672466829419136,
0.04517911747097969,
0.03805125504732132,
-0.006434874143451452,
-0.010871787555515766,
0.020195605233311653,
0.03443332761526108,
0.014480717480182648,
0.0005709263496100903,
-0.033371347934007645,
-0.09633412212133408,
0.03772726282477379,
-0.02242756262421608,
-0.0037439267616719007,
-0.07045062631368637,
-0.026675479486584663,
0.009485814720392227,
-0.01704566739499569,
0.04946303367614746,
0.0679306760430336,
-0.016973668709397316,
0.038555245846509933,
0.005395394749939442
] |
711,273
|
celery.app.base
|
__reduce_keys__
|
Keyword arguments used to reconstruct the object when unpickling.
|
def __reduce_keys__(self):
"""Keyword arguments used to reconstruct the object when unpickling."""
return {
'main': self.main,
'changes':
self._conf.changes if self.configured else self._preconf,
'loader': self.loader_cls,
'backend': self.backend_cls,
'amqp': self.amqp_cls,
'events': self.events_cls,
'log': self.log_cls,
'control': self.control_cls,
'fixups': self.fixups,
'config_source': self._config_source,
'task_cls': self.task_cls,
'namespace': self.namespace,
}
|
(self)
|
[
-0.010769464075565338,
0.004896033555269241,
-0.04727704077959061,
-0.014751450158655643,
-0.007963973097503185,
-0.04463445022702217,
-0.0015543323243036866,
-0.01438945159316063,
0.03668857738375664,
-0.053648218512535095,
0.00977396685630083,
0.014018402434885502,
0.02935810200870037,
0.05303282290697098,
-0.025303713977336884,
-0.03437178581953049,
-0.04524984955787659,
0.03495098277926445,
-0.017421191558241844,
-0.042643457651138306,
-0.0046426341868937016,
0.002925402717664838,
0.015113448724150658,
0.03232648968696594,
-0.002196880057454109,
0.0358559787273407,
0.04340365529060364,
0.004405072890222073,
0.050136830657720566,
-0.025937212631106377,
-0.07211015373468399,
0.0326341912150383,
0.00862914603203535,
0.015475448220968246,
-0.010244565084576607,
-0.0481458380818367,
0.03335818648338318,
0.06418238580226898,
-0.03344868868589401,
-0.02763860672712326,
0.0019887308590114117,
0.01764744147658348,
-0.049847234040498734,
-0.05455321818590164,
0.04155746102333069,
0.06005559861660004,
0.02419961802661419,
0.046625442802906036,
0.04441725090146065,
-0.037720274180173874,
0.00683725206181407,
-0.04637204483151436,
-0.018534338101744652,
0.05270702391862869,
-0.017403092235326767,
0.012697107158601284,
0.008846345357596874,
0.049123235046863556,
-0.08217372000217438,
0.023855719715356827,
-0.040037065744400024,
0.030317397788167,
0.05256222188472748,
0.008280722424387932,
-0.005506906658411026,
-0.054661817848682404,
-0.06342218816280365,
0.0014479950768873096,
-0.029738200828433037,
0.01996423304080963,
-0.0037331124767661095,
-0.05473421514034271,
-0.014751450158655643,
-0.003570212982594967,
-0.0025996037293225527,
-0.05259842425584793,
-0.051041826605796814,
-0.009059019386768341,
0.0021595489233732224,
0.004156198352575302,
0.007226400543004274,
-0.041629858314991,
-0.1110612228512764,
-0.020525330677628517,
0.047711439430713654,
-0.015837445855140686,
0.00039395649218931794,
0.0017896314384415746,
-0.023276520892977715,
-0.044489651918411255,
-0.06168459355831146,
0.10056325793266296,
-0.0017466441495344043,
0.06610097736120224,
-0.021430328488349915,
-0.015104399062693119,
-0.05944019928574562,
-0.012081709690392017,
0.0037421623710542917,
-0.03261609002947807,
-0.025122715160250664,
-0.03127669543027878,
-0.053937818855047226,
-0.026082012802362442,
-0.01735784113407135,
-0.06302398443222046,
-0.0070137265138328075,
-0.02667931094765663,
-0.01800943911075592,
-0.020471030846238136,
0.022262925282120705,
-0.016172295436263084,
-0.0476752407848835,
0.06624577939510345,
-0.0030656771268695593,
-0.03350298851728439,
-0.03703247383236885,
-0.021611327305436134,
0.022661123424768448,
-0.014498051255941391,
-0.019819432869553566,
0.05668900907039642,
-0.05408261716365814,
0.04919563606381416,
0.014651901088654995,
-0.020163333043456078,
0.06313258409500122,
0.03229029104113579,
0.026407811790704727,
-0.01699584349989891,
0.039204467087984085,
0.015475448220968246,
-0.063928984105587,
-0.028561703860759735,
0.004029498901218176,
0.005991079844534397,
0.03844426944851875,
0.05075222998857498,
-0.010081666521728039,
0.06219138950109482,
0.053829219192266464,
0.03026309795677662,
0.002558878855779767,
0.030588896945118904,
0.01834428869187832,
-0.05556681379675865,
0.013783103786408901,
-0.009167619049549103,
-0.05705100670456886,
0.013574954122304916,
0.03247129172086716,
0.008991144597530365,
-0.01753884181380272,
0.050969429314136505,
-0.03616367653012276,
-0.019276434555649757,
-0.05502381548285484,
-0.004264798015356064,
-0.05567541345953941,
-0.023819519206881523,
-0.016072746366262436,
-0.02472451701760292,
0.0337744876742363,
-0.0666801780462265,
0.012226508930325508,
-0.019710833206772804,
0.0518382266163826,
-0.08992049843072891,
0.014516151510179043,
0.01821758784353733,
-0.03362968564033508,
-0.040145665407180786,
-0.02771100588142872,
0.031077595427632332,
-0.06168459355831146,
0.07355815172195435,
-0.027059409767389297,
-0.017285441979765892,
-0.0116835106164217,
0.015828397125005722,
0.04524984955787659,
-0.02269732393324375,
-0.07192915678024292,
0.02669741027057171,
0.04506884887814522,
0.007891573011875153,
0.0016289944760501385,
0.022371524944901466,
0.05046262964606285,
-0.00848434679210186,
-0.0014400763902813196,
-0.01720399223268032,
-0.014968649484217167,
0.010724213905632496,
-0.005538581404834986,
-0.009918767027556896,
-0.03960266709327698,
-0.029466701671481133,
-0.02669741027057171,
0.0925992876291275,
-0.0740649476647377,
0.0164166446775198,
0.007335000205785036,
0.0036245128139853477,
-0.007185675669461489,
-0.0022330801002681255,
0.007556724362075329,
-0.011167662218213081,
0.009149518795311451,
0.03536728024482727,
0.019566034898161888,
-0.030317397788167,
-0.017321642488241196,
0.03440798446536064,
0.02342132106423378,
-0.07645414024591446,
0.05462561547756195,
0.035946477204561234,
0.015620247460901737,
0.028272105380892754,
0.05705100670456886,
0.0353853814303875,
0.007927773520350456,
-0.0037331124767661095,
-0.019819432869553566,
-0.06266199052333832,
-0.015520697459578514,
-0.008986619301140308,
-0.007543149404227734,
-0.08188412338495255,
0.0289418026804924,
-0.0421004593372345,
-0.034932881593704224,
0.019692733883857727,
0.07142236083745956,
0.0019581872038543224,
0.002445754362270236,
-0.023910019546747208,
0.03895106911659241,
0.009086169302463531,
0.04590144380927086,
0.002665216103196144,
0.003848499618470669,
-0.037358272820711136,
0.009620117954909801,
-0.06128639355301857,
0.03714107349514961,
0.059476401656866074,
-0.009022819809615612,
0.012733306735754013,
0.04941283538937569,
-0.02211812511086464,
-0.011502510868012905,
0.02935810200870037,
-0.0003444644680712372,
0.008841820061206818,
0.0031471268739551306,
-0.01798228919506073,
-0.00831692200154066,
-0.03464328497648239,
0.03515008091926575,
0.014606650918722153,
-0.02378332056105137,
0.040037065744400024,
0.03335818648338318,
0.006683402694761753,
0.060634795576334,
-0.013068156316876411,
-0.08297012001276016,
0.008411946706473827,
0.06497877836227417,
0.008715121075510979,
-0.013448255136609077,
0.0560012124478817,
-0.053177621215581894,
-0.01821758784353733,
-0.018860137090086937,
-0.03341248631477356,
0.00948436837643385,
0.023765219375491142,
0.012108859606087208,
-0.02181042730808258,
0.02628111094236374,
-0.023747120052576065,
0.0067105526104569435,
-0.022606823593378067,
-0.04543084651231766,
-0.0052580321207642555,
-0.005149432457983494,
-0.008782995864748955,
0.022480124607682228,
0.009027344174683094,
-0.014027453027665615,
-0.01221745926886797,
0.039856065064668655,
0.0010062435176223516,
-0.09064449369907379,
-0.03739447519183159,
0.06700597703456879,
-0.0037783621810376644,
0.004285160452127457,
0.005991079844534397,
0.003764787223190069,
-0.003398263594135642,
0.02300502173602581,
-0.000301477120956406,
0.05111422762274742,
-0.01031696517020464,
0.000341636361554265,
0.05046262964606285,
-0.01453425083309412,
-0.009077119641005993,
0.056254610419273376,
0.02394622005522251,
-0.02876080386340618,
-0.05118662863969803,
0.03286948800086975,
0.01821758784353733,
0.003862074576318264,
0.08094292879104614,
-0.05437221750617027,
0.01242560800164938,
-0.055060014128685,
0.01634424552321434,
0.03804607316851616,
-0.04018186405301094,
-0.040326666086912155,
-0.04477924853563309,
0.03931306675076485,
-0.03877006843686104,
-0.07717814296483994,
0.008805620484054089,
-0.015203949064016342,
0.05563921108841896,
-0.07113276422023773,
0.026968909427523613,
0.0611053928732872,
0.011339612305164337,
0.00586890522390604,
-0.027131808921694756,
0.03757547214627266,
0.000665738363750279,
-0.04061626270413399,
0.028127305209636688,
-0.056254610419273376,
-0.030588896945118904,
0.016841992735862732,
-0.004769334103912115,
0.060634795576334,
-0.05538581311702728,
-0.026715509593486786,
-0.01798228919506073,
-0.0031358145643025637,
0.06544937938451767,
0.1148260161280632,
-0.057159606367349625,
-0.04061626270413399,
-0.07247215509414673,
-0.0024480167776346207,
0.02503221668303013,
0.08043613284826279,
-0.02436251752078533,
-0.03898726776242256,
0.010688014328479767,
0.034987181425094604,
0.03829947113990784,
-0.0116835106164217,
-0.02396431937813759,
0.035276781767606735,
-0.10454525053501129,
-0.030009698122739792,
-0.012814756482839584,
-0.03672477602958679,
-0.009240019135177135,
-0.019403135403990746,
0.05759400501847267,
0.007117800880223513,
0.051440026611089706,
-0.08297012001276016,
0.032959990203380585,
-0.0005308372783474624,
0.006724127568304539,
0.033557288348674774,
0.038842469453811646,
-0.03234459087252617,
0.0611053928732872,
0.03162059187889099,
-0.02443491853773594,
0.06146739423274994,
0.06295158714056015,
-0.014461851678788662,
0.006117779295891523,
-0.022606823593378067,
0.00948436837643385,
0.014769550412893295,
0.018624836578965187,
0.008339546620845795,
-0.0014185827458277345,
-0.0384080708026886,
-0.04477924853563309,
0.050390228629112244,
-0.05524101480841637,
0.016959642991423607,
0.030208798125386238,
0.04441725090146065,
0.011719710193574429,
0.0777573361992836,
0.013258205726742744,
0.05791980400681496,
0.0103079155087471,
0.05241742357611656,
-0.014733350835740566,
-0.041521258652210236,
-0.03209119290113449,
-0.00797754805535078,
-0.03185589239001274,
0.04872503504157066,
-0.036055076867341995,
0.05896960198879242,
-0.003224051557481289,
0.018950635567307472,
0.033068589866161346,
0.007357625290751457,
-0.04061626270413399,
0.021919026970863342,
0.008882544934749603,
-0.03576548025012016,
-0.0019842057954519987,
0.020362431183457375,
0.014371351338922977,
-0.022190526127815247,
0.028634103015065193,
-0.042643457651138306,
-0.015828397125005722,
0.022100025787949562,
-0.035946477204561234,
0.036000777035951614,
0.007049926090985537,
0.015511647798120975,
0.02027193270623684,
-0.0430416539311409,
-0.0011663148179650307,
0.03321338817477226,
-0.042643457651138306,
0.01182830985635519,
0.019457435235381126,
-0.041629858314991,
0.050136830657720566,
0.001993255689740181,
0.025901012122631073,
0.02269732393324375,
-0.007384775206446648,
-0.015393998473882675,
-0.045322246849536896,
0.003300976473838091,
-0.030878495424985886,
0.024181518703699112,
-0.004375660326331854,
-0.0111133623868227,
-0.035819780081510544,
0.04278825595974922,
-0.04963003471493721,
0.002183305099606514,
0.03815467283129692,
0.005610981024801731,
0.03971126675605774,
0.013774053193628788,
-0.011412011459469795,
-0.01384645327925682,
0.0005961667629890144,
0.03219979256391525,
0.03601887822151184,
-0.015366848558187485,
-0.03931306675076485,
-0.03536728024482727,
0.04926803335547447,
0.039204467087984085,
0.0005149998469278216,
-0.06284298747777939,
-0.08282531797885895,
0.038371872156858444,
-0.038190871477127075,
0.021846625953912735,
-0.008203797042369843,
0.010018316097557545,
-0.028091104701161385,
0.0015124761266633868,
-0.009502467699348927,
0.011176712810993195,
0.025231314823031425,
-0.03672477602958679,
0.0206158310174942,
-0.014787650667130947,
0.07073456048965454,
0.04018186405301094,
0.03905966877937317,
-0.002339417114853859,
0.02503221668303013,
-0.003789674723520875,
-0.02781960554420948,
0.008651770651340485,
-0.034027885645627975,
-0.02056153118610382,
0.03515008091926575,
0.009620117954909801,
-0.02698700875043869,
-0.034860484302043915,
0.01819043792784214,
-0.01619039475917816,
-0.023348921909928322,
-0.015294448472559452,
-0.009683467447757721,
0.003823612118139863,
0.02895990200340748,
0.029792500659823418,
-0.053539618849754333,
-0.05071602761745453,
0.03478808328509331,
-0.021195027977228165,
0.007217350881546736,
-0.006977526471018791,
0.06429098546504974,
0.06248098984360695,
0.026172511279582977,
-0.03393738716840744,
0.019113535061478615,
0.017348792403936386,
-0.004656209144741297,
0.021321728825569153,
0.04897843673825264,
-0.0453946478664875,
-0.055060014128685,
-0.00953866820782423,
0.0490870364010334,
-0.02324032224714756,
0.04322265461087227,
-0.029647700488567352,
0.011276261880993843,
0.026190612465143204,
-0.012145059183239937,
0.04991963133215904,
0.000020963405404472724,
0.03413648530840874,
-0.009502467699348927,
0.037828873842954636,
0.02794630639255047,
0.026353511959314346,
0.027910105884075165,
-0.048833634704351425,
-0.040869660675525665,
-0.022787822410464287,
-0.03344868868589401,
-0.002988752443343401,
-0.012416558340191841,
0.007420975249260664,
-0.0712413638830185,
0.031077595427632332,
-0.0358559787273407,
0.011104312725365162,
0.021376028656959534,
-0.005819130223244429,
0.03292378783226013,
-0.01914973556995392,
-0.016380444169044495,
-0.010072615928947926,
0.005131332669407129,
0.005506906658411026,
0.053575821220874786,
-0.02181042730808258,
0.019421234726905823,
-0.02009093202650547,
0.04260725528001785,
0.023095522075891495,
0.012036459520459175,
-0.003192376811057329,
0.012814756482839584,
-0.01990993320941925,
0.044489651918411255,
-0.04054386541247368,
-0.09100649505853653,
0.038733869791030884,
0.05259842425584793,
0.01598224602639675,
-0.017403092235326767,
-0.026407811790704727,
-0.005348531994968653,
0.019656533375382423,
0.020380530506372452,
0.028127305209636688,
-0.028489304706454277,
-0.021176928654313087,
0.020525330677628517,
0.0030249522533267736,
0.018407637253403664,
0.008963994681835175,
-0.01670624315738678,
0.021032128483057022,
0.0041629858314991,
0.016670044511556625,
-0.03393738716840744,
-0.026244912296533585,
-0.009330518543720245,
0.026407811790704727,
0.002583766356110573,
-0.0003996127052232623,
-0.012832856737077236,
-0.00518563250079751,
0.07515094429254532,
-0.002036243211477995,
0.002767028287053108,
-0.03435368463397026,
-0.03435368463397026,
0.0555306114256382,
-0.019222134724259377,
0.04239005595445633,
-0.0356568805873394,
0.0031720143742859364,
-0.04423625022172928,
-0.0083259716629982,
-0.03989226743578911,
-0.03815467283129692,
-0.0020543430000543594,
0.014398501254618168,
0.012869056314229965,
-0.059765998274087906,
0.051150426268577576,
-0.03475188463926315,
-0.05248982459306717,
0.01453425083309412,
-0.025520913302898407,
0.009063544683158398,
-0.02503221668303013,
0.10353165119886398,
-0.06407378613948822,
0.013357754796743393,
0.04590144380927086,
0.04608244448900223,
0.030878495424985886,
-0.023113621398806572,
-0.01592794619500637,
0.02604581229388714,
-0.02667931094765663,
-0.002617703750729561,
-0.026263011619448662,
-0.04000086709856987,
-0.03073369711637497,
0.015321598388254642,
-0.034317485988140106,
0.025249414145946503,
-0.023729020729660988,
-0.0030928270425647497,
0.01662479341030121,
-0.03455278277397156,
0.015755996108055115,
-0.019348835572600365,
0.05118662863969803,
-0.01602749526500702,
-0.03181969374418259,
0.015104399062693119,
-0.0462634451687336,
-0.021267428994178772,
-0.004705984145402908,
-0.01587364636361599,
-0.019747033715248108,
0.07529574632644653,
0.006072529591619968,
-0.060019396245479584,
0.016769593581557274,
0.04387425258755684,
-0.012036459520459175,
0.046516843140125275,
-0.0045385598205029964,
0.05122282728552818,
-0.04637204483151436,
-0.06248098984360695,
0.006543127819895744,
0.03469758480787277,
0.0412316620349884,
0.008217372000217438,
-0.09296128898859024,
0.021430328488349915,
0.029195202514529228,
-0.042643457651138306,
-0.008579371497035027,
0.023204121738672256,
0.007864423096179962,
-0.027367107570171356,
0.003052102169021964,
0.009099744260311127,
-0.014860049821436405,
0.09006530046463013,
0.02675171010196209,
0.0024299167562276125,
-0.0001411936682416126,
-0.026896510273218155,
-0.034806184470653534,
-0.023855719715356827,
-0.05904200300574303,
0.029231401160359383,
-0.052634622901678085,
0.029647700488567352,
0.0025724538136273623,
0.012914306484162807,
-0.03960266709327698,
-0.015593097545206547,
0.03786507248878479,
-0.0049186586402356625,
0.012878106907010078,
-0.001150477328337729,
-0.010588464327156544,
0.02045293152332306,
0.0263897106051445,
-0.00021069460490252823,
-0.024760717526078224,
0.04582904651761055,
-0.025756213814020157,
0.05140382796525955,
-0.0007997910724952817,
-0.018443837761878967,
0.019366934895515442,
-0.007701524067670107,
0.01657954417169094,
0.04474304988980293,
0.04380185157060623,
0.04275205731391907,
0.0015407573664560914,
0.037068676203489304,
-0.03971126675605774,
0.003153914352878928,
0.010326014831662178,
0.06429098546504974,
0.011140512302517891,
-0.10164925456047058,
0.016869142651557922,
0.07319615036249161,
-0.03945786878466606,
0.055965010076761246,
-0.03630847856402397,
0.014425651170313358,
0.07609214633703232,
-0.05194682627916336,
-0.010959513485431671,
-0.004610959440469742,
0.07026396691799164,
-0.041340261697769165,
-0.055965010076761246,
0.04959383234381676,
0.0629153847694397,
0.009393868036568165,
-0.004855308681726456,
-0.005629081279039383,
0.04829063639044762,
-0.014027453027665615,
-0.04890603572130203,
-0.007819173857569695,
-0.059295400977134705,
-0.014724300242960453,
-0.008181172423064709,
0.011421061120927334,
-0.0513676255941391,
-0.03359348699450493,
-0.10063566267490387,
-0.026425911113619804,
0.02675171010196209,
0.09918766468763351,
0.0034344634041190147,
0.050969429314136505,
-0.023584220558404922
] |
711,274
|
celery.app.base
|
__reduce_v1__
| null |
def __reduce_v1__(self):
# Reduce only pickles the configuration changes,
# so the default configuration doesn't have to be passed
# between processes.
return (
_unpickle_app,
(self.__class__, self.Pickler) + self.__reduce_args__(),
)
|
(self)
|
[
0.02023976668715477,
-0.044421229511499405,
-0.025929521769285202,
0.04520957171916962,
0.005608351901173592,
-0.026135176420211792,
-0.04260462149977684,
-0.058816999197006226,
0.04068518429994583,
-0.04853430762887001,
-0.0041687749326229095,
0.03842299431562424,
-0.02334171161055565,
0.07067637145519257,
0.04407847300171852,
0.008418953977525234,
-0.026392243802547455,
0.019194358959794044,
0.051379185169935226,
0.015424038283526897,
0.031173694878816605,
0.002671357709914446,
0.03684631362557411,
0.07403538376092911,
0.003776747267693281,
-0.010599741712212563,
0.045929357409477234,
-0.026632172986865044,
0.0015145548386499286,
-0.0073349871672689915,
-0.04253607243299484,
0.019571391865611076,
0.007557779084891081,
-0.019554253667593002,
0.03619507700204849,
-0.03156786412000656,
-0.022930404171347618,
0.09083045274019241,
-0.01245062705129385,
-0.04856858402490616,
0.04006822407245636,
-0.059879545122385025,
0.01676935702562332,
-0.03454984724521637,
-0.0028555893804877996,
0.056280601769685745,
-0.009374387562274933,
0.03197917342185974,
0.016178103163838387,
-0.013341793790459633,
0.005766876507550478,
0.0027313402388244867,
-0.010102745145559311,
0.07081347703933716,
-0.0023521659895777702,
0.059879545122385025,
0.03626362979412079,
0.02620372734963894,
-0.013873065821826458,
-0.003973832353949547,
-0.02906574308872223,
0.016212377697229385,
0.0804792046546936,
-0.005514093674719334,
0.011096739210188389,
-0.04178200662136078,
-0.053504277020692825,
0.032321929931640625,
-0.02154223993420601,
0.06186753138899803,
0.0007246084860526025,
-0.07341842353343964,
-0.02138799987733364,
-0.02138799987733364,
-0.006606630049645901,
-0.006683750078082085,
-0.0008333265432156622,
-0.006773723755031824,
0.03480691462755203,
-0.00825614482164383,
-0.004481540061533451,
-0.01742059551179409,
-0.08671737462282181,
-0.02097669243812561,
0.0011975051602348685,
-0.003986685536801815,
0.011071031913161278,
-0.022930404171347618,
-0.039759743958711624,
-0.030162563547492027,
-0.00011722001363523304,
0.09912515431642532,
0.0057240319438278675,
0.058405693620443344,
-0.0024528505746275187,
-0.040376704186201096,
-0.08952797204256058,
-0.011139583773911,
0.007866259664297104,
-0.029168570414185524,
-0.0249355286359787,
-0.015304073691368103,
-0.06077071279287338,
-0.04808872565627098,
0.028568746522068977,
-0.02392439730465412,
0.011585166677832603,
-0.002806318225339055,
-0.02796892262995243,
-0.022296303883194923,
0.03168782964348793,
-0.0009045556071214378,
-0.062415942549705505,
0.051379185169935226,
-0.05686328932642937,
0.032116275280714035,
-0.06930534541606903,
-0.022279167547822,
0.027197720482945442,
0.018988704308867455,
-0.038697198033332825,
0.07115623354911804,
-0.01222783513367176,
-0.0020640362054109573,
0.0004212154890410602,
0.04407847300171852,
0.021936411038041115,
-0.003654640167951584,
0.0423646941781044,
-0.04109649360179901,
0.04154207557439804,
0.023650191724300385,
-0.06056505814194679,
-0.01684647798538208,
0.01708640716969967,
-0.01876591332256794,
0.023461677134037018,
0.030642423778772354,
0.0019783470779657364,
0.07862832397222519,
0.02375301904976368,
0.007519218605011702,
0.048877064138650894,
0.07753150165081024,
0.009742851369082928,
-0.03302457928657532,
0.014421476051211357,
0.047368936240673065,
-0.018097538501024246,
0.033384475857019424,
0.04935692250728607,
0.040582358837127686,
0.013393206521868706,
0.013984461314976215,
-0.01659797877073288,
0.013547447510063648,
-0.004751460626721382,
0.02980267070233822,
-0.01413013320416212,
-0.09007638692855835,
-0.029511326923966408,
0.01893729157745838,
0.05843997001647949,
-0.037189070135354996,
-0.01914294622838497,
-0.038251616060733795,
0.04572370648384094,
-0.009400094859302044,
0.0029391362331807613,
0.02354736626148224,
0.015192678198218346,
-0.06392407417297363,
0.02200496196746826,
0.014241528697311878,
-0.06656329333782196,
0.10070183128118515,
-0.034978292882442474,
-0.007622045930474997,
-0.018388882279396057,
0.01557827927172184,
-0.052853040397167206,
-0.04301593080163002,
-0.057788729667663574,
-0.04150780290365219,
0.03372723236680031,
0.052441731095314026,
0.015166970901191235,
0.020719625055789948,
0.0476774163544178,
-0.010008486919105053,
-0.011131014674901962,
-0.03770320490002632,
0.00793481059372425,
0.006820852402597666,
-0.02085672691464424,
-0.0023393125738948584,
-0.04942547529935837,
-0.003161927917972207,
0.009211578406393528,
0.011799389496445656,
-0.0476774163544178,
-0.02903146855533123,
0.03736044839024544,
0.006199606694281101,
-0.03513253107666969,
-0.010796827264130116,
-0.01852598413825035,
0.008363256230950356,
0.022193478420376778,
0.006593776401132345,
0.04983678087592125,
-0.008110473863780499,
0.014507165178656578,
0.043975647538900375,
0.039725467562675476,
-0.06820852309465408,
0.08418097347021103,
-0.007536356803029776,
0.017857609316706657,
0.017771920189261436,
0.01259629800915718,
0.02097669243812561,
0.020496834069490433,
0.03249330818653107,
-0.023941535502672195,
-0.03828589245676994,
-0.025860970839858055,
-0.05370992794632912,
0.018406018614768982,
-0.012219266034662724,
0.04065091162919998,
-0.05909120664000511,
0.01036838162690401,
-0.013393206521868706,
0.03201344981789589,
0.029511326923966408,
-0.0008295776206068695,
-0.033350199460983276,
-0.004909985698759556,
0.03395002335309982,
0.027094895020127296,
-0.00910018291324377,
0.04897988960146904,
-0.002126160776242614,
0.03568094223737717,
-0.03561238944530487,
0.027746131643652916,
0.03938271105289459,
0.028225990012288094,
0.028637297451496124,
0.06426683068275452,
0.03446415811777115,
-0.023084644228219986,
0.019434288144111633,
-0.0007208595634438097,
-0.00471290061250329,
-0.003273323643952608,
-0.01101961825042963,
-0.010128452442586422,
-0.013547447510063648,
0.07088202238082886,
-0.00341899530030787,
0.005077079404145479,
0.017600541934370995,
-0.04805444926023483,
-0.006353847216814756,
0.008067629300057888,
-0.04006822407245636,
-0.027506202459335327,
0.061319123953580856,
0.03537246212363243,
0.0012585587101057172,
0.008179024793207645,
0.043392959982156754,
-0.07300711423158646,
-0.028345955535769463,
0.0018819469260051847,
0.026220865547657013,
0.021902134642004967,
-0.00453723780810833,
0.02870585024356842,
-0.000206189404707402,
0.01441290695220232,
-0.057788729667663574,
-0.005227035377174616,
-0.009982780553400517,
-0.004477255512028933,
-0.01036838162690401,
0.015963880345225334,
-0.01688075251877308,
0.06412972509860992,
0.002587810857221484,
0.01782333292067051,
-0.036366455256938934,
0.04764313995838165,
-0.015021299943327904,
-0.04308447986841202,
-0.02313605695962906,
0.03430991619825363,
-0.01676935702562332,
-0.03053959645330906,
-0.041027940809726715,
-0.04047953337430954,
0.0021732898894697428,
0.05336717516183853,
-0.031739242374897,
0.052236076444387436,
-0.024884115904569626,
-0.0029991185292601585,
0.04699190333485603,
-0.01921149715781212,
-0.03883429989218712,
0.02678641304373741,
-0.027951786294579506,
-0.04479826241731644,
-0.057137493044137955,
0.06125057116150856,
0.045278120785951614,
-0.007125048898160458,
0.002110094064846635,
-0.0466834232211113,
0.027369098737835884,
-0.07287001609802246,
-0.006473811808973551,
-0.007159324362874031,
-0.005077079404145479,
-0.004451548680663109,
-0.023290298879146576,
0.019194358959794044,
-0.027369098737835884,
-0.11167003959417343,
0.021370861679315567,
-0.005788298789411783,
0.049254097044467926,
-0.04620356485247612,
-0.022262029349803925,
0.059673890471458435,
-0.014747094362974167,
-0.0049185543321073055,
-0.05634915456175804,
0.05446399375796318,
-0.001940858201123774,
-0.04233041778206825,
0.013050450012087822,
-0.010222709737718105,
0.043804269284009933,
0.02853447198867798,
0.025535352528095245,
0.04959685355424881,
-0.07321277260780334,
0.001195363001897931,
-0.017926160246133804,
-0.05004243552684784,
0.06340993940830231,
0.09151596575975418,
-0.00868887547403574,
-0.048602860420942307,
-0.036537833511829376,
0.03660638630390167,
-0.01909153163433075,
0.021902134642004967,
-0.06152477487921715,
-0.028722986578941345,
0.06861983239650726,
0.04541522637009621,
0.027386236935853958,
-0.03787458315491676,
-0.04277599975466728,
0.00031704967841506004,
-0.09713716804981232,
-0.02310178242623806,
-0.01410442590713501,
-0.030265390872955322,
-0.02894577942788601,
0.007887681946158409,
0.03408712521195412,
-0.025295423343777657,
0.016178103163838387,
-0.05165339261293411,
0.042878828942775726,
-0.013007605448365211,
0.00877456460148096,
0.013658843003213406,
-0.0041130767203867435,
-0.0025556774344295263,
0.06440392881631851,
0.001627021818421781,
-0.04939119890332222,
0.049939610064029694,
0.036537833511829376,
0.012433488853275776,
0.03650355711579323,
-0.05059084668755531,
-0.010993911884725094,
-0.026118038222193718,
0.05888555198907852,
0.013067588210105896,
0.040136776864528656,
-0.02207351289689541,
-0.06125057116150856,
0.013890204019844532,
-0.012416350655257702,
0.04805444926023483,
0.022347718477249146,
-0.012887640856206417,
-0.025860970839858055,
0.05422406271100044,
0.023118920624256134,
0.037429001182317734,
0.005873987916857004,
0.028071749955415726,
-0.014858490787446499,
-0.023821569979190826,
-0.02027404122054577,
0.004451548680663109,
-0.05045374482870102,
0.03777175769209862,
-0.035303909331560135,
0.06944245100021362,
0.01106246281415224,
0.02841450646519661,
0.06550075113773346,
0.03472122550010681,
-0.023238884285092354,
0.009502921253442764,
-0.009819971397519112,
-0.021610790863633156,
0.031207971274852753,
-0.04963112995028496,
0.006015375256538391,
-0.002776326844468713,
-0.021113794296979904,
-0.027300547808408737,
-0.008367541246116161,
-0.013033312745392323,
-0.046717699617147446,
0.01754912920296192,
-0.003596800146624446,
0.03914278373122215,
0.012999037280678749,
0.019194358959794044,
-0.026152314618229866,
0.034532707184553146,
-0.027026342228055,
0.04538094997406006,
-0.012339230626821518,
-0.06995658576488495,
0.034652672708034515,
-0.039485540241003036,
0.012896209955215454,
0.007754863705486059,
-0.03156786412000656,
-0.03873147442936897,
-0.005942539311945438,
0.01106246281415224,
-0.002930567367002368,
-0.027951786294579506,
-0.054772473871707916,
-0.018423156812787056,
-0.0103426743298769,
0.04623784124851227,
-0.0995364636182785,
0.011439495719969273,
0.023375988006591797,
0.0033804350532591343,
0.010359812527894974,
-0.003496115328744054,
0.014010168612003326,
-0.04723183438181877,
-0.012939054518938065,
0.04119931906461716,
-0.0025021217297762632,
-0.003301172750070691,
-0.027369098737835884,
-0.019451426342129707,
0.05494385212659836,
0.02265619859099388,
-0.018628811463713646,
0.030025461688637733,
-0.04616928845643997,
0.008179024793207645,
0.004408704582601786,
0.03410426154732704,
0.02154223993420601,
-0.0359894223511219,
-0.03794313594698906,
0.043530065566301346,
-0.03357299044728279,
0.06344421207904816,
0.03353871405124664,
-0.05302441865205765,
0.034429881721735,
0.00213151634670794,
0.045655153691768646,
-0.027694718912243843,
-0.0034532707650214434,
0.003900996409356594,
-0.018577396869659424,
0.05336717516183853,
0.0012789098545908928,
0.027746131643652916,
0.006332424934953451,
-0.0006287437863647938,
0.028774401172995567,
0.016735082492232323,
-0.03119083307683468,
-0.08616895973682404,
-0.007090773433446884,
-0.04191910848021507,
0.002147583058103919,
-0.06426683068275452,
-0.03430991619825363,
0.004200908355414867,
0.06265587359666824,
0.021559378132224083,
-0.03801168501377106,
-0.0018091112142428756,
0.02162792906165123,
-0.04095939174294472,
-0.03969119116663933,
0.0017651955131441355,
0.03725762292742729,
0.039759743958711624,
0.006606630049645901,
-0.04983678087592125,
-0.020291179418563843,
0.027986060827970505,
-0.036366455256938934,
-0.006345278117805719,
0.06317000836133957,
-0.059056930243968964,
-0.0349954292178154,
-0.027249135076999664,
0.029528465121984482,
-0.022090651094913483,
0.02551821433007717,
-0.08219298720359802,
0.015715381130576134,
-0.014524303376674652,
-0.009794264100492,
0.008568909950554371,
-0.01814895123243332,
0.08205588161945343,
0.0004811978724319488,
-0.07766859978437424,
0.023941535502672195,
0.030316805467009544,
0.08555199950933456,
-0.023461677134037018,
-0.05843997001647949,
-0.03873147442936897,
-0.014584285207092762,
0.027780408039689064,
0.026649311184883118,
0.04976823180913925,
-0.08445517718791962,
0.031122282147407532,
0.013204691000282764,
-0.023581640794873238,
0.021816445514559746,
0.012527747079730034,
0.0402396023273468,
-0.01553543470799923,
-0.02481556497514248,
0.029288535937666893,
0.03389861062169075,
0.00970857497304678,
0.03670921176671982,
-0.02882581390440464,
-0.036126524209976196,
0.021970685571432114,
-0.01683790795505047,
-0.024832701310515404,
-0.03794313594698906,
-0.02248482033610344,
0.030025461688637733,
0.014909903518855572,
-0.0108739472925663,
-0.045860808342695236,
-0.05994809791445732,
-0.0022793300449848175,
0.026769276708364487,
0.016915028914809227,
-0.0764346793293953,
0.0012960477033630013,
-0.00611391756683588,
-0.008877390995621681,
0.015406901016831398,
-0.0050985016860067844,
0.01708640716969967,
-0.007999077439308167,
0.03208199888467789,
-0.002420717151835561,
0.006675180979073048,
0.010222709737718105,
0.009905660524964333,
-0.027917509898543358,
-0.011165290139615536,
0.0018798046512529254,
0.017386319115757942,
-0.019348599016666412,
-0.008671737276017666,
0.036812037229537964,
-0.03732617199420929,
-0.024661323055624962,
-0.015732519328594208,
-0.056074950844049454,
0.04620356485247612,
-0.00829898938536644,
0.03790885955095291,
-0.027900371700525284,
-0.027454787865281105,
0.036812037229537964,
-0.03216768801212311,
0.04431840404868126,
-0.019022980704903603,
-0.03160214051604271,
-0.006019659340381622,
0.0069708083756268024,
-0.023084644228219986,
-0.020496834069490433,
0.0011846518609672785,
-0.03927988559007645,
-0.009597179479897022,
-0.03430991619825363,
0.036743488162755966,
-0.028808675706386566,
-0.03401857241988182,
0.022759025916457176,
0.0037981695495545864,
0.008328980766236782,
-0.032441895455121994,
0.12668277323246002,
-0.04805444926023483,
0.058851275593042374,
0.003029109677299857,
0.020548246800899506,
0.05645198002457619,
-0.04263889789581299,
-0.06906541436910629,
0.00879170186817646,
-0.024215741083025932,
-0.011122445575892925,
-0.06227884069085121,
-0.03115655854344368,
-0.04490109160542488,
0.0006705172127112746,
0.011388082057237625,
0.03554384037852287,
0.0014042301336303353,
-0.037600379437208176,
-0.02976839430630207,
-0.025998074561357498,
0.05720604583621025,
0.017720505595207214,
0.06282725185155869,
0.04215903952717781,
-0.019160082563757896,
-0.04116504639387131,
-0.035303909331560135,
-0.054566819220781326,
-0.014224391430616379,
-0.002356450306251645,
0.012159283272922039,
0.04500391706824303,
-0.002217205474153161,
-0.04603218659758568,
0.0039374143816530704,
0.0498710572719574,
-0.021148070693016052,
0.026597898453474045,
-0.04215903952717781,
0.033384475857019424,
0.0049185543321073055,
-0.04637494310736656,
-0.04915126785635948,
-0.010779689066112041,
0.042878828942775726,
-0.02858588472008705,
-0.051379185169935226,
-0.02286185324192047,
-0.0028920071199536324,
-0.04212476313114166,
0.00928013026714325,
0.01578393206000328,
-0.021576516330242157,
-0.024147190153598785,
0.015295504592359066,
0.015509727410972118,
0.031876347959041595,
0.0519275963306427,
0.013333224691450596,
0.038251616060733795,
0.00131318555213511,
-0.015372625552117825,
-0.0015938173746690154,
-0.02879153937101364,
-0.06834562867879868,
0.028397368267178535,
-0.0381145142018795,
0.010248417034745216,
-0.006825136952102184,
-0.006833706051111221,
-0.022501958534121513,
0.012827659025788307,
0.06865411251783371,
-0.027746131643652916,
-0.006332424934953451,
-0.024678461253643036,
-0.0019933427684009075,
0.013787376694381237,
0.06930534541606903,
0.034275639802217484,
0.031465038657188416,
0.027489064261317253,
-0.0033504439052194357,
0.017180664464831352,
0.00846608355641365,
-0.030316805467009544,
0.031704969704151154,
-0.07890252768993378,
0.03787458315491676,
0.02522687241435051,
-0.02138799987733364,
0.043804269284009933,
0.00011079333489760756,
0.05175621807575226,
-0.09076189994812012,
0.02236485667526722,
0.039485540241003036,
0.04095939174294472,
-0.02584383264183998,
-0.03184207156300545,
0.03945126384496689,
0.10077038407325745,
0.005449826829135418,
0.06269014626741409,
-0.006276726722717285,
-0.028568746522068977,
-0.01382165215909481,
0.007557779084891081,
-0.06186753138899803,
0.004275886341929436,
0.08335836231708527,
-0.03574949502944946,
-0.04161062836647034,
0.037394724786281586,
0.053744204342365265,
-0.0286201611161232,
-0.004085227847099304,
0.02935708686709404,
0.04894561693072319,
0.022227752953767776,
0.011705131269991398,
0.004239468369632959,
-0.04733465984463692,
0.01246776431798935,
-0.07684598863124847,
-0.009374387562274933,
-0.07081347703933716,
-0.029785532504320145,
-0.022930404171347618,
-0.00598109932616353,
0.01953711546957493,
0.0952862799167633,
-0.007562063168734312,
0.03914278373122215,
0.0022386277560144663
] |
711,275
|
celery.app.base
|
__repr__
| null |
def __repr__(self):
return f'<{type(self).__name__} {appstr(self)}>'
|
(self)
|
[
0.029257211834192276,
-0.04870276898145676,
0.0693570151925087,
0.012006832286715508,
0.036064933985471725,
-0.06743734329938889,
-0.0008704065112397075,
-0.008736281655728817,
0.04109518602490425,
-0.03526507318019867,
-0.02381814271211624,
0.0023618177510797977,
0.00029717132565565407,
0.05936761200428009,
-0.005030249711126089,
0.03988650441169739,
-0.007318746764212847,
-0.07500937581062317,
0.028226276859641075,
0.031407956033945084,
0.015535117127001286,
0.04088188707828522,
0.02801297977566719,
-0.019552206620573997,
0.004732523113489151,
0.043014854192733765,
-0.02842179872095585,
0.00750982528552413,
-0.01728592813014984,
-0.019410008564591408,
-0.06868156790733337,
-0.07465387880802155,
0.019712179899215698,
-0.0487738698720932,
-0.00248624081723392,
0.012264566496014595,
-0.06171387434005737,
0.021578526124358177,
-0.0243869349360466,
-0.03064364194869995,
0.07255646586418152,
-0.015935048460960388,
-0.03357647359371185,
-0.03739804029464722,
-0.0223250649869442,
0.002632882446050644,
0.05762568861246109,
0.007847544737160206,
-0.014850789681077003,
-0.041130732744932175,
0.03526507318019867,
0.04340590164065361,
-0.018930092453956604,
0.01972995512187481,
-0.05599041283130646,
0.05065799131989479,
0.019374459981918335,
-0.007589811459183693,
-0.005772344768047333,
0.026004435494542122,
-0.06580206751823425,
0.03761133551597595,
0.0661931112408638,
-0.03725584223866463,
-0.007967524230480194,
-0.00508357398211956,
-0.039850953966379166,
0.018503498286008835,
-0.009109551087021828,
0.009740553796291351,
0.028706194832921028,
-0.020405394956469536,
-0.04831172525882721,
0.0501958467066288,
0.00011734102008631453,
-0.035176198929548264,
-0.027781909331679344,
0.018894542008638382,
0.02584446221590042,
-0.0519377738237381,
0.025915561243891716,
-0.003701588371768594,
-0.05410629138350487,
-0.010815925896167755,
0.0028550666756927967,
-0.06356244534254074,
-0.048382826149463654,
-0.025488968938589096,
-0.05556381866335869,
0.031283531337976456,
-0.0342874601483345,
0.038393426686525345,
-0.033132102340459824,
0.03988650441169739,
-0.0348384790122509,
-0.050124749541282654,
-0.01234455220401287,
-0.0571635439991951,
0.046960845589637756,
0.009625018574297428,
0.0348384790122509,
0.019196713343262672,
-0.06324250251054764,
-0.018068017438054085,
-0.03913996368646622,
-0.008918472565710545,
-0.040135350078344345,
0.010789263062179089,
-0.008425223641097546,
0.0016486066160723567,
-0.013828743249177933,
0.04059749096632004,
0.002890616189688444,
0.013997603207826614,
0.0161127969622612,
-0.009447271004319191,
-0.010398219339549541,
0.01873456872999668,
0.08368344604969025,
-0.007669797632843256,
0.004245939664542675,
0.015721751376986504,
-0.031852323561906815,
-0.01451306976377964,
-0.014868564903736115,
0.042019471526145935,
-0.02726644091308117,
-0.0362604558467865,
0.0012497860006988049,
-0.0878782868385315,
0.03928216174244881,
-0.0017008198192343116,
-0.07070789486169815,
-0.006816610228270292,
0.06765063852071762,
0.008287469856441021,
0.023444874212145805,
0.022093994542956352,
-0.008216370828449726,
0.1464638113975525,
-0.013411036692559719,
-0.010451543144881725,
0.01653050258755684,
0.06260260939598083,
-0.03469628095626831,
-0.009429496712982655,
-0.00551905483007431,
0.11631786078214645,
0.011109208688139915,
-0.020494267344474792,
0.01685933582484722,
0.03846452385187149,
0.05588376149535179,
0.01364210806787014,
-0.00826969463378191,
0.0362604558467865,
-0.0017974699148908257,
-0.023907016962766647,
0.029203888028860092,
-0.05894101783633232,
-0.04589436203241348,
-0.03633155673742294,
0.029577156528830528,
-0.018254650756716728,
0.015632878988981247,
0.028937267139554024,
0.011553577147424221,
-0.04369029402732849,
0.013588784262537956,
0.025631166994571686,
-0.022253965958952904,
-0.10366224497556686,
-0.047991782426834106,
0.027053145691752434,
-0.013837629929184914,
0.06121618300676346,
-0.009802766144275665,
0.09790323674678802,
-0.01671713776886463,
-0.011882409453392029,
0.05069354176521301,
-0.039673205465078354,
-0.07500937581062317,
-0.0178547203540802,
0.06004305183887482,
-0.0313546322286129,
0.02044094353914261,
0.005119123496115208,
0.056239258497953415,
-0.0065322145819664,
-0.005301314406096935,
-0.00013817078433930874,
-0.016192782670259476,
0.000058913523389492184,
-0.028812844306230545,
-0.03181677311658859,
-0.03569166734814644,
-0.057696785777807236,
0.019125614315271378,
-0.007340964861214161,
-0.01696598343551159,
0.055528268218040466,
-0.01639719121158123,
0.01757032424211502,
0.011980170384049416,
0.004114850889891386,
0.019943252205848694,
-0.032438889145851135,
0.024884628131985664,
-0.0432281531393528,
0.02365817129611969,
-0.00424816133454442,
0.002926165470853448,
-0.0008731837733648717,
0.026768749579787254,
-0.04095298796892166,
-0.020796438679099083,
-0.043299250304698944,
-0.06025634706020355,
0.035762764513492584,
0.06669080257415771,
-0.009625018574297428,
-0.011589126661419868,
-0.03789573162794113,
-0.053786344826221466,
-0.019267812371253967,
0.0007370960083790123,
-0.03595828637480736,
0.000038118472730275244,
-0.006545545533299446,
0.01685933582484722,
-0.04233941435813904,
-0.000004834241735807154,
0.010140486061573029,
0.016361642628908157,
0.05076463893055916,
-0.021276356652379036,
0.0005257432931102812,
-0.049555957317352295,
-0.012620060704648495,
0.005967867095023394,
0.03743359073996544,
0.0243869349360466,
0.00022815537522546947,
0.05872771888971329,
-0.04226831719279289,
0.013473248109221458,
0.051155682653188705,
-0.027319766581058502,
-0.018912317231297493,
0.009980512782931328,
-0.04081078991293907,
-0.028937267139554024,
-0.031976744532585144,
0.029346086084842682,
-0.06402458995580673,
-0.039673205465078354,
0.006434453651309013,
0.030217047780752182,
0.056808050721883774,
0.011438040994107723,
0.01560621615499258,
0.024582456797361374,
0.04760073870420456,
0.0013997602509334683,
0.011766874231398106,
-0.06853937357664108,
-0.003117243992164731,
-0.0014697483275085688,
0.017339253798127174,
0.15570667386054993,
-0.002397367265075445,
-0.032741058617830276,
0.06683299690485,
-0.055670466274023056,
-0.04760073870420456,
-0.016450516879558563,
0.012237904593348503,
-0.06971250474452972,
-0.05229326710104942,
0.016201669350266457,
-0.04184172302484512,
0.007563149090856314,
0.020263196900486946,
-0.011411379091441631,
-0.02308937907218933,
0.0018696797778829932,
0.01696598343551159,
0.038393426686525345,
0.006905484013259411,
0.07891982048749924,
0.027657486498355865,
0.012522299773991108,
0.023196028545498848,
0.048098430037498474,
-0.01182019803673029,
0.0421261191368103,
0.02118748240172863,
-0.017899157479405403,
-0.0018796781077980995,
0.028937267139554024,
-0.013837629929184914,
0.06878822296857834,
0.04009979963302612,
-0.021862922236323357,
-0.011011447757482529,
0.00008887366857379675,
0.0418061725795269,
-0.004268157761543989,
0.004759185016155243,
-0.016601601615548134,
0.031176883727312088,
0.03661595284938812,
0.06320695579051971,
0.0003768799069803208,
0.04191282391548157,
-0.004105963744223118,
-0.023053830489516258,
0.0252578966319561,
0.05648810416460037,
-0.03885556757450104,
0.027604160830378532,
-0.01392650417983532,
0.030003750696778297,
0.022822758182883263,
-0.022609461098909378,
-0.012744484469294548,
0.022751659154891968,
0.013650995679199696,
0.015064086765050888,
-0.011358055286109447,
-0.04081078991293907,
0.016939321532845497,
0.02829737588763237,
-0.006038965657353401,
0.009802766144275665,
0.041130732744932175,
0.0038526735734194517,
-0.04571661725640297,
-0.07451168447732925,
0.07408509403467178,
0.0386422723531723,
-0.014841903001070023,
-0.00039687647949904203,
-0.045183371752500534,
0.03546059504151344,
-0.03151460364460945,
0.02831515111029148,
0.052471015602350235,
-0.01509074866771698,
-0.04009979963302612,
-0.04009979963302612,
0.0043548098765313625,
-0.010878137312829494,
-0.019125614315271378,
-0.009776103310286999,
-0.017232604324817657,
0.03572721406817436,
-0.01988992653787136,
0.050266947597265244,
0.05371524393558502,
-0.0025862238835543394,
-0.031710125505924225,
0.027070919051766396,
-0.03668705001473427,
-0.003819345962256193,
0.0005443512345664203,
-0.0032438889611512423,
0.04102408513426781,
-0.008851817809045315,
-0.04024199768900871,
-0.008851817809045315,
-0.014433084055781364,
-0.039424359798431396,
-0.03871336951851845,
0.05133343115448952,
0.006438897456973791,
0.02904391475021839,
-0.04905826598405838,
-0.059296511113643646,
0.04408134147524834,
0.010673727840185165,
0.02250281348824501,
0.01667270064353943,
-0.005056911613792181,
-0.016459403559565544,
0.016432741656899452,
0.015775077044963837,
0.01582840085029602,
0.020209873095154762,
-0.04123738408088684,
-0.022449489682912827,
-0.025044599547982216,
0.006687743589282036,
-0.043476998805999756,
-0.0574834905564785,
0.0018285757396370173,
-0.01233566552400589,
-0.0647711306810379,
-0.012184579856693745,
0.03761133551597595,
-0.017579210922122,
0.01406870223581791,
-0.030803613364696503,
-0.004410355817526579,
0.022822758182883263,
0.025488968938589096,
0.0007704236195422709,
-0.006803279276937246,
-0.02641325443983078,
0.03206561878323555,
-0.01269115973263979,
-0.07842212915420532,
-0.06398904323577881,
0.07120558619499207,
-0.0207431148737669,
-0.026199957355856895,
-0.004408134147524834,
0.026039985939860344,
-0.0071187810972332954,
-0.015872837975621223,
0.07351630181074142,
0.04436573386192322,
0.04415243864059448,
-0.033185429871082306,
0.04269491136074066,
-0.030074849724769592,
0.06327804923057556,
0.0516178272664547,
0.023284900933504105,
-0.03377199545502663,
0.005479061510413885,
0.004403690341860056,
-0.01713484339416027,
0.010718164965510368,
-0.07003245502710342,
0.011926846578717232,
-0.0652332752943039,
-0.025471193715929985,
0.07479608058929443,
0.009953850880265236,
-0.03618935868144035,
0.023871468380093575,
0.0050791301764547825,
0.012442314065992832,
-0.02726644091308117,
-0.0807683914899826,
-0.010798150673508644,
0.03739804029464722,
-0.00913621298968792,
0.046498704701662064,
0.030803613364696503,
0.0013964275131002069,
-0.013882067054510117,
-0.005727908108383417,
-0.04770738631486893,
-0.026964271441102028,
-0.06100288778543472,
-0.015304045751690865,
0.01088702492415905,
-0.054070740938186646,
0.02538231946527958,
0.004021533764898777,
-0.008011961355805397,
-0.007332077715545893,
-0.01641496643424034,
0.05428403615951538,
0.00725209154188633,
-0.08375454694032669,
-0.005399075336754322,
0.04756518825888634,
0.024209188297390938,
-0.01710818149149418,
-0.02511569857597351,
-0.028332926332950592,
0.07799553126096725,
-0.03235001489520073,
-0.016903771087527275,
-0.02829737588763237,
-0.03995760157704353,
-0.07515157759189606,
-0.05090683698654175,
-0.017952481284737587,
0.04105963557958603,
-0.03567389026284218,
0.035051774233579636,
0.022591685876250267,
0.004652536474168301,
0.017534775659441948,
0.016139458864927292,
-0.0010231580818071961,
0.08602970838546753,
-0.07124113291501999,
0.0011709105456247926,
0.015277383849024773,
0.03494512662291527,
-0.020974185317754745,
-0.010762601159512997,
-0.05872771888971329,
-0.011011447757482529,
0.020974185317754745,
-0.02090308628976345,
0.008874035440385342,
-0.01326883863657713,
0.028332926332950592,
-0.026004435494542122,
0.034056391566991806,
0.028119629248976707,
-0.01190907135605812,
-0.04457903280854225,
0.02829737588763237,
-0.06036299467086792,
0.03336317464709282,
-0.00973166711628437,
-0.00595009233802557,
-0.05168892443180084,
-0.004688085988163948,
-0.003257219912484288,
-0.02004989981651306,
0.009042895399034023,
0.02945273369550705,
-0.00045908804167993367,
-0.0505157932639122,
-0.01473525445908308,
-0.04191282391548157,
0.017614761367440224,
0.018076904118061066,
0.03542504459619522,
-0.028688419610261917,
0.08098168671131134,
-0.0058701056987047195,
0.00685215974226594,
0.024582456797361374,
0.0002152409142581746,
-0.036207132041454315,
0.09953851252794266,
-0.09875641763210297,
0.015988372266292572,
0.0009004013845697045,
0.03725584223866463,
0.02205844409763813,
-0.01727704145014286,
0.00936728436499834,
-0.03615380823612213,
-0.009856089949607849,
-0.0641312375664711,
0.008674070239067078,
-0.00013303277955856174,
0.0035971617326140404,
-0.025755589827895164,
0.010860362090170383,
-0.048240628093481064,
0.012433426454663277,
0.009447271004319191,
-0.0007026574457995594,
0.04408134147524834,
0.025453418493270874,
0.036047160625457764,
0.011846859939396381,
0.02092086151242256,
-0.017961367964744568,
0.04280155897140503,
0.03949545696377754,
-0.022964956238865852,
0.022858308628201485,
0.05048024281859398,
0.006203382275998592,
0.030714740976691246,
-0.027639711275696754,
-0.024564681574702263,
0.0125489616766572,
-0.03434078395366669,
0.051582276821136475,
0.008691844530403614,
-0.01928558573126793,
0.046960845589637756,
-0.0027195343282073736,
0.057981181889772415,
-0.00020343739015515894,
-0.031265757977962494,
-0.0484539233148098,
0.008985128253698349,
-0.03643820434808731,
-0.05385744199156761,
-0.03757578879594803,
-0.01869902014732361,
-0.03682924807071686,
0.001458639046177268,
0.001456417259760201,
-0.04916491359472275,
-0.04251716285943985,
-0.027941880747675896,
0.000023173115550889634,
-0.010673727840185165,
0.0714188814163208,
-0.05446178466081619,
-0.006572207901626825,
-0.024458033964037895,
0.0014508626190945506,
0.02582668885588646,
0.03322097659111023,
0.03219004347920418,
0.018201326951384544,
0.006456672213971615,
0.06299365311861038,
-0.02323157712817192,
0.0005682360497303307,
0.04024199768900871,
-0.05264876037836075,
0.03675815090537071,
-0.0130644291639328,
0.030945811420679092,
0.008531872183084488,
-0.037931282073259354,
0.0020196540281176567,
-0.043441448360681534,
-0.03643820434808731,
0.02683984860777855,
-0.02380036935210228,
0.04888051748275757,
0.010878137312829494,
0.03458963334560394,
-0.05094238743185997,
0.028208503499627113,
-0.004976925440132618,
0.017588099464774132,
0.006892153061926365,
-0.010451543144881725,
0.04393914341926575,
-0.024440258741378784,
0.05808782950043678,
0.022893857210874557,
0.0214541032910347,
-0.09129103273153305,
-0.030856937170028687,
-0.007705347146838903,
0.0004663090221583843,
0.0362604558467865,
-0.01827242597937584,
0.029808228835463524,
0.007745340466499329,
-0.04831172525882721,
-0.08048399537801743,
-0.014770803973078728,
-0.01916116289794445,
-0.011206969618797302,
-0.028777293860912323,
-0.08261696249246597,
0.018503498286008835,
-0.054070740938186646,
-0.0432281531393528,
0.010256021283566952,
-0.005656809080392122,
0.02291163243353367,
0.0005771233700215816,
0.007572036702185869,
-0.011420266702771187,
0.02380036935210228,
-0.05513722449541092,
0.0015452909283339977,
-0.04283710941672325,
-0.04262381047010422,
-0.00011872966570081189,
-0.0330965556204319,
0.05851442366838455,
0.03307877853512764,
-0.017792508006095886,
0.00228405324742198,
0.01711706817150116,
-0.050444696098566055,
-0.006203382275998592,
0.041592877358198166,
-0.009776103310286999,
-0.020529817789793015,
-0.067295141518116,
-0.005750126205384731,
0.0010342673631384969,
0.04905826598405838,
0.030305922031402588,
-0.04557441920042038,
0.014744142070412636,
0.0008454108028672636,
-0.059865303337574005,
-0.05037359520792961,
0.020636465400457382,
0.03334540128707886,
-0.0102915707975626,
0.03725584223866463,
-0.011073659174144268,
-0.0836123451590538,
-0.05122678354382515,
-0.03610048443078995,
0.0062567065469920635,
0.011793536134064198,
0.046214308589696884,
0.003699366468936205,
0.017881382256746292,
-0.08133718371391296,
0.009838314726948738,
-0.010940348729491234,
0.040419746190309525,
0.028972815722227097,
0.035193972289562225,
-0.006194494664669037,
0.043441448360681534,
0.030856937170028687,
0.03960210829973221,
0.009051783010363579,
-0.0010309345088899136,
0.017197055742144585,
0.0324566625058651,
0.11880631744861603,
0.006816610228270292,
-0.027533063665032387,
-0.004910270217806101,
-0.045467767864465714,
0.017783621326088905,
0.04191282391548157,
-0.03398529067635536,
0.009829428046941757,
-0.026075534522533417,
0.025364546105265617,
0.06210492178797722,
-0.02669765055179596,
0.030714740976691246,
0.0897979587316513,
-0.04369029402732849,
-0.065553218126297,
-0.03761133551597595,
-0.006634419318288565,
0.013802080415189266,
0.010940348729491234,
-0.046498704701662064,
0.017392577603459358,
0.05670139938592911,
0.004714748356491327,
0.025328995659947395,
0.00261510768905282,
0.012291228398680687,
0.012575624510645866,
0.015179622918367386,
0.03192342072725296,
-0.013375487178564072,
0.024422483518719673,
0.0009170651901513338,
0.019534433260560036,
0.014886339195072651,
0.042019471526145935,
-0.029683806002140045,
0.053324200212955475,
0.04962705820798874,
0.05094238743185997,
-0.03311432898044586,
0.01930336095392704,
0.062176018953323364,
-0.009527257643640041,
0.0020540927071124315,
-0.0035238410346210003,
0.011358055286109447,
-0.037220291793346405,
-0.04489897936582565,
-0.0015941713936626911,
0.029079465195536613,
0.01509074866771698,
0.0030905818566679955,
0.05727019160985947,
-0.02755083702504635,
0.006576651707291603
] |
711,276
|
celery.app.base
|
_acquire_connection
|
Helper for :meth:`connection_or_acquire`.
|
def _acquire_connection(self, pool=True):
"""Helper for :meth:`connection_or_acquire`."""
if pool:
return self.pool.acquire(block=True)
return self.connection_for_write()
|
(self, pool=True)
|
[
-0.0014502446865662932,
-0.0702718123793602,
-0.0015105392085388303,
0.06861317902803421,
0.03061698004603386,
-0.018397267907857895,
-0.004798183683305979,
0.011881216429173946,
0.005424401722848415,
-0.10825107991695404,
0.005551337730139494,
0.00121647072955966,
0.0012175284791737795,
0.0748753547668457,
-0.013751408085227013,
-0.011136524379253387,
-0.024981020018458366,
-0.03418811410665512,
-0.015807772055268288,
0.011703506112098694,
0.006956096738576889,
0.053380850702524185,
0.0607939176261425,
-0.024084003642201424,
-0.009960250928997993,
0.05182376876473427,
-0.024016305804252625,
-0.02581033483147621,
0.03791157528758049,
-0.01657785102725029,
0.038182370364665985,
0.022019177675247192,
0.032817207276821136,
0.06637910008430481,
0.07223508507013321,
0.06847777962684631,
0.022509997710585594,
0.057578202337026596,
-0.01892193779349327,
-0.07020410895347595,
-0.03571134805679321,
-0.0457308366894722,
0.03408656641840935,
-0.028602927923202515,
-0.017077133059501648,
0.012837467715144157,
-0.006473739631474018,
-0.025353364646434784,
0.05497178062796593,
-0.004229086916893721,
0.0817129835486412,
0.04200737923383713,
-0.01016334816813469,
0.04153348132967949,
-0.03632064163684845,
-0.005098599009215832,
-0.011652731336653233,
0.06177555397152901,
-0.01978510245680809,
0.03483125939965248,
-0.007349598687142134,
-0.015579286962747574,
-0.001228106557391584,
-0.0008282578783109784,
-0.020597493276000023,
-0.0005950128543190658,
-0.0539562925696373,
-0.011931991204619408,
0.05531027913093567,
0.02904297411441803,
0.05673196166753769,
0.01599394530057907,
-0.025590311735868454,
-0.018228020519018173,
0.0003310915781185031,
0.030346183106303215,
-0.00844971090555191,
-0.026098055765032768,
0.021189860999584198,
-0.011144987307488918,
-0.015325414948165417,
-0.0199374258518219,
0.0025366058107465506,
0.0093424953520298,
0.06296028941869736,
-0.04562928527593613,
-0.04478304460644722,
0.025387214496731758,
-0.07121960073709488,
-0.0421089269220829,
0.012448197230696678,
0.05635961517691612,
0.032072514295578,
0.05399014428257942,
0.062147900462150574,
-0.036760687828063965,
-0.017754124477505684,
0.016087030991911888,
-0.023136215284466743,
0.038487017154693604,
-0.09701301157474518,
0.02665657550096512,
-0.01483459584414959,
-0.025370290502905846,
0.014149140566587448,
-0.05371934548020363,
0.05324545130133629,
0.043564461171627045,
-0.04248127341270447,
-0.08401475846767426,
-0.034441988915205,
-0.02430402673780918,
-0.00021327905415091664,
0.02603035792708397,
-0.004531617742031813,
-0.008868600241839886,
-0.05087597668170929,
-0.05375319719314575,
-0.0105610815808177,
0.003033772110939026,
-0.11122985184192657,
0.0002430296881357208,
-0.004089456982910633,
-0.007286130450665951,
0.04644167795777321,
0.05070672929286957,
0.0048108771443367004,
-0.02889065071940422,
-0.001367736142128706,
-0.007510384079068899,
-0.0007510384311899543,
0.036354489624500275,
0.013717558234930038,
-0.011314235627651215,
-0.026961222290992737,
0.010146423242986202,
-0.019582005217671394,
0.03946865722537041,
0.014225302264094353,
-0.0026085362769663334,
0.008233919739723206,
-0.008910912089049816,
-0.014555335976183414,
-0.008800901472568512,
0.049657393246889114,
-0.03117549978196621,
-0.008377781137824059,
0.012558208778500557,
0.058999884873628616,
-0.047287918627262115,
0.05399014428257942,
-0.04749101772904396,
0.03007538616657257,
0.014335313811898232,
-0.012608983553946018,
0.013116727583110332,
-0.03838546946644783,
0.02975381538271904,
0.006114087533205748,
-0.029787665233016014,
0.021460657939314842,
-0.013531384989619255,
-0.016476301476359367,
0.0012386845191940665,
0.017127906903624535,
-0.026301154866814613,
-0.012854392640292645,
-0.06820698082447052,
0.04850650578737259,
-0.048540353775024414,
-0.0036980709992349148,
0.01698404736816883,
-0.03665913641452789,
0.030447732657194138,
-0.008085828274488449,
0.03386654332280159,
0.005965995602309704,
0.031057026237249374,
-0.011762742884457111,
-0.014191453345119953,
0.007768487557768822,
-0.01040875818580389,
-0.02010667324066162,
-0.004229086916893721,
0.025522613897919655,
-0.005851753056049347,
0.07230278849601746,
0.006262179464101791,
0.065803661942482,
0.035102054476737976,
-0.006473739631474018,
0.05175606906414032,
-0.01866806484758854,
-0.039773304015398026,
0.0031734018120914698,
-0.06715764850378036,
-0.017280230298638344,
0.015130779705941677,
-0.016552463173866272,
0.12571749091148376,
0.011686581186950207,
-0.005716354586184025,
0.012329723685979843,
0.051485270261764526,
0.06458507478237152,
-0.06576981395483017,
0.004971663001924753,
-0.01408990379422903,
0.0056782737374305725,
0.03369729593396187,
-0.030532356351614,
-0.023000815883278847,
-0.019277358427643776,
0.03709918260574341,
0.017754124477505684,
0.04904809966683388,
0.03259718418121338,
0.019446605816483498,
0.0009118241141550243,
0.03134474903345108,
-0.02533644065260887,
-0.019277358427643776,
-0.018177244812250137,
-0.012558208778500557,
0.023068515583872795,
-0.04833725467324257,
-0.021257560700178146,
-0.013700633309781551,
-0.009359419345855713,
0.008161989040672779,
0.036692988127470016,
0.056698113679885864,
0.04281976819038391,
-0.032732583582401276,
0.014453787356615067,
-0.0539562925696373,
-0.04200737923383713,
0.027401266619563103,
-0.03246178478002548,
0.01741562969982624,
0.03117549978196621,
0.03733612969517708,
0.029381468892097473,
-0.013937580399215221,
-0.04339521378278732,
-0.0021959941368550062,
-0.03423888981342316,
0.0033807307481765747,
0.04004409909248352,
0.0042777457274496555,
-0.011339622549712658,
-0.0069603282026946545,
-0.019886652007699013,
-0.044207602739334106,
-0.0726412832736969,
-0.03869011625647545,
-0.017449479550123215,
0.008483560755848885,
-0.049115799367427826,
0.0021166589576750994,
-0.019751252606511116,
0.06590520590543747,
-0.030837003141641617,
0.018007997423410416,
-0.0018998099258169532,
-0.01797414757311344,
-0.018888087943196297,
-0.01858344115316868,
-0.0020870405714958906,
0.02548876404762268,
-0.0051789917051792145,
0.05595342069864273,
0.07589084655046463,
-0.005094367545098066,
-0.01151733286678791,
-0.07616164535284042,
0.012194325216114521,
0.03523745387792587,
-0.062147900462150574,
-0.0071972752921283245,
-0.03560980036854744,
0.05300850421190262,
0.021816080436110497,
0.004336982499808073,
-0.056156519800424576,
-0.036049842834472656,
0.0070788017474114895,
-0.0023038897197693586,
0.014529949054121971,
-0.014631497673690319,
-0.05243305861949921,
0.01610395684838295,
0.03400194272398949,
-0.018397267907857895,
0.005301696714013815,
0.007751562632620335,
-0.015173091553151608,
0.013235201127827168,
0.02801056019961834,
0.003399771172553301,
-0.02032669633626938,
-0.013285975903272629,
-0.057815149426460266,
0.08611343055963516,
0.05524257943034172,
-0.06323108822107315,
-0.02318698912858963,
0.026081131771206856,
-0.06549901515245438,
0.03537285327911377,
-0.04034874588251114,
0.009951788000762463,
0.020597493276000023,
0.047355618327856064,
0.017754124477505684,
-0.0048151081427931786,
-0.0026085362769663334,
0.0701364129781723,
-0.004857420455664396,
0.016637088730931282,
-0.04725406691431999,
0.04369985684752464,
0.00004082449231646024,
-0.01985280215740204,
-0.02396553009748459,
0.029144521802663803,
-0.0067783864215016365,
0.03378191962838173,
-0.008682426996529102,
0.08002050220966339,
-0.06397578120231628,
0.049589693546295166,
-0.04156733304262161,
-0.003693839767947793,
-0.09024308621883392,
0.017551027238368988,
0.008343931287527084,
-0.0607939176261425,
0.0012333955382928252,
-0.019802026450634003,
-0.009232483804225922,
0.031378597021102905,
-0.02968611568212509,
-0.023305462673306465,
-0.0007663765572942793,
-0.01788952387869358,
0.00561480550095439,
-0.002160028787329793,
-0.010281821712851524,
-0.1027674451470375,
-0.009393269196152687,
0.03300337865948677,
-0.04021334648132324,
0.030481582507491112,
-0.02587803453207016,
-0.003765770234167576,
-0.009350957348942757,
0.05009743571281433,
-0.0025302590802311897,
-0.02533644065260887,
-0.028044410049915314,
-0.019209658727049828,
0.008195838890969753,
0.011737355962395668,
-0.038723964244127274,
0.05910143628716469,
-0.013285975903272629,
0.03000768832862377,
-0.031937114894390106,
-0.055919572710990906,
-0.07893731445074081,
-0.0072649745270609856,
0.014986919239163399,
0.037708476185798645,
-0.038419317454099655,
-0.000020197379853925668,
-0.08347316086292267,
-0.015435426495969296,
0.03393424302339554,
0.013480611145496368,
0.0027799000963568687,
-0.018177244812250137,
0.03584674745798111,
0.007366523612290621,
-0.08807671070098877,
-0.06252025067806244,
0.010518768802285194,
-0.005327083636075258,
0.007222662679851055,
0.030447732657194138,
-0.005107061471790075,
0.026250379160046577,
-0.016611700877547264,
0.02191762812435627,
-0.04678017273545265,
0.00817045196890831,
0.057341255247592926,
0.0013666783925145864,
-0.00008852468454279006,
-0.017991073429584503,
0.02430402673780918,
0.02531951479613781,
0.019666628912091255,
-0.012888242490589619,
-0.05216226354241371,
0.03963790461421013,
0.056528862565755844,
0.03774232417345047,
0.04305671527981758,
-0.03425581380724907,
-0.10019487142562866,
-0.0027185475919395685,
-0.03180171921849251,
-0.01103497575968504,
-0.016290130093693733,
-0.06417887657880783,
0.0552087277173996,
0.02445635013282299,
0.044038355350494385,
0.03093855269253254,
0.0010990548180416226,
-0.0007251223432831466,
-0.024473274126648903,
-0.005043593235313892,
-0.025167191401124,
-0.05696890875697136,
0.03479740768671036,
0.025691861286759377,
0.0021420461125671864,
0.04400450363755226,
0.019243508577346802,
0.02785823680460453,
0.07785412669181824,
-0.023356236517429352,
0.05229766294360161,
0.029872288927435875,
0.020445169880986214,
0.01531695295125246,
0.03024463541805744,
-0.01578238420188427,
0.04813415929675102,
0.02443942427635193,
-0.05517487972974777,
-0.06472047418355942,
0.03181864321231842,
-0.02254384569823742,
-0.008551260456442833,
0.017364853993058205,
-0.028586003929376602,
0.014115291647613049,
0.016670936718583107,
0.033917319029569626,
0.03408656641840935,
0.035880595445632935,
-0.0752815529704094,
-0.023525485768914223,
0.017322542145848274,
-0.048540353775024414,
0.04376755654811859,
-0.008809363469481468,
0.01332828775048256,
-0.009071698412299156,
0.05713815614581108,
0.030126161873340607,
-0.020292846485972404,
-0.016738636419177055,
0.010501844808459282,
0.028061334043741226,
-0.008043515495955944,
-0.025437988340854645,
0.010679555125534534,
-0.011881216429173946,
-0.0373699814081192,
-0.0584244430065155,
-0.01666247472167015,
-0.06807158142328262,
-0.0105610815808177,
0.03291875496506691,
0.07155809551477432,
-0.025370290502905846,
-0.059541478753089905,
0.030346183106303215,
0.03696378320455551,
0.008377781137824059,
-0.03858856484293938,
0.004506230354309082,
0.06252025067806244,
-0.0005265202489681542,
-0.000018809016182785854,
-0.0090970853343606,
-0.04180428013205528,
0.051079075783491135,
0.010027949698269367,
0.02729971893131733,
-0.04678017273545265,
0.03188634291291237,
-0.04620473086833954,
-0.01084880344569683,
0.016247816383838654,
0.006824929732829332,
0.03117549978196621,
-0.003793272888287902,
-0.015367726795375347,
-0.005356702487915754,
0.02357625961303711,
0.021968403831124306,
-0.09525282680988312,
0.003712880192324519,
0.025370290502905846,
0.022966966032981873,
0.03227561339735985,
0.028264431282877922,
-0.07507845759391785,
-0.019903576001524925,
0.004317942075431347,
0.07372447103261948,
0.018143396824598312,
0.00841586198657751,
-0.026335004717111588,
-0.04850650578737259,
0.047592565417289734,
0.07162579149007797,
-0.00356055679731071,
-0.01337059959769249,
-0.08002050220966339,
-0.02469329722225666,
0.01954815536737442,
0.006545670330524445,
-0.010112573392689228,
0.016290130093693733,
-0.016391677781939507,
-0.04955584183335304,
-0.07704173028469086,
-0.01139039732515812,
0.015215404331684113,
0.005162066780030727,
-0.08056209236383438,
0.04749101772904396,
-0.05334699898958206,
-0.032241761684417725,
-0.004317942075431347,
0.016780948266386986,
0.03689608350396156,
-0.0362529419362545,
-0.01827879436314106,
0.022340748459100723,
0.015206941403448582,
0.07920810580253601,
0.014039129950106144,
-0.02824750728905201,
0.025065643712878227,
0.013751408085227013,
0.009130935184657574,
0.01601933315396309,
0.04938659444451332,
-0.06363728642463684,
0.019108111038804054,
-0.046001631766557693,
0.021460657939314842,
0.022831568494439125,
0.0280951838940382,
-0.0019706825260072947,
-0.07582315057516098,
0.06279104202985764,
0.014902294613420963,
-0.040314897894859314,
0.06993331015110016,
0.05243305861949921,
0.08042669296264648,
0.01527464110404253,
0.032580260187387466,
-0.005750203970819712,
0.03814852237701416,
0.021342184394598007,
0.0009430292411707342,
0.0008060440886765718,
-0.042379721999168396,
0.003829238237813115,
-0.007256512064486742,
0.042447421699762344,
0.008369318209588528,
-0.057408954948186874,
-0.0010086129186674953,
-0.03831776976585388,
-0.0018627868266776204,
0.010290284641087055,
-0.019582005217671394,
0.06668374687433243,
0.00029724196065217257,
-0.0157569982111454,
-0.02032669633626938,
-0.021545283496379852,
0.00637219101190567,
0.0036388339940458536,
0.058052096515893936,
-0.017669500783085823,
-0.019480455666780472,
0.011466559022665024,
0.0433613620698452,
-0.0068291607312858105,
-0.023288538679480553,
0.039841003715991974,
-0.03882551193237305,
-0.03869011625647545,
0.0063298786990344524,
0.0026804667431861162,
-0.06959481537342072,
-0.03197096660733223,
-0.005454020109027624,
-0.031378597021102905,
-0.036692988127470016,
0.024913320317864418,
-0.005686736200004816,
0.0234239362180233,
-0.013971430249512196,
0.022137651219964027,
-0.11881216615438461,
0.024016305804252625,
0.000792292645201087,
0.005555568728595972,
0.02824750728905201,
0.012685145251452923,
-0.007823493331670761,
0.0010794855188578367,
-0.007087264209985733,
0.01804184727370739,
0.06245254725217819,
-0.08110368996858597,
-0.000987985753454268,
0.008204301819205284,
-0.015088467858731747,
-0.0561903677880764,
0.05094367638230324,
0.02096983976662159,
0.027536666020751,
0.014386088587343693,
0.038250070065259933,
0.04975894093513489,
-0.005039362236857414,
-0.015266178175807,
-0.011119600385427475,
-0.004061954095959663,
0.022205350920557976,
-0.0574428029358387,
0.03726842999458313,
0.01128038577735424,
-0.017991073429584503,
-0.02350855991244316,
-0.012397423386573792,
-0.028586003929376602,
-0.03117549978196621,
-0.007700788322836161,
0.08049439638853073,
-0.027739763259887695,
0.03412041813135147,
-0.045696984976530075,
-0.027418192476034164,
-0.002587380353361368,
-0.01844804175198078,
0.02096983976662159,
-0.018481891602277756,
0.026639649644494057,
0.0059786890633404255,
0.018177244812250137,
0.0033680370543152094,
-0.008259306661784649,
-0.06841008365154266,
-0.05964303016662598,
-0.06945941597223282,
0.06370498239994049,
0.012414348311722279,
-0.012278949841856956,
-0.020072823390364647,
0.014995381236076355,
0.06377268582582474,
-0.035982146859169006,
0.057645902037620544,
-0.03885936364531517,
-0.04082264006137848,
0.03655758872628212,
0.03237716108560562,
0.010061799548566341,
-0.012143551371991634,
-0.00048394378973171115,
-0.008783976547420025,
-0.034695859998464584,
-0.03329110145568848,
-0.023677809163928032,
0.0033489966299384832,
-0.03940095752477646,
-0.0028116339817643166,
0.029381468892097473,
-0.004844726994633675,
-0.0020288615487515926,
-0.0584244430065155,
-0.030887776985764503,
0.002733356785029173,
-0.0062748733907938,
0.022594621405005455,
-0.0044469935819506645,
0.06245254725217819,
-0.0009536072611808777,
0.012558208778500557,
-0.03412041813135147,
-0.009249408729374409,
0.008627422153949738,
0.011204224079847336,
0.02714739553630352,
0.032715655863285065,
0.029229145497083664,
0.001995011931285262,
0.008369318209588528,
0.04241357371211052,
0.022966966032981873,
0.030041536316275597,
0.004085225984454155,
-0.04630627855658531,
0.01739870384335518,
-0.06783463805913925,
0.02113908715546131,
-0.09058158099651337,
-0.01621396839618683,
0.0004823570779990405,
-0.07094880193471909,
0.04369985684752464,
0.0023546642623841763,
-0.003535169642418623,
-0.019886652007699013,
0.013302900828421116,
0.06797003746032715,
-0.040314897894859314,
0.00587713997811079,
-0.0013381177559494972,
0.013683708384633064,
0.01892193779349327,
0.004620472900569439,
0.04518924281001091,
-0.007057645823806524,
0.024913320317864418,
0.005454020109027624,
-0.020242072641849518,
-0.05206071585416794,
-0.023847056552767754,
0.03601599484682083,
0.034154266119003296,
-0.088686004281044,
-0.0021473353262990713,
0.036117542535066605,
0.0026508483570069075,
0.008970148861408234,
0.006905322428792715,
0.03821622207760811,
0.053211603313684464,
0.02824750728905201,
0.006562594790011644,
-0.08455634862184525,
-0.00546248210594058,
0.011965840123593807,
0.01711944490671158,
0.00976561475545168,
-0.026876598596572876,
0.04627243056893349,
-0.028772177174687386,
0.024168627336621284,
-0.08455634862184525,
-0.03767462819814682,
0.05118062347173691,
0.033358801156282425
] |
711,277
|
celery.app.base
|
_add_periodic_task
| null |
def _add_periodic_task(self, key, entry, name=None):
if name is None and key in self._conf.beat_schedule:
logger.warning(
f"Periodic task key='{key}' shadowed a previous unnamed periodic task."
" Pass a name kwarg to add_periodic_task to silence this warning."
)
self._conf.beat_schedule[key] = entry
|
(self, key, entry, name=None)
|
[
0.05498889461159706,
0.04606708511710167,
-0.0457199327647686,
0.04676138982176781,
-0.011082830838859081,
-0.011594880372285843,
-0.022495456039905548,
0.05380857735872269,
0.010518709197640419,
-0.022183019667863846,
-0.017045168206095695,
-0.01644633151590824,
0.07029829919338226,
-0.06161950156092644,
-0.002203331096097827,
-0.01703649014234543,
0.05533604696393013,
0.08776005357503891,
-0.091856449842453,
-0.022113589569926262,
0.025203242897987366,
-0.041970688849687576,
0.007459430955350399,
0.01341742929071188,
0.007637346629053354,
0.04898316413164139,
0.005268033128231764,
0.01989181526005268,
0.0013864387292414904,
-0.030271664261817932,
0.005458966828882694,
-0.024838734418153763,
-0.005315766669809818,
-0.0031048418022692204,
0.02365841716527939,
-0.01832963153719902,
-0.047698698937892914,
0.012766518630087376,
-0.07165219634771347,
0.009433859027922153,
0.13733337819576263,
0.027563877403736115,
0.020777054131031036,
-0.018017195165157318,
0.03343074768781662,
0.041658252477645874,
0.04953860491514206,
0.08776005357503891,
0.02214830555021763,
-0.03846445307135582,
-0.021523430943489075,
-0.01695838011801243,
-0.015352802351117134,
0.017392320558428764,
-0.058390986174345016,
0.044886767864227295,
0.07255478948354721,
0.05894642695784569,
-0.015101117081940174,
-0.020829126238822937,
0.029820365831255913,
0.028171394020318985,
0.0040551708079874516,
-0.002131731016561389,
0.038950465619564056,
0.016350865364074707,
-0.0008629984804429114,
-0.019700882956385612,
-0.0036798124201595783,
0.0028661745600402355,
0.0555790513753891,
-0.04731683433055878,
-0.04908730834722519,
-0.02150607295334339,
-0.011343195103108883,
0.00513785146176815,
-0.037492427974939346,
-0.05741896107792854,
-0.0066609811037778854,
0.03658983111381531,
-0.0402696467936039,
-0.02063819393515587,
0.042074836790561676,
0.0101975928992033,
-0.016194645315408707,
0.046657245606184006,
0.03284059092402458,
-0.045997653156518936,
-0.05804383382201195,
0.0032220054417848587,
0.01679348386824131,
-0.010267023928463459,
0.002514683175832033,
-0.011195655912160873,
0.05419044569134712,
-0.04627537727355957,
-0.008123359642922878,
-0.051586803048849106,
-0.01671537384390831,
-0.011837886646389961,
-0.009104063734412193,
-0.09310619533061981,
-0.005801779683679342,
-0.05519718676805496,
-0.0051508694887161255,
-0.06026560813188553,
0.020915914326906204,
-0.012124287895858288,
-0.07852580398321152,
0.0101975928992033,
0.008114680647850037,
0.07262422144412994,
-0.04294271767139435,
-0.00484711118042469,
0.0039271581918001175,
0.024804018437862396,
0.0009166985400952399,
0.006161950062960386,
0.03433334454894066,
0.019457876682281494,
0.027858957648277283,
0.0044044922105968,
-0.013278568163514137,
0.0004496704787015915,
-0.020360471680760384,
-0.012801233679056168,
-0.02768538147211075,
0.020030677318572998,
0.058182694017887115,
-0.031799133867025375,
0.008583336137235165,
0.02870948053896427,
0.01203749980777502,
0.01520526222884655,
-0.0027273136656731367,
-0.01495357695966959,
0.009069348685443401,
0.006604569032788277,
-0.04808056727051735,
-0.005328784696757793,
-0.007160012144595385,
-0.014224558137357235,
-0.0088870944455266,
0.025324746966362,
0.07123561203479767,
-0.07227706909179688,
-0.12344729155302048,
0.06651434302330017,
-0.013087634928524494,
-0.007902050390839577,
-0.006947381421923637,
0.016914986073970795,
-0.0668962150812149,
0.026262057945132256,
0.03327453136444092,
0.02553303726017475,
0.052732404321432114,
0.07672061771154404,
-0.034003548324108124,
-0.04033907502889633,
-0.014476243406534195,
-0.016750089824199677,
-0.0019765973556786776,
0.001092444290407002,
-0.021870583295822144,
-0.012983488850295544,
-0.003610381856560707,
0.031104829162359238,
0.031590841710567474,
0.03641625493764877,
0.018642067909240723,
0.005875549279153347,
0.03634682670235634,
0.03344810754060745,
0.03655511885881424,
-0.020516689866781235,
0.02200944349169731,
-0.007342267315834761,
0.0717216283082962,
0.003120029577985406,
-0.02577604353427887,
0.005415572784841061,
-0.0008803560631349683,
-0.04391474276781082,
-0.0176440067589283,
0.038047872483730316,
0.0010615260107442737,
0.023641059175133705,
-0.024040283635258675,
0.03988777846097946,
0.03046259842813015,
-0.010718321427702904,
-0.004374116659164429,
-0.01203749980777502,
0.0020666399504989386,
-0.025602467358112335,
-0.06248737871646881,
0.0007995347259566188,
-0.013078955933451653,
-0.0037622610107064247,
-0.01883300207555294,
-0.007485467474907637,
0.03756185993552208,
0.02004803530871868,
0.08741290122270584,
0.02391878142952919,
0.02924756519496441,
-0.01893714815378189,
0.009373106993734837,
0.03166027367115021,
0.02905663102865219,
-0.04134581610560417,
0.014311346225440502,
0.0038338610902428627,
-0.025654541328549385,
-0.02084648422896862,
-0.03856860101222992,
-0.009130100719630718,
-0.02778952568769455,
-0.010067411698400974,
-0.004851450677961111,
0.05512775480747223,
0.04516448825597763,
0.0077588497661054134,
0.042526133358478546,
-0.03292737901210785,
0.03686755523085594,
-0.00015404874284286052,
0.01241068821400404,
0.021731723099946976,
0.004226577002555132,
0.022842608392238617,
-0.05318370461463928,
-0.060092031955718994,
0.007823940366506577,
-0.05533604696393013,
-0.012002783827483654,
-0.036034390330314636,
0.053704433143138885,
-0.001303990138694644,
0.019093366339802742,
0.05241996794939041,
-0.030931252986192703,
0.0088089844211936,
0.0031807811465114355,
-0.038846321403980255,
-0.0038881036452949047,
0.05780082568526268,
-0.051031362265348434,
0.0032046479173004627,
0.03700641542673111,
-0.025949619710445404,
-0.01653311960399151,
0.011924674734473228,
-0.02522060088813305,
0.004660516977310181,
-0.0411028116941452,
0.010240986943244934,
0.01692366600036621,
0.015370159409940243,
-0.019301656633615494,
0.08859322220087051,
0.027251441031694412,
-0.03127840533852577,
0.0014688873197883368,
0.015752026811242104,
-0.04471319168806076,
-0.0012388990726321936,
-0.021679649129509926,
-0.00509879644960165,
-0.0015144511125981808,
-0.025914905592799187,
0.024387435987591743,
-0.02678278461098671,
-0.02100270241498947,
0.006795502733439207,
0.015995033085346222,
0.0552666150033474,
-0.048705440014600754,
0.010371169075369835,
0.03263229876756668,
-0.040963947772979736,
0.0507536381483078,
0.05509303882718086,
-0.03530536964535713,
-0.015448269434273243,
0.00863540917634964,
0.08880151063203812,
0.019475232809782028,
-0.010848503559827805,
-0.04290800169110298,
0.01989181526005268,
0.05887699872255325,
0.0015589299146085978,
-0.015995033085346222,
-0.006218362133949995,
0.0025472287088632584,
-0.022894682362675667,
0.020707624033093452,
0.05728009715676308,
0.0807475820183754,
0.011612238362431526,
-0.09366163611412048,
-0.010371169075369835,
-0.023953495547175407,
-0.0025298709515482187,
0.020534047856926918,
0.05196867138147354,
-0.001672839280217886,
-0.013591005466878414,
0.0228078942745924,
-0.000035427143302513286,
-0.005272372625768185,
0.034107696264982224,
0.04637952148914337,
0.02410971373319626,
0.017965121194720268,
0.02890041284263134,
0.018017195165157318,
0.03181648999452591,
-0.0407903715968132,
0.02206151746213436,
-0.041519392281770706,
-0.026661282405257225,
0.012723124586045742,
-0.003254550974816084,
0.06335525959730148,
-0.039401765912771225,
-0.029073989018797874,
0.05689823254942894,
-0.028483830392360687,
-0.021887941285967827,
-0.021835867315530777,
-0.00020639278227463365,
-0.08581600338220596,
0.019319014623761177,
-0.029438499361276627,
-0.009511968120932579,
0.004977293312549591,
-0.030775034800171852,
-0.03080975078046322,
0.05182981118559837,
-0.057766109704971313,
0.05398215353488922,
0.037179991602897644,
-0.03787429630756378,
-0.0015090268570929766,
-0.002167531056329608,
0.07276308536529541,
-0.03697169944643974,
-0.00472126854583621,
-0.011985426768660545,
-0.05182981118559837,
0.02100270241498947,
0.10935291647911072,
0.022183019667863846,
0.013521574437618256,
-0.034420132637023926,
0.002931265626102686,
-0.03558309003710747,
0.015613166615366936,
0.0035865153186023235,
0.03096596896648407,
-0.012011462822556496,
-0.027355587109923363,
0.012271827086806297,
0.019822385162115097,
0.037179991602897644,
0.05436402186751366,
-0.06026560813188553,
-0.024196501821279526,
0.008010534569621086,
0.06474386900663376,
0.06373712420463562,
0.01968352496623993,
0.00969422236084938,
0.03631211072206497,
0.03613853454589844,
-0.05366971716284752,
-0.044539615511894226,
0.0016511422581970692,
0.034003548324108124,
0.02799781784415245,
0.052038103342056274,
-0.03251079469919205,
-0.020325755700469017,
0.051031362265348434,
0.0015708633000031114,
0.07790093123912811,
0.012349936179816723,
0.05241996794939041,
0.0006856254185549915,
0.011829208582639694,
0.024734588339924812,
-0.03780486434698105,
-0.02397085353732109,
-0.03332660347223282,
-0.03853388503193855,
-0.05419044569134712,
0.03429862856864929,
0.05290598049759865,
-0.04585879296064377,
-0.022686390206217766,
0.017418356612324715,
0.02648770622909069,
-0.012610300444066525,
-0.013148386031389236,
-0.02246074192225933,
-0.0018290576990693808,
0.005675937049090862,
-0.014788679778575897,
-0.0505453459918499,
0.020325755700469017,
-0.029768293723464012,
-0.03223307430744171,
0.006621926557272673,
-0.01904129423201084,
-0.09137043356895447,
-0.03216364234685898,
-0.039644770324230194,
-0.02890041284263134,
0.000651995069347322,
0.01806926727294922,
0.049677468836307526,
0.011273765005171299,
0.001578457304276526,
0.0021067794878035784,
0.03046259842813015,
-0.062105514109134674,
-0.02105477638542652,
-0.02617526985704899,
-0.012219754047691822,
0.00978968944400549,
0.03700641542673111,
0.04495619982481003,
-0.04394945874810219,
0.035114437341690063,
-0.03384733200073242,
-0.013512896373867989,
-0.02704314887523651,
-0.07241593301296234,
0.01812133938074112,
0.019058650359511375,
-0.0661671906709671,
-0.024942878633737564,
-0.006400616839528084,
-0.03395147621631622,
0.004860129673033953,
0.03669397905468941,
-0.07908125221729279,
0.010787751525640488,
0.027911029756069183,
0.009737616404891014,
0.03756185993552208,
0.016385579481720924,
-0.06713921576738358,
0.012046177871525288,
-0.036832839250564575,
-0.010718321427702904,
-0.015908244997262955,
-0.04776813089847565,
0.03263229876756668,
-0.020534047856926918,
-0.0034932182170450687,
0.032996807247400284,
0.003938006702810526,
0.04974689707159996,
0.0009644319652579725,
0.0014037963701412082,
-0.05155208706855774,
0.02251281403005123,
0.014979613944888115,
0.025515681132674217,
-0.026452990248799324,
-0.08831549435853958,
-0.02572397142648697,
0.02870948053896427,
0.057974401861429214,
0.024196501821279526,
0.02114156447350979,
0.05235053971409798,
0.020534047856926918,
-0.0008494378416799009,
0.04471319168806076,
0.026869572699069977,
-0.013113670982420444,
0.012853306718170643,
-0.03263229876756668,
-0.009616113267838955,
0.005784422159194946,
-0.034663137048482895,
-0.047004394233226776,
0.055717915296554565,
0.028674764558672905,
-0.015647880733013153,
0.014293988235294819,
-0.013139707036316395,
0.039193473756313324,
0.07387396693229675,
0.022130947560071945,
-0.0251164548099041,
-0.01647236756980419,
-0.03188592195510864,
0.010996042750775814,
-0.0030636172741651535,
-0.013078955933451653,
-0.057627249509096146,
0.05151737481355667,
-0.057974401861429214,
-0.021124206483364105,
0.0115341292694211,
-0.015925602987408638,
-0.013807975687086582,
0.008461833000183105,
0.08727403730154037,
-0.017548538744449615,
-0.06828481703996658,
-0.0660630464553833,
-0.038186732679605484,
-0.01029305998235941,
0.0025645862333476543,
0.026800142601132393,
0.05828683823347092,
0.02442215196788311,
0.0025168529246002436,
-0.010640212334692478,
0.006804181262850761,
-0.002239131135866046,
-0.029282281175255775,
0.07165219634771347,
-0.002649204572662711,
-0.03350017964839935,
0.008288256824016571,
-0.04953860491514206,
0.04269970953464508,
0.07366567850112915,
-0.035478945821523666,
-0.029473213478922844,
-0.038186732679605484,
0.015213941223919392,
-0.03811730071902275,
-0.03808258846402168,
0.08144188672304153,
-0.10303474962711334,
-0.019978603348135948,
0.018156055361032486,
-0.027216725051403046,
0.009529325179755688,
-0.008583336137235165,
-0.027425017207860947,
0.016671979799866676,
-0.007936765439808369,
-0.0101975928992033,
-0.03891575336456299,
-0.026071123778820038,
-0.04117223992943764,
0.009329712949693203,
0.004139788914471865,
0.008509566076099873,
0.04481733590364456,
-0.0352880135178566,
-0.004582407884299755,
0.041311100125312805,
0.005176906008273363,
-0.029334353283047676,
-0.031035399064421654,
-0.05613449588418007,
-0.015925602987408638,
-0.007836959324777126,
0.018503207713365555,
-0.013009525835514069,
-0.04259556531906128,
0.04887901619076729,
-0.06161950156092644,
-0.05700237676501274,
-0.006812860257923603,
0.07866466790437698,
0.011594880372285843,
-0.0511702224612236,
-0.04315100610256195,
-0.058738138526678085,
0.02230452373623848,
-0.011716383509337902,
0.017878333106637,
-0.03822144865989685,
-0.02895248681306839,
0.051378510892391205,
0.001317008282057941,
-0.029785651713609695,
0.03327453136444092,
-0.04974689707159996,
0.009433859027922153,
0.05623864382505417,
0.008973882533609867,
0.016437651589512825,
0.003935837186872959,
0.010596818290650845,
-0.028587976470589638,
0.03842973709106445,
0.013764581643044949,
-0.004076867830008268,
-0.03787429630756378,
-0.0020894217304885387,
-0.00501200882717967,
0.021158920601010323,
-0.007984498515725136,
-0.011308480054140091,
-0.09053727239370346,
-0.013365356251597404,
-0.04280385375022888,
0.004482601769268513,
-0.0017249120865017176,
0.02588018961250782,
0.06651434302330017,
0.04492148384451866,
-0.02100270241498947,
-0.01254087034612894,
0.007173030637204647,
0.014684534631669521,
-0.018138697370886803,
0.007107939571142197,
0.04693496599793434,
-0.014918861910700798,
-0.0055110398679971695,
-0.0276333075016737,
-0.012575585395097733,
0.025567753240466118,
-0.05825212597846985,
-0.016307471320033073,
-0.052038103342056274,
-0.041311100125312805,
0.02164493501186371,
-0.07991441339254379,
-0.024543654173612595,
0.008218825794756413,
0.033205099403858185,
-0.03237193450331688,
0.0005437812651507556,
0.025307388976216316,
-0.012783876620233059,
0.027980459854006767,
-0.032545510679483414,
0.005866870749741793,
-0.004925220739096403,
-0.0045563713647425175,
0.0005199145525693893,
0.002193567343056202,
-0.07422111928462982,
-0.012957452796399593,
0.025151170790195465,
-0.04092923551797867,
-0.0059232828207314014,
-0.031851205974817276,
0.06877083331346512,
0.00419186195358634,
0.06161950156092644,
-0.02275582030415535,
-0.09414765238761902,
-0.058390986174345016,
-0.014944897964596748,
0.017175350338220596,
-0.032701730728149414,
-0.07845637947320938,
-0.050684209913015366,
0.008904451504349709,
0.0030332414899021387,
-0.045546356588602066,
-0.009876477532088757,
-0.033708471804857254,
0.01644633151590824,
0.0061228955164551735,
-0.06762523204088211,
0.008088644593954086,
-0.011542807333171368,
0.04978161305189133,
-0.03853388503193855,
-0.013243853114545345,
0.06623662263154984,
0.00765470415353775,
-0.024300647899508476,
0.014849431812763214,
-0.04346344619989395,
0.06293867528438568,
-0.0063745807856321335,
-0.00797148048877716,
0.07790093123912811,
0.017019132152199745,
-0.07679004967212677,
0.00862239021807909,
0.006109877023845911,
0.07380454242229462,
0.05603035166859627,
-0.01698441617190838,
0.022929396480321884,
0.03322245553135872,
0.03308359533548355,
-0.04103337973356247,
-0.0002416504139546305,
0.007051527500152588,
-0.01806926727294922,
-0.06217494234442711,
0.02084648422896862,
0.03473256900906563,
-0.0504412017762661,
0.002868344308808446,
-0.014059660956263542,
-0.025151170790195465,
-0.0023150707129389048,
-0.0063919383101165295,
0.03117425926029682,
0.0024018585681915283,
0.02754651941359043,
0.03273644298315048,
-0.003200308419764042,
-0.0655423179268837,
-0.06915269792079926,
-0.007099260576069355,
-0.04676138982176781,
0.011959390714764595,
0.01568259671330452,
-0.012506154365837574,
0.007550558540970087,
0.035826098173856735,
-0.008930488489568233,
0.03690227121114731,
-0.016941023990511894,
0.007949783466756344,
-0.06894440948963165,
-0.036277394741773605,
0.0024647798854857683,
0.006526459474116564,
0.02346748299896717,
-0.012801233679056168,
0.08727403730154037,
0.08560770750045776,
0.04394945874810219,
0.015144511125981808,
0.03162555769085884,
-0.007016811985522509,
0.07241593301296234,
-0.008548621088266373,
-0.044088318943977356,
-0.019249584525823593,
-0.0140509819611907,
0.01621200330555439,
-0.00040871737292036414,
-0.004013946279883385,
0.02482137642800808,
-0.003395581617951393,
0.06394542008638382,
0.008362026885151863,
0.029837723821401596,
-0.04502562806010246,
0.05714123696088791,
-0.014259273186326027,
-0.012341257184743881,
0.024838734418153763,
0.06349412351846695,
0.05252411589026451,
0.006135913543403149,
0.0005329327541403472,
0.009069348685443401,
-0.0038316913414746523,
0.03318774327635765,
-0.008665784262120724,
-0.02084648422896862,
0.02900455892086029,
0.035062361508607864
] |
711,278
|
celery.app.base
|
_after_fork
| null |
def _after_fork(self):
self._pool = None
try:
self.__dict__['amqp']._producer_pool = None
except (AttributeError, KeyError):
pass
self.on_after_fork.send(sender=self)
|
(self)
|
[
0.03300198167562485,
0.04131491482257843,
-0.05776238813996315,
0.05647798627614975,
-0.028024926781654358,
0.016938043758273125,
0.007108805235475302,
0.04538218677043915,
0.058012135326862335,
-0.022762447595596313,
0.0016322602750733495,
-0.05044843629002571,
0.047487176954746246,
-0.005793185904622078,
-0.028042765334248543,
-0.03278791531920433,
0.025384768843650818,
-0.02588425762951374,
0.02053258568048477,
-0.010881735011935234,
-0.055443331599235535,
-0.0020916122011840343,
0.013334584422409534,
-0.024082528427243233,
-0.011149318888783455,
0.004896780475974083,
-0.010970929637551308,
0.015609045512974262,
0.0039423988200724125,
0.011318787932395935,
-0.023297615349292755,
-0.010105742141604424,
0.01128310989588499,
0.04969920217990875,
0.06835870444774628,
0.06215076148509979,
-0.028042765334248543,
0.013976785354316235,
-0.04969920217990875,
0.032538171857595444,
0.07239029556512833,
0.012656706385314465,
0.02547396346926689,
-0.02033635601401329,
-0.0010820413008332253,
0.0550151951611042,
0.005195582285523415,
0.0601528026163578,
0.02558099664747715,
0.007626133970916271,
-0.030843473970890045,
0.025741545483469963,
-0.006341732107102871,
0.04784395545721054,
-0.02561667375266552,
0.001677972381003201,
0.0634351596236229,
0.00920487754046917,
-0.021745631471276283,
-0.027757342904806137,
0.0285600945353508,
0.02078232914209366,
0.008607273921370506,
-0.016260165721178055,
0.033679861575365067,
-0.002727123210206628,
0.04527515172958374,
0.053409695625305176,
0.01898059993982315,
-0.02361871674656868,
0.04120787978172302,
-0.01969415694475174,
-0.05637095496058464,
0.024920957162976265,
0.003257830860093236,
-0.018909243866801262,
0.01992606185376644,
-0.0029411902651190758,
-0.022138087078928947,
-0.007434365339577198,
0.00754585862159729,
0.0298444963991642,
-0.029327167198061943,
0.024385789409279823,
0.07024962455034256,
0.013307826593518257,
0.0830579623579979,
-0.0007743201567791402,
-0.04341990500688553,
-0.014610067009925842,
0.009133521467447281,
0.06215076148509979,
0.05390918627381325,
0.056049853563308716,
0.07328224182128906,
-0.028506577014923096,
-0.027989249676465988,
0.012273170053958893,
0.005333833862096071,
-0.0426349937915802,
-0.04413346201181412,
0.0035098055377602577,
0.04613142088055611,
-0.08227305114269257,
0.012380203232169151,
-0.024492822587490082,
0.0532669834792614,
-0.03664112091064453,
-0.021870503202080727,
-0.024011172354221344,
-0.04209982603788376,
0.0008278369205072522,
-0.05530061945319176,
-0.004963676445186138,
-0.026811880990862846,
0.004718391690403223,
-0.07110588997602463,
0.01586771011352539,
0.07756357640028,
-0.020586101338267326,
-0.05533629655838013,
0.024474984034895897,
-0.039174243807792664,
-0.02611616440117359,
-0.029755301773548126,
0.0788479819893837,
0.03421502932906151,
0.023154905065894127,
0.004267958924174309,
-0.02172779105603695,
0.0008852558676153421,
0.06090203672647476,
-0.05191122740507126,
-0.034661002457141876,
-0.02957691252231598,
-0.01583203300833702,
-0.01946225017309189,
-0.019408732652664185,
0.023797105997800827,
-0.054194606840610504,
0.004225591663271189,
0.007621673867106438,
0.022441348060965538,
-0.02625887468457222,
0.04984191432595253,
0.03920992463827133,
0.006484443787485361,
-0.039745088666677475,
-0.03565998002886772,
-0.05904679000377655,
0.04202847182750702,
0.015073878690600395,
0.001654558815062046,
-0.0176694393157959,
0.03164622560143471,
0.006734188180416822,
-0.05191122740507126,
0.0353388786315918,
0.03724764287471771,
-0.033073339611291885,
-0.008228196762502193,
0.005503303371369839,
0.0044820262119174,
-0.026455102488398552,
-0.030629407614469528,
0.015992581844329834,
0.04213550314307213,
0.0002082135179080069,
0.012790498323738575,
0.042991772294044495,
-0.031004024669528008,
-0.019515767693519592,
-0.03055805154144764,
0.023083548992872238,
-0.06457684934139252,
0.08469913899898529,
0.01695588417351246,
0.006707429885864258,
-0.015234428457915783,
-0.02852441556751728,
-0.0601528026163578,
-0.020193645730614662,
-0.002325747860595584,
0.02402901090681553,
0.01820460706949234,
-0.04085110127925873,
0.014850892126560211,
0.04317016154527664,
0.02875632233917713,
-0.041743047535419464,
-0.025563158094882965,
0.024136044085025787,
-0.004145316779613495,
-0.0024194021243602037,
0.0537307970225811,
0.01015033945441246,
0.04399074986577034,
0.019105471670627594,
-0.05451570823788643,
0.02659781463444233,
-0.007420986425131559,
-0.011184995993971825,
-0.010462520644068718,
-0.08177356421947479,
0.04834344610571861,
0.011782599613070488,
-0.015323623083531857,
0.049592167139053345,
-0.011934230104088783,
0.021299658343195915,
0.019551444798707962,
-0.009249474853277206,
0.039602380245923996,
0.03821094334125519,
0.04919971153140068,
-0.042349569499492645,
0.010899573564529419,
0.018588144332170486,
0.03483939170837402,
0.04070839285850525,
-0.05622824281454086,
-0.0037394813261926174,
-0.007447744719684124,
0.009285151958465576,
-0.04338422790169716,
0.014306805096566677,
0.00956165511161089,
0.0075057209469377995,
0.056156888604164124,
-0.019836867228150368,
0.007345171179622412,
0.038389332592487335,
-0.06240050494670868,
-0.044240497052669525,
0.03660544380545616,
0.029291490092873573,
-0.03664112091064453,
0.01597474329173565,
-0.07485206425189972,
0.03746170923113823,
0.025795063003897667,
-0.03143215924501419,
0.013950027525424957,
-0.05662069842219353,
0.03821094334125519,
0.039174243807792664,
0.05230368301272392,
0.008758904412388802,
0.057476967573165894,
0.02236999198794365,
0.024421466514468193,
-0.0784912034869194,
0.026687009260058403,
-0.02832818776369095,
-0.05915382504463196,
-0.06992852687835693,
0.012995645403862,
-0.05073385685682297,
0.03806823119521141,
0.028720643371343613,
-0.02124614082276821,
0.06429143249988556,
-0.044276174157857895,
0.031788937747478485,
0.03867475688457489,
0.018008379265666008,
0.01463682483881712,
-0.034696679562330246,
-0.03171757981181145,
0.020514745265245438,
0.08598354458808899,
-0.0332874059677124,
0.024207400158047676,
-0.0008495780639350414,
-0.05662069842219353,
0.006252537947148085,
-0.08098864555358887,
0.0247068889439106,
-0.06504066288471222,
0.03949534520506859,
0.10025466978549957,
0.010123580694198608,
0.03425070643424988,
-0.01160421036183834,
-0.012844014912843704,
0.028809837996959686,
0.030022883787751198,
0.014859811402857304,
-0.018695177510380745,
-0.04317016154527664,
-0.07435257732868195,
0.01514523383229971,
-0.03078995831310749,
-0.004000375512987375,
-0.013896510936319828,
-0.024421466514468193,
-0.021139107644557953,
0.0630783811211586,
-0.0033358761575073004,
0.02433227188885212,
0.022423509508371353,
-0.05176851525902748,
-0.03120025247335434,
0.06104474887251854,
-0.02060393989086151,
0.024992311373353004,
0.07570832967758179,
0.0013669064501300454,
-0.03614163026213646,
0.000814457715023309,
0.002490757731720805,
0.061294492334127426,
0.014931167475879192,
0.05704883113503456,
0.03137864172458649,
0.019551444798707962,
0.0494137778878212,
-0.00006567645323229954,
0.014404918998479843,
0.025420445948839188,
-0.032948464155197144,
-0.03724764287471771,
0.007808982860296965,
0.05644230917096138,
-0.019176827743649483,
0.08591219037771225,
-0.04003051295876503,
0.07770629227161407,
0.010043306276202202,
0.011416901834309101,
-0.0537307970225811,
0.023761427029967308,
-0.05048411339521408,
-0.05237503722310066,
-0.027793021872639656,
0.028506577014923096,
-0.00365920620970428,
-0.07049936801195145,
-0.006435386370867491,
-0.037711456418037415,
-0.037033576518297195,
-0.04060135781764984,
-0.035071294754743576,
-0.003824216313660145,
-0.045025408267974854,
0.025331251323223114,
0.014458436518907547,
-0.036498408764600754,
0.02747192047536373,
-0.004209982696920633,
0.004700552672147751,
0.03717628866434097,
-0.015724997967481613,
0.08070322871208191,
0.025152862071990967,
-0.03724764287471771,
-0.01882004924118519,
0.029077421873807907,
0.009490299969911575,
0.010863895528018475,
0.011987747624516487,
-0.012192894704639912,
0.033180370926856995,
-0.0029880173970013857,
-0.029345005750656128,
-0.02267325483262539,
-0.0015419507399201393,
0.040351614356040955,
-0.0028118581976741552,
-0.019230345264077187,
-0.014618986286222935,
-0.004091799724847078,
-0.0013669064501300454,
-0.018079735338687897,
-0.03756874427199364,
0.016055017709732056,
-0.07217622548341751,
0.020960718393325806,
0.02267325483262539,
0.041743047535419464,
-0.03764009848237038,
-0.05055547133088112,
-0.00047635461669415236,
-0.01942657306790352,
-0.09640146791934967,
-0.019676316529512405,
-0.00008452576730633155,
-0.0026557676028460264,
0.028435220941901207,
0.017981620505452156,
0.05390918627381325,
-0.014244369231164455,
0.01477061677724123,
-0.010025466792285442,
-0.005761967971920967,
0.0022097949404269457,
0.02270893193781376,
-0.031182413920760155,
-0.013281067833304405,
-0.018186768516898155,
-0.01218397542834282,
-0.00964193046092987,
-0.07863391190767288,
-0.019497927278280258,
0.0545513853430748,
-0.007059748284518719,
-0.001220850390382111,
0.049520812928676605,
0.05569307506084442,
0.005748588591814041,
-0.010542795062065125,
-0.06964310258626938,
-0.01345053780823946,
-0.07470935583114624,
-0.0007765500340610743,
-0.05394486337900162,
0.04481134191155434,
-0.03803255409002304,
0.07385308295488358,
0.003761779982596636,
0.015609045512974262,
0.05958195775747299,
0.003672585589811206,
-0.027703827247023582,
0.022048892453312874,
-0.010364406742155552,
-0.02203105390071869,
0.002742732409387827,
-0.016188809648156166,
0.0057084509171545506,
-0.005690611898899078,
0.0319494865834713,
-0.0004284125752747059,
0.05904679000377655,
0.04677361994981766,
0.054765451699495316,
0.04381236061453819,
0.02304787188768387,
-0.017312660813331604,
0.0003082786570303142,
-0.019069794565439224,
0.0336441844701767,
-0.008419965393841267,
-0.032948464155197144,
0.0878387913107872,
0.03938831388950348,
0.044847019016742706,
0.024510661140084267,
-0.05109063535928726,
0.010667667724192142,
-0.045560576021671295,
-0.04716607555747032,
-0.010783621110022068,
-0.013120518065989017,
-0.037069253623485565,
0.0056103370152413845,
0.037711456418037415,
-0.0008824685355648398,
-0.0017125352751463652,
-0.010685507208108902,
-0.028167638927698135,
0.0200330950319767,
-0.04277770593762398,
0.020425550639629364,
0.012192894704639912,
0.09497435390949249,
0.06650345772504807,
0.003714952850714326,
-0.03227058798074722,
0.02531341277062893,
0.051447413861751556,
-0.0024751487653702497,
-0.005088549107313156,
-0.04855751246213913,
-0.04124355688691139,
-0.054123252630233765,
-0.018695177510380745,
0.011907472275197506,
-0.004624737426638603,
-0.028042765334248543,
-0.054158929735422134,
0.006279296241700649,
0.05248207226395607,
0.005315994843840599,
-0.08441372215747833,
-0.021513724699616432,
0.054123252630233765,
-0.06243618205189705,
-0.007960613816976547,
-0.020657457411289215,
-0.06539744138717651,
-0.03817526623606682,
-0.0009326405124738812,
0.050912246108055115,
0.03401879966259003,
-0.01905195601284504,
-0.023476004600524902,
0.015680400654673576,
0.04902132228016853,
-0.09069301933050156,
-0.0103376479819417,
0.037782810628414154,
-0.03441125527024269,
0.017910264432430267,
0.004024903755635023,
-0.031521353870630264,
-0.022780288010835648,
0.02301219291985035,
-0.01677749492228031,
0.051447413861751556,
0.0025710328482091427,
-0.012094780802726746,
-0.052945882081985474,
-0.02700810879468918,
0.00581102492287755,
0.0017203398747369647,
-0.00019594926561694592,
0.013245390728116035,
0.032413300126791,
-0.017749715596437454,
0.06379193812608719,
0.02056826278567314,
0.00452662305906415,
0.02927364967763424,
-0.027061626315116882,
-0.0788479819893837,
0.0014204231556504965,
0.03285926952958107,
-0.012852934189140797,
0.033786892890930176,
0.009570575319230556,
-0.030058562755584717,
-0.000426461425377056,
0.007982911542057991,
0.004977055825293064,
0.012282089330255985,
-0.03846069052815437,
-0.006105366628617048,
-0.02848873846232891,
-0.04845047742128372,
-0.04252795875072479,
0.021067751571536064,
0.02493879571557045,
-0.04131491482257843,
-0.013521892949938774,
0.009811400435864925,
0.0040182145312428474,
0.054658420383930206,
-0.03045101836323738,
-0.01671505905687809,
0.0038710434455424547,
0.010926332324743271,
0.03437557816505432,
0.0010229499312117696,
0.011131479404866695,
-0.03221707046031952,
0.04595303162932396,
-0.036088112741708755,
0.0315391905605793,
-0.010498198680579662,
-0.016286924481391907,
0.054123252630233765,
-0.0032154633663594723,
0.007755465805530548,
0.08840963244438171,
-0.027150820940732956,
-0.031021863222122192,
0.04406210780143738,
0.04331287369132042,
-0.034696679562330246,
-0.0065067424438893795,
-0.035445913672447205,
0.030772119760513306,
-0.013709202408790588,
0.028774160891771317,
-0.021745631471276283,
0.01218397542834282,
-0.0012966657523065805,
-0.008192518725991249,
0.010301969945430756,
0.017571326345205307,
-0.019604962319135666,
-0.040494322776794434,
-0.012719142250716686,
-0.05319562926888466,
0.028577933087944984,
0.04209982603788376,
-0.0007146713323891163,
0.003619068767875433,
0.01282617636024952,
-0.0413505919277668,
0.015484173782169819,
0.013156196102499962,
-0.013200793415307999,
-0.017615923658013344,
-0.0038911120500415564,
0.05829755589365959,
0.007911556400358677,
-0.0219596978276968,
0.020050933584570885,
0.02656213566660881,
0.0532669834792614,
0.04142194613814354,
0.018570303916931152,
0.0077153281308710575,
-0.007929394952952862,
-0.0421711802482605,
0.027293531224131584,
0.0005647129728458822,
0.028845516964793205,
-0.054694097489118576,
-0.0006522351177409291,
0.025331251323223114,
-0.006426467094570398,
-0.017000481486320496,
-0.03760442137718201,
-0.04798666760325432,
-0.06418439745903015,
0.025866419076919556,
0.04702336713671684,
0.021139107644557953,
-0.027329210191965103,
0.00695271510630846,
-0.005579119082540274,
0.0005340523784980178,
-0.0008746640523895621,
0.01803513802587986,
-0.08662574738264084,
-0.04113652557134628,
0.0015452955849468708,
0.0003355944936629385,
-0.027400564402341843,
0.002108336193487048,
-0.004350463859736919,
0.010114661417901516,
0.0027137440629303455,
-0.020871523767709732,
0.040422968566417694,
-0.02531341277062893,
-0.08997946232557297,
0.034357741475105286,
-0.06496930867433548,
-0.0503414012491703,
-0.09090708196163177,
-0.0001317710120929405,
-0.01678641326725483,
-0.013209712691605091,
-0.05915382504463196,
-0.004156466107815504,
-0.04324151575565338,
0.028096282854676247,
0.020586101338267326,
-0.03273439779877663,
0.007782224100083113,
-0.019676316529512405,
0.0055122231133282185,
-0.0006288215517997742,
0.031004024669528008,
-0.03350147232413292,
-0.006252537947148085,
-0.026954593136906624,
-0.001983463764190674,
-0.026276713237166405,
0.042278215289115906,
0.052874527871608734,
0.019034115597605705,
0.006422007456421852,
0.017571326345205307,
-0.06882251054048538,
0.016893446445465088,
-0.015930145978927612,
-0.004647036083042622,
-0.0439193956553936,
-0.0418144054710865,
-0.04452591761946678,
0.0012297697830945253,
0.0067832451313734055,
0.027739504352211952,
0.009240555576980114,
0.02104991301894188,
-0.014440597034990788,
0.001857476425357163,
-0.039638057351112366,
0.02071097306907177,
0.07342495024204254,
0.028738483786582947,
-0.0035967701114714146,
-0.019533606246113777,
0.022726770490407944,
-0.015386059880256653,
0.04270634800195694,
0.024920957162976265,
0.01458330824971199,
-0.039031535387039185,
-0.12116187065839767,
-0.027293531224131584,
-0.003882192773744464,
-0.11866442859172821,
-0.032573848962783813,
-0.02724001556634903,
0.03455396741628647,
-0.026312392204999924,
-0.007269355468451977,
-0.051625803112983704,
-0.009383266791701317,
0.035981081426143646,
-0.06464821100234985,
0.026687009260058403,
-0.01735725812613964,
0.041743047535419464,
-0.01939089410007,
-0.026062646880745888,
-0.015493093058466911,
-0.014556550420820713,
-0.006149963941425085,
0.037711456418037415,
-0.04317016154527664,
0.007050829008221626,
-0.0341079942882061,
0.02765030972659588,
-0.0749947726726532,
0.04067271202802658,
0.05180419236421585,
-0.021674275398254395,
0.04324151575565338,
-0.017954861745238304,
0.04606006294488907,
-0.0007135563646443188,
-0.01576959528028965,
0.023458166047930717,
-0.03293062746524811,
-0.04805802181363106,
-0.03052237443625927,
0.03041534125804901,
0.02757895365357399,
-0.058725688606500626,
0.06215076148509979,
-0.003672585589811206,
0.025563158094882965,
-0.03289495036005974,
0.010105742141604424,
-0.10125365108251572,
-0.01527902577072382,
0.00847794208675623,
0.07870526611804962,
-0.016233406960964203,
-0.0181064922362566,
0.034696679562330246,
0.020496906712651253,
-0.03871043398976326,
0.012076941318809986,
0.04934242367744446,
-0.012273170053958893,
0.00964193046092987,
-0.06457684934139252,
-0.049449458718299866,
0.014494113624095917,
0.05769103392958641,
-0.04984191432595253,
-0.0035989999305456877,
-0.003940169233828783,
0.00507516972720623,
-0.010275212116539478,
-0.0015687091508880258,
0.09069301933050156,
-0.028881194069981575,
0.06614667922258377,
0.002575492486357689
] |
711,279
|
celery.app.base
|
_autodiscover_tasks
| null |
def _autodiscover_tasks(self, packages, related_name, **kwargs):
if packages:
return self._autodiscover_tasks_from_names(packages, related_name)
return self._autodiscover_tasks_from_fixups(related_name)
|
(self, packages, related_name, **kwargs)
|
[
0.008428794331848621,
-0.0030429016333073378,
0.010609611868858337,
0.0010957432677969337,
0.0007164475391618907,
-0.00455368310213089,
0.011454625055193901,
0.009354894980788231,
0.03482479229569435,
-0.01993890106678009,
0.015184633433818817,
-0.005253592971712351,
0.019682835787534714,
-0.04247258976101875,
0.009832882322371006,
-0.02087780460715294,
-0.0008455468341708183,
0.07982388883829117,
0.022072773426771164,
-0.0164649561047554,
0.010396224446594715,
0.025145549327135086,
0.016857588663697243,
-0.044384539127349854,
0.008808623999357224,
0.056129369884729385,
0.05797303467988968,
-0.017668461427092552,
-0.05329558998346329,
-0.007673403713852167,
-0.023523805662989616,
0.01410916168242693,
-0.022567830979824066,
0.07354176789522171,
0.04612577706575394,
0.007967878133058548,
0.024155432358384132,
0.09573403745889664,
-0.03711230307817459,
-0.034568727016448975,
-0.001033860957249999,
-0.02002425491809845,
0.04885713383555412,
-0.03899011015892029,
0.013562890700995922,
-0.01679784059524536,
-0.044384539127349854,
0.01144608948379755,
0.037522006779909134,
0.022175198420882225,
0.019716978073120117,
-0.05537824705243111,
0.00032888303394429386,
0.05445641651749611,
0.017907453700900078,
0.09805569052696228,
-0.0019866349175572395,
0.07709252834320068,
0.047628022730350494,
-0.0025585126131772995,
0.027330633252859116,
-0.009141507558524609,
0.02249954640865326,
0.039058394730091095,
-0.02516261860728264,
0.05773404240608215,
-0.003721472807228565,
-0.012905658222734928,
-0.03089846670627594,
0.03296405449509621,
-0.014203052036464214,
-0.024087147787213326,
-0.004099168349057436,
-0.034671153873205185,
0.05503682792186737,
0.00007355190609814599,
-0.025145549327135086,
-0.043257854878902435,
0.018453726544976234,
-0.015645550563931465,
-0.0166783444583416,
-0.0030962482560425997,
-0.03453458473086357,
-0.0048054796643555164,
0.02594788372516632,
-0.030010776594281197,
0.009090295061469078,
0.009004940278828144,
0.015688227489590645,
-0.08781310170888901,
0.0003035432891920209,
0.032298289239406586,
0.004412847571074963,
0.05083736777305603,
-0.012709341943264008,
0.0018522009486332536,
-0.01678076945245266,
-0.010387688875198364,
-0.05558310076594353,
0.004916441161185503,
-0.013059296645224094,
-0.0820089727640152,
-0.0001371012767776847,
-0.01763431914150715,
0.013016619719564915,
-0.06562083214521408,
-0.03345911577343941,
0.02516261860728264,
-0.05353458225727081,
-0.06596225500106812,
-0.05500268563628197,
-0.009610959328711033,
0.0006161555647850037,
-0.005560870748013258,
-0.018095234408974648,
-0.07961903512477875,
0.012999548576772213,
0.020741237327456474,
0.029430363327264786,
-0.03482479229569435,
-0.013383645564317703,
0.02202155999839306,
-0.0024902287404984236,
0.026477085426449776,
0.04691104218363762,
0.02128750830888748,
-0.04441868141293526,
0.041960459202528,
0.04120933637022972,
-0.0667816624045372,
0.02936207875609398,
-0.032571423798799515,
-0.027689123526215553,
0.013699458912014961,
0.02193620428442955,
0.018385441973805428,
-0.009073223918676376,
0.022584902122616768,
0.03137645497918129,
-0.0003864975878968835,
-0.05210062116384506,
-0.022448334842920303,
-0.0008562161820009351,
0.0009501065360382199,
0.04189217463135719,
0.013016619719564915,
0.03033512458205223,
0.013981129974126816,
-0.009559746831655502,
-0.0629919022321701,
0.0476963073015213,
-0.003569968044757843,
-0.06589397042989731,
0.020809520035982132,
-0.004084231331944466,
0.03328840434551239,
0.0022533689625561237,
0.056129369884729385,
-0.016055254265666008,
-0.012274032458662987,
0.01783917099237442,
-0.012410599738359451,
0.002166947117075324,
0.019153635948896408,
0.03269091993570328,
-0.04455525055527687,
0.008138587698340416,
-0.011488767340779305,
-0.005590744782239199,
0.050120387226343155,
-0.009261004626750946,
0.054797835648059845,
0.017890382558107376,
-0.0093036824837327,
0.014245729893445969,
-0.008953726850450039,
-0.01763431914150715,
-0.02659658156335354,
-0.015150492079555988,
0.07552199810743332,
-0.05367115139961243,
-0.0020687889773398638,
-0.011668012477457523,
-0.0224141925573349,
0.03470529615879059,
0.0963485911488533,
0.03926324471831322,
0.01296540629118681,
-0.03950224071741104,
0.025111407041549683,
0.01569676212966442,
0.0429505780339241,
0.06691823154687881,
0.02307995967566967,
-0.0010535992914810777,
-0.041516613215208054,
-0.08146270364522934,
0.01196675468236208,
-0.03130817040801048,
0.006026054732501507,
0.0036574567202478647,
0.010746180079877377,
0.05216890573501587,
0.06603053957223892,
0.05162263289093971,
0.035439345985651016,
-0.012837374582886696,
0.010601076297461987,
0.04551122337579727,
-0.017668461427092552,
0.008945191279053688,
-0.01626010425388813,
-0.04749145731329918,
0.007289307191967964,
-0.0016110733849927783,
0.010071876458823681,
0.08815452456474304,
-0.007733152247965336,
0.004050089046359062,
0.028952376917004585,
0.004579289350658655,
0.04117519408464432,
-0.019597481936216354,
0.012939800508320332,
0.0035272904206067324,
-0.011864328756928444,
-0.02135579101741314,
-0.002703615929931402,
0.04844743013381958,
-0.031717874109745026,
-0.0209973007440567,
-0.04346270486712456,
-0.027689123526215553,
-0.008616575039923191,
0.023984722793102264,
-0.03024977073073387,
-0.013323897495865822,
-0.03368103504180908,
0.03170080482959747,
0.020297391340136528,
-0.0400826521217823,
0.0047499993816018105,
0.0025158352218568325,
-0.038204845041036606,
0.0305058341473341,
-0.05592451989650726,
-0.04093620181083679,
-0.02611859329044819,
0.0048054796643555164,
-0.010327940806746483,
0.050598375499248505,
-0.0030621064361184835,
-0.03234950080513954,
0.03204222396016121,
-0.08057501167058945,
-0.032195862382650375,
0.027774479240179062,
-0.018539080396294594,
0.017250221222639084,
-0.033817604184150696,
-0.02538454160094261,
0.045545365661382675,
-0.0030557047575712204,
0.03187151253223419,
-0.0762731209397316,
-0.009935308247804642,
0.028662169352173805,
-0.047252461314201355,
-0.0820089727640152,
-0.017890382558107376,
-0.006008983589708805,
0.031530093401670456,
0.024940697476267815,
0.02335309609770775,
-0.036395322531461716,
0.016251569613814354,
0.0012568506645038724,
-0.03680502623319626,
-0.08412577211856842,
-0.011693619191646576,
0.03330547362565994,
0.03844383731484413,
0.023387238383293152,
0.05254446715116501,
0.015961363911628723,
-0.07162981480360031,
0.002313117263838649,
0.02488948404788971,
-0.036190468817949295,
0.01525291707366705,
-0.013801884837448597,
0.03366396576166153,
0.10508893430233002,
0.010327940806746483,
-0.016627131029963493,
-0.0030962482560425997,
-0.021014371886849403,
0.0021893526427447796,
-0.017480680719017982,
-0.02784276194870472,
-0.006247977260500193,
-0.019477983936667442,
-0.03250313922762871,
-0.024667561054229736,
0.07873134315013885,
-0.018368370831012726,
-0.005023134872317314,
-0.048310864716768265,
0.007886791601777077,
-0.03378346189856529,
0.00657659349963069,
-0.059748418629169464,
0.04178975149989128,
0.02251661755144596,
-0.010729108937084675,
-0.03881940245628357,
-0.013264148496091366,
0.07702424377202988,
0.004231468308717012,
0.03574662655591965,
-0.0515202060341835,
0.05083736777305603,
-0.02565767802298069,
-0.011172953993082047,
0.05954356491565704,
0.029310867190361023,
-0.06422101706266403,
0.009261004626750946,
-0.02328481152653694,
0.028952376917004585,
0.008040430024266243,
-0.029327938333153725,
0.016746627166867256,
-0.01277762558311224,
-0.0743611752986908,
-0.0071868812665343285,
0.03660017251968384,
-0.027774479240179062,
0.026152735576033592,
0.024684632197022438,
0.040389928966760635,
0.045716073364019394,
-0.030283913016319275,
0.050973936915397644,
0.001058934023603797,
-0.0021488091442734003,
0.06848875433206558,
0.02249954640865326,
0.03175201639533043,
-0.04284815117716789,
0.02185085043311119,
-0.003951930906623602,
-0.01763431914150715,
0.034773580729961395,
0.0543881319463253,
0.0012504489859566092,
0.010165766812860966,
0.08378434926271439,
0.01665273681282997,
-0.07497572898864746,
-0.047354888170957565,
-0.07197123765945435,
0.05589037761092186,
-0.02268732711672783,
0.0185902938246727,
-0.005227986723184586,
0.038853541016578674,
0.021594785153865814,
-0.0023216528352349997,
-0.09689486026763916,
-0.042779866605997086,
0.03250313922762871,
-0.008249549195170403,
-0.02420664392411709,
-0.024957766756415367,
-0.0079934848472476,
0.0017711138352751732,
-0.030574118718504906,
-0.030881397426128387,
0.04018507897853851,
-0.0026203948073089123,
0.030079061165452003,
0.0262210201472044,
0.031239887699484825,
-0.007519765291363001,
-0.030300984159111977,
0.011719224974513054,
0.013562890700995922,
0.015551659278571606,
-0.00024366151774302125,
0.058246172964572906,
-0.014399368315935135,
-0.025708891451358795,
0.023011676967144012,
0.0028849949594587088,
-0.08555973321199417,
0.01602964662015438,
0.0028615223709493876,
-0.0419946014881134,
-0.02316531538963318,
-0.017267292365431786,
-0.03224707394838333,
0.12646178901195526,
0.011377805843949318,
0.043530989438295364,
0.037044018507003784,
-0.01802695170044899,
-0.020365675911307335,
0.011164418421685696,
0.0324007123708725,
-0.050973936915397644,
-0.028952376917004585,
-0.005347483325749636,
-0.02337016724050045,
-0.07046899199485779,
0.03612218797206879,
-0.05647078901529312,
-0.01925606094300747,
0.026955071836709976,
-0.040492355823516846,
-0.017395325005054474,
-0.0029426096007227898,
0.003501684172078967,
-0.014800536446273327,
0.0012461813166737556,
-0.014510329812765121,
0.0025158352218568325,
0.04223359748721123,
-0.021594785153865814,
-0.008800088427960873,
-0.011514374054968357,
0.019955972209572792,
-0.005065812263637781,
-0.011736296117305756,
0.08125784993171692,
-0.018334228545427322,
0.029976634308695793,
-0.0514860637485981,
0.007669136393815279,
-0.03463701158761978,
-0.05312487855553627,
0.021099727600812912,
0.03974123299121857,
-0.09191013872623444,
-0.02698921412229538,
-0.030881397426128387,
-0.00550965778529644,
0.0581778883934021,
-0.03170080482959747,
-0.013272684067487717,
-0.027791550382971764,
0.046979326754808426,
0.022465405985713005,
0.025316258892416954,
-0.04827672243118286,
-0.004703054204583168,
0.041072770953178406,
0.04988139495253563,
-0.058143746107816696,
-0.019904758781194687,
0.015568730421364307,
-0.05828031525015831,
-0.012658129446208477,
0.028747525066137314,
0.0706055611371994,
-0.013776278123259544,
-0.026545368134975433,
-0.041516613215208054,
-0.03700987622141838,
-0.012299638241529465,
0.044964950531721115,
-0.04404311999678612,
0.028559744358062744,
-0.012564239092171192,
-0.06148965656757355,
0.013238542713224888,
0.034107811748981476,
0.05083736777305603,
0.07907276600599289,
0.0058126673102378845,
0.03509792685508728,
-0.013759206980466843,
0.006209567654877901,
0.03974123299121857,
-0.016080860048532486,
-0.07845820486545563,
0.0300449188798666,
-0.05790475383400917,
-0.053363870829343796,
-0.011915541253983974,
0.06411858648061752,
-0.045340511947870255,
0.011719224974513054,
0.02145821787416935,
0.010421831160783768,
-0.010524257086217403,
-0.042506732046604156,
0.05114464461803436,
0.03223000466823578,
-0.020724166184663773,
0.03598561882972717,
0.008996404707431793,
0.010473043657839298,
0.03089846670627594,
0.015269988216459751,
0.005394428502768278,
-0.0019215517677366734,
0.012555703520774841,
-0.057836469262838364,
-0.012717877514660358,
0.017583105713129044,
-0.008876907639205456,
-0.03241778537631035,
-0.006427222862839699,
0.09669001400470734,
0.030471693724393845,
-0.043155428022146225,
0.015850402414798737,
0.021902061998844147,
0.028371963649988174,
0.01450179424136877,
0.018641507253050804,
0.0005446708528324962,
0.04557950794696808,
0.01636253111064434,
-0.00724662933498621,
0.04622820392251015,
0.07067384570837021,
-0.053159020841121674,
0.07784365117549896,
-0.002746293321251869,
-0.03731715306639671,
-0.022721469402313232,
-0.02538454160094261,
0.024565136060118675,
0.03564419969916344,
-0.08276009559631348,
0.015534589067101479,
-0.03013027273118496,
0.03735129535198212,
-0.01353728398680687,
0.024855341762304306,
-0.017011228948831558,
-0.02688678726553917,
-0.02039981633424759,
0.01602964662015438,
-0.006239441689103842,
0.013076367788016796,
0.01329829078167677,
0.011198560707271099,
-0.011360734701156616,
-0.010652289725840092,
-0.02499190904200077,
0.08904221653938293,
0.034568727016448975,
-0.07702424377202988,
-0.08958848565816879,
0.00448539899662137,
-0.04206288605928421,
0.009977986104786396,
0.01981940306723118,
0.005475515499711037,
0.015577265992760658,
-0.00897079799324274,
-0.05025695636868477,
-0.005168238189071417,
-0.005782793276011944,
0.01387870404869318,
-0.024462709203362465,
0.01064375415444374,
-0.03929738700389862,
-0.04854985699057579,
-0.0014307611854746938,
0.0002611326053738594,
-0.03595147654414177,
0.011198560707271099,
0.024172503501176834,
-0.05466126650571823,
-0.021219223737716675,
-0.060806818306446075,
-0.0476963073015213,
-0.006516845431178808,
0.0319739393889904,
0.01896585524082184,
-0.0010733376257121563,
-0.032861631363630295,
0.019051209092140198,
0.028440246358513832,
0.08194068819284439,
0.0032733597327023745,
-0.010951030999422073,
-0.006145551335066557,
0.03460286930203438,
0.022721469402313232,
-0.006124212872236967,
-0.024155432358384132,
-0.04476010054349899,
0.01630278304219246,
0.03998022526502609,
-0.04455525055527687,
0.012666665017604828,
0.005902290344238281,
0.004039419814944267,
-0.04397483542561531,
0.026357587426900864,
0.02611859329044819,
-0.01611500233411789,
-0.07169809937477112,
0.007349055260419846,
0.03473943844437599,
-0.021782565861940384,
0.0001920484792208299,
0.08685712516307831,
0.0038089617155492306,
-0.05739262327551842,
0.007908130064606667,
-0.028662169352173805,
-0.0015555927529931068,
-0.0005894821370020509,
-0.047252461314201355,
-0.026460014283657074,
0.005424303002655506,
0.003971135709434748,
-0.010473043657839298,
0.00014190249203238636,
0.060533683747053146,
-0.018095234408974648,
-0.048106011003255844,
-0.007617923431098461,
0.05370529368519783,
0.02526504546403885,
0.013084903359413147,
0.0400485098361969,
0.02528211660683155,
0.010097482241690159,
-0.04110691323876381,
0.04366755858063698,
-0.008057501167058945,
-0.040287505835294724,
-0.08337464928627014,
0.015372414141893387,
-0.0005289335385896266,
-0.005979109555482864,
0.015167562291026115,
-0.010020663030445576,
-0.050222814083099365,
-0.047252461314201355,
-0.04732074588537216,
0.03395417332649231,
0.034568727016448975,
-0.014945640228688717,
0.04271158203482628,
-0.003971135709434748,
0.04216531291604042,
-0.03216172009706497,
0.06712307780981064,
-0.06469900161027908,
-0.07504401355981827,
0.00228751078248024,
-0.03588319197297096,
-0.016960015520453453,
0.01782209984958172,
-0.021987417712807655,
0.010712037794291973,
-0.00967924389988184,
-0.017702601850032806,
-0.005838274024426937,
-0.07859477400779724,
-0.009960914961993694,
0.03796585276722908,
0.029430363327264786,
-0.04178975149989128,
0.03748786449432373,
0.004276279825717211,
0.0429164357483387,
-0.007460016757249832,
0.006704626139253378,
0.02461634762585163,
-0.04274572432041168,
-0.010285262949764729,
-0.015346807427704334,
-0.06736207008361816,
0.018829287961125374,
-0.010362083092331886,
-0.02401886321604252,
0.05329558998346329,
-0.028371963649988174,
-0.03345911577343941,
0.04520394653081894,
0.02605031058192253,
0.04612577706575394,
0.052510324865579605,
-0.028679240494966507,
0.03554177284240723,
0.03013027273118496,
0.006755839101970196,
-0.07586342096328735,
-0.04537465423345566,
0.04397483542561531,
-0.07081040740013123,
0.061182379722595215,
-0.042984720319509506,
-0.003789756679907441,
-0.023967651650309563,
-0.007809971924871206,
-0.0026524029672145844,
-0.04042407125234604,
0.041448332369327545,
-0.06804491579532623,
0.0319739393889904,
-0.011539979837834835,
-0.0142969423905015,
0.012308173812925816,
-0.03118867427110672,
0.02118508145213127,
-0.07750223577022552,
0.030010776594281197,
-0.008364778943359852,
0.015176097862422466,
0.002173348795622587,
0.025230903178453445,
0.008561094291508198,
0.004557950887829065,
-0.034568727016448975,
0.060431256890296936,
0.016831982880830765,
-0.005351751111447811,
-0.011121741496026516,
0.03567834198474884,
0.02948157675564289,
0.037146445363759995,
0.014348155818879604,
0.021048514172434807,
0.012615451589226723,
0.0012696539051830769,
-0.019682835787534714,
0.03188858553767204,
0.07838992774486542,
-0.03745372220873833,
0.009414643980562687,
0.0023237867280840874,
-0.06763520836830139,
-0.016439350321888924,
0.0724492222070694,
0.021902061998844147,
-0.03368103504180908,
0.05923628807067871,
0.029703499749302864,
-0.03984365984797478,
-0.03673674166202545,
-0.01975112035870552,
0.06504041701555252,
-0.01896585524082184,
-0.015662621706724167,
-0.02413836121559143,
-0.001511848415248096,
0.04943754896521568,
0.01488589122891426,
0.001882075215689838,
-0.0553099624812603,
-0.03509792685508728,
-0.05220304802060127,
-0.05776818469166756,
-0.006354670971632004,
0.07135668396949768,
-0.0022149591241031885,
0.06183107569813728,
0.04752559959888458
] |
711,280
|
celery.app.base
|
_autodiscover_tasks_from_fixups
| null |
def _autodiscover_tasks_from_fixups(self, related_name):
return self._autodiscover_tasks_from_names([
pkg for fixup in self._fixups
if hasattr(fixup, 'autodiscover_tasks')
for pkg in fixup.autodiscover_tasks()
], related_name=related_name)
|
(self, related_name)
|
[
0.00014162571460474283,
0.007213615346699953,
-0.007331728003919125,
-0.004243303090333939,
-0.02916942723095417,
-0.013071123510599136,
0.03156667575240135,
0.0007649975595995784,
0.0400007888674736,
-0.01629953272640705,
0.023814991116523743,
-0.0021183707285672426,
0.008364119566977024,
-0.031024232506752014,
0.011225068010389805,
-0.023954976350069046,
0.003764291061088443,
0.05676402151584625,
0.02481238730251789,
0.008412239141762257,
0.011924994178116322,
0.000906623259652406,
0.001573740504682064,
-0.04672008007764816,
0.015870828181505203,
0.04815492779016495,
0.02901194430887699,
-0.023430032655596733,
-0.06617803126573563,
-0.03835596144199371,
-0.02134775184094906,
0.01977291703224182,
-0.03195163607597351,
0.0523194894194603,
0.03156667575240135,
0.0034427624195814133,
0.020297862589359283,
0.06260840594768524,
0.0053413123823702335,
-0.014637208543717861,
0.0355912521481514,
0.003040304873138666,
0.008311624638736248,
-0.05683401599526405,
0.031514182686805725,
0.0020789997652173042,
-0.06337832659482956,
0.03478633612394333,
0.02500486746430397,
0.04783996194601059,
0.03256407007575035,
-0.054769232869148254,
-0.0023491275496780872,
0.06540811061859131,
0.028084542602300644,
0.05910877510905266,
-0.023989973589777946,
0.04168061167001724,
0.06806783378124237,
-0.0028543868102133274,
-0.0016327968332916498,
-0.005726271774619818,
0.028382010757923126,
0.007362349424511194,
-0.013657311908900738,
0.0462651289999485,
0.014855935238301754,
-0.030604276806116104,
-0.04119066148996353,
0.005275694187730551,
0.0024344311095774174,
-0.017839372158050537,
-0.04126065596938133,
-0.03203912451863289,
0.05714898183941841,
0.00956274289637804,
0.010315163992345333,
-0.03427888825535774,
0.003983017988502979,
-0.045075252652168274,
-0.03744605556130409,
0.0337364487349987,
-0.03179415315389633,
0.005787515547126532,
0.02084030583500862,
-0.022800099104642868,
0.02264261618256569,
-0.0023403784725815058,
-0.006837404798716307,
-0.0795116275548935,
0.03723607957363129,
-0.003429638920351863,
-0.02496987022459507,
0.00478137144818902,
-0.017349421977996826,
0.014584713615477085,
-0.0219951830804348,
-0.022117670625448227,
-0.050639666616916656,
0.007922290824353695,
-0.010621380992233753,
-0.03769103065133095,
-0.026544705033302307,
0.006448070984333754,
0.022992579266428947,
-0.033806439489126205,
-0.03210911899805069,
0.010831359773874283,
-0.0325990654528141,
-0.049694765359163284,
-0.03811098635196686,
-0.013613566756248474,
0.0004125737468712032,
-0.041295651346445084,
0.00811039563268423,
-0.07107751816511154,
0.020717818289995193,
0.026632195338606834,
0.02901194430887699,
-0.04105067625641823,
0.0033115262631326914,
0.02351752296090126,
0.00571752293035388,
0.023535020649433136,
-0.008486606180667877,
0.00719611719250679,
-0.0377960205078125,
0.040980685502290726,
0.04752499610185623,
-0.05700899660587311,
0.03221410885453224,
-0.0200003944337368,
-0.059003785252571106,
-0.010297665372490883,
-0.004044261761009693,
0.012931138277053833,
-0.01912548579275608,
0.007108626421540976,
0.03646615892648697,
-0.01193374302238226,
-0.04493526741862297,
-0.023272549733519554,
0.02035035751760006,
-0.0026925290003418922,
-0.01805809885263443,
0.03233659639954567,
-0.008959056809544563,
0.0671229287981987,
-0.0006764131248928607,
-0.05242447927594185,
-0.006080609746277332,
0.023832490667700768,
-0.04455030709505081,
0.02790956012904644,
0.03195163607597351,
0.014156009070575237,
-0.0010438744211569428,
0.06841779500246048,
-0.011706267483532429,
-0.014260997995734215,
0.022135168313980103,
-0.0014490660978481174,
-0.007817301899194717,
0.0006873494712635875,
-0.001807778375223279,
-0.0693976879119873,
-0.007226739078760147,
-0.031741656363010406,
-0.012406193651258945,
0.05784890800714493,
-0.027472106739878654,
0.04147063195705414,
0.009256524965167046,
-0.006828655954450369,
0.012117474339902401,
-0.001243462786078453,
-0.028434505686163902,
0.0036527402698993683,
0.0032524699345231056,
0.03996578976511955,
-0.07055257260799408,
-0.009597739204764366,
-0.0005055327201262116,
-0.03891590237617493,
0.027017155662178993,
0.09393011033535004,
0.01989540457725525,
-0.01355232298374176,
-0.024339936673641205,
-0.006483067292720079,
0.010428901761770248,
0.03811098635196686,
0.05004473030567169,
0.052284494042396545,
0.004343917593359947,
-0.011977488175034523,
-0.09274023026227951,
0.046860065311193466,
-0.023115064948797226,
-0.03413890302181244,
-0.00542005430907011,
0.010525141842663288,
0.04108567163348198,
0.08455109596252441,
0.030376801267266273,
0.02596726454794407,
-0.001747628441080451,
-0.02134775184094906,
0.05007972568273544,
0.02294008433818817,
0.01725318282842636,
0.014978422783315182,
-0.05623907595872879,
-0.028014549985527992,
-0.009055295959115028,
0.0035521259997040033,
0.08525101840496063,
-0.00846035871654749,
0.0152321457862854,
0.05546915903687477,
-0.0397908091545105,
0.017900614067912102,
0.015582108870148659,
0.02183770015835762,
-0.02584477886557579,
0.02210017293691635,
-0.051794543862342834,
0.026089752092957497,
0.0377960205078125,
-0.05193452909588814,
-0.02806704491376877,
-0.07608199119567871,
-0.017970606684684753,
-0.03678112477064133,
0.03741106018424034,
0.009798968210816383,
-0.017428165301680565,
-0.012589924037456512,
0.025022365152835846,
0.04710504040122032,
-0.05116461217403412,
0.008967805653810501,
0.01805809885263443,
-0.040105774998664856,
0.02332504279911518,
-0.04860988259315491,
-0.019072990864515305,
-0.04857488349080086,
0.011041337624192238,
-0.001369230798445642,
0.0797216072678566,
0.0026334726717323065,
0.0007699189009144902,
0.02008788473904133,
-0.04437532648444176,
-0.028277022764086723,
0.015774589031934738,
-0.014086016453802586,
0.017664389684796333,
-0.02600226178765297,
-0.006351830903440714,
0.03863593190908432,
0.014156009070575237,
0.01717444136738777,
-0.09071044623851776,
-0.00923902727663517,
0.0021894569508731365,
-0.04024576023221016,
-0.08630090951919556,
-0.022275153547525406,
0.0037446056958287954,
-0.015057164244353771,
-0.012861145660281181,
0.04689506068825722,
-0.037166085094213486,
0.03898589313030243,
0.00385615648701787,
0.005332563538104296,
-0.07293231785297394,
-0.009772720746695995,
0.019982894882559776,
0.035031311213970184,
0.04462030157446861,
0.042555518448352814,
0.03091924451291561,
-0.06012366712093353,
-0.01313236728310585,
0.03469884395599365,
-0.021662719547748566,
0.016045810654759407,
0.01345608290284872,
0.03111172281205654,
0.10183927416801453,
-0.03497881814837456,
0.01412976160645485,
0.031706660985946655,
-0.006981764920055866,
-0.019807914271950722,
-0.04322044923901558,
-0.027174638584256172,
0.02329004742205143,
-0.007191742770373821,
-0.05959872528910637,
-0.007016761228442192,
0.05364935100078583,
-0.030901744961738586,
-0.011347554624080658,
-0.04357041046023369,
0.01642202027142048,
-0.03298402577638626,
-0.010542639531195164,
-0.07517208158969879,
0.02962438017129898,
-0.0004065587418153882,
-0.02351752296090126,
-0.059423740953207016,
-0.0013725117314606905,
0.07090253382921219,
0.02138274721801281,
0.01821558177471161,
-0.05084964632987976,
0.07272233814001083,
-0.035223789513111115,
-0.005665028467774391,
0.03485633060336113,
0.017699386924505234,
-0.075592041015625,
0.0064961910247802734,
-0.024829884991049767,
0.011741263791918755,
-0.021960187703371048,
-0.06033364683389664,
0.0024344311095774174,
0.019947899505496025,
-0.05830385908484459,
0.024077463895082474,
0.07748184353113174,
-0.00219929963350296,
0.01615079864859581,
-0.0136485630646348,
0.03723607957363129,
0.09183032810688019,
-0.025704793632030487,
0.04497026279568672,
-0.002504423726350069,
0.017611894756555557,
-0.00855222437530756,
0.06173349916934967,
0.038810912519693375,
-0.04462030157446861,
0.020455345511436462,
-0.07079754769802094,
-0.03709609434008598,
0.03226660192012787,
0.05627407506108284,
0.02680717594921589,
-0.0026334726717323065,
0.07391221821308136,
0.02092779614031315,
-0.04248552396893501,
0.007051757536828518,
-0.08147142082452774,
0.054874222725629807,
-0.03762103617191315,
0.02629972994327545,
-0.01482968870550394,
0.038005996495485306,
0.033351488411426544,
-0.019597936421632767,
-0.05490921810269356,
-0.047664981335401535,
0.04797994717955589,
0.006566183641552925,
-0.048434898257255554,
-0.02691216580569744,
-0.035871222615242004,
0.014759695157408714,
-0.012546178884804249,
-0.02157522737979889,
0.03625618293881416,
-0.004991349298506975,
0.0397908091545105,
0.007217989768832922,
0.038005996495485306,
-0.009912705980241299,
-0.026632195338606834,
-0.02355252020061016,
0.0007217989768832922,
0.045565202832221985,
0.019825411960482597,
0.0692577064037323,
-0.036711134016513824,
-0.03062177449464798,
0.03615119308233261,
0.004895109683275223,
-0.08098147064447403,
-0.0023206931073218584,
0.031146720051765442,
-0.01649201288819313,
-0.013009879738092422,
0.01587957702577114,
-0.017270680516958237,
0.13760550320148468,
0.026054756715893745,
0.02820703014731407,
0.0024059966672211885,
-0.029799362644553185,
-0.0038517818320542574,
0.005647530313581228,
0.038460951298475266,
-0.024602409452199936,
-0.019860409200191498,
0.011618776246905327,
-0.029081936925649643,
-0.08532101660966873,
0.0587238147854805,
-0.04462030157446861,
-0.040490735322237015,
0.012537430040538311,
-0.03562624752521515,
0.010717621073126793,
-0.012091226875782013,
-0.020472843199968338,
-0.018355567008256912,
0.004155812319368124,
-0.02901194430887699,
-0.0034974440932273865,
0.06369329243898392,
-0.03730607032775879,
0.007624822203069925,
0.01649201288819313,
0.014016023837029934,
0.03492632135748863,
-0.017935611307621002,
0.0462651289999485,
-0.03111172281205654,
0.02019287273287773,
-0.048924848437309265,
-0.008714082650840282,
-0.034453872591257095,
-0.048434898257255554,
0.0399307943880558,
0.04360540956258774,
-0.06666798144578934,
0.0036658640019595623,
-0.02283509448170662,
-0.030516786500811577,
0.04916982352733612,
-0.03027181141078472,
-0.01091885007917881,
-0.048539888113737106,
0.0022725730668753386,
0.006443696562200785,
0.022852594032883644,
-0.042555518448352814,
0.03415640443563461,
0.07181243598461151,
0.03462885320186615,
-0.0753120705485344,
0.017848121002316475,
0.03574873507022858,
-0.048539888113737106,
0.014899681322276592,
0.020017892122268677,
0.05273944512009621,
-0.0003658208588603884,
-0.013797297142446041,
-0.027349619194865227,
-0.05623907595872879,
-0.03954583406448364,
0.06488316506147385,
-0.030306808650493622,
0.020857803523540497,
-0.005113836377859116,
-0.07916166633367538,
0.012563676573336124,
0.03156667575240135,
0.0672629177570343,
0.10029944032430649,
0.005170705262571573,
0.03310651332139969,
-0.05924876034259796,
-0.032511577010154724,
0.04336043447256088,
-0.021330254152417183,
-0.08994052559137344,
0.020297862589359283,
-0.06628301739692688,
-0.05833885446190834,
-0.020665323361754417,
0.06509314477443695,
-0.05378933623433113,
-0.025022365152835846,
0.03720108047127724,
0.01748940907418728,
-0.005415679886937141,
-0.011268813163042068,
0.05000973492860794,
0.05683401599526405,
-0.01565210148692131,
0.04273049905896187,
0.029116934165358543,
-0.006846154108643532,
0.058898795396089554,
0.038845907896757126,
0.00988645851612091,
-0.010805112309753895,
0.01637827605009079,
-0.05410430207848549,
-0.03219660744071007,
0.013639813289046288,
-0.002539420034736395,
-0.04773497208952904,
-0.014217252843081951,
0.0712524950504303,
0.03415640443563461,
-0.033648956567049026,
-0.024234948679804802,
0.01259867288172245,
0.04944979399442673,
-0.007699189241975546,
0.00749358581379056,
-0.01825057715177536,
0.07328227907419205,
0.01183750294148922,
-0.002360064070671797,
0.03625618293881416,
0.07307230681180954,
-0.04951978474855423,
0.038880906999111176,
0.04486527666449547,
-0.018985500559210777,
0.00922152865678072,
-0.04108567163348198,
0.018793020397424698,
0.058653824031353,
-0.05903878062963486,
0.005192578304558992,
-0.01580958440899849,
0.0441303513944149,
0.007887294515967369,
0.022957582026720047,
0.00456264428794384,
-0.008001032285392284,
-0.005892504472285509,
0.0001272033987333998,
-0.009160284884274006,
-0.002301007742062211,
-0.00019726438040379435,
0.010183927603065968,
-0.01809309422969818,
0.002497861860319972,
-0.016325781121850014,
0.06449820846319199,
0.051864538341760635,
-0.10449899733066559,
-0.05970371142029762,
0.018198084086179733,
-0.0587238147854805,
-0.003777414793148637,
0.009825215674936771,
-0.00930027011781931,
0.040490735322237015,
-0.016518261283636093,
-0.06082359328866005,
0.02332504279911518,
-0.025337330996990204,
0.024024968966841698,
-0.0029812485445290804,
-0.014575964771211147,
-0.031321700662374496,
-0.039615828543901443,
0.0021894569508731365,
0.002187269739806652,
-0.03825097158551216,
0.014191005378961563,
0.03289653733372688,
-0.037061095237731934,
0.012204964645206928,
-0.07790179550647736,
-0.023692505434155464,
-0.011566282249987125,
0.048924848437309265,
0.00030649115797132254,
-0.013604816980659962,
-0.045915164053440094,
0.01787436753511429,
0.028731973841786385,
0.05844384431838989,
0.0012773654889315367,
0.014042271301150322,
-0.02661469765007496,
0.021890195086598396,
0.014925927855074406,
-0.016430769115686417,
-0.025179848074913025,
-0.04269550368189812,
-0.00027737312484532595,
0.021400246769189835,
-0.020665323361754417,
0.032389089465141296,
-0.011924994178116322,
0.012948635965585709,
-0.06253841519355774,
0.039300862699747086,
0.005021971184760332,
-0.006846154108643532,
-0.07174244523048401,
0.002583165420219302,
0.04535522311925888,
0.028224527835845947,
0.03720108047127724,
0.06243342533707619,
-0.02248513139784336,
-0.06211845949292183,
0.007191742770373821,
-0.008250380866229534,
0.0036068076733499765,
-0.004811993334442377,
-0.0152321457862854,
-0.0064393216744065285,
-0.01607205718755722,
-0.005258196033537388,
-0.010656377300620079,
-0.0021052469965070486,
0.053054410964250565,
-0.012983632273972034,
-0.022730106487870216,
-0.015634603798389435,
0.06362330168485641,
0.03569624200463295,
0.028312018141150475,
0.02619474194943905,
0.02336004003882408,
0.005074465647339821,
-0.04563519358634949,
0.027594594284892082,
-0.024759892374277115,
-0.049274809658527374,
-0.07009761780500412,
-0.0025131728034466505,
-0.021960187703371048,
-0.009055295959115028,
0.01912548579275608,
-0.03818098083138466,
-0.0324590802192688,
-0.02390248328447342,
-0.053964316844940186,
-0.00034558860352262855,
0.059423740953207016,
0.005533792078495026,
0.013088621199131012,
-0.020822806283831596,
0.044655296951532364,
-0.04084070026874542,
0.06971266120672226,
-0.07832175493240356,
-0.04836490750312805,
-0.023535020649433136,
-0.004055197816342115,
0.010647628456354141,
0.01652701012790203,
-0.02561730146408081,
0.02778707444667816,
-0.006535561755299568,
0.037586040794849396,
0.008635340258479118,
-0.04238053783774376,
-0.0016765422187745571,
0.05417429655790329,
0.025897271931171417,
-0.012003735639154911,
0.005831260699778795,
-0.015975818037986755,
0.03518879413604736,
-0.012948635965585709,
-0.007353600580245256,
0.0713924840092659,
-0.03902089223265648,
-0.022310150787234306,
-0.010210175067186356,
-0.046020153909921646,
0.018880512565374374,
-0.007314229849725962,
0.006334332749247551,
0.03091924451291561,
-0.0017552839126437902,
-0.024427426978945732,
0.040490735322237015,
0.021137773990631104,
0.016824478283524513,
0.03468134626746178,
-0.017953108996152878,
0.03832096606492996,
0.04780496656894684,
0.020682821050286293,
-0.05378933623433113,
-0.053089410066604614,
0.025179848074913025,
-0.06183848902583122,
0.0503247007727623,
-0.030604276806116104,
0.007449840661138296,
-0.03349147364497185,
0.02252012863755226,
0.024147456511855125,
-0.011190071702003479,
0.03279154747724533,
-0.09092042595148087,
0.03912587836384773,
-0.039685819298028946,
-0.012764905579388142,
0.009623986668884754,
-0.038810912519693375,
0.03149668127298355,
-0.048959843814373016,
0.03583622723817825,
-0.017095699906349182,
0.024882379919290543,
0.01966792903840542,
0.03389393165707588,
0.03737606480717659,
-0.005883755162358284,
-0.040525730699300766,
0.023307545110583305,
0.041820596903562546,
-0.0335964635014534,
-0.012721160426735878,
-0.04923981428146362,
0.030254313722252846,
0.025897271931171417,
0.026439715176820755,
0.016894470900297165,
0.028119537979364395,
0.0046851313672959805,
-0.013832293450832367,
0.02890695631504059,
0.09155035763978958,
-0.06400825828313828,
0.00694676861166954,
-0.014383485540747643,
-0.09022049605846405,
-0.03394642472267151,
0.07818176597356796,
0.0024891127832233906,
0.00015338227967731655,
0.0713924840092659,
0.008714082650840282,
-0.05490921810269356,
0.005192578304558992,
-0.007270484231412411,
0.040140774101018906,
-0.011330056935548782,
-0.01809309422969818,
-0.037551045417785645,
-0.000041523948311805725,
0.0420655682682991,
-0.019265471026301384,
-0.01863553747534752,
-0.04311545938253403,
-0.008407864719629288,
-0.016623249277472496,
-0.05028970539569855,
0.004018014296889305,
0.07370223850011826,
-0.043920375406742096,
0.025337330996990204,
0.026754682883620262
] |
711,281
|
celery.app.base
|
_autodiscover_tasks_from_names
| null |
def _autodiscover_tasks_from_names(self, packages, related_name):
# packages argument can be lazy
return self.loader.autodiscover_tasks(
packages() if callable(packages) else packages, related_name,
)
|
(self, packages, related_name)
|
[
-0.002454566303640604,
-0.006159731652587652,
-0.02260405384004116,
-0.02648727037012577,
-0.009691085666418076,
0.017338817939162254,
0.018669964745640755,
0.019755231216549873,
0.04174882173538208,
0.001673471531830728,
0.016033107414841652,
0.014193243347108364,
0.022247951477766037,
-0.03706861287355423,
0.014015192165970802,
-0.05327977240085602,
0.0214170441031456,
0.09509642422199249,
-0.014574781991541386,
-0.02192576229572296,
0.004739559721201658,
0.025317218154668808,
0.020280906930565834,
-0.06993182003498077,
0.0032176438253372908,
0.06603164970874786,
0.05032920464873314,
-0.007079664152115583,
-0.061622753739356995,
-0.03132009506225586,
-0.026148125529289246,
0.0100387092679739,
-0.022010549902915955,
0.056942544877529144,
0.0214170441031456,
0.0005399833898991346,
0.026979032903909683,
0.08254803717136383,
-0.00026085064746439457,
-0.05768866464495659,
0.04988831654191017,
-0.013565823435783386,
0.04534376785159111,
-0.025893766433000565,
0.020433522760868073,
-0.007372177205979824,
-0.03655989468097687,
0.019636530429124832,
0.046225544065237045,
0.04697166383266449,
0.018839538097381592,
-0.049583084881305695,
-0.014439123682677746,
0.05239799618721008,
0.007863938808441162,
0.11151107400655746,
0.008398092351853848,
0.06925353407859802,
0.03547462821006775,
0.008385375142097473,
0.033117566257715225,
-0.03635640814900398,
0.031370967626571655,
0.044495902955532074,
-0.032337531447410583,
0.04534376785159111,
0.032574933022260666,
-0.02153574489057064,
-0.05093966796994209,
0.014701961539685726,
-0.008041989989578724,
-0.02248535305261612,
-0.007270433474332094,
-0.04090096056461334,
0.03362628445029259,
0.024723714217543602,
-0.03145575523376465,
-0.027369050309062004,
0.01710989512503147,
-0.02289232797920704,
-0.01567700505256653,
-0.01552438922226429,
-0.04486896097660065,
-0.011420727707445621,
0.01992480456829071,
-0.028301699087023735,
-0.017152288928627968,
-0.01860213652253151,
-0.0012717959471046925,
-0.09312938153743744,
-0.013981277123093605,
0.01872083730995655,
-0.0070457495748996735,
0.06131752207875252,
-0.02314668707549572,
-0.007423049304634333,
-0.0010926846880465746,
-0.011624215170741081,
-0.04337672144174576,
0.021434001624584198,
-0.020704839378595352,
-0.08743173629045486,
0.006337783299386501,
-0.015244594775140285,
0.02435065433382988,
-0.04374978318810463,
-0.04788735881447792,
0.032049257308244705,
-0.04897262528538704,
-0.05246582254767418,
-0.06236887350678444,
-0.021891849115490913,
0.012022711336612701,
0.0032282420434057713,
-0.016796184703707695,
-0.07671473175287247,
0.036865126341581345,
0.021247470751404762,
0.02195967733860016,
-0.023214515298604965,
-0.007482399698346853,
0.030167000368237495,
-0.0027152844704687595,
0.018246032297611237,
0.019568700343370438,
0.019195640459656715,
-0.012404249981045723,
0.016830099746584892,
0.0534832589328289,
-0.061758413910865784,
0.05982528254389763,
-0.008809306658804417,
-0.034575894474983215,
0.005010876338928938,
0.023655405268073082,
0.013862576335668564,
-0.02596159465610981,
0.020908325910568237,
0.024452397599816322,
0.013845618814229965,
-0.054398953914642334,
-0.021467916667461395,
0.007465442642569542,
0.02234969474375248,
0.039781779050827026,
-0.01578722707927227,
0.04734472557902336,
0.015083500184118748,
-0.013693002983927727,
-0.062165386974811554,
0.02635161206126213,
0.005065987352281809,
-0.046836007386446,
0.025724193081259727,
-0.00977587141096592,
0.013379293493926525,
0.0041693709790706635,
0.04351238161325455,
-0.0347624234855175,
-0.016550304368138313,
0.014099977910518646,
-0.017211638391017914,
-0.04734472557902336,
0.023367131128907204,
0.026826417073607445,
-0.05711212009191513,
0.009682606905698776,
0.0011117616668343544,
-0.021332258358597755,
0.04839607700705528,
0.00023567969037685543,
0.04666643217206001,
0.021315300837159157,
0.0234010461717844,
0.026605971157550812,
-0.03455893695354462,
-0.037916477769613266,
-0.015236116014420986,
0.001491180737502873,
0.047141239047050476,
-0.04293583333492279,
0.01579570583999157,
-0.018262989819049835,
-0.022977113723754883,
0.012675566598773003,
0.09109450876712799,
0.024316739290952682,
0.035271141678094864,
-0.015838099643588066,
0.010326983407139778,
0.004642055369913578,
0.05504332855343819,
0.04992223158478737,
0.04653077572584152,
-0.0011912488844245672,
-0.021586617454886436,
-0.09536774456501007,
0.007927528582513332,
-0.036322493106126785,
-0.018246032297611237,
0.008228519931435585,
0.03455893695354462,
0.01633833907544613,
0.06487855315208435,
0.060537487268447876,
0.029793940484523773,
-0.005710363853722811,
0.02260405384004116,
0.04751429706811905,
-0.04391935467720032,
0.014422166161239147,
-0.016652049496769905,
-0.05989311262965202,
0.039680033922195435,
-0.00608342420309782,
0.015956800431013107,
0.0683039203286171,
-0.018551263958215714,
0.033388882875442505,
0.009767393581569195,
0.008245477452874184,
0.08661778271198273,
0.017601655796170235,
0.00574851781129837,
0.0010979839134961367,
-0.024181080982089043,
-0.03155749663710594,
-0.00951303355395794,
0.022264908999204636,
0.011522471904754639,
0.009962402284145355,
-0.06101229414343834,
-0.023774106055498123,
-0.028182998299598694,
0.02582593634724617,
-0.01097983866930008,
-0.008521033450961113,
-0.023112772032618523,
0.03369411453604698,
0.03333801031112671,
-0.032066214829683304,
0.008851700462400913,
-0.024808499962091446,
-0.06179232895374298,
0.05663731321692467,
-0.03540680184960365,
-0.05046486482024193,
-0.04320714995265007,
-0.01739816926419735,
0.0019405486527830362,
0.050363119691610336,
0.016245074570178986,
-0.008834742940962315,
0.023638447746634483,
-0.09251891821622849,
-0.015320902690291405,
0.005244038999080658,
-0.021094856783747673,
0.008554947562515736,
-0.01889040879905224,
-0.03132009506225586,
0.011997275054454803,
-0.035372886806726456,
0.023706277832388878,
-0.0629115104675293,
-0.010394812561571598,
0.03944263234734535,
-0.018483435735106468,
-0.08783870935440063,
-0.048090845346450806,
0.008033511228859425,
0.03906957432627678,
0.019975675269961357,
0.004998158197849989,
-0.0045827049762010574,
0.005667970981448889,
-0.003200686536729336,
-0.02584289386868477,
-0.0788852646946907,
-0.008749956265091896,
0.03679729625582695,
0.03801822289824486,
0.00122198392637074,
0.05138055607676506,
0.02784385345876217,
-0.08471857011318207,
0.012022711336612701,
-0.03254102170467377,
-0.04110444709658623,
0.0024418483953922987,
-0.00485402112826705,
0.019840016961097717,
0.10269328951835632,
-0.027504708617925644,
-0.04632728919386864,
-0.010284590534865856,
-0.0110307103022933,
-0.006901612970978022,
-0.026860330253839493,
-0.02636856958270073,
-0.0010264453012496233,
-0.027504708617925644,
-0.012132933363318443,
-0.012845139019191265,
0.057586923241615295,
-0.04785344377160072,
-0.016914887353777885,
-0.03250710666179657,
-0.00018997452571056783,
-0.017703400924801826,
0.0037263622507452965,
-0.03866259753704071,
0.024588055908679962,
0.018788665533065796,
0.010250675491988659,
-0.0033109087962657213,
0.0009347700397484004,
0.08641429990530014,
0.022909285500645638,
0.03584768995642662,
-0.025198517367243767,
0.0521605908870697,
-0.04887088015675545,
-0.006655732169747353,
0.0481586754322052,
0.05151621624827385,
-0.047955188900232315,
0.011666608043015003,
-0.025334175676107407,
0.021620532497763634,
-0.019195640459656715,
-0.039781779050827026,
0.014642611145973206,
-0.01230250671505928,
-0.045954227447509766,
0.036593809723854065,
0.03801822289824486,
-0.009394332766532898,
0.034575894474983215,
0.007923289202153683,
0.04052789881825447,
-0.003416891908273101,
-0.05168578773736954,
0.04707340896129608,
-0.022790584713220596,
0.004523354582488537,
0.05429720878601074,
0.03889999911189079,
0.04307148978114128,
-0.025486791506409645,
-0.006876177154481411,
-0.016770750284194946,
-0.015176765620708466,
0.03530505672097206,
0.040731385350227356,
0.01606702245771885,
-0.004544551018625498,
0.085600346326828,
0.00044592347694560885,
-0.06396286189556122,
-0.03584768995642662,
-0.0762399286031723,
0.0401887521147728,
-0.04137576371431351,
0.007965682074427605,
-0.01243816502392292,
0.05877393111586571,
0.029675239697098732,
-0.0022404806222766638,
-0.09285806119441986,
-0.03588160499930382,
0.030573975294828415,
-0.009614777751266956,
-0.011742915958166122,
-0.036322493106126785,
-0.03116748109459877,
0.024028465151786804,
-0.03540680184960365,
-0.028471272438764572,
0.023723233491182327,
-0.0022680361289530993,
0.03238840401172638,
0.05473810061812401,
0.046361204236745834,
-0.007999597117304802,
-0.020162206143140793,
0.007456963881850243,
-0.005299150012433529,
-0.0022955916356295347,
-0.019755231216549873,
0.07176320999860764,
-0.017686443403363228,
-0.027453836053609848,
0.04941351339221001,
-0.005973201710730791,
-0.06477680802345276,
-0.010547428391873837,
0.0032070456072688103,
-0.0535171739757061,
-0.012751874513924122,
-0.016253553330898285,
-0.04090096056461334,
0.09597820043563843,
0.019873932003974915,
0.013218199834227562,
0.04035832732915878,
-0.00047374400310218334,
-0.006142774596810341,
-0.015108936466276646,
0.031370967626571655,
-0.04358020797371864,
-0.036593809723854065,
-0.020111333578824997,
-0.03862868249416351,
-0.0682021826505661,
0.05687471479177475,
-0.041952311992645264,
-0.03167619928717613,
0.03801822289824486,
-0.03360932692885399,
-0.03396543115377426,
-0.006986399181187153,
-0.002757677575573325,
-0.011200283654034138,
0.024808499962091446,
-0.0061342958360910416,
0.004671730566769838,
0.03369411453604698,
-0.008800827898085117,
-0.02569027803838253,
-0.04575074091553688,
0.014184764586389065,
-0.019433042034506798,
-0.042189713567495346,
0.10411769896745682,
-0.019483914598822594,
0.03464372083544731,
-0.043410636484622955,
0.00020401726942509413,
-0.04992223158478737,
-0.034457191824913025,
0.006600621156394482,
0.042189713567495346,
-0.06304716318845749,
-0.057858239859342575,
-0.04093487188220024,
-0.03381281718611717,
0.058129556477069855,
-0.047039493918418884,
-0.033795859664678574,
-0.05195710435509682,
0.03628857806324959,
0.008398092351853848,
0.001995659898966551,
-0.007198365405201912,
0.026165083050727844,
0.060537487268447876,
0.039951350539922714,
-0.06036791577935219,
0.0045699868351221085,
0.0027682760264724493,
-0.03399934619665146,
0.014820662327110767,
0.04710732400417328,
0.05148230120539665,
-0.030726591125130653,
-0.01084418036043644,
-0.03440631926059723,
-0.004341063555330038,
-0.011251155287027359,
0.05327977240085602,
-0.035508543252944946,
0.03467763587832451,
-0.010666129179298878,
-0.06738822907209396,
0.021620532497763634,
0.047039493918418884,
0.05870610103011131,
0.08125928789377213,
0.015566783025860786,
0.029793940484523773,
-0.029743067920207977,
0.017313383519649506,
0.05707820504903793,
0.0055704666301608086,
-0.06477680802345276,
0.02301102876663208,
-0.03903565928339958,
-0.06664211302995682,
-0.023214515298604965,
0.04001918062567711,
-0.028691716492176056,
0.015142850577831268,
0.0107000432908535,
-0.007613818626850843,
-0.008326024748384953,
-0.014600218273699284,
0.06070706248283386,
0.023180602118372917,
-0.008075904101133347,
0.027063818648457527,
0.004947286564856768,
0.024062380194664,
0.029641324654221535,
0.02513068914413452,
0.016643570736050606,
0.006893134210258722,
-0.007185647264122963,
-0.057858239859342575,
-0.020128291100263596,
-0.0017264630878344178,
-0.01631290279328823,
-0.04775169864296913,
-0.0003902823955286294,
0.07576512545347214,
0.006159731652587652,
-0.041409678757190704,
0.04724298045039177,
0.002403694437816739,
0.028657803311944008,
0.009385854005813599,
0.004718363285064697,
-0.008809306658804417,
0.03917131572961807,
0.0005776073667220771,
-0.018754752352833748,
0.028742589056491852,
0.05392415076494217,
-0.0454794242978096,
0.07807131856679916,
0.014184764586389065,
-0.00236130109988153,
-0.016423124819993973,
-0.024655884131789207,
0.018703879788517952,
0.013854097574949265,
-0.08092013746500015,
0.02755557931959629,
-0.025317218154668808,
0.05402589216828346,
-0.00628267228603363,
0.02555461972951889,
0.012997754849493504,
0.012344899587333202,
0.009216281585395336,
0.0028064297512173653,
-0.020230034366250038,
0.017618613317608833,
0.014651089906692505,
0.008164930157363415,
-0.004175730049610138,
-0.03235448896884918,
-0.057586923241615295,
0.021518787369132042,
0.03128618001937866,
-0.09672432392835617,
-0.09007707238197327,
-0.022281866520643234,
-0.07061011344194412,
0.009055186994373798,
0.028589973226189613,
0.035915520042181015,
0.02674162946641445,
0.0064225695095956326,
-0.04293583333492279,
-0.01151399314403534,
-0.01579570583999157,
-0.011352898553013802,
-0.007762194611132145,
0.022281866520643234,
-0.02194271981716156,
-0.035271141678094864,
0.03530505672097206,
0.004264755640178919,
-0.03011612966656685,
0.047141239047050476,
0.06654036790132523,
-0.03811996430158615,
-0.01097135990858078,
-0.037543416023254395,
-0.03408413380384445,
0.0075247930362820625,
0.009021272882819176,
0.02182401902973652,
0.0058502615429461,
-0.02394367940723896,
0.0070245531387627125,
0.03035353124141693,
0.09068753570318222,
0.019331298768520355,
-0.01564309000968933,
-0.01684705726802349,
0.04334280639886856,
0.052940625697374344,
0.0030544300097972155,
-0.03971394896507263,
-0.026843374595046043,
0.055857278406620026,
0.027928639203310013,
-0.04914219677448273,
0.013913447968661785,
-0.007507835514843464,
0.007596861571073532,
-0.02260405384004116,
0.028844332322478294,
0.031099651008844376,
-0.02501198835670948,
-0.04442807286977768,
0.0007005475927144289,
0.05829912796616554,
-0.009165409952402115,
-0.006036791484802961,
0.07535815238952637,
0.001472103875130415,
-0.02784385345876217,
0.02167140319943428,
-0.025622449815273285,
-0.023977594450116158,
0.015490475110709667,
-0.03167619928717613,
-0.02062005177140236,
0.008126776665449142,
0.008300588466227055,
-0.015278508886694908,
0.007130536250770092,
0.004082465078681707,
0.0028191476594656706,
-0.036051176488399506,
0.02957349643111229,
0.040324412286281586,
0.015880491584539413,
-0.005197406280785799,
0.04310540482401848,
-0.014091499149799347,
0.0110307103022933,
-0.029386965557932854,
0.0428340882062912,
-0.028946077451109886,
-0.03167619928717613,
-0.0909588485956192,
0.003834464820101857,
-0.011395292356610298,
-0.00595624465495348,
0.030557017773389816,
-0.015380253084003925,
-0.05789215490221977,
-0.04442807286977768,
-0.03250710666179657,
0.055178988724946976,
0.032710593193769455,
0.001018496579490602,
0.03957829251885414,
0.006859219633042812,
0.051448386162519455,
-0.007109339348971844,
0.05836695805191994,
-0.06006268411874771,
-0.0856681764125824,
0.0113698560744524,
-0.018907366320490837,
-0.01117484737187624,
0.009580862708389759,
-0.019585657864809036,
0.038357365876436234,
-0.02491024322807789,
-0.00019381640595383942,
0.009012794122099876,
-0.07556163519620895,
-0.021366173401474953,
0.030675718560814857,
-0.0006290090968832374,
-0.030455274507403374,
0.049176111817359924,
-0.048260416835546494,
0.04751429706811905,
0.017822101712226868,
0.008317545987665653,
0.0024312499444931746,
-0.016083979979157448,
-0.013319943100214005,
-0.0374755896627903,
-0.06477680802345276,
0.028267785906791687,
-0.003584345104172826,
-0.02675858698785305,
0.04788735881447792,
-0.030421359464526176,
-0.021705318242311478,
0.06314890831708908,
0.03142184019088745,
0.05602685362100601,
0.0708136036992073,
-0.018703879788517952,
0.033914558589458466,
0.02155270241200924,
0.03440631926059723,
-0.039001744240522385,
-0.06840566545724869,
0.0008621716988272965,
-0.04300365969538689,
0.04052789881825447,
-0.045275937765836716,
-0.01532938051968813,
-0.0575530081987381,
-0.04934568330645561,
-0.008440486155450344,
-0.03264276310801506,
0.056772973388433456,
-0.05938439443707466,
0.01953478716313839,
-0.005498398095369339,
-0.040493983775377274,
0.025893766433000565,
-0.007728280033916235,
0.0247406717389822,
-0.0775286853313446,
0.03159141167998314,
0.006732040084898472,
0.044733304530382156,
0.0043029095977544785,
0.03398238867521286,
0.005672209896147251,
0.023977594450116158,
-0.029098691418766975,
0.031625326722860336,
0.026046382263302803,
-0.007783391512930393,
-0.003715764032676816,
0.014473038725554943,
0.04293583333492279,
0.013743875548243523,
0.03011612966656685,
-0.01727098971605301,
0.01805950328707695,
0.004345302935689688,
-0.04388543963432312,
0.04978657513856888,
0.07596861571073532,
-0.0401209257543087,
0.00006680240767309442,
-0.013277550227940083,
-0.06362371146678925,
-0.008741477504372597,
0.060300085693597794,
0.004391935653984547,
-0.04161316528916359,
0.05836695805191994,
0.013438643887639046,
-0.038323450833559036,
-0.0007487699040211737,
-0.027742110192775726,
0.07800348848104477,
-0.032303616404533386,
-0.010131974704563618,
-0.02246839553117752,
-0.023214515298604965,
0.042461030185222626,
0.013642131350934505,
-0.027504708617925644,
-0.0748833492398262,
-0.02704686112701893,
-0.005511115770787001,
-0.049311768263578415,
-0.030726591125130653,
0.06979615986347198,
-0.027725152671337128,
0.0508718378841877,
0.037679076194763184
] |
711,282
|
celery.app.base
|
_connection
| null |
def _connection(self, url, userid=None, password=None,
virtual_host=None, port=None, ssl=None,
connect_timeout=None, transport=None,
transport_options=None, heartbeat=None,
login_method=None, failover_strategy=None, **kwargs):
conf = self.conf
return self.amqp.Connection(
url,
userid or conf.broker_user,
password or conf.broker_password,
virtual_host or conf.broker_vhost,
port or conf.broker_port,
transport=transport or conf.broker_transport,
ssl=self.either('broker_use_ssl', ssl),
heartbeat=heartbeat,
login_method=login_method or conf.broker_login_method,
failover_strategy=(
failover_strategy or conf.broker_failover_strategy
),
transport_options=dict(
conf.broker_transport_options, **transport_options or {}
),
connect_timeout=self.either(
'broker_connection_timeout', connect_timeout
),
)
|
(self, url, userid=None, password=None, virtual_host=None, port=None, ssl=None, connect_timeout=None, transport=None, transport_options=None, heartbeat=None, login_method=None, failover_strategy=None, **kwargs)
|
[
-0.004401345271617174,
-0.10261107981204987,
-0.013036954216659069,
0.006939614657312632,
-0.007511812262237072,
0.0069991229102015495,
0.005630426108837128,
-0.004506629426032305,
-0.027666905894875526,
-0.045958925038576126,
0.0262387003749609,
0.05042664334177971,
0.03632769361138344,
0.0812978595495224,
-0.035613588988780975,
-0.023437220603227615,
0.021587876603007317,
-0.029040182009339333,
0.035284001380205154,
0.02230197936296463,
0.017101846635341644,
0.05126892030239105,
0.043908167630434036,
0.035851623862981796,
0.010006594471633434,
0.0443476140499115,
-0.061925530433654785,
0.01597576215863228,
0.02839932031929493,
0.01636943407356739,
0.02063574083149433,
0.05621270835399628,
-0.009905887767672539,
0.1071520447731018,
0.060057878494262695,
0.05130553990602493,
0.014282056130468845,
0.039953138679265976,
0.008857621811330318,
-0.013412315398454666,
-0.0371333472430706,
0.02665983885526657,
0.06697918474674225,
0.002920497441664338,
0.005451900418847799,
0.035357244312763214,
0.0028953207656741142,
0.05299009010195732,
-0.02211887761950493,
-0.031457144767045975,
0.039733413606882095,
0.02446259930729866,
-0.009759404696524143,
0.03896437957882881,
-0.027465492486953735,
0.01793496683239937,
-0.039403825998306274,
0.041637688875198364,
-0.04420113191008568,
0.06672284007072449,
-0.053685884922742844,
0.0245724618434906,
0.031640246510505676,
0.016991984099149704,
-0.003220329061150551,
-0.008637897670269012,
-0.0370417945086956,
-0.0008079432300291955,
0.039953138679265976,
-0.014437694102525711,
0.12106788903474808,
0.058336708694696426,
-0.00902699213474989,
-0.053978849202394485,
0.025066839531064034,
0.030962765216827393,
-0.029754284769296646,
0.006674114614725113,
-0.03841507062315941,
0.03837844729423523,
0.011910868808627129,
0.004710332024842501,
-0.014748970046639442,
-0.023675255477428436,
0.0521111935377121,
0.013751056976616383,
-0.039586931467056274,
0.009191785007715225,
-0.010418577119708061,
0.029864145442843437,
-0.009768560528755188,
-0.07045814394950867,
-0.003053247230127454,
0.015673641115427017,
0.003474384779110551,
-0.037206586450338364,
-0.0242062546312809,
0.009704474359750748,
0.02063574083149433,
0.005163512658327818,
-0.072252556681633,
-0.010775628499686718,
-0.08825578540563583,
-0.04090527445077896,
-0.002664152765646577,
-0.04438423737883568,
0.00797414779663086,
-0.0031974411103874445,
-0.005355771165341139,
-0.04200389236211777,
-0.006536787375807762,
0.04105175659060478,
0.0071044075302779675,
0.06624677032232285,
-0.04724064841866493,
0.0223569106310606,
-0.04614202678203583,
-0.0676383525133133,
-0.0016559403156861663,
-0.015609554946422577,
-0.11623396724462509,
-0.01010730117559433,
0.037316448986530304,
-0.011489731259644032,
0.05148864537477493,
0.03830520808696747,
-0.023473842069506645,
-0.037902381271123886,
0.03017542138695717,
-0.002634398639202118,
0.021844221279025078,
0.012487644329667091,
0.0048705474473536015,
0.010354490950703621,
-0.021624498069286346,
0.0367671400308609,
-0.025030219927430153,
0.056066226214170456,
-0.000519555585924536,
0.041637688875198364,
0.021880842745304108,
0.013439781032502651,
-0.004142711870372295,
0.006852640304714441,
0.001488858601078391,
-0.035558659583330154,
-0.006193468812853098,
-0.05013367906212807,
0.005520564038306475,
0.02034277468919754,
0.020745601505041122,
-0.01842934638261795,
0.06606366485357285,
-0.017797639593482018,
-0.010619990527629852,
-0.04401803016662598,
-0.0011541228741407394,
0.010803094133734703,
0.004497474525123835,
0.023455530405044556,
0.029168354347348213,
-0.0036094235256314278,
0.021917464211583138,
0.023766806349158287,
-0.015673641115427017,
-0.006697002798318863,
-0.00461420277133584,
-0.04899843782186508,
0.0521111935377121,
-0.026018977165222168,
-0.05423519387841225,
0.013833452947437763,
-0.0801992416381836,
0.01525250356644392,
-0.0033736780751496553,
0.003460652194917202,
0.01846596598625183,
-0.023125944659113884,
0.045702580362558365,
-0.05895925685763359,
-0.03176841884851456,
-0.004151867236942053,
0.001885963836684823,
-0.011361558921635151,
0.026971114799380302,
0.035485416650772095,
0.0572747066617012,
0.05328305438160896,
0.05840994790196419,
-0.01531658973544836,
-0.028893698006868362,
0.01656169258058071,
0.03407552093267441,
-0.014217969961464405,
-0.003153954166918993,
-0.05225767940282822,
0.0321529358625412,
0.017550449818372726,
-0.058116983622312546,
0.11828472465276718,
0.06811442226171494,
-0.03257407620549202,
-0.0077452692203223705,
0.010885490104556084,
0.07492586225271225,
-0.053978849202394485,
-0.03394734859466553,
-0.05251402407884598,
0.01631450280547142,
-0.035503726452589035,
-0.02257663570344448,
-0.04013624042272568,
-0.023162566125392914,
0.012707368470728397,
-0.019610362127423286,
0.03175010904669762,
0.013210901990532875,
-0.011627058498561382,
0.014446849003434181,
0.03700517490506172,
0.07990627735853195,
-0.0010848869569599628,
-0.027685217559337616,
-0.01812722533941269,
0.0317867286503315,
0.00464624585583806,
0.004096935968846083,
-0.05731132999062538,
-0.043725065886974335,
-0.009072767570614815,
-0.013339074328541756,
0.008235069923102856,
0.047606855630874634,
0.023473842069506645,
-0.0034881175961345434,
-0.029461318626999855,
-0.05742118880152702,
0.035503726452589035,
-0.06566084176301956,
0.029516249895095825,
0.052147816866636276,
0.04068554937839508,
0.01820962131023407,
0.012075661681592464,
-0.03889113664627075,
-0.02636687271296978,
-0.04244334250688553,
0.019939947873353958,
-0.015014469623565674,
0.00565331382676959,
-0.05485774576663971,
-0.04456733912229538,
-0.009649543091654778,
-0.057933878153562546,
-0.00715933833271265,
0.0151060214266181,
-0.03290366008877754,
-0.023492151871323586,
-0.035430487245321274,
-0.035247381776571274,
0.029314836487174034,
0.03303183242678642,
-0.06459883600473404,
0.05676201730966568,
0.029882457107305527,
-0.015673641115427017,
-0.0036551994271576405,
-0.01417219452559948,
-0.0037284407299011946,
0.005763175897300243,
0.06877359747886658,
0.037682656198740005,
0.045592717826366425,
0.07433993369340897,
-0.05500422790646553,
-0.07265538722276688,
-0.03691362217068672,
0.006353684235364199,
-0.03420369327068329,
-0.04713078588247299,
-0.08854874968528748,
0.003678087145090103,
0.02625701203942299,
-0.029864145442843437,
0.0020267243962734938,
-0.033617764711380005,
-0.0015483672032132745,
-0.0005870749009773135,
0.006788554135710001,
0.014465159736573696,
-0.05646905303001404,
-0.04852237179875374,
-0.041894033551216125,
-0.031493764370679855,
0.01235947199165821,
0.03034021519124508,
-0.049620989710092545,
0.05562677979469299,
0.014968693256378174,
-0.01844765618443489,
-0.021880842745304108,
-0.005007874686270952,
-0.05892263725399971,
0.0866444781422615,
0.056176088750362396,
-0.025121770799160004,
0.023656943812966347,
0.0074980794452130795,
-0.025359805673360825,
0.023949909955263138,
-0.004463142715394497,
-0.01838357001543045,
0.019592052325606346,
0.0039618974551558495,
-0.0220822561532259,
-0.029058491811156273,
0.007896329276263714,
-0.027465492486953735,
0.008404441177845001,
0.023052703589200974,
-0.013769366778433323,
-0.021587876603007317,
-0.04233347997069359,
-0.00825338065624237,
-0.007250890135765076,
0.07514558732509613,
-0.009915042668581009,
0.023803427815437317,
-0.031310662627220154,
0.045775823295116425,
-0.03634600341320038,
0.1269271969795227,
-0.027776768431067467,
-0.015408141538500786,
-0.07697661966085434,
-0.05460140109062195,
-0.008898819796741009,
0.017751863226294518,
-0.0062712873332202435,
-0.0406489297747612,
-0.00014169047062750906,
-0.003117333399131894,
-0.02658659778535366,
-0.023821737617254257,
0.04643499478697777,
-0.0361262783408165,
-0.08671771734952927,
-0.05877615511417389,
0.025323184207081795,
-0.019354017451405525,
-0.02631194144487381,
0.015536313876509666,
-0.029021870344877243,
-0.005703667178750038,
-0.02865566499531269,
-0.025066839531064034,
-0.005781486164778471,
-0.012615816667675972,
-0.02037939615547657,
-0.03489948809146881,
0.002737394068390131,
-0.00655509764328599,
0.01209397241473198,
0.041637688875198364,
-0.03834182769060135,
0.03429524600505829,
-0.000783338735345751,
-0.00031957245664671063,
0.00809316523373127,
0.014620797708630562,
0.03444172814488411,
-0.03473469242453575,
-0.0008050822652876377,
0.030083870515227318,
-0.007310398854315281,
-0.004893435165286064,
-0.05504084751009941,
-0.029589490965008736,
0.03590655326843262,
0.004231974482536316,
0.01822793297469616,
-0.013540487736463547,
0.03303183242678642,
-0.02398652955889702,
-0.017678622156381607,
-0.04105175659060478,
-0.021386463195085526,
0.025176702067255974,
0.017083536833524704,
0.02435273677110672,
-0.01642436534166336,
-0.014721504412591457,
0.009713629260659218,
-0.02219211868941784,
-0.023309048265218735,
-0.014813056215643883,
0.08246971666812897,
0.023510461673140526,
0.0009996294975280762,
-0.029168354347348213,
0.0220822561532259,
-0.03193321451544762,
-0.0010557048954069614,
-0.0009046446648426354,
-0.02001318894326687,
0.03435017541050911,
0.053612641990184784,
0.09997439384460449,
0.041527826339006424,
-0.0567253977060318,
-0.01209397241473198,
-0.013851763680577278,
-0.097557432949543,
0.02429780550301075,
-0.019335707649588585,
-0.05910573899745941,
0.02226535975933075,
0.005099426489323378,
0.031182490289211273,
0.03228110820055008,
-0.013210901990532875,
-0.019244154915213585,
0.016735639423131943,
-0.03473469242453575,
0.007282933220267296,
0.03248252347111702,
-0.006866373121738434,
-0.002826656913384795,
0.04929140582680702,
-0.019976569339632988,
0.04929140582680702,
0.010272094048559666,
0.009887577034533024,
-0.02426118589937687,
0.08547261357307434,
0.007246312685310841,
-0.005973744671791792,
0.05079285055398941,
0.06320725381374359,
-0.037902381271123886,
-0.003133354941383004,
-0.02270480804145336,
0.000045167860662331805,
-0.04299265146255493,
0.07514558732509613,
-0.015005314722657204,
-0.019738534465432167,
-0.01645183004438877,
-0.002913631033152342,
0.033874109387397766,
-0.0063811494037508965,
0.043688442558050156,
0.02427949570119381,
-0.009887577034533024,
-0.09572640061378479,
-0.02407808229327202,
0.013741902075707912,
-0.011590437963604927,
0.08598530292510986,
0.013485557399690151,
0.06994545459747314,
-0.049950577318668365,
-0.027428872883319855,
-0.019646981731057167,
-0.045849062502384186,
0.035723451524972916,
0.008793535642325878,
-0.019134294241666794,
0.010638301260769367,
-0.025762632489204407,
0.008885086514055729,
0.009484750218689442,
-0.03634600341320038,
0.025176702067255974,
0.002613799413666129,
-0.015536313876509666,
0.007333286572247744,
-0.02065405063331127,
0.0052871075458824635,
-0.019244154915213585,
-0.06295090913772583,
0.008303734473884106,
0.017669467255473137,
0.02814297564327717,
-0.031512074172496796,
0.017120156437158585,
0.023675255477428436,
-0.007786467205733061,
0.03848830983042717,
0.0220822561532259,
-0.05851981043815613,
0.097191222012043,
-0.012707368470728397,
0.0733511745929718,
-0.025524597615003586,
0.01819131150841713,
-0.023583702743053436,
0.0007581620593555272,
-0.031640246510505676,
0.019537121057510376,
0.026000667363405228,
0.01406233198940754,
0.02048925682902336,
0.009576302021741867,
0.006124804727733135,
-0.0043441252782940865,
-0.05028016120195389,
0.04079541191458702,
-0.005923391319811344,
-0.0074385711923241615,
0.017458898946642876,
0.03381917625665665,
-0.0150602450594306,
-0.03413045406341553,
-0.07053138315677643,
0.0055938055738806725,
-0.041601065546274185,
0.017065227031707764,
-0.06551435589790344,
-0.063573457300663,
0.07379062473773956,
0.058226846158504486,
0.027373941615223885,
0.014950383454561234,
-0.041344720870256424,
-0.01437360793352127,
0.01437360793352127,
0.01116014551371336,
-0.007749846670776606,
0.007580475881695747,
-0.0000831832512631081,
-0.025396425276994705,
-0.06866373121738434,
-0.003547626081854105,
0.013860918581485748,
-0.011215075850486755,
-0.1173325851559639,
0.015069400891661644,
-0.01642436534166336,
-0.03436848521232605,
0.025854183360934258,
0.035137519240379333,
-0.07917386293411255,
-0.05126892030239105,
-0.05895925685763359,
0.013448935933411121,
0.023949909955263138,
0.0933094322681427,
-0.05291685089468956,
-0.003227195469662547,
0.04116161912679672,
0.01129747275263071,
-0.017284950241446495,
0.014391918666660786,
0.025872495025396347,
-0.049913953989744186,
0.05504084751009941,
-0.053722504526376724,
0.035503726452589035,
-0.006385727319866419,
0.027410561218857765,
0.00033044422161765397,
-0.07880765199661255,
0.03017542138695717,
0.028765525668859482,
-0.027355631813406944,
0.04632513225078583,
0.012011575512588024,
0.009576302021741867,
0.009384043514728546,
0.029955698177218437,
0.0017520695691928267,
0.012148902751505375,
0.05295347049832344,
0.041234858334064484,
-0.029113423079252243,
-0.04482368379831314,
0.009393198415637016,
0.012972868047654629,
0.06518477201461792,
0.0031081782653927803,
0.010555904358625412,
-0.011828471906483173,
-0.03698686510324478,
-0.023437220603227615,
0.005438167601823807,
-0.03848830983042717,
0.02849087119102478,
0.051818229258060455,
-0.041344720870256424,
0.018914569169282913,
-0.047570232301950455,
-0.03521076217293739,
-0.005277952179312706,
-0.008386130444705486,
-0.022924531251192093,
0.011334093287587166,
-0.02612883970141411,
0.04713078588247299,
0.0029319413006305695,
-0.010363645851612091,
0.0482294037938118,
0.041344720870256424,
-0.05317319557070732,
-0.04866885393857956,
0.03665727749466896,
-0.050060439854860306,
0.028893698006868362,
-0.004151867236942053,
-0.053539399057626724,
0.016836347058415413,
0.00918720755726099,
-0.019811775535345078,
-0.011938334442675114,
-0.04866885393857956,
0.01647929660975933,
-0.06254808604717255,
0.07045814394950867,
-0.0185208972543478,
-0.0037993930745869875,
0.014410228468477726,
-0.017165932804346085,
-0.01615886576473713,
0.07829496264457703,
-0.041710928082466125,
0.03462482988834381,
0.023034393787384033,
-0.06298752874135971,
-0.0050719608552753925,
0.000597374455537647,
0.03506428003311157,
-0.0029571179766207933,
0.0371333472430706,
0.030871214345097542,
-0.03696855530142784,
-0.013989090919494629,
0.047716718167066574,
0.051854848861694336,
-0.014263746328651905,
0.006280442699790001,
-0.019024431705474854,
0.003440052969381213,
0.018969500437378883,
-0.03605303540825844,
0.03220786899328232,
-0.02210056595504284,
0.005822684615850449,
-0.025378115475177765,
-0.014730659313499928,
-0.006788554135710001,
0.0151060214266181,
0.013632039539515972,
0.0574578121304512,
-0.0330684520304203,
-0.037481240928173065,
-0.0017898345831781626,
-0.002343722153455019,
0.055736638605594635,
0.011654524132609367,
0.033636074513196945,
0.0030578249134123325,
0.011077748611569405,
0.017010295763611794,
0.02254001423716545,
0.039733413606882095,
0.03841507062315941,
-0.0003141365887131542,
-0.045592717826366425,
-0.04672795906662941,
0.04412789270281792,
0.043981410562992096,
0.01820962131023407,
-0.002851833589375019,
0.053502779453992844,
0.011819317005574703,
-0.029150042682886124,
-0.022869599983096123,
-0.03632769361138344,
-0.030981076881289482,
-0.029772594571113586,
0.021075189113616943,
0.0056121158413589,
-0.049767471849918365,
0.02468232251703739,
0.01816384680569172,
-0.052001334726810455,
-0.013265833258628845,
0.029754284769296646,
-0.049840714782476425,
-0.04449409991502762,
-0.025268252938985825,
0.05892263725399971,
-0.05537043511867523,
-0.016900433227419853,
-0.023052703589200974,
0.008734026923775673,
-0.009777715429663658,
-0.06306077539920807,
0.04661809653043747,
0.015279969200491905,
0.05049988627433777,
-0.02058080956339836,
-0.0003547626256477088,
0.04929140582680702,
0.006124804727733135,
-0.008239648304879665,
0.041234858334064484,
-0.023089325055480003,
0.027758458629250526,
0.003909255377948284,
-0.017431432381272316,
-0.018694845959544182,
0.021789291873574257,
-0.00040311331395059824,
-0.0031608205754309893,
0.017623690888285637,
-0.006614606361836195,
0.0033965660259127617,
-0.07119055837392807,
0.010656611062586308,
-0.05017029866576195,
-0.041747547686100006,
0.00909107830375433,
-0.03246421366930008,
0.07097083330154419,
0.03436848521232605,
0.004362436011433601,
0.03727982938289642,
0.0326106958091259,
-0.01511517632752657,
-0.0318782813847065,
0.026879562065005302,
-0.039696794003248215,
0.057860638946294785,
0.0017600803403183818,
-0.01614970900118351,
0.02010474167764187,
-0.035265691578388214,
0.06148608401417732,
0.014016556553542614,
-0.0064040375873446465,
-0.026751389726996422,
-0.026916183531284332,
0.014977849088609219,
-0.005085693672299385,
-0.07712310552597046,
0.005140624940395355,
0.057714156806468964,
0.027813389897346497,
0.004270884208381176,
-0.0694693848490715,
0.0026984845753759146,
-0.019042741507291794,
0.02645842544734478,
-0.012002420611679554,
-0.05705498531460762,
0.011874248273670673,
-0.0006780543480999768,
-0.020873773843050003,
-0.04921816289424896,
-0.013952470384538174,
0.025249943137168884,
0.033507902175188065,
0.007003700826317072,
-0.027831699699163437,
0.003968763630837202,
0.04200389236211777,
0.03724320977926254
] |
711,283
|
celery.app.base
|
_ensure_after_fork
| null |
def _ensure_after_fork(self):
if not self._after_fork_registered:
self._after_fork_registered = True
if register_after_fork is not None:
register_after_fork(self, _after_fork_cleanup_app)
|
(self)
|
[
0.030460307374596596,
0.04624258726835251,
-0.023987704887986183,
0.06363876909017563,
0.02067495509982109,
0.030579227954149246,
-0.014423202723264694,
0.01928190141916275,
0.040228672325611115,
-0.04107809439301491,
0.07162334769964218,
-0.047567687928676605,
0.07060404121875763,
-0.057013269513845444,
0.010898096486926079,
-0.05660554766654968,
0.013590767979621887,
0.001156277023255825,
-0.013013159856200218,
-0.04073832556605339,
-0.035709742456674576,
0.01878923736512661,
-0.012240185402333736,
-0.0605468712747097,
-0.004177037626504898,
0.011297325603663921,
-0.049946073442697525,
0.03791824355721474,
0.04155377298593521,
0.051916733384132385,
-0.024871105328202248,
0.011399256065487862,
0.008672608993947506,
-0.021354494616389275,
0.08460252732038498,
0.02974679321050644,
0.014457179233431816,
0.021269552409648895,
-0.008405040018260479,
0.012690379284322262,
0.040840256959199905,
-0.040636394172906876,
-0.039481181651353836,
-0.02186414785683155,
0.003924334421753883,
0.01788884773850441,
-0.004956383258104324,
0.0370008647441864,
0.011883427388966084,
-0.012053311802446842,
-0.025091955438256264,
-0.029559919610619545,
0.05602794140577316,
0.06227969378232956,
-0.014304283075034618,
0.011891921982169151,
0.06384263187646866,
-0.009615467861294746,
0.00919075682759285,
-0.03757847473025322,
0.0533437617123127,
0.04291284829378128,
-0.00821816734969616,
0.0169374942779541,
0.020165301859378815,
0.02490508183836937,
0.032838691025972366,
0.0011849451111629605,
-0.006633993703871965,
0.022186927497386932,
-0.03486032038927078,
-0.03893755003809929,
-0.019910475239157677,
0.019927462562918663,
0.057217132300138474,
-0.01788884773850441,
0.0002078431862173602,
-0.022662606090307236,
0.005623179953545332,
0.015374556183815002,
-0.008978401310741901,
0.017183827236294746,
-0.013879572041332722,
0.048349156975746155,
0.05344569310545921,
0.010847131721675396,
0.0827677771449089,
-0.025244850665330887,
-0.028506634756922722,
0.013531308621168137,
-0.039447203278541565,
0.02313828282058239,
0.08303958922624588,
0.0470920093357563,
0.07114767283201218,
-0.03438464179635048,
-0.002397496486082673,
0.021082678809762,
-0.007908128201961517,
-0.04783950373530388,
-0.011203888803720474,
0.005075302440673113,
0.030800078064203262,
-0.06129436194896698,
0.03338232263922691,
-0.03178540989756584,
0.020369162783026695,
-0.051339127123355865,
-0.058474279940128326,
-0.0515429861843586,
-0.054838746786117554,
-0.022543685510754585,
-0.01737070083618164,
-0.004094218835234642,
-0.029525943100452423,
-0.019349856302142143,
-0.02166028693318367,
0.007309284992516041,
0.07060404121875763,
-0.052902065217494965,
-0.0349622517824173,
0.008651372976601124,
-0.020657967776060104,
-0.024055659770965576,
-0.02087881788611412,
0.06683260202407837,
0.0499800480902195,
0.09955237060785294,
-0.0015937298303470016,
0.026858754456043243,
-0.0023762607015669346,
0.04172365739941597,
-0.07073994725942612,
-0.08609751611948013,
-0.03261784091591835,
-0.05497465655207634,
0.018568387255072594,
-0.02128653973340988,
-0.025091955438256264,
-0.0010007264791056514,
-0.03611746430397034,
-0.005177232902497053,
-0.0005500013940036297,
-0.016512783244252205,
0.04780552536249161,
0.07359400391578674,
-0.021762216463685036,
0.008625890128314495,
0.006451367400586605,
-0.04155377298593521,
0.06659476459026337,
0.018687305971980095,
-0.033212438225746155,
0.013718181289732456,
-0.018279582262039185,
-0.0009402050636708736,
-0.021439436823129654,
0.008591913618147373,
0.03190432861447334,
-0.006166811101138592,
-0.023851796984672546,
0.010142110288143158,
-0.013132079504430294,
-0.030052585527300835,
-0.019757578149437904,
0.02696068584918976,
0.0017752940766513348,
-0.011756014078855515,
0.031360697001218796,
0.04277694225311279,
-0.029797758907079697,
0.03601553291082382,
0.0010161222890019417,
0.0335182324051857,
-0.03795221820473671,
0.06241559982299805,
0.0470920093357563,
0.004391517024487257,
-0.019791554659605026,
0.02273055911064148,
-0.002917767968028784,
-0.05099935457110405,
-0.005746346432715654,
0.00332761462777853,
0.0031980774365365505,
0.013522814027965069,
-0.021881137043237686,
0.02740238606929779,
0.05636771023273468,
-0.003028193023055792,
-0.012537483125925064,
0.04936846345663071,
0.046140655875205994,
0.018636340275406837,
0.04668428748846054,
0.0014535750960931182,
-0.005423565860837698,
0.06411444395780563,
-0.03482634201645851,
-0.013675710186362267,
-0.035675764083862305,
0.017464136704802513,
0.0023720136377960443,
-0.08922339230775833,
0.027028638869524002,
0.05769281089305878,
0.012554471381008625,
0.04977618530392647,
-0.04919857904314995,
0.017871860414743423,
0.022373801097273827,
-0.0225266981869936,
-0.04484953358769417,
0.04308273270726204,
0.017549078911542892,
-0.052528318017721176,
0.07060404121875763,
0.00978535320609808,
0.009870295412838459,
0.031530581414699554,
-0.05602794140577316,
0.013675710186362267,
-0.0027733659371733665,
0.008137471973896027,
-0.07427354902029037,
0.005228198599070311,
0.0013473972212523222,
0.013650227338075638,
0.07101175934076309,
-0.011603117920458317,
-0.018857190385460854,
0.06248355656862259,
-0.07597239315509796,
-0.07855463773012161,
0.02510894276201725,
0.007891139946877956,
0.05147503316402435,
0.0066892062313854694,
0.00982782430946827,
0.02682477794587612,
0.022747548297047615,
-0.0499800480902195,
0.017905836924910545,
-0.03560781106352806,
0.035879626870155334,
0.016623208299279213,
0.032600853592157364,
-0.01072821207344532,
0.024055659770965576,
-0.0027797366492450237,
-0.014567604288458824,
-0.019264914095401764,
0.045563049614429474,
-0.03819005563855171,
-0.0623476468026638,
-0.04760166257619858,
0.031326718628406525,
-0.009997708722949028,
0.02786107361316681,
0.0589839331805706,
0.0037119784392416477,
0.07189515978097916,
-0.028047947213053703,
0.015434015542268753,
-0.05123719573020935,
-0.007334767375141382,
0.032108187675476074,
-0.004234373569488525,
-0.042437173426151276,
0.048960741609334946,
0.018534408882260323,
-0.0515429861843586,
-0.04525725543498993,
-0.03406186029314995,
-0.02334214374423027,
-0.020080359652638435,
-0.036864958703517914,
-0.04134991019964218,
-0.053887393325567245,
0.04311671108007431,
0.09472765028476715,
-0.012724356725811958,
0.005075302440673113,
0.004518930334597826,
-0.04746575653553009,
-0.02023325487971306,
-0.0012943082256242633,
0.07998166978359222,
-0.017854871228337288,
-0.07271061092615128,
-0.08147665113210678,
0.005015842616558075,
0.009870295412838459,
0.03771438077092171,
-0.0159776471555233,
0.009284193627536297,
-0.005287657957524061,
0.017651010304689407,
-0.013922043144702911,
-0.0005354019231162965,
-0.006425885017961264,
-0.024599289521574974,
-0.07773919403553009,
0.06384263187646866,
0.0452912338078022,
-0.008506971411406994,
0.036287348717451096,
0.016300426796078682,
-0.047159962356090546,
0.029559919610619545,
-0.04872290417551994,
0.007016233634203672,
0.023393109440803528,
0.03655916452407837,
0.00706719933077693,
0.04821324720978737,
0.01672513782978058,
0.0026947944425046444,
-0.006345189642161131,
0.018194640055298805,
-0.0310549046844244,
-0.023325154557824135,
-0.007096929010003805,
0.05218854919075966,
0.009615467861294746,
0.029593896120786667,
0.05106731131672859,
0.059833355247974396,
0.026926709339022636,
0.022390790283679962,
-0.03839391842484474,
-0.014796948060393333,
-0.020793873816728592,
-0.026688870042562485,
-0.0022361059673130512,
0.009556008502840996,
-0.004684567917138338,
-0.08297163993120193,
-0.0010723965242505074,
-0.012299644760787487,
-0.07169129699468613,
-0.004837464075535536,
-0.06550750136375427,
-0.02490508183836937,
-0.042607057839632034,
0.0016701779095456004,
0.027147559449076653,
0.03130973130464554,
-0.004756768699735403,
-0.010362960398197174,
-0.005788817536085844,
0.029220150783658028,
-0.07848668098449707,
0.07141948491334915,
-0.015366061590611935,
-0.048553016036748886,
-0.03027343563735485,
0.0009529464296065271,
0.026111261919140816,
-0.016283439472317696,
-0.0013367794454097748,
-0.005878007039427757,
0.007954846136271954,
0.014185363426804543,
0.0003413618542253971,
-0.07787510007619858,
-0.008354075253009796,
0.05137310177087784,
-0.0209637600928545,
-0.05752292647957802,
0.0076617952436208725,
-0.008523959666490555,
0.05419318750500679,
-0.030290422961115837,
0.02444639429450035,
0.021932100877165794,
0.010286512784659863,
-0.009759870357811451,
-0.012520494870841503,
0.023376120254397392,
-0.05242638662457466,
-0.012308139353990555,
-0.060648802667856216,
-0.05144105479121208,
-0.06805577129125595,
-0.011067981831729412,
0.026943696662783623,
0.0036249125842005014,
0.058236438781023026,
-0.01887417957186699,
0.03849584981799126,
-0.0034189275465905666,
-0.014525133185088634,
0.0015884209424257278,
0.012707367539405823,
0.028319763019680977,
0.0034613986499607563,
-0.011654083617031574,
0.04430590197443962,
0.04233524203300476,
-0.02281550131738186,
0.041791610419750214,
-0.0027415126096457243,
-0.011152924038469791,
0.056673500686883926,
0.022186927497386932,
-0.043796248733997345,
0.008523959666490555,
0.0639105886220932,
0.020623989403247833,
-0.07366196066141129,
-0.07862259447574615,
-0.004850205034017563,
-0.07006040960550308,
-0.008519712835550308,
-0.0018029003404080868,
0.02388577349483967,
-0.01748112589120865,
0.024089636281132698,
-0.04444181174039841,
0.008978401310741901,
0.04427192732691765,
-0.02023325487971306,
0.04882483184337616,
0.02879543974995613,
0.005500013940036297,
-0.015077258460223675,
0.03693291172385216,
-0.025074966251850128,
-0.008226661942899227,
0.027266478165984154,
0.03224409744143486,
-0.028285784646868706,
0.049538347870111465,
0.0009072899119928479,
0.026858754456043243,
0.030205480754375458,
0.02740238606929779,
-0.022951409220695496,
0.012180726043879986,
-0.05973142385482788,
0.04879085719585419,
-0.002660817466676235,
-0.028506634756922722,
0.07053608447313309,
0.07264265418052673,
0.01265640277415514,
0.05205263942480087,
0.01269887387752533,
-0.0052706697024405,
-0.02945799008011818,
-0.055280447006225586,
-0.0603090338408947,
0.00923322793096304,
-0.04739780351519585,
-0.004778004251420498,
0.021320516243577003,
-0.011849450878798962,
0.011857944540679455,
0.015340578742325306,
-0.037884265184402466,
0.02600933238863945,
-0.00836681667715311,
0.018772248178720474,
0.030986949801445007,
0.05555226281285286,
0.04369431734085083,
0.0006561792688444257,
-0.014678029343485832,
0.009997708722949028,
0.0352000892162323,
0.01846645586192608,
0.046174634248018265,
-0.06431830674409866,
-0.012342115864157677,
-0.03190432861447334,
-0.021439436823129654,
-0.012953700497746468,
0.010490373708307743,
-0.0243274737149477,
-0.039481181651353836,
0.03934527188539505,
0.0038351446855813265,
0.006098857149481773,
-0.05595998466014862,
-0.07780714333057404,
0.03365413844585419,
-0.06659476459026337,
-0.015383049845695496,
-0.006442873273044825,
-0.03486032038927078,
-0.04549509659409523,
-0.004854452330619097,
0.06425035744905472,
0.022492719814181328,
-0.057013269513845444,
-0.03346726670861244,
0.02600933238863945,
0.051882755011320114,
-0.04916460067033768,
0.0016892899293452501,
0.004722791723906994,
0.001889966195449233,
0.04957232624292374,
-0.021405458450317383,
-0.012376093305647373,
-0.04532521218061447,
-0.02461627870798111,
-0.01618150807917118,
0.018279582262039185,
0.016376875340938568,
-0.01748112589120865,
-0.030494285747408867,
-0.004370281472802162,
0.03564178943634033,
0.016198497265577316,
0.009632457047700882,
-0.0045996252447366714,
0.06047891825437546,
0.02449735812842846,
-0.0034656457137316465,
-0.0014535750960931182,
0.06309513747692108,
-0.03815608099102974,
0.019145993515849113,
-0.0672743022441864,
0.02128653973340988,
0.0370008647441864,
-0.019332867115736008,
0.01561239454895258,
-0.014720500446856022,
-0.03553985804319382,
-0.005283411126583815,
-0.03553985804319382,
0.004370281472802162,
0.0015693089226260781,
-0.0003395037492737174,
0.004463717807084322,
0.012826287187635899,
-0.043184664100408554,
-0.011806979775428772,
0.00226583587937057,
0.046140655875205994,
0.0057973116636276245,
-0.01716683804988861,
-0.034928273409605026,
0.022203916683793068,
0.022543685510754585,
-0.0005834473995491862,
-0.029322082176804543,
-0.04559702426195145,
0.04634451866149902,
0.05799860134720802,
-0.0052451868541538715,
-0.011271842755377293,
-0.05263024941086769,
0.03012053854763508,
0.009691916406154633,
-0.009411606937646866,
0.004123948514461517,
-0.021847158670425415,
0.04943641647696495,
0.011492692865431309,
-0.01673363335430622,
0.033739082515239716,
-0.019044063985347748,
-0.012478023767471313,
0.04930051043629646,
0.022798512130975723,
-0.022458743304014206,
0.00974288210272789,
-0.003990164492279291,
0.03757847473025322,
-0.026654893532395363,
-0.008107742294669151,
-0.026943696662783623,
0.02145642414689064,
0.041791610419750214,
-0.04209740459918976,
-0.03486032038927078,
-0.014440190978348255,
-0.007147894240915775,
-0.04131593555212021,
-0.019621670246124268,
-0.013488836586475372,
-0.0022955655585974455,
0.07271061092615128,
0.09234926849603653,
-0.05198468640446663,
0.005338623654097319,
-0.06537159532308578,
0.04902869462966919,
0.02403867058455944,
-0.0625854879617691,
0.0021362989209592342,
-0.042029447853565216,
0.00906334351748228,
0.03999083489179611,
-0.03404487296938896,
-0.006515074521303177,
0.026485009118914604,
0.038869597017765045,
0.03635530546307564,
-0.022883454337716103,
0.009700410068035126,
0.003612171160057187,
-0.048349156975746155,
-0.018517421558499336,
-0.03734063357114792,
0.009131297469139099,
-0.04688815027475357,
0.026434043422341347,
0.035064179450273514,
-0.025176897644996643,
0.023087317124009132,
-0.012410069815814495,
-0.06088664010167122,
-0.07644806802272797,
0.041655704379081726,
0.049538347870111465,
0.019536728039383888,
-0.031819384545087814,
0.02284947782754898,
-0.02325720153748989,
-0.01280080433934927,
-0.001193439238704741,
0.031734444200992584,
-0.015272625721991062,
0.0112633490934968,
-0.0043129450641572475,
0.0310549046844244,
0.008808515965938568,
-0.0159776471555233,
-0.05894995480775833,
0.027181535959243774,
0.021711250767111778,
-0.05497465655207634,
0.016054093837738037,
0.019179971888661385,
-0.039481181651353836,
0.01071122381836176,
-0.09764966368675232,
-0.04277694225311279,
-0.05246036499738693,
0.0050625610165297985,
-0.03982095047831535,
0.009411606937646866,
-0.038631755858659744,
0.016512783244252205,
-0.037306658923625946,
0.015561428852379322,
0.016088072210550308,
0.0013473972212523222,
-0.005865265615284443,
-0.034928273409605026,
-0.04352443292737007,
-0.0253467820584774,
-0.015170694328844547,
-0.021099666133522987,
0.0013335940893739462,
0.002654446754604578,
-0.01945178583264351,
-0.04226728901267052,
0.04821324720978737,
0.06985654681921005,
0.029916677623987198,
0.02240777760744095,
0.03662711754441261,
-0.06819167733192444,
-0.003981670364737511,
0.02030120976269245,
-0.034350667148828506,
-0.014550616033375263,
-0.014601580798625946,
-0.04257307946681976,
0.0050795492716133595,
-0.02281550131738186,
0.06265343725681305,
0.023410096764564514,
0.046174634248018265,
-0.023613959550857544,
-0.03170046582818031,
-0.05276615545153618,
0.02301936224102974,
0.04546111822128296,
-0.009394618682563305,
0.01692900061607361,
0.003960434813052416,
0.01400698535144329,
-0.006986503954976797,
0.04427192732691765,
0.026943696662783623,
0.0484171099960804,
0.0016977841733023524,
-0.08969906717538834,
0.02346106246113777,
-0.04226728901267052,
-0.04277694225311279,
-0.005105032119899988,
-0.027640223503112793,
0.07903031259775162,
0.026349101215600967,
0.011764508672058582,
-0.023070327937602997,
-0.015383049845695496,
0.032923635095357895,
-0.07780714333057404,
0.014737488701939583,
0.00845175888389349,
0.02142244763672352,
-0.01667417399585247,
-0.0336371511220932,
0.01667417399585247,
-0.006073374301195145,
-0.04495146498084068,
-0.042029447853565216,
-0.01916298270225525,
-0.042607057839632034,
0.012962195090949535,
-0.0058397832326591015,
-0.0434904582798481,
0.04862097278237343,
0.049742210656404495,
-0.02731744386255741,
0.023562993854284286,
-0.011781496927142143,
0.011042498983442783,
-0.02128653973340988,
-0.01936684362590313,
0.03574372082948685,
-0.01727726310491562,
-0.024021681398153305,
-0.05534840002655983,
0.1066875234246254,
0.04267501085996628,
-0.030545251443982124,
0.017319735139608383,
0.04264103248715401,
-0.02084483951330185,
-0.06329900026321411,
0.02600933238863945,
-0.11144429445266724,
-0.009199250489473343,
-0.004659085068851709,
0.10281416028738022,
-0.00595870241522789,
-0.0257714930921793,
0.019791554659605026,
0.010600798763334751,
-0.006765654310584068,
-0.007767973002046347,
0.030222469940781593,
-0.015111234970390797,
0.018517421558499336,
-0.05008197948336601,
-0.010176087729632854,
0.015349073335528374,
0.06047891825437546,
-0.023087317124009132,
-0.0015512587269768119,
0.0077892085537314415,
-0.000381974910851568,
-0.0470920093357563,
-0.027436362579464912,
0.1278211772441864,
-0.013505825772881508,
0.021150631830096245,
0.008664114400744438
] |
711,284
|
celery.app.base
|
_finalize_pending_conf
|
Get config value by key and finalize loading the configuration.
Note:
This is used by PendingConfiguration:
as soon as you access a key the configuration is read.
|
def _finalize_pending_conf(self):
"""Get config value by key and finalize loading the configuration.
Note:
This is used by PendingConfiguration:
as soon as you access a key the configuration is read.
"""
try:
conf = self._conf = self._load_config()
except AttributeError as err:
# AttributeError is not propagated, it is "handled" by
# PendingConfiguration parent class. This causes
# confusing RecursionError.
raise ModuleNotFoundError(*err.args) from err
return conf
|
(self)
|
[
0.035720791667699814,
-0.03606443479657173,
-0.025990266352891922,
0.03186837211251259,
-0.045360881835222244,
-0.0006030709482729435,
0.029824599623680115,
0.012533928267657757,
0.07596319913864136,
-0.07538443058729172,
0.002957138931378722,
-0.025013595819473267,
0.01263340376317501,
-0.0062172263860702515,
-0.025447672232985497,
0.04058605432510376,
0.019479135051369667,
0.051763493567705154,
-0.02727440558373928,
-0.05216139927506447,
-0.011521085165441036,
0.003352780593559146,
-0.030240587890148163,
0.008957327343523502,
-0.01518359687179327,
-0.016096964478492737,
0.030819356441497803,
-0.04102012887597084,
0.0075737121514976025,
-0.04337136819958687,
-0.009712438099086285,
0.01993129774928093,
0.025158287957310677,
0.02920965850353241,
-0.0037348573096096516,
0.002875749720260501,
0.032863128930330276,
0.02698502317070961,
-0.029987378045916557,
-0.02790743298828602,
-0.002572801196947694,
-0.02029302716255188,
0.05671919137239456,
-0.0794358029961586,
0.03884975239634514,
0.06294094026088715,
-0.04735039547085762,
0.10056080669164658,
-0.024290136992931366,
-0.007614406291395426,
-0.003972242120653391,
0.03624529764056206,
-0.04785681515932083,
0.04409483075141907,
0.008355951867997646,
0.008925676345825195,
0.0013723113806918263,
0.01705554686486721,
0.02036537230014801,
0.014948472380638123,
-0.019045058637857437,
-0.0058961911126971245,
-0.017788048833608627,
0.038668885827064514,
0.016133137047290802,
-0.02403692714869976,
-0.030891701579093933,
0.008053003810346127,
-0.0005505071021616459,
-0.015699060633778572,
0.011186485178768635,
-0.0018742111278697848,
-0.038741230964660645,
-0.020021729171276093,
0.023801803588867188,
-0.08478940278291702,
-0.045939650386571884,
-0.02210167422890663,
0.020473891869187355,
0.039971113204956055,
-0.04286494851112366,
0.019768519327044487,
-0.0004914434975944459,
-0.046590764075517654,
0.025429585948586464,
-0.008428297936916351,
0.04387779161334038,
-0.02468804083764553,
0.03986259549856186,
0.024272050708532333,
-0.023620938882231712,
0.045794956386089325,
0.016024617478251457,
0.04145420342683792,
0.07849530875682831,
0.018466291949152946,
-0.002137595321983099,
0.02589983306825161,
0.003305303631350398,
-0.0677519366145134,
-0.016784250736236572,
-0.05635745823383331,
-0.014957515522837639,
-0.008857851848006248,
0.03798159956932068,
-0.021685684099793434,
0.0360463485121727,
-0.014197884127497673,
-0.0002913618227466941,
0.013302603736519814,
-0.02812447026371956,
-0.04337136819958687,
-0.02230062521994114,
0.014152667485177517,
0.04886965826153755,
0.0010049298871308565,
-0.058600183576345444,
-0.00008675856224726886,
0.04604816809296608,
0.034364305436611176,
-0.011683863587677479,
0.022698527202010155,
-0.029300091788172722,
0.007560146972537041,
0.03152472898364067,
0.07958049327135086,
-0.025429585948586464,
-0.006352874916046858,
0.07538443058729172,
-0.02181228995323181,
0.06786046177148819,
0.04568643867969513,
0.0002769491693470627,
-0.03177793696522713,
0.017552925273776054,
0.0064252205193042755,
0.0117652527987957,
0.008048482239246368,
0.00047929162974469364,
0.01985895074903965,
0.04886965826153755,
0.01761622726917267,
0.013076522387564182,
-0.013103651814162731,
0.08341483026742935,
-0.028902189806103706,
-0.01493038609623909,
0.01862907037138939,
-0.052631646394729614,
-0.05418708175420761,
0.0275637898594141,
-0.015047947876155376,
-0.046011995524168015,
0.020980311557650566,
0.002419066149741411,
0.0045600528828799725,
-0.005674631800502539,
0.07050108164548874,
-0.06862009316682816,
-0.06597946584224701,
-0.011475869454443455,
-0.005584199447184801,
0.022137846797704697,
-0.07675900310277939,
-0.06974145025014877,
0.006086099427193403,
0.01439683511853218,
-0.06221747770905495,
-0.00035522968391887844,
-0.016277829185128212,
-0.07610788941383362,
-0.021486733108758926,
-0.021920809522271156,
0.00004419176184455864,
-0.005127516109496355,
0.05711709335446358,
-0.004239018075168133,
-0.04698866605758667,
0.010517286136746407,
-0.01115031260997057,
-0.008306214585900307,
-0.002480108058080077,
-0.024380570277571678,
-0.01870141550898552,
0.036805979907512665,
0.09007064998149872,
0.01252488512545824,
0.010200772434473038,
0.03664319962263107,
0.0025524538941681385,
-0.033206772059202194,
0.0056158509105443954,
0.008740290068089962,
0.049050524830818176,
0.028106383979320526,
-0.04246704652905464,
-0.028178729116916656,
0.06688378751277924,
-0.003752943826839328,
0.04351606220006943,
-0.003583383047953248,
-0.05125707387924194,
0.007777184713631868,
0.014622916467487812,
-0.003648946527391672,
0.001977077918127179,
0.00456683523952961,
0.044926807284355164,
-0.03253757208585739,
0.058093760162591934,
-0.0433351956307888,
-0.045650266110897064,
-0.008292648941278458,
-0.0038026815745979548,
-0.007650579325854778,
-0.014478224329650402,
0.03704110160470009,
0.013157911598682404,
-0.04474594071507454,
-0.0068502528592944145,
0.018755676224827766,
0.02259000949561596,
0.1251584142446518,
-0.02626156434416771,
-0.010209815576672554,
-0.009269319474697113,
-0.04420334845781326,
-0.016241654753684998,
0.010499199852347374,
-0.0019906428642570972,
0.060300312936306,
0.018303513526916504,
0.0036873803474009037,
-0.0447821170091629,
0.0948454812169075,
-0.04604816809296608,
0.013971802778542042,
0.040043458342552185,
0.02546575851738453,
0.053499795496463776,
-0.0033211291301995516,
-0.015608629211783409,
-0.03783690929412842,
-0.046373724937438965,
-0.03653468191623688,
-0.016033660620450974,
0.029896944761276245,
0.027726568281650543,
0.04036901518702507,
0.017679531127214432,
0.047314222902059555,
0.02877558395266533,
-0.0051908185705542564,
-0.012868528254330158,
-0.0042616259306669235,
-0.12125173956155777,
-0.028178729116916656,
-0.03707727789878845,
0.04991867393255234,
0.03483455255627632,
0.03626338392496109,
0.039247654378414154,
-0.013772851787507534,
0.04391396418213844,
-0.032193928956985474,
0.013980845920741558,
0.03841567412018776,
-0.025230634957551956,
0.012262631207704544,
0.03235670551657677,
0.05389769747853279,
0.009201494976878166,
0.00456683523952961,
-0.032049234956502914,
-0.021052658557891846,
0.012615317478775978,
0.030529972165822983,
0.033568501472473145,
0.013121738098561764,
0.04073074460029602,
0.019479135051369667,
-0.030493799597024918,
0.06532835215330124,
0.047965336591005325,
-0.04152654856443405,
0.008301693014800549,
-0.05827462673187256,
0.0012106634676456451,
-0.0011343611404299736,
0.028251076117157936,
0.012000377289950848,
-0.02481464482843876,
0.005249599926173687,
0.04890583083033562,
0.05979388952255249,
-0.05288485810160637,
-0.07223738729953766,
-0.028178729116916656,
0.02920965850353241,
0.010544415563344955,
-0.04239470139145851,
0.005299337673932314,
-0.07929111272096634,
0.03300781920552254,
0.03333337604999542,
-0.027310580015182495,
0.0741545557975769,
-0.05758734047412872,
-0.02410927228629589,
0.05418708175420761,
0.01025503221899271,
-0.037945427000522614,
0.07806123048067093,
0.06605181097984314,
0.0011767513351514935,
-0.0641346424818039,
0.03438239172101021,
0.008966370485723019,
0.02273469977080822,
0.010381637141108513,
-0.0736481323838234,
0.035865481942892075,
-0.05317423865199089,
-0.016223568469285965,
0.031000221148133278,
0.008342387154698372,
0.024199705570936203,
0.03487072512507439,
-0.012669576331973076,
-0.0022935911547392607,
-0.07972519099712372,
-0.011159355752170086,
-0.039609383791685104,
0.009793827310204506,
-0.005344553850591183,
-0.0006799384718760848,
0.012497754767537117,
-0.025230634957551956,
-0.0028373159002512693,
-0.0866703912615776,
0.01589801348745823,
-0.047169528901576996,
-0.027093540877103806,
0.00960391853004694,
-0.009703394956886768,
-0.013501554727554321,
0.023765629157423973,
-0.027672309428453445,
0.03461751714348793,
-0.08963657915592194,
-0.00633026659488678,
-0.0055435048416256905,
0.00932357832789421,
0.06706465035676956,
0.03007780946791172,
-0.007207460701465607,
-0.015518196858465672,
-0.005674631800502539,
-0.017353974282741547,
-0.00898897834122181,
0.060408830642700195,
0.003694162704050541,
-0.06843922287225723,
0.004514836706221104,
-0.004720570519566536,
0.041418030858039856,
-0.09549659490585327,
0.006108707282692194,
0.032989732921123505,
-0.04503532499074936,
-0.034798379987478256,
-0.00041231513023376465,
0.020130248740315437,
-0.011186485178768635,
0.047097183763980865,
0.02374754287302494,
-0.036082521080970764,
0.047820642590522766,
-0.038451846688985825,
0.023729456588625908,
0.007668666075915098,
0.016820423305034637,
-0.026731811463832855,
-0.01238019298762083,
-0.0669199600815773,
-0.023693284019827843,
0.0003724683774635196,
-0.06283241510391235,
0.023150689899921417,
0.032266274094581604,
0.012362106703221798,
0.008062046952545643,
-0.03166941925883293,
0.047097183763980865,
-0.003067918587476015,
-0.0009167582611553371,
0.01240732241421938,
-0.007469714619219303,
0.00577410776168108,
-0.0033279117196798325,
0.017552925273776054,
-0.017914654687047005,
0.01780613511800766,
0.04583112895488739,
0.028974534943699837,
0.009757653810083866,
0.04094778373837471,
0.023946493864059448,
-0.016458693891763687,
-0.023928407579660416,
-0.027835087850689888,
0.0180503036826849,
-0.006235312670469284,
-0.020094074308872223,
-0.03881357982754707,
-0.023928407579660416,
-0.01785135269165039,
-0.026297736912965775,
0.06359205394983292,
0.0007788488874211907,
-0.0227527879178524,
-0.030602317303419113,
0.023548591881990433,
-0.04022432491183281,
-0.011837598867714405,
0.052559301257133484,
0.006398091092705727,
0.01821308210492134,
-0.03374936431646347,
-0.0069542499259114265,
-0.04662693664431572,
0.06203661486506462,
-0.02338581345975399,
0.0187737625092268,
0.007533017545938492,
-0.03497924655675888,
0.019623827189207077,
-0.0002851446042768657,
-0.00034929506364278495,
-0.01985895074903965,
-0.053861524909734726,
0.08001457154750824,
-0.011322134174406528,
0.02259000949561596,
0.007361195981502533,
0.016585297882556915,
-0.009622005745768547,
0.04930373281240463,
0.009034194983541965,
-0.016630515456199646,
-0.08732150495052338,
-0.05606807768344879,
0.007248155307024717,
-0.05530844256281853,
-0.02835959568619728,
-0.021360129117965698,
0.008699594996869564,
0.006230791099369526,
0.0043656229972839355,
0.0072029391303658485,
0.0022438534069806337,
0.02790743298828602,
0.023910321295261383,
-0.031000221148133278,
0.019949384033679962,
-0.01543680764734745,
0.025212548673152924,
0.017543882131576538,
-0.04250321909785271,
-0.0025795837864279747,
0.01604270376265049,
0.041707415133714676,
-0.02051006443798542,
0.01826734095811844,
-0.053210414946079254,
-0.02461569383740425,
0.03942851722240448,
0.0653645247220993,
-0.005462115630507469,
-0.07100750505924225,
0.04152654856443405,
0.026297736912965775,
-0.016657644882798195,
-0.02036537230014801,
0.016024617478251457,
-0.08175086975097656,
0.039754074066877365,
-0.027238233014941216,
0.01985895074903965,
-0.006628693547099829,
-0.028667064383625984,
0.005113950930535793,
0.0011643168982118368,
0.023277295753359795,
0.026370082050561905,
-0.011729080229997635,
0.009829999879002571,
0.05639363452792168,
0.09860746562480927,
-0.04836323857307434,
-0.02237297035753727,
-0.015925142914056778,
-0.0008766289101913571,
0.02591792121529579,
-0.035069677978754044,
-0.015834709629416466,
-0.0741545557975769,
0.05639363452792168,
0.012868528254330158,
0.01367337629199028,
0.008003265596926212,
0.029444783926010132,
-0.00807109009474516,
-0.02577322907745838,
0.029444783926010132,
0.007035639137029648,
-0.010481112636625767,
0.002753665903583169,
0.008790027350187302,
0.024199705570936203,
0.002414544578641653,
0.052559301257133484,
0.08023160696029663,
0.022897478193044662,
-0.029915031045675278,
0.005407856311649084,
0.010354507714509964,
-0.04662693664431572,
-0.05491054058074951,
0.02461569383740425,
0.0003707727591972798,
-0.03669745847582817,
0.02899262122809887,
0.03150664269924164,
0.023657111451029778,
-0.04539705440402031,
-0.00704920431599021,
0.0037823342718183994,
-0.07021170109510422,
-0.0033618237357586622,
0.03458134084939957,
-0.01893654093146324,
0.05892574042081833,
0.019732344895601273,
-0.005683674942702055,
0.008211260661482811,
-0.004600747488439083,
0.03253757208585739,
-0.006158445030450821,
-0.019045058637857437,
0.0031538293696939945,
0.006701039616018534,
0.024489087983965874,
-0.03986259549856186,
0.020419631153345108,
-0.08261902630329132,
0.025447672232985497,
-0.024380570277571678,
0.013664333149790764,
-0.0003119917237199843,
0.020401544868946075,
0.0235305055975914,
-0.04391396418213844,
0.00575602101162076,
0.039030615240335464,
-0.034219611436128616,
-0.07046490907669067,
0.044999152421951294,
-0.00016687600873410702,
-0.019406789913773537,
0.012624360620975494,
-0.018864193931221962,
0.005462115630507469,
-0.025881746783852577,
-0.02188463695347309,
0.021269695833325386,
0.030457625165581703,
0.02872132509946823,
0.022174019366502762,
-0.022499576210975647,
0.011231701821088791,
-0.012117939069867134,
0.08334248512983322,
0.011195529252290726,
-0.016512952744960785,
-0.019045058637857437,
0.030113982036709785,
0.034201525151729584,
0.03317059576511383,
-0.019298270344734192,
-0.048471756279468536,
0.03295356035232544,
-0.004901435226202011,
-0.04228617995977402,
0.06728169322013855,
0.039609383791685104,
-0.02640625461935997,
0.003988068085163832,
0.031398121267557144,
0.020817534998059273,
-0.032917387783527374,
-0.05042509734630585,
0.05798524245619774,
0.028305334970355034,
-0.029119227081537247,
0.044926807284355164,
-0.011774295940995216,
-0.0028350551147013903,
-0.011466826312243938,
0.016323044896125793,
-0.027256319299340248,
-0.0382709838449955,
0.06109611690044403,
0.018176909536123276,
-0.03725814074277878,
-0.046663109213113785,
0.0034454737324267626,
-0.04304581508040428,
-0.04604816809296608,
0.03043953888118267,
-0.02669563889503479,
0.02114308997988701,
-0.03474412113428116,
0.04022432491183281,
-0.10113957524299622,
0.039319999516010284,
-0.03553992509841919,
-0.011882814578711987,
-0.06446020305156708,
0.0447821170091629,
-0.005796715617179871,
0.019605740904808044,
-0.00176795304287225,
-0.00411919504404068,
-0.03790925443172455,
-0.011783339083194733,
0.09021534025669098,
-0.013031305745244026,
-0.0007573711918666959,
0.019822778180241585,
0.01761622726917267,
-0.025357238948345184,
-0.05617659538984299,
0.03007780946791172,
-0.03512393683195114,
0.024579521268606186,
-0.03199497610330582,
-0.009269319474697113,
0.02157716639339924,
-0.03166941925883293,
0.005095864646136761,
-0.0389944426715374,
0.0019748171325773,
0.01428831648081541,
-0.004910478368401527,
-0.05878104642033577,
0.014659089036285877,
0.028667064383625984,
-0.013194084167480469,
0.01389041356742382,
-0.03322485834360123,
-0.026749897748231888,
-0.04525236412882805,
-0.0463375523686409,
0.013763808645308018,
-0.03986259549856186,
-0.039030615240335464,
-0.02850428596138954,
0.0015396112576127052,
-0.05154645815491676,
0.08478940278291702,
-0.0706457793712616,
-0.01819499582052231,
-0.006357396487146616,
-0.05744265019893646,
-0.007189374417066574,
-0.04398630931973457,
0.009658178314566612,
0.028088297694921494,
0.006276007276028395,
0.045939650386571884,
0.040983956307172775,
-0.011846642009913921,
0.03935617208480835,
0.006045404821634293,
0.06058969721198082,
0.02553810365498066,
-0.0228070467710495,
0.04720570147037506,
-0.047241877764463425,
0.004049109760671854,
0.04152654856443405,
-0.020021729171276093,
0.028088297694921494,
-0.041273340582847595,
-0.05704474449157715,
-0.041128646582365036,
-0.029408609494566917,
0.002941313199698925,
0.011964203789830208,
0.04662693664431572,
-0.04232235625386238,
-0.00045131408842280507,
-0.06442403048276901,
-0.013582943938672543,
-0.005548026412725449,
-0.03619103878736496,
0.021559080109000206,
-0.1242179200053215,
0.04156272113323212,
0.012732879258692265,
0.05024423077702522,
-0.006140358746051788,
-0.07697604596614838,
-0.025809401646256447,
0.0772654265165329,
-0.07089898735284805,
-0.05530844256281853,
-0.017742833122611046,
0.015355418436229229,
-0.03913913294672966,
0.016241654753684998,
-0.00888045970350504,
-0.011322134174406528,
0.058889567852020264,
0.017543882131576538,
0.024633780121803284,
-0.04181593284010887,
0.029661821201443672,
0.059974756091833115,
-0.004225452896207571,
-0.013049392960965633,
-0.06912650913000107,
0.07372047752141953,
0.01857481151819229,
0.010797626338899136,
0.013393036089837551,
0.018954627215862274,
0.016775207594037056,
0.03483455255627632,
-0.03516010940074921,
0.02747335657477379,
0.005869061686098576,
0.07683134824037552,
0.022463403642177582,
-0.04250321909785271,
-0.008098219521343708,
0.024923164397478104,
0.012136025354266167,
0.020238766446709633,
-0.039319999516010284,
0.07827826589345932,
0.02727440558373928,
0.022987911477684975,
-0.051691148430109024,
-0.05935981497168541,
-0.04311816021800041,
0.03353232517838478,
0.001208402682095766,
-0.002988790161907673,
-0.020618582144379616,
-0.041056301444768906,
0.0011925770668312907,
0.055670175701379776,
0.06449637562036514,
-0.006741734221577644,
0.015463937073946,
-0.016277829185128212
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.