Lines 1-6
Link Here
|
1 |
--- youtube_dl/__init__.py.orig 2015-05-15 08:01:24 UTC |
1 |
--- youtube_dl/__init__.py.orig 2015-11-24 09:44:40.030482000 +0100 |
2 |
+++ youtube_dl/__init__.py |
2 |
+++ youtube_dl/__init__.py 2015-11-24 09:45:54.856110000 +0100 |
3 |
@@ -36,7 +36,6 @@ from .utils import ( |
3 |
@@ -36,7 +36,6 @@ |
4 |
std_headers, |
4 |
std_headers, |
5 |
write_string, |
5 |
write_string, |
6 |
) |
6 |
) |
Lines 8-20
Link Here
|
8 |
from .downloader import ( |
8 |
from .downloader import ( |
9 |
FileDownloader, |
9 |
FileDownloader, |
10 |
) |
10 |
) |
11 |
@@ -370,17 +369,13 @@ def _real_main(argv=None): |
11 |
@@ -375,17 +374,13 @@ |
12 |
} |
12 |
} |
13 |
|
13 |
|
14 |
with YoutubeDL(ydl_opts) as ydl: |
14 |
with YoutubeDL(ydl_opts) as ydl: |
15 |
- # Update version |
15 |
- # Update version |
16 |
- if opts.update_self: |
16 |
- if opts.update_self: |
17 |
- update_self(ydl.to_screen, opts.verbose) |
17 |
- update_self(ydl.to_screen, opts.verbose, ydl._opener) |
18 |
- |
18 |
- |
19 |
# Remove cache dir |
19 |
# Remove cache dir |
20 |
if opts.rm_cachedir: |
20 |
if opts.rm_cachedir: |