mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-04 17:34:32 +01:00
parent
bffbd5f038
commit
67353612ba
@ -280,10 +280,6 @@ def parseOpts():
|
|||||||
def _real_main():
|
def _real_main():
|
||||||
parser, opts, args = parseOpts()
|
parser, opts, args = parseOpts()
|
||||||
|
|
||||||
# Update version
|
|
||||||
if opts.update_self:
|
|
||||||
update_self(fd.to_screen, opts.verbose, sys.argv[0])
|
|
||||||
|
|
||||||
# Open appropriate CookieJar
|
# Open appropriate CookieJar
|
||||||
if opts.cookiefile is None:
|
if opts.cookiefile is None:
|
||||||
jar = compat_cookiejar.CookieJar()
|
jar = compat_cookiejar.CookieJar()
|
||||||
@ -467,6 +463,10 @@ def _real_main():
|
|||||||
if opts.recodevideo:
|
if opts.recodevideo:
|
||||||
fd.add_post_processor(FFmpegVideoConvertor(preferedformat=opts.recodevideo))
|
fd.add_post_processor(FFmpegVideoConvertor(preferedformat=opts.recodevideo))
|
||||||
|
|
||||||
|
# Update version
|
||||||
|
if opts.update_self:
|
||||||
|
update_self(fd.to_screen, opts.verbose, sys.argv[0])
|
||||||
|
|
||||||
# Maybe do nothing
|
# Maybe do nothing
|
||||||
if len(all_urls) < 1:
|
if len(all_urls) < 1:
|
||||||
if not opts.update_self:
|
if not opts.update_self:
|
||||||
|
Loading…
Reference in New Issue
Block a user