aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/funnyordie.py
diff options
context:
space:
mode:
authoranovicecodemonkey <anovicecodemonkey13435@mailinator.com>2014-10-31 21:20:37 +1030
committeranovicecodemonkey <anovicecodemonkey13435@mailinator.com>2014-10-31 21:20:37 +1030
commit2a834bdb21b1a747ba91b27a582aa48e8f28ec0b (patch)
tree4f810ea15c6365c576419ca4e2659cb85328cb61 /youtube_dl/extractor/funnyordie.py
parent0d2c141865389e8124353e0c88ea99da39058692 (diff)
downloadyoutube-dl-2a834bdb21b1a747ba91b27a582aa48e8f28ec0b.zip
youtube-dl-2a834bdb21b1a747ba91b27a582aa48e8f28ec0b.tar.gz
youtube-dl-2a834bdb21b1a747ba91b27a582aa48e8f28ec0b.tar.bz2
[FunnyOrDie] Add support for "/articles/" URLs
Diffstat (limited to 'youtube_dl/extractor/funnyordie.py')
-rw-r--r--youtube_dl/extractor/funnyordie.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/funnyordie.py b/youtube_dl/extractor/funnyordie.py
index ec6d96a..8ffcfca 100644
--- a/youtube_dl/extractor/funnyordie.py
+++ b/youtube_dl/extractor/funnyordie.py
@@ -8,7 +8,7 @@ from ..utils import ExtractorError
class FunnyOrDieIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?funnyordie\.com/(?P<type>embed|videos)/(?P<id>[0-9a-f]+)(?:$|[?#/])'
+ _VALID_URL = r'https?://(?:www\.)?funnyordie\.com/(?P<type>embed|articles|videos)/(?P<id>[0-9a-f]+)(?:$|[?#/])'
_TESTS = [{
'url': 'http://www.funnyordie.com/videos/0732f586d7/heart-shaped-box-literal-video-version',
'md5': 'bcd81e0c4f26189ee09be362ad6e6ba9',