Jedimeister

Untitled

Apr 16th, 2021
196
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if genreOne != None:
  2. #Simple Genres
  3. if 'Adventure' in genreOne or 'Abenteuer' in genreOne:
  4. node_id = 13
  5.  
  6. elif 'Animation' in genreOne:
  7. node_id = 33
  8.  
  9. elif 'Biografie' in genreOne:
  10. node_id = 37
  11.  
  12. elif 'Bollywood' in genreOne:
  13. node_id = 39
  14.  
  15. elif 'Crime' in genreOne or 'Krimi' in genreOne:
  16. node_id = 48
  17.  
  18. elif 'Comedy' in genreOne or 'Komödie' in genreOne:
  19. node_id = 42
  20.  
  21. elif 'Comic' in genreOne:
  22. node_id = 44
  23.  
  24. elif 'Drama' in genreOne:
  25. node_id = 55
  26.  
  27. elif 'Family' in genreOne or 'Familie' in genreOne:
  28. node_id = 69
  29.  
  30. elif 'Fantasy' in genreOne:
  31. node_id = 74
  32.  
  33. elif 'History' in genreOne or 'Historie' in genreOne:
  34. node_id = 75
  35.  
  36. elif 'Music' in genreOne or 'Musical' in genreOne:
  37. node_id = 83
  38.  
  39. elif 'Mystery' in genreOne:
  40. node_id = 84
  41.  
  42. elif 'Romance' in genreOne or 'Romanze' in genreOne or 'Liebesfilm' in genreOne:
  43. node_id = 85
  44.  
  45. elif 'Science Fiction' in genreOne or 'SCI-FI' in genreOne:
  46. node_id = 87
  47.  
  48. elif 'Thriller' in genreOne:
  49. node_id = 90
  50.  
  51. elif 'War' in genreOne or 'Krieg' in genreOne:
  52. node_id = 81
  53.  
  54. elif 'Western' in genreOne:
  55. node_id = 91
  56.  
  57. elif 'Documentary' in genreOne or 'Dokumentarfilm' in genreOne:
  58. node_id = 52
  59.  
  60. # Multi Genre
  61. if 'Action' in genreOne:
  62. if 'Drama' in genreTwo:
  63. node_id = 20
  64.  
  65. elif 'Comedy' in genreTwo or 'Komödie' in genreTwo:
  66. node_id = 25
  67.  
  68. elif 'Thriller' in genreTwo:
  69. node_id = 28
  70.  
  71. else:
  72. node_id = 16
  73.  
  74. elif 'Horror' in genreOne:
  75.  
  76. if 'Comedy' in genreTwo or 'Komödie' in genreTwo:
  77. node_id = 77
  78.  
  79. elif 'Thriller' in genreTwo:
  80. node_id = 78
  81.  
  82. else:
  83. node_id = 76
RAW Paste Data