projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad2141b
)
[dcn] Simplify _VALID_URL
author
Sergey M․
<dstftw@gmail.com>
Fri, 7 Aug 2015 18:19:40 +0000
(
00:19
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 7 Aug 2015 18:19:40 +0000
(
00:19
+0600)
youtube_dl/extractor/dcn.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dcn.py
b/youtube_dl/extractor/dcn.py
index b98a6c0321d145bd703ab2f694b25ef03166a6b2..82261e25c6e5e2126b2712bee5c23702e33144ba 100644
(file)
--- a/
youtube_dl/extractor/dcn.py
+++ b/
youtube_dl/extractor/dcn.py
@@
-13,7
+13,7
@@
from ..utils import (
class DCNIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?dcndigital\.ae/(?:#/)?(?:video/.+|show/\d+/.+?)/(?P<id>\d+)
/?
'
+ _VALID_URL = r'https?://(?:www\.)?dcndigital\.ae/(?:#/)?(?:video/.+|show/\d+/.+?)/(?P<id>\d+)'
_TEST = {
'url': 'http://www.dcndigital.ae/#/show/199074/%D8%B1%D8%AD%D9%84%D8%A9-%D8%A7%D9%84%D8%B9%D9%85%D8%B1-%D8%A7%D9%84%D8%AD%D9%84%D9%82%D8%A9-1/17375/6887',
'info_dict':