aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-11-11 20:13:03 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-11-11 20:13:03 +0800
commit990e6e8fa346224967f123a50146377088acbd75 (patch)
treef1a34562bd2dc954de220335360d8ba56f282100 /youtube_dl
parent37120974dc7e3e7febd40b652fc7f9e1748e2ad3 (diff)
downloadyoutube-dl-990e6e8fa346224967f123a50146377088acbd75.tar.xz
[vidto] Minor fixes
1. import order 2. fatal is already True in helper functions
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/vidto.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/vidto.py b/youtube_dl/extractor/vidto.py
index d10002534..45b21e2a9 100644
--- a/youtube_dl/extractor/vidto.py
+++ b/youtube_dl/extractor/vidto.py
@@ -1,9 +1,9 @@
# coding: utf-8
from __future__ import unicode_literals
-from .common import InfoExtractor
import time
+from .common import InfoExtractor
from ..utils import encode_dict
from ..compat import (
compat_urllib_request,
@@ -60,10 +60,10 @@ class VidtoIE(InfoExtractor):
time.sleep(7)
post_result = self._download_webpage(
req, video_id,
- note='Proceed to video...', errnote='unable to proceed', fatal=True)
+ note='Proceed to video...', errnote='unable to proceed')
file_link_regex = r'file_link\s*=\s*\'(https?:\/\/[0-9a-zA-z.\/\-_]+)'
- file_link = self._search_regex(file_link_regex, post_result, 'file_link', fatal=True)
+ file_link = self._search_regex(file_link_regex, post_result, 'file_link')
return {
'id': video_id,