aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2017-02-17 23:13:51 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2017-02-17 23:13:51 +0800
commitfef51645d6c224f898ff6f44d041a458d21e8547 (patch)
tree0acf97ee5884fac9ddceffcaf178bdcf3aa5581b /youtube_dl/extractor/generic.py
parent4cead6a614b5a293e78dce5cd5eda7476f83985d (diff)
[theplatform] Recognize URLs with whitespaces (closes #12044)
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r--youtube_dl/extractor/generic.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 3db31debe..9868ca6d0 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -1501,7 +1501,12 @@ class GenericIE(InfoExtractor):
'skip_download': True,
},
'add_ie': [VideoPressIE.ie_key()],
- }
+ },
+ {
+ # ThePlatform embedded with whitespaces in URLs
+ 'url': 'http://www.golfchannel.com/topics/shows/golftalkcentral.htm',
+ 'only_matching': True,
+ },
# {
# # TODO: find another test
# # http://schema.org/VideoObject