|
Lines 1-6
Link Here
|
| 1 |
--- youtube_dl/__init__.py.orig 2014-07-29 23:18:51.000000000 +0800 |
1 |
--- youtube_dl/__init__.py.orig 2014-09-17 00:03:32.000000000 +0300 |
| 2 |
+++ youtube_dl/__init__.py 2014-07-31 01:10:45.923443081 +0800 |
2 |
+++ youtube_dl/__init__.py 2014-09-17 17:54:22.000000000 +0300 |
| 3 |
@@ -97,7 +97,6 @@ |
3 |
@@ -106,7 +106,6 @@ |
| 4 |
std_headers, |
4 |
std_headers, |
| 5 |
write_string, |
5 |
write_string, |
| 6 |
) |
6 |
) |
|
Lines 8-25
Link Here
|
| 8 |
from .downloader import ( |
8 |
from .downloader import ( |
| 9 |
FileDownloader, |
9 |
FileDownloader, |
| 10 |
) |
10 |
) |
| 11 |
@@ -230,8 +229,6 @@ |
11 |
@@ -397,17 +396,13 @@ |
| 12 |
action='help', help='print this help text and exit') |
12 |
ydl.add_post_processor(ExecAfterDownloadPP( |
| 13 |
general.add_option('-v', '--version', |
13 |
verboseOutput=opts.verbose, exec_cmd=opts.exec_cmd)) |
| 14 |
action='version', help='print program version and exit') |
|
|
| 15 |
- general.add_option('-U', '--update', |
| 16 |
- action='store_true', dest='update_self', help='update this program to latest version. Make sure that you have sufficient permissions (run with sudo if needed)') |
| 17 |
general.add_option('-i', '--ignore-errors', |
| 18 |
action='store_true', dest='ignoreerrors', help='continue on download errors, for example to skip unavailable videos in a playlist', default=False) |
| 19 |
general.add_option('--abort-on-error', |
| 20 |
@@ -844,10 +841,6 @@ |
| 21 |
ydl.add_post_processor(FFmpegAudioFixPP()) |
| 22 |
ydl.add_post_processor(AtomicParsleyPP()) |
| 23 |
|
14 |
|
| 24 |
- # Update version |
15 |
- # Update version |
| 25 |
- if opts.update_self: |
16 |
- if opts.update_self: |
|
Lines 27-34
Link Here
|
| 27 |
- |
18 |
- |
| 28 |
# Remove cache dir |
19 |
# Remove cache dir |
| 29 |
if opts.rm_cachedir: |
20 |
if opts.rm_cachedir: |
| 30 |
if opts.cachedir is None: |
21 |
ydl.cache.remove() |
| 31 |
@@ -867,7 +860,7 @@ |
|
|
| 32 |
|
22 |
|
| 33 |
# Maybe do nothing |
23 |
# Maybe do nothing |
| 34 |
if (len(all_urls) < 1) and (opts.load_info_filename is None): |
24 |
if (len(all_urls) < 1) and (opts.load_info_filename is None): |