mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2025-01-04 09:13:46 +00:00
16 lines
405 B
Python
16 lines
405 B
Python
import ccextractor as cc
|
|
import os
|
|
import time
|
|
import sys
|
|
s = cc.api_init_options()
|
|
cc.check_configuration_file(s)
|
|
for i in sys.argv[1:]:
|
|
cc.api_add_param(s,str(i))
|
|
compile_ret = cc.compile_params(s,len(sys.argv[1:]));
|
|
start_ret = cc.api_start(s);
|
|
#printing python_subs.subs
|
|
for item in xrange(cc.cc_to_python_get_subs_number_of_lines()):
|
|
print cc.cc_to_python_get_sub(item)
|
|
|
|
#os.system('clear')
|