Browse Source

[FunnyOrDie] Add support for "/articles/" URLs

master
anovicecodemonkey 10 years ago
parent
commit
2a834bdb21
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/funnyordie.py

2
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',

Loading…
Cancel
Save