|
|
|
@ -8,7 +8,8 @@ from get_general_settings import *
|
|
|
|
|
from list_subtitles import *
|
|
|
|
|
from utils import *
|
|
|
|
|
|
|
|
|
|
from memory_profiler import profile
|
|
|
|
|
from pympler.tracker import SummaryTracker
|
|
|
|
|
tracker = SummaryTracker()
|
|
|
|
|
|
|
|
|
|
# configure the cache
|
|
|
|
|
region.configure('dogpile.cache.dbm', arguments={'filename': os.path.join(os.path.dirname(__file__), 'data/cache/cachefile.dbm')})
|
|
|
|
@ -78,3 +79,4 @@ def wanted_search_missing_subtitles():
|
|
|
|
|
|
|
|
|
|
for episode in data:
|
|
|
|
|
wanted_download_subtitles(episode[0])
|
|
|
|
|
tracker.print_diff()
|
|
|
|
|