Phil 5 ani în urmă
părinte
comite
8ad2fafc50
1 a modificat fișierele cu 10 adăugiri și 14 ștergeri
  1. 10 14
      main.py

+ 10 - 14
main.py

@@ -17,9 +17,6 @@ def main():
         print('2 - Lesezeichen - All')
         print('3 - Lesezeichen - Anime')
         print('4 - Lesezeichen - Manga')
-        print('5 - Lesezeichen - dummy')
-        print('6 - Episode test')
-        print('7 - Chapter test')
         print('99 - exit')
 
         uin = input('$>: ')
@@ -38,15 +35,6 @@ def main():
         if uin == '4':
             LesezeichenSingle(sess,2)
 
-        if uin == '5':
-            LesezeichenD()
-        
-        if uin == '6':
-            episode_test()
-
-        if uin == '7':
-            chapter_dummy()
-
         if uin =='99':
             exit()
 
@@ -62,8 +50,12 @@ def chapter(sess,ep):
     print(str(ep))
     print(chapPars.serverurl)
     count = 0
-    print("1 - Download")
-    print("2 - mark as read")
+    print(ep['name'] + ' - ' + ep['num'])
+    print('1 - Download')
+    print('2 - mark as read')
+    print('3 - go to next')
+    print('4 - go to previous')
+    print('5 - Details')
     uin = input('$>: ')
     if uin == '1':
         print(path)
@@ -90,9 +82,13 @@ def episode(sess,ep):
     ppars.feed(str(response.content))
     link = ppars.url
     print(link)
+    print(ep['name'] + ' - ' + ep['num'])
     print('1 - open with vlc')
     print('2 - download')
     print('3 - mark as watched')
+    print('4 - go to next')
+    print('5 - go to previous')
+    print('6 - Details')
     path = 'anime/'+ep['name']+'/'
     if not os.path.exists(path):
         os.makedirs(path)