|
|
@ -4045,7 +4045,7 @@ def gen_extractors(): |
|
|
|
GenericIE() |
|
|
|
] |
|
|
|
|
|
|
|
def main(): |
|
|
|
def _real_main(): |
|
|
|
parser, opts, args = parseOpts() |
|
|
|
|
|
|
|
# Open appropriate CookieJar |
|
|
@ -4205,10 +4205,9 @@ def main(): |
|
|
|
|
|
|
|
sys.exit(retcode) |
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
|
def main(): |
|
|
|
try: |
|
|
|
main() |
|
|
|
_real_main() |
|
|
|
except DownloadError: |
|
|
|
sys.exit(1) |
|
|
|
except SameFileError: |
|
|
@ -4216,4 +4215,7 @@ if __name__ == '__main__': |
|
|
|
except KeyboardInterrupt: |
|
|
|
sys.exit(u'\nERROR: Interrupted by user') |
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
|
main() |
|
|
|
|
|
|
|
# vim: set ts=4 sw=4 sts=4 noet ai si filetype=python: |