diff --git a/src/you_get/extractors/vimeo.py b/src/you_get/extractors/vimeo.py index 8c9f8ebc..4034d0e0 100644 --- a/src/you_get/extractors/vimeo.py +++ b/src/you_get/extractors/vimeo.py @@ -132,34 +132,6 @@ class VimeoExtractor(VideoExtractor): def vimeo_download_by_id(id, title=None, output_dir='.', merge=True, info_only=False, **kwargs): - ''' - try: - # normal Vimeo video - html = get_content('https://vimeo.com/' + id) - cfg_patt = r'clip_page_config\s*=\s*(\{.+?\});' - cfg = json.loads(match1(html, cfg_patt)) - video_page = get_content(cfg['player']['config_url'], headers=fake_headers) - title = cfg['clip']['title'] - info = loads(video_page) - except: - # embedded player - referer may be required - if 'referer' in kwargs: - fake_headers['Referer'] = kwargs['referer'] - - video_page = get_content('http://player.vimeo.com/video/%s' % id, headers=fake_headers) - title = r1(r'