Commit 1fadce9
authored
Detect unauthorized downloads (#12)
* Work around status code 200 - Password Required
While fetching download_url from zoom without an access token, password
protected recordings return:
HTTP/2 200
content-type: text/html;charset=utf-8
<!doctype html>
<title>Password Required - Zoom</title>
zat only considers non-html so a content-type check for html detects
this.
* log download_url on failure1 parent f619b1c commit 1fadce9
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
366 | 372 | | |
367 | 373 | | |
368 | 374 | | |
| |||
0 commit comments