nficano commited on
Commit
2ccdca5
·
1 Parent(s): 21cb640

updated dependancies + fixed lint error

Browse files
Files changed (2) hide show
  1. Pipfile.lock +115 -175
  2. pytube/cipher.py +6 -2
Pipfile.lock CHANGED
@@ -62,54 +62,17 @@
62
  },
63
  "certifi": {
64
  "hashes": [
65
- "sha256:339dc09518b07e2fa7eda5450740925974815557727d6bd35d319c1524a04a4c",
66
- "sha256:6d58c986d22b038c8c0df30d639f23a3e6d172a05c3583e766f4c0b785c0986a"
67
- ],
68
- "version": "==2018.10.15"
69
- },
70
- "cffi": {
71
- "hashes": [
72
- "sha256:151b7eefd035c56b2b2e1eb9963c90c6302dc15fbd8c1c0a83a163ff2c7d7743",
73
- "sha256:1553d1e99f035ace1c0544050622b7bc963374a00c467edafac50ad7bd276aef",
74
- "sha256:1b0493c091a1898f1136e3f4f991a784437fac3673780ff9de3bcf46c80b6b50",
75
- "sha256:2ba8a45822b7aee805ab49abfe7eec16b90587f7f26df20c71dd89e45a97076f",
76
- "sha256:3bb6bd7266598f318063e584378b8e27c67de998a43362e8fce664c54ee52d30",
77
- "sha256:3c85641778460581c42924384f5e68076d724ceac0f267d66c757f7535069c93",
78
- "sha256:3eb6434197633b7748cea30bf0ba9f66727cdce45117a712b29a443943733257",
79
- "sha256:495c5c2d43bf6cebe0178eb3e88f9c4aa48d8934aa6e3cddb865c058da76756b",
80
- "sha256:4c91af6e967c2015729d3e69c2e51d92f9898c330d6a851bf8f121236f3defd3",
81
- "sha256:57b2533356cb2d8fac1555815929f7f5f14d68ac77b085d2326b571310f34f6e",
82
- "sha256:770f3782b31f50b68627e22f91cb182c48c47c02eb405fd689472aa7b7aa16dc",
83
- "sha256:79f9b6f7c46ae1f8ded75f68cf8ad50e5729ed4d590c74840471fc2823457d04",
84
- "sha256:7a33145e04d44ce95bcd71e522b478d282ad0eafaf34fe1ec5bbd73e662f22b6",
85
- "sha256:857959354ae3a6fa3da6651b966d13b0a8bed6bbc87a0de7b38a549db1d2a359",
86
- "sha256:87f37fe5130574ff76c17cab61e7d2538a16f843bb7bca8ebbc4b12de3078596",
87
- "sha256:95d5251e4b5ca00061f9d9f3d6fe537247e145a8524ae9fd30a2f8fbce993b5b",
88
- "sha256:9d1d3e63a4afdc29bd76ce6aa9d58c771cd1599fbba8cf5057e7860b203710dd",
89
- "sha256:a36c5c154f9d42ec176e6e620cb0dd275744aa1d804786a71ac37dc3661a5e95",
90
- "sha256:a6a5cb8809091ec9ac03edde9304b3ad82ad4466333432b16d78ef40e0cce0d5",
91
- "sha256:ae5e35a2c189d397b91034642cb0eab0e346f776ec2eb44a49a459e6615d6e2e",
92
- "sha256:b0f7d4a3df8f06cf49f9f121bead236e328074de6449866515cea4907bbc63d6",
93
- "sha256:b75110fb114fa366b29a027d0c9be3709579602ae111ff61674d28c93606acca",
94
- "sha256:ba5e697569f84b13640c9e193170e89c13c6244c24400fc57e88724ef610cd31",
95
- "sha256:be2a9b390f77fd7676d80bc3cdc4f8edb940d8c198ed2d8c0be1319018c778e1",
96
- "sha256:ca1bd81f40adc59011f58159e4aa6445fc585a32bb8ac9badf7a2c1aa23822f2",
97
- "sha256:d5d8555d9bfc3f02385c1c37e9f998e2011f0db4f90e250e5bc0c0a85a813085",
98
- "sha256:e55e22ac0a30023426564b1059b035973ec82186ddddbac867078435801c7801",
99
- "sha256:e90f17980e6ab0f3c2f3730e56d1fe9bcba1891eeea58966e89d352492cc74f4",
100
- "sha256:ecbb7b01409e9b782df5ded849c178a0aa7c906cf8c5a67368047daab282b184",
101
- "sha256:ed01918d545a38998bfa5902c7c00e0fee90e957ce036a4000a88e3fe2264917",
102
- "sha256:edabd457cd23a02965166026fd9bfd196f4324fe6032e866d0f3bd0301cd486f",
103
- "sha256:fdf1c1dc5bafc32bc5d08b054f94d659422b05aba244d6be4ddc1c72d9aa70fb"
104
- ],
105
- "version": "==1.11.5"
106
  },
107
  "cfgv": {
108
  "hashes": [
109
- "sha256:73f48a752bd7aab103c4b882d6596c6360b7aa63b34073dd2c35c7b4b8f93010",
110
- "sha256:d1791caa9ff5c0c7bce80e7ecc1921752a2eb7c2463a08ed9b6c96b85a2f75aa"
111
  ],
112
- "version": "==1.1.0"
113
  },
114
  "chardet": {
115
  "hashes": [
@@ -118,74 +81,41 @@
118
  ],
119
  "version": "==3.0.4"
120
  },
121
- "cmarkgfm": {
122
- "hashes": [
123
- "sha256:0186dccca79483e3405217993b83b914ba4559fe9a8396efc4eea56561b74061",
124
- "sha256:1a625afc6f62da428df96ec325dc30866cc5781520cbd904ff4ec44cf018171c",
125
- "sha256:207b7673ff4e177374c572feeae0e4ef33be620ec9171c08fd22e2b796e03e3d",
126
- "sha256:275905bb371a99285c74931700db3f0c078e7603bed383e8cf1a09f3ee05a3de",
127
- "sha256:50098f1c4950722521f0671e54139e0edc1837d63c990cf0f3d2c49607bb51a2",
128
- "sha256:50ed116d0b60a07df0dc7b180c28569064b9d37d1578d4c9021cff04d725cb63",
129
- "sha256:61a72def110eed903cd1848245897bcb80d295cd9d13944d4f9f30cba5b76655",
130
- "sha256:64186fb75d973a06df0e6ea12879533b71f6e7ba1ab01ffee7fc3e7534758889",
131
- "sha256:665303d34d7f14f10d7b0651082f25ebf7107f29ef3d699490cac16cdc0fc8ce",
132
- "sha256:70b18f843aec58e4e64aadce48a897fe7c50426718b7753aaee399e72df64190",
133
- "sha256:761ee7b04d1caee2931344ac6bfebf37102ffb203b136b676b0a71a3f0ea3c87",
134
- "sha256:811527e9b7280b136734ed6cb6845e5fbccaeaa132ddf45f0246cbe544016957",
135
- "sha256:987b0e157f70c72a84f3c2f9ef2d7ab0f26c08f2bf326c12c087ff9eebcb3ff5",
136
- "sha256:9fc6a2183d0a9b0974ec7cdcdad42bd78a3be674cc3e65f87dd694419b3b0ab7",
137
- "sha256:a3d17ee4ae739fe16f7501a52255c2e287ac817cfd88565b9859f70520afffea",
138
- "sha256:ba5b5488719c0f2ced0aa1986376f7baff1a1653a8eb5fdfcf3f84c7ce46ef8d",
139
- "sha256:c573ea89dd95d41b6d8cf36799c34b6d5b1eac4aed0212dee0f0a11fb7b01e8f",
140
- "sha256:c5f1b9e8592d2c448c44e6bc0d91224b16ea5f8293908b1561de1f6d2d0658b1",
141
- "sha256:cbe581456357d8f0674d6a590b1aaf46c11d01dd0a23af147a51a798c3818034",
142
- "sha256:cf219bec69e601fe27e3974b7307d2f06082ab385d42752738ad2eb630a47d65",
143
- "sha256:cf5014eb214d814a83a7a47407272d5db10b719dbeaf4d3cfe5969309d0fcf4b",
144
- "sha256:d08bad67fa18f7e8ff738c090628ee0cbf0505d74a991c848d6d04abfe67b697",
145
- "sha256:d6f716d7b1182bf35862b5065112f933f43dd1aa4f8097c9bcfb246f71528a34",
146
- "sha256:e08e479102627641c7cb4ece421c6ed4124820b1758765db32201136762282d9",
147
- "sha256:e20ac21418af0298437d29599f7851915497ce9f2866bc8e86b084d8911ee061",
148
- "sha256:e25f53c37e319241b9a412382140dffac98ca756ba8f360ac7ab5e30cad9670a",
149
- "sha256:e8932bddf159064f04e946fbb64693753488de21586f20e840b3be51745c8c09",
150
- "sha256:f20900f16377f2109783ae9348d34bc80530808439591c3d3df73d5c7ef1a00c"
151
- ],
152
- "version": "==0.4.2"
153
- },
154
  "coverage": {
155
  "hashes": [
156
- "sha256:03481e81d558d30d230bc12999e3edffe392d244349a90f4ef9b88425fac74ba",
157
- "sha256:0b136648de27201056c1869a6c0d4e23f464750fd9a9ba9750b8336a244429ed",
158
- "sha256:10a46017fef60e16694a30627319f38a2b9b52e90182dddb6e37dcdab0f4bf95",
159
- "sha256:198626739a79b09fa0a2f06e083ffd12eb55449b5f8bfdbeed1df4910b2ca640",
160
- "sha256:23d341cdd4a0371820eb2b0bd6b88f5003a7438bbedb33688cd33b8eae59affd",
161
- "sha256:28b2191e7283f4f3568962e373b47ef7f0392993bb6660d079c62bd50fe9d162",
162
- "sha256:2a5b73210bad5279ddb558d9a2bfedc7f4bf6ad7f3c988641d83c40293deaec1",
163
- "sha256:2eb564bbf7816a9d68dd3369a510be3327f1c618d2357fa6b1216994c2e3d508",
164
- "sha256:337ded681dd2ef9ca04ef5d93cfc87e52e09db2594c296b4a0a3662cb1b41249",
165
- "sha256:3a2184c6d797a125dca8367878d3b9a178b6fdd05fdc2d35d758c3006a1cd694",
166
- "sha256:3c79a6f7b95751cdebcd9037e4d06f8d5a9b60e4ed0cd231342aa8ad7124882a",
167
- "sha256:3d72c20bd105022d29b14a7d628462ebdc61de2f303322c0212a054352f3b287",
168
- "sha256:3eb42bf89a6be7deb64116dd1cc4b08171734d721e7a7e57ad64cc4ef29ed2f1",
169
- "sha256:4635a184d0bbe537aa185a34193898eee409332a8ccb27eea36f262566585000",
170
- "sha256:56e448f051a201c5ebbaa86a5efd0ca90d327204d8b059ab25ad0f35fbfd79f1",
171
- "sha256:5a13ea7911ff5e1796b6d5e4fbbf6952381a611209b736d48e675c2756f3f74e",
172
- "sha256:69bf008a06b76619d3c3f3b1983f5145c75a305a0fea513aca094cae5c40a8f5",
173
- "sha256:6bc583dc18d5979dc0f6cec26a8603129de0304d5ae1f17e57a12834e7235062",
174
- "sha256:701cd6093d63e6b8ad7009d8a92425428bc4d6e7ab8d75efbb665c806c1d79ba",
175
- "sha256:7608a3dd5d73cb06c531b8925e0ef8d3de31fed2544a7de6c63960a1e73ea4bc",
176
- "sha256:76ecd006d1d8f739430ec50cc872889af1f9c1b6b8f48e29941814b09b0fd3cc",
177
- "sha256:7aa36d2b844a3e4a4b356708d79fd2c260281a7390d678a10b91ca595ddc9e99",
178
- "sha256:7d3f553904b0c5c016d1dad058a7554c7ac4c91a789fca496e7d8347ad040653",
179
- "sha256:7e1fe19bd6dce69d9fd159d8e4a80a8f52101380d5d3a4d374b6d3eae0e5de9c",
180
- "sha256:8c3cb8c35ec4d9506979b4cf90ee9918bc2e49f84189d9bf5c36c0c1119c6558",
181
- "sha256:9d6dd10d49e01571bf6e147d3b505141ffc093a06756c60b053a859cb2128b1f",
182
- "sha256:be6cfcd8053d13f5f5eeb284aa8a814220c3da1b0078fa859011c7fffd86dab9",
183
- "sha256:c1bb572fab8208c400adaf06a8133ac0712179a334c09224fb11393e920abcdd",
184
- "sha256:de4418dadaa1c01d497e539210cb6baa015965526ff5afc078c57ca69160108d",
185
- "sha256:e05cb4d9aad6233d67e0541caa7e511fa4047ed7750ec2510d466e806e0255d6",
186
- "sha256:f3f501f345f24383c0000395b26b726e46758b71393267aeae0bd36f8b3ade80"
187
- ],
188
- "version": "==4.5.1"
189
  },
190
  "coveralls": {
191
  "hashes": [
@@ -221,31 +151,40 @@
221
  },
222
  "flake8": {
223
  "hashes": [
224
- "sha256:7253265f7abd8b313e3892944044a365e3f4ac3fcdcfb4298f55ee9ddf188ba0",
225
- "sha256:c7841163e2b576d435799169b78703ad6ac1bbb0f199994fc05f700b2a90ea37"
226
  ],
227
  "index": "pypi",
228
- "version": "==3.5.0"
229
  },
230
- "future": {
231
  "hashes": [
232
- "sha256:e39ced1ab767b5936646cedba8bcce582398233d6a627067d4c6a454c90cfedb"
 
233
  ],
234
- "version": "==0.16.0"
235
  },
236
- "identify": {
237
  "hashes": [
238
- "sha256:5e956558a9a1e3b3891d7c6609fc9709657a11878af288ace484d1a46a93922b",
239
- "sha256:623086059219cc7b86c77a3891f3700cb175d4ce02b8fb8802b047301d71e783"
240
  ],
241
- "version": "==1.1.7"
242
  },
243
- "idna": {
244
  "hashes": [
245
- "sha256:156a6814fb5ac1fc6850fb002e0852d56c0c8d2531923a51032d1b70760e186e",
246
- "sha256:684a38a6f903c1d71d6d5fac066b58d7768af4de2b832e426ec79c30daa94a16"
247
  ],
248
- "version": "==2.7"
 
 
 
 
 
 
 
 
249
  },
250
  "mccabe": {
251
  "hashes": [
@@ -264,32 +203,32 @@
264
  },
265
  "more-itertools": {
266
  "hashes": [
267
- "sha256:c187a73da93e7a8acc0001572aebc7e3c69daf7bf6881a2cea10650bd4420092",
268
- "sha256:c476b5d3a34e12d40130bc2f935028b5f636df8f372dc2c1c01dc19681b2039e",
269
- "sha256:fcbfeaea0be121980e15bc97b3817b5202ca73d0eae185b4550cbfce2a3ebb3d"
270
  ],
271
- "version": "==4.3.0"
272
  },
273
  "nodeenv": {
274
  "hashes": [
275
- "sha256:aa040ab5189bae17d272175609010be6c5b589ec4b8dbd832cc50c9e9cb7496f"
276
  ],
277
- "version": "==1.3.2"
278
  },
279
  "pathlib2": {
280
  "hashes": [
281
- "sha256:8eb170f8d0d61825e09a95b38be068299ddeda82f35e96c3301a8a5e7604cb83",
282
- "sha256:d1aa2a11ba7b8f7b21ab852b1fb5afb277e1bb99d5dfc663380b5015c0d80c5a"
283
  ],
284
  "index": "pypi",
285
- "version": "==2.3.2"
286
  },
287
  "pbr": {
288
  "hashes": [
289
- "sha256:ab94783019179bf48f5784edc63f5bc8328ec5ff93f33591567f266d21ac7323",
290
- "sha256:bfcff1a3878eebf559392c2130a17f612a03f96a0d44c3559d9c1e62a4235a2d"
291
  ],
292
- "version": "==5.0.0"
293
  },
294
  "pkginfo": {
295
  "hashes": [
@@ -307,11 +246,11 @@
307
  },
308
  "pre-commit": {
309
  "hashes": [
310
- "sha256:98ec318db1f255e3d5089ae416959ef3c775215a3509620027d446eeabbba740",
311
- "sha256:b68f9219c56b50ebafb57f378c5325f9876d06fb29e9cd05daf5cbd6676ce8f2"
312
  ],
313
  "index": "pypi",
314
- "version": "==1.11.2"
315
  },
316
  "py": {
317
  "hashes": [
@@ -322,38 +261,32 @@
322
  },
323
  "pycodestyle": {
324
  "hashes": [
325
- "sha256:682256a5b318149ca0d2a9185d365d8864a768a28db66a84a2ea946bcc426766",
326
- "sha256:6c4245ade1edfad79c3446fadfc96b0de2759662dc29d07d80a6f27ad1ca6ba9"
327
- ],
328
- "version": "==2.3.1"
329
- },
330
- "pycparser": {
331
- "hashes": [
332
- "sha256:a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3"
333
  ],
334
- "version": "==2.19"
335
  },
336
  "pyflakes": {
337
  "hashes": [
338
- "sha256:08bd6a50edf8cffa9fa09a463063c425ecaaf10d1eb0335a7e8b1401aef89e6f",
339
- "sha256:8d616a382f243dbf19b54743f280b80198be0bca3a5396f1d2e1fca6223e8805"
340
  ],
341
- "version": "==1.6.0"
342
  },
343
  "pygments": {
344
  "hashes": [
345
- "sha256:78f3f434bcc5d6ee09020f92ba487f95ba50f1e3ef83ae96b9d5ffa1bab25c5d",
346
- "sha256:dbae1046def0efb574852fab9e90209b23f556367b5a320c0bcb871c77c3e8cc"
347
  ],
348
- "version": "==2.2.0"
349
  },
350
  "pytest": {
351
  "hashes": [
352
- "sha256:10e59f84267370ab20cec9305bafe7505ba4d6b93ecbf66a1cce86193ed511d5",
353
- "sha256:8c827e7d4816dfe13e9329c8226aef8e6e75d65b939bc74fda894143b6d1df59"
354
  ],
355
  "index": "pypi",
356
- "version": "==3.9.1"
357
  },
358
  "pytest-cov": {
359
  "hashes": [
@@ -389,17 +322,17 @@
389
  },
390
  "readme-renderer": {
391
  "hashes": [
392
- "sha256:237ca8705ffea849870de41101dba41543561da05c0ae45b2f1c547efa9843d2",
393
- "sha256:f75049a3a7afa57165551e030dd8f9882ebf688b9600535a3f7e23596651875d"
394
  ],
395
- "version": "==22.0"
396
  },
397
  "requests": {
398
  "hashes": [
399
- "sha256:99dcfdaaeb17caf6e526f32b6a7b780461512ab3f1d992187801694cba42770c",
400
- "sha256:a84b8c9ab6239b578f22d1c21d51b696dcfe004032bb80ea832398d6909d7279"
401
  ],
402
- "version": "==2.20.0"
403
  },
404
  "requests-toolbelt": {
405
  "hashes": [
@@ -427,10 +360,10 @@
427
  },
428
  "six": {
429
  "hashes": [
430
- "sha256:70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9",
431
- "sha256:832dc0e10feb1aa2c68dcc57dbb658f1c7e65b9b61af69048abc87a2db00a0eb"
432
  ],
433
- "version": "==1.11.0"
434
  },
435
  "toml": {
436
  "hashes": [
@@ -441,10 +374,10 @@
441
  },
442
  "tqdm": {
443
  "hashes": [
444
- "sha256:a0be569511161220ff709a5b60d0890d47921f746f1c737a11d965e1b29e7b2e",
445
- "sha256:e293e6d7a7f41a529a27f8d6624ab11544ccbfe82a205af6fad102545099fc21"
446
  ],
447
- "version": "==4.27.0"
448
  },
449
  "twine": {
450
  "hashes": [
@@ -456,17 +389,17 @@
456
  },
457
  "urllib3": {
458
  "hashes": [
459
- "sha256:41c3db2fc01e5b907288010dec72f9d0a74e37d6994e6eb56849f59fea2265ae",
460
- "sha256:8819bba37a02d143296a4d032373c4dd4aca11f6d4c9973335ca75f9c8475f59"
461
  ],
462
- "version": "==1.24"
463
  },
464
  "virtualenv": {
465
  "hashes": [
466
- "sha256:2ce32cd126117ce2c539f0134eb89de91a8413a29baac49cbab3eb50e2026669",
467
- "sha256:ca07b4c0b54e14a91af9f34d0919790b016923d157afda5efdde55c96718f752"
468
  ],
469
- "version": "==16.0.0"
470
  },
471
  "webencodings": {
472
  "hashes": [
@@ -474,6 +407,13 @@
474
  "sha256:b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923"
475
  ],
476
  "version": "==0.5.1"
 
 
 
 
 
 
 
477
  }
478
  }
479
  }
 
62
  },
63
  "certifi": {
64
  "hashes": [
65
+ "sha256:47f9c83ef4c0c621eaef743f133f09fa8a74a9b75f037e8624f83bd1b6626cb7",
66
+ "sha256:993f830721089fef441cdfeb4b2c8c9df86f0c63239f06bd025a76a7daddb033"
67
+ ],
68
+ "version": "==2018.11.29"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  },
70
  "cfgv": {
71
  "hashes": [
72
+ "sha256:4e9f92594621a43304928415936a0da1b8d3ced23b0ca8c38e9865343920143c",
73
+ "sha256:f2756f6dc1af3762a996b39f20c28b4731b6006e992017442a5fc93e81650791"
74
  ],
75
+ "version": "==1.3.0"
76
  },
77
  "chardet": {
78
  "hashes": [
 
81
  ],
82
  "version": "==3.0.4"
83
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  "coverage": {
85
  "hashes": [
86
+ "sha256:09e47c529ff77bf042ecfe858fb55c3e3eb97aac2c87f0349ab5a7efd6b3939f",
87
+ "sha256:0a1f9b0eb3aa15c990c328535655847b3420231af299386cfe5efc98f9c250fe",
88
+ "sha256:0cc941b37b8c2ececfed341444a456912e740ecf515d560de58b9a76562d966d",
89
+ "sha256:10e8af18d1315de936d67775d3a814cc81d0747a1a0312d84e27ae5610e313b0",
90
+ "sha256:1b4276550b86caa60606bd3572b52769860a81a70754a54acc8ba789ce74d607",
91
+ "sha256:1e8a2627c48266c7b813975335cfdea58c706fe36f607c97d9392e61502dc79d",
92
+ "sha256:2b224052bfd801beb7478b03e8a66f3f25ea56ea488922e98903914ac9ac930b",
93
+ "sha256:447c450a093766744ab53bf1e7063ec82866f27bcb4f4c907da25ad293bba7e3",
94
+ "sha256:46101fc20c6f6568561cdd15a54018bb42980954b79aa46da8ae6f008066a30e",
95
+ "sha256:4710dc676bb4b779c4361b54eb308bc84d64a2fa3d78e5f7228921eccce5d815",
96
+ "sha256:510986f9a280cd05189b42eee2b69fecdf5bf9651d4cd315ea21d24a964a3c36",
97
+ "sha256:5535dda5739257effef56e49a1c51c71f1d37a6e5607bb25a5eee507c59580d1",
98
+ "sha256:5a7524042014642b39b1fcae85fb37556c200e64ec90824ae9ecf7b667ccfc14",
99
+ "sha256:5f55028169ef85e1fa8e4b8b1b91c0b3b0fa3297c4fb22990d46ff01d22c2d6c",
100
+ "sha256:6694d5573e7790a0e8d3d177d7a416ca5f5c150742ee703f3c18df76260de794",
101
+ "sha256:6831e1ac20ac52634da606b658b0b2712d26984999c9d93f0c6e59fe62ca741b",
102
+ "sha256:77f0d9fa5e10d03aa4528436e33423bfa3718b86c646615f04616294c935f840",
103
+ "sha256:828ad813c7cdc2e71dcf141912c685bfe4b548c0e6d9540db6418b807c345ddd",
104
+ "sha256:85a06c61598b14b015d4df233d249cd5abfa61084ef5b9f64a48e997fd829a82",
105
+ "sha256:8cb4febad0f0b26c6f62e1628f2053954ad2c555d67660f28dfb1b0496711952",
106
+ "sha256:a5c58664b23b248b16b96253880b2868fb34358911400a7ba39d7f6399935389",
107
+ "sha256:aaa0f296e503cda4bc07566f592cd7a28779d433f3a23c48082af425d6d5a78f",
108
+ "sha256:ab235d9fe64833f12d1334d29b558aacedfbca2356dfb9691f2d0d38a8a7bfb4",
109
+ "sha256:b3b0c8f660fae65eac74fbf003f3103769b90012ae7a460863010539bb7a80da",
110
+ "sha256:bab8e6d510d2ea0f1d14f12642e3f35cefa47a9b2e4c7cea1852b52bc9c49647",
111
+ "sha256:c45297bbdbc8bb79b02cf41417d63352b70bcb76f1bbb1ee7d47b3e89e42f95d",
112
+ "sha256:d19bca47c8a01b92640c614a9147b081a1974f69168ecd494687c827109e8f42",
113
+ "sha256:d64b4340a0c488a9e79b66ec9f9d77d02b99b772c8b8afd46c1294c1d39ca478",
114
+ "sha256:da969da069a82bbb5300b59161d8d7c8d423bc4ccd3b410a9b4d8932aeefc14b",
115
+ "sha256:ed02c7539705696ecb7dc9d476d861f3904a8d2b7e894bd418994920935d36bb",
116
+ "sha256:ee5b8abc35b549012e03a7b1e86c09491457dba6c94112a2482b18589cc2bdb9"
117
+ ],
118
+ "version": "==4.5.2"
119
  },
120
  "coveralls": {
121
  "hashes": [
 
151
  },
152
  "flake8": {
153
  "hashes": [
154
+ "sha256:6a35f5b8761f45c5513e3405f110a86bea57982c3b75b766ce7b65217abe1670",
155
+ "sha256:c01f8a3963b3571a8e6bd7a4063359aff90749e160778e03817cd9b71c9e07d2"
156
  ],
157
  "index": "pypi",
158
+ "version": "==3.6.0"
159
  },
160
+ "identify": {
161
  "hashes": [
162
+ "sha256:08826e68e39e7de53cc2ddd8f6228a4e463b4bacb20565e5301c3ec690e68d27",
163
+ "sha256:2364e24a7699fea0dc910e90740adbab43eef3746eeea4e016029c34123ce66d"
164
  ],
165
+ "version": "==1.1.8"
166
  },
167
+ "idna": {
168
  "hashes": [
169
+ "sha256:c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407",
170
+ "sha256:ea8b7f6188e6fa117537c3df7da9fc686d485087abf6ac197f9c46432f7e4a3c"
171
  ],
172
+ "version": "==2.8"
173
  },
174
+ "importlib-metadata": {
175
  "hashes": [
176
+ "sha256:a17ce1a8c7bff1e8674cb12c992375d8d0800c9190177ecf0ad93e0097224095",
177
+ "sha256:b50191ead8c70adfa12495fba19ce6d75f2e0275c14c5a7beb653d6799b512bd"
178
  ],
179
+ "version": "==0.8"
180
+ },
181
+ "importlib-resources": {
182
+ "hashes": [
183
+ "sha256:6e2783b2538bd5a14678284a3962b0660c715e5a0f10243fd5e00a4b5974f50b",
184
+ "sha256:d3279fd0f6f847cced9f7acc19bd3e5df54d34f93a2e7bb5f238f81545787078"
185
+ ],
186
+ "markers": "python_version < '3.7'",
187
+ "version": "==1.0.2"
188
  },
189
  "mccabe": {
190
  "hashes": [
 
203
  },
204
  "more-itertools": {
205
  "hashes": [
206
+ "sha256:38a936c0a6d98a38bcc2d03fdaaedaba9f412879461dd2ceff8d37564d6522e4",
207
+ "sha256:c0a5785b1109a6bd7fac76d6837fd1feca158e54e521ccd2ae8bfe393cc9d4fc",
208
+ "sha256:fe7a7cae1ccb57d33952113ff4fa1bc5f879963600ed74918f1236e212ee50b9"
209
  ],
210
+ "version": "==5.0.0"
211
  },
212
  "nodeenv": {
213
  "hashes": [
214
+ "sha256:ad8259494cf1c9034539f6cced78a1da4840a4b157e23640bc4a0c0546b0cb7a"
215
  ],
216
+ "version": "==1.3.3"
217
  },
218
  "pathlib2": {
219
  "hashes": [
220
+ "sha256:25199318e8cc3c25dcb45cbe084cc061051336d5a9ea2a12448d3d8cb748f742",
221
+ "sha256:5887121d7f7df3603bca2f710e7219f3eca0eb69e0b7cc6e0a022e155ac931a7"
222
  ],
223
  "index": "pypi",
224
+ "version": "==2.3.3"
225
  },
226
  "pbr": {
227
  "hashes": [
228
+ "sha256:f59d71442f9ece3dffc17bc36575768e1ee9967756e6b6535f0ee1f0054c3d68",
229
+ "sha256:f6d5b23f226a2ba58e14e49aa3b1bfaf814d0199144b95d78458212444de1387"
230
  ],
231
+ "version": "==5.1.1"
232
  },
233
  "pkginfo": {
234
  "hashes": [
 
246
  },
247
  "pre-commit": {
248
  "hashes": [
249
+ "sha256:33bb9bf599c334d458fa9e311bde54e0c306a651473b6a36fdb36a61c8605c89",
250
+ "sha256:e233f5cf3230ae9ed9ada132e9cf6890e18cc937adc669353fb64394f6e80c17"
251
  ],
252
  "index": "pypi",
253
+ "version": "==1.13.0"
254
  },
255
  "py": {
256
  "hashes": [
 
261
  },
262
  "pycodestyle": {
263
  "hashes": [
264
+ "sha256:cbc619d09254895b0d12c2c691e237b2e91e9b2ecf5e84c26b35400f93dcfb83",
265
+ "sha256:cbfca99bd594a10f674d0cd97a3d802a1fdef635d4361e1a2658de47ed261e3a"
 
 
 
 
 
 
266
  ],
267
+ "version": "==2.4.0"
268
  },
269
  "pyflakes": {
270
  "hashes": [
271
+ "sha256:9a7662ec724d0120012f6e29d6248ae3727d821bba522a0e6b356eff19126a49",
272
+ "sha256:f661252913bc1dbe7fcfcbf0af0db3f42ab65aabd1a6ca68fe5d466bace94dae"
273
  ],
274
+ "version": "==2.0.0"
275
  },
276
  "pygments": {
277
  "hashes": [
278
+ "sha256:5ffada19f6203563680669ee7f53b64dabbeb100eb51b61996085e99c03b284a",
279
+ "sha256:e8218dd399a61674745138520d0d4cf2621d7e032439341bc3f647bff125818d"
280
  ],
281
+ "version": "==2.3.1"
282
  },
283
  "pytest": {
284
  "hashes": [
285
+ "sha256:f689bf2fc18c4585403348dd56f47d87780bf217c53ed9ae7a3e2d7faa45f8e9",
286
+ "sha256:f812ea39a0153566be53d88f8de94839db1e8a05352ed8a49525d7d7f37861e9"
287
  ],
288
  "index": "pypi",
289
+ "version": "==4.0.2"
290
  },
291
  "pytest-cov": {
292
  "hashes": [
 
322
  },
323
  "readme-renderer": {
324
  "hashes": [
325
+ "sha256:bb16f55b259f27f75f640acf5e00cf897845a8b3e4731b5c1a436e4b8529202f",
326
+ "sha256:c8532b79afc0375a85f10433eca157d6b50f7d6990f337fa498c96cd4bfc203d"
327
  ],
328
+ "version": "==24.0"
329
  },
330
  "requests": {
331
  "hashes": [
332
+ "sha256:502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e",
333
+ "sha256:7bf2a778576d825600030a110f3c0e3e8edc51dfaafe1c146e39a2027784957b"
334
  ],
335
+ "version": "==2.21.0"
336
  },
337
  "requests-toolbelt": {
338
  "hashes": [
 
360
  },
361
  "six": {
362
  "hashes": [
363
+ "sha256:3350809f0555b11f552448330d0b52d5f24c91a322ea4a15ef22629740f3761c",
364
+ "sha256:d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73"
365
  ],
366
+ "version": "==1.12.0"
367
  },
368
  "toml": {
369
  "hashes": [
 
374
  },
375
  "tqdm": {
376
  "hashes": [
377
+ "sha256:3c4d4a5a41ef162dd61f1edb86b0e1c7859054ab656b2e7c7b77e7fbf6d9f392",
378
+ "sha256:5b4d5549984503050883bc126280b386f5f4ca87e6c023c5d015655ad75bdebb"
379
  ],
380
+ "version": "==4.28.1"
381
  },
382
  "twine": {
383
  "hashes": [
 
389
  },
390
  "urllib3": {
391
  "hashes": [
392
+ "sha256:61bf29cada3fc2fbefad4fdf059ea4bd1b4a86d2b6d15e1c7c0b582b9752fe39",
393
+ "sha256:de9529817c93f27c8ccbfead6985011db27bd0ddfcdb2d86f3f663385c6a9c22"
394
  ],
395
+ "version": "==1.24.1"
396
  },
397
  "virtualenv": {
398
  "hashes": [
399
+ "sha256:34b9ae3742abed2f95d3970acf4d80533261d6061b51160b197f84e5b4c98b4c",
400
+ "sha256:fa736831a7b18bd2bfeef746beb622a92509e9733d645952da136b0639cd40cd"
401
  ],
402
+ "version": "==16.2.0"
403
  },
404
  "webencodings": {
405
  "hashes": [
 
407
  "sha256:b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923"
408
  ],
409
  "version": "==0.5.1"
410
+ },
411
+ "zipp": {
412
+ "hashes": [
413
+ "sha256:55ca87266c38af6658b84db8cfb7343cdb0bf275f93c7afaea0d8e7a209c7478",
414
+ "sha256:682b3e1c62b7026afe24eadf6be579fb45fec54c07ea218bded8092af07a68c4"
415
+ ],
416
+ "version": "==0.3.3"
417
  }
418
  }
419
  }
pytube/cipher.py CHANGED
@@ -28,14 +28,18 @@ logger = logging.getLogger(__name__)
28
 
29
 
30
  def get_initial_function_name(js):
31
- """Extract the name of the function responsible for computing the signature.
 
32
 
33
  :param str js:
34
  The contents of the base.js asset file.
35
 
36
  """
37
  # c&&d.set("signature", EE(c));
38
- pattern = r'\bc\s*&&\s*d\.set\([^,]+\s*,\s*\([^)]*\)\s*\(\s*(?P<sig>[a-zA-Z0-9$]+)\('
 
 
 
39
  logger.debug('finding initial function name')
40
  return regex_search(pattern, js, group=1)
41
 
 
28
 
29
 
30
  def get_initial_function_name(js):
31
+ """Extract the name of the function responsible for computing the
32
+ signature.
33
 
34
  :param str js:
35
  The contents of the base.js asset file.
36
 
37
  """
38
  # c&&d.set("signature", EE(c));
39
+ pattern = (
40
+ r'\bc\s*&&\s*d\.set\([^,]+\s*,'
41
+ r'\s*\([^)]*\)\s*\(\s*(?P<sig>[a-zA-Z0-9$]+)\('
42
+ )
43
  logger.debug('finding initial function name')
44
  return regex_search(pattern, js, group=1)
45