소스 검색

[cliphunter] Remove duration

Philipp Hagemeister 11 년 전
부모
커밋
80bcefcd77
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      youtube_dl/extractor/cliphunter.py

+ 0 - 4
youtube_dl/extractor/cliphunter.py

@@ -35,7 +35,6 @@ class CliphunterIE(InfoExtractor):
             'title': 'Fun Jynx Maze solo',
             'title': 'Fun Jynx Maze solo',
             'thumbnail': 're:^https?://.*\.jpg$',
             'thumbnail': 're:^https?://.*\.jpg$',
             'age_limit': 18,
             'age_limit': 18,
-            'duration': 1317,
         }
         }
     }
     }
 
 
@@ -86,14 +85,11 @@ class CliphunterIE(InfoExtractor):
         thumbnail = self._search_regex(
         thumbnail = self._search_regex(
             r"var\s+mov_thumb\s*=\s*'([^']+)';",
             r"var\s+mov_thumb\s*=\s*'([^']+)';",
             webpage, 'thumbnail', fatal=False)
             webpage, 'thumbnail', fatal=False)
-        duration = int_or_none(self._search_regex(
-            r'pl_dur\s*=\s*([0-9]+)', webpage, 'duration', fatal=False))
 
 
         return {
         return {
             'id': video_id,
             'id': video_id,
             'title': video_title,
             'title': video_title,
             'formats': formats,
             'formats': formats,
-            'duration': duration,
             'age_limit': self._rta_search(webpage),
             'age_limit': self._rta_search(webpage),
             'thumbnail': thumbnail,
             'thumbnail': thumbnail,
         }
         }