소스 검색

updated regular experssion for possible future updates to source url

Johny Mo Swag 12 년 전
부모
커밋
f23a03a89b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      youtube_dl/InfoExtractors.py

+ 1 - 1
youtube_dl/InfoExtractors.py

@@ -3487,7 +3487,7 @@ class WorldStarHipHopIE(InfoExtractor):
     IE_NAME = u'WorldStarHipHop'
 
     def _real_extract(self, url):
-        _src_url = r"""(http://(hw-videos|hw-post1).*(?:mp4|flv))"""
+        _src_url = r"""(http://(hw-videos|hw-post)[0-9]*.*(?:mp4|flv))"""
 
         m = re.match(self._VALID_URL, url)
         video_id = m.group('id')