aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/discoverygo.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-08-17 11:03:09 +0100
committerRemita Amine <remitamine@gmail.com>2016-08-17 11:03:09 +0100
commit7273e5849b27cb7d0f4d5f40e7801cab2da85ae3 (patch)
tree4de6e2281ae50edfea9bd4e0a1d45a3af569375f /youtube_dl/extractor/discoverygo.py
parentb505e98784b2c1cc07f734e9709702ee9d01287e (diff)
downloadyoutube-dl-7273e5849b27cb7d0f4d5f40e7801cab2da85ae3.tar.xz
[discoverygo] extend _VALID_URL to support other networks
Diffstat (limited to 'youtube_dl/extractor/discoverygo.py')
-rw-r--r--youtube_dl/extractor/discoverygo.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/youtube_dl/extractor/discoverygo.py b/youtube_dl/extractor/discoverygo.py
index adb68b96c..cba709935 100644
--- a/youtube_dl/extractor/discoverygo.py
+++ b/youtube_dl/extractor/discoverygo.py
@@ -11,7 +11,17 @@ from ..utils import (
class DiscoveryGoIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?discoverygo\.com/(?:[^/]+/)*(?P<id>[^/?#&]+)'
+ _VALID_URL = r'''(?x)https?://(?:www\.)?(?:
+ discovery|
+ investigationdiscovery|
+ discoverylife|
+ animalplanet|
+ ahctv|
+ destinationamerica|
+ sciencechannel|
+ tlc|
+ velocitychannel
+ )go\.com/(?:[^/]+/)*(?P<id>[^/?#&]+)'''
_TEST = {
'url': 'https://www.discoverygo.com/love-at-first-kiss/kiss-first-ask-questions-later/',
'info_dict': {