updated dependancies + fixed lint error
Browse files- Pipfile.lock +115 -175
- pytube/cipher.py +6 -2
Pipfile.lock
CHANGED
@@ -62,54 +62,17 @@
|
|
62 |
},
|
63 |
"certifi": {
|
64 |
"hashes": [
|
65 |
-
"sha256:
|
66 |
-
"sha256:
|
67 |
-
],
|
68 |
-
"version": "==2018.
|
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:
|
110 |
-
"sha256:
|
111 |
],
|
112 |
-
"version": "==1.
|
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:
|
157 |
-
"sha256:
|
158 |
-
"sha256:
|
159 |
-
"sha256:
|
160 |
-
"sha256:
|
161 |
-
"sha256:
|
162 |
-
"sha256:
|
163 |
-
"sha256:
|
164 |
-
"sha256:
|
165 |
-
"sha256:
|
166 |
-
"sha256:
|
167 |
-
"sha256:
|
168 |
-
"sha256:
|
169 |
-
"sha256:
|
170 |
-
"sha256:
|
171 |
-
"sha256:
|
172 |
-
"sha256:
|
173 |
-
"sha256:
|
174 |
-
"sha256:
|
175 |
-
"sha256:
|
176 |
-
"sha256:
|
177 |
-
"sha256:
|
178 |
-
"sha256:
|
179 |
-
"sha256:
|
180 |
-
"sha256:
|
181 |
-
"sha256:
|
182 |
-
"sha256:
|
183 |
-
"sha256:
|
184 |
-
"sha256:
|
185 |
-
"sha256:
|
186 |
-
"sha256:
|
187 |
-
],
|
188 |
-
"version": "==4.5.
|
189 |
},
|
190 |
"coveralls": {
|
191 |
"hashes": [
|
@@ -221,31 +151,40 @@
|
|
221 |
},
|
222 |
"flake8": {
|
223 |
"hashes": [
|
224 |
-
"sha256:
|
225 |
-
"sha256:
|
226 |
],
|
227 |
"index": "pypi",
|
228 |
-
"version": "==3.
|
229 |
},
|
230 |
-
"
|
231 |
"hashes": [
|
232 |
-
"sha256:
|
|
|
233 |
],
|
234 |
-
"version": "==
|
235 |
},
|
236 |
-
"
|
237 |
"hashes": [
|
238 |
-
"sha256:
|
239 |
-
"sha256:
|
240 |
],
|
241 |
-
"version": "==
|
242 |
},
|
243 |
-
"
|
244 |
"hashes": [
|
245 |
-
"sha256:
|
246 |
-
"sha256:
|
247 |
],
|
248 |
-
"version": "==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
},
|
250 |
"mccabe": {
|
251 |
"hashes": [
|
@@ -264,32 +203,32 @@
|
|
264 |
},
|
265 |
"more-itertools": {
|
266 |
"hashes": [
|
267 |
-
"sha256:
|
268 |
-
"sha256:
|
269 |
-
"sha256:
|
270 |
],
|
271 |
-
"version": "==
|
272 |
},
|
273 |
"nodeenv": {
|
274 |
"hashes": [
|
275 |
-
"sha256:
|
276 |
],
|
277 |
-
"version": "==1.3.
|
278 |
},
|
279 |
"pathlib2": {
|
280 |
"hashes": [
|
281 |
-
"sha256:
|
282 |
-
"sha256:
|
283 |
],
|
284 |
"index": "pypi",
|
285 |
-
"version": "==2.3.
|
286 |
},
|
287 |
"pbr": {
|
288 |
"hashes": [
|
289 |
-
"sha256:
|
290 |
-
"sha256:
|
291 |
],
|
292 |
-
"version": "==5.
|
293 |
},
|
294 |
"pkginfo": {
|
295 |
"hashes": [
|
@@ -307,11 +246,11 @@
|
|
307 |
},
|
308 |
"pre-commit": {
|
309 |
"hashes": [
|
310 |
-
"sha256:
|
311 |
-
"sha256:
|
312 |
],
|
313 |
"index": "pypi",
|
314 |
-
"version": "==1.
|
315 |
},
|
316 |
"py": {
|
317 |
"hashes": [
|
@@ -322,38 +261,32 @@
|
|
322 |
},
|
323 |
"pycodestyle": {
|
324 |
"hashes": [
|
325 |
-
"sha256:
|
326 |
-
"sha256:
|
327 |
-
],
|
328 |
-
"version": "==2.3.1"
|
329 |
-
},
|
330 |
-
"pycparser": {
|
331 |
-
"hashes": [
|
332 |
-
"sha256:a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3"
|
333 |
],
|
334 |
-
"version": "==2.
|
335 |
},
|
336 |
"pyflakes": {
|
337 |
"hashes": [
|
338 |
-
"sha256:
|
339 |
-
"sha256:
|
340 |
],
|
341 |
-
"version": "==
|
342 |
},
|
343 |
"pygments": {
|
344 |
"hashes": [
|
345 |
-
"sha256:
|
346 |
-
"sha256:
|
347 |
],
|
348 |
-
"version": "==2.
|
349 |
},
|
350 |
"pytest": {
|
351 |
"hashes": [
|
352 |
-
"sha256:
|
353 |
-
"sha256:
|
354 |
],
|
355 |
"index": "pypi",
|
356 |
-
"version": "==
|
357 |
},
|
358 |
"pytest-cov": {
|
359 |
"hashes": [
|
@@ -389,17 +322,17 @@
|
|
389 |
},
|
390 |
"readme-renderer": {
|
391 |
"hashes": [
|
392 |
-
"sha256:
|
393 |
-
"sha256:
|
394 |
],
|
395 |
-
"version": "==
|
396 |
},
|
397 |
"requests": {
|
398 |
"hashes": [
|
399 |
-
"sha256:
|
400 |
-
"sha256:
|
401 |
],
|
402 |
-
"version": "==2.
|
403 |
},
|
404 |
"requests-toolbelt": {
|
405 |
"hashes": [
|
@@ -427,10 +360,10 @@
|
|
427 |
},
|
428 |
"six": {
|
429 |
"hashes": [
|
430 |
-
"sha256:
|
431 |
-
"sha256:
|
432 |
],
|
433 |
-
"version": "==1.
|
434 |
},
|
435 |
"toml": {
|
436 |
"hashes": [
|
@@ -441,10 +374,10 @@
|
|
441 |
},
|
442 |
"tqdm": {
|
443 |
"hashes": [
|
444 |
-
"sha256:
|
445 |
-
"sha256:
|
446 |
],
|
447 |
-
"version": "==4.
|
448 |
},
|
449 |
"twine": {
|
450 |
"hashes": [
|
@@ -456,17 +389,17 @@
|
|
456 |
},
|
457 |
"urllib3": {
|
458 |
"hashes": [
|
459 |
-
"sha256:
|
460 |
-
"sha256:
|
461 |
],
|
462 |
-
"version": "==1.24"
|
463 |
},
|
464 |
"virtualenv": {
|
465 |
"hashes": [
|
466 |
-
"sha256:
|
467 |
-
"sha256:
|
468 |
],
|
469 |
-
"version": "==16.
|
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
|
|
|
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 =
|
|
|
|
|
|
|
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 |
|