1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-23 23:25:38 +08:00

Fix tests for FOX

This commit is contained in:
Cary Jones 2017-10-13 20:36:47 -07:00
parent be62d0777a
commit 07c993fde6
2 changed files with 11 additions and 11 deletions

View File

@ -75,8 +75,8 @@ Alternatively, refer to the [developer instructions](#developer-instructions) fo
repairs broken URLs, but emits an error if
this is not possible instead of searching.
--ignore-config Do not read configuration files. When given
in the global configuration file
/etc/youtube-dl.conf: Do not read the user
in the global configuration file /etc
/youtube-dl.conf: Do not read the user
configuration in ~/.config/youtube-
dl/config (%APPDATA%/youtube-dl/config.txt
on Windows)
@ -106,8 +106,8 @@ Alternatively, refer to the [developer instructions](#developer-instructions) fo
proxy specified by --proxy (or none, if the
options is not present) is used for the
actual downloading.
--geo-bypass Bypass geographic restriction via faking
X-Forwarded-For HTTP header (experimental)
--geo-bypass Bypass geographic restriction via faking X
-Forwarded-For HTTP header (experimental)
--no-geo-bypass Do not bypass geographic restriction via
faking X-Forwarded-For HTTP header
(experimental)
@ -247,12 +247,11 @@ Alternatively, refer to the [developer instructions](#developer-instructions) fo
jar in
--cache-dir DIR Location in the filesystem where youtube-dl
can store some downloaded information
permanently. By default
$XDG_CACHE_HOME/youtube-dl or
~/.cache/youtube-dl . At the moment, only
YouTube player files (for videos with
obfuscated signatures) are cached, but that
may change.
permanently. By default $XDG_CACHE_HOME
/youtube-dl or ~/.cache/youtube-dl . At the
moment, only YouTube player files (for
videos with obfuscated signatures) are
cached, but that may change.
--no-cache-dir Disable filesystem caching
--rm-cache-dir Delete all filesystem cache files

View File

@ -22,7 +22,8 @@ class FOXIE(AdobePassIE):
'url': 'https://www.fox.com/watch/4b765a60490325103ea69888fb2bd4e8/',
'md5': 'ebd296fcc41dd4b19f8115d8461a3165',
'info_dict': {
'id': '4b765a60490325103ea69888fb2bd4e8',
'id': '61625a1525bd4655835ad8f1e2e253c5',
'uploader_id': 'd8e6eec26bf544f084bad49a7fa2eac5',
'ext': 'mp4',
'title': 'Aftermath: Bruce Wayne Develops Into The Dark Knight',
'description': 'md5:549cd9c70d413adb32ce2a779b53b486',