From 07c993fde6daf51758d26509ed6f82b73858e149 Mon Sep 17 00:00:00 2001 From: Cary Jones Date: Fri, 13 Oct 2017 20:36:47 -0700 Subject: [PATCH] Fix tests for FOX --- README.md | 19 +++++++++---------- youtube_dl/extractor/fox.py | 3 ++- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 2879aad24..672bf871a 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/youtube_dl/extractor/fox.py b/youtube_dl/extractor/fox.py index 8a8220605..8df7236af 100644 --- a/youtube_dl/extractor/fox.py +++ b/youtube_dl/extractor/fox.py @@ -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',