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

View File

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