react-native-consumet 0.2.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (467) hide show
  1. package/README.md +1 -1
  2. package/android/src/main/java/com/consumet/ConsumetModule.kt +67 -39
  3. package/lib/commonjs/extractors/asianload.js.map +1 -1
  4. package/lib/commonjs/extractors/filemoon.js.map +1 -1
  5. package/lib/commonjs/extractors/gogocdn.js.map +1 -1
  6. package/lib/commonjs/extractors/kisskh/kkey.js.map +1 -1
  7. package/lib/commonjs/extractors/kisskh/staticdata.js.map +1 -1
  8. package/lib/commonjs/extractors/kwik.js.map +1 -1
  9. package/lib/commonjs/extractors/megacloud/index.js.map +1 -1
  10. package/lib/commonjs/extractors/megaup.js +1 -1
  11. package/lib/commonjs/extractors/megaup.js.map +1 -1
  12. package/lib/commonjs/extractors/mixdrop.js.map +1 -1
  13. package/lib/commonjs/extractors/mp4player.js.map +1 -1
  14. package/lib/commonjs/extractors/mp4upload.js.map +1 -1
  15. package/lib/commonjs/extractors/rapidcloud.js.map +1 -1
  16. package/lib/commonjs/extractors/smashystream.js.map +1 -1
  17. package/lib/commonjs/extractors/streamhub.js.map +1 -1
  18. package/lib/commonjs/extractors/streamlare.js.map +1 -1
  19. package/lib/commonjs/extractors/streamsb.js.map +1 -1
  20. package/lib/commonjs/extractors/streamwish.js +12 -15
  21. package/lib/commonjs/extractors/streamwish.js.map +1 -1
  22. package/lib/commonjs/extractors/vidcloud.js.map +1 -1
  23. package/lib/commonjs/extractors/vidhide.js.map +1 -1
  24. package/lib/commonjs/extractors/vidmoly.js.map +1 -1
  25. package/lib/commonjs/extractors/vizcloud.js.map +1 -1
  26. package/lib/commonjs/extractors/voe.js.map +1 -1
  27. package/lib/commonjs/index.js.map +1 -1
  28. package/lib/commonjs/models/anime-parser.js.map +1 -1
  29. package/lib/commonjs/models/lightnovel-parser.js.map +1 -1
  30. package/lib/commonjs/models/manga-parser.js.map +1 -1
  31. package/lib/commonjs/models/movie-parser.js.map +1 -1
  32. package/lib/commonjs/models/proxy.js.map +1 -1
  33. package/lib/commonjs/models/video-extractor.js.map +1 -1
  34. package/lib/commonjs/providers/anime/anify.js.map +1 -1
  35. package/lib/commonjs/providers/anime/animedrive.js.map +1 -1
  36. package/lib/commonjs/providers/anime/animefox.js.map +1 -1
  37. package/lib/commonjs/providers/anime/animekai.js.map +1 -1
  38. package/lib/commonjs/providers/anime/animepahe.js.map +1 -1
  39. package/lib/commonjs/providers/anime/animesaturn.js.map +1 -1
  40. package/lib/commonjs/providers/anime/animeunity.js.map +1 -1
  41. package/lib/commonjs/providers/anime/anix.js.map +1 -1
  42. package/lib/commonjs/providers/anime/bilibili.js.map +1 -1
  43. package/lib/commonjs/providers/anime/gogoanime.js.map +1 -1
  44. package/lib/commonjs/providers/anime/index.js +0 -4
  45. package/lib/commonjs/providers/anime/index.js.map +1 -1
  46. package/lib/commonjs/providers/anime/kickassanime.js.map +1 -1
  47. package/lib/commonjs/providers/anime/marin.js.map +1 -1
  48. package/lib/commonjs/providers/anime/monoschinos.js.map +1 -1
  49. package/lib/commonjs/providers/anime/zoro.js +1 -1
  50. package/lib/commonjs/providers/anime/zoro.js.map +1 -1
  51. package/lib/commonjs/providers/comics/getComics.js.map +1 -1
  52. package/lib/commonjs/providers/light-novels/novelupdates.js.map +1 -1
  53. package/lib/commonjs/providers/light-novels/readlightnovels.js.map +1 -1
  54. package/lib/commonjs/providers/manga/asurascans.js.map +1 -1
  55. package/lib/commonjs/providers/manga/brmangas.js.map +1 -1
  56. package/lib/commonjs/providers/manga/comick.js.map +1 -1
  57. package/lib/commonjs/providers/manga/flamescans.js.map +1 -1
  58. package/lib/commonjs/providers/manga/mangadex.js.map +1 -1
  59. package/lib/commonjs/providers/manga/mangahere.js.map +1 -1
  60. package/lib/commonjs/providers/manga/mangahost.js.map +1 -1
  61. package/lib/commonjs/providers/manga/mangakakalot.js.map +1 -1
  62. package/lib/commonjs/providers/manga/mangapark.js.map +1 -1
  63. package/lib/commonjs/providers/manga/mangapill.js.map +1 -1
  64. package/lib/commonjs/providers/manga/mangareader.js.map +1 -1
  65. package/lib/commonjs/providers/manga/mangasee123.js.map +1 -1
  66. package/lib/commonjs/providers/manga/readmanga.js.map +1 -1
  67. package/lib/commonjs/providers/manga/vyvymanga.js.map +1 -1
  68. package/lib/commonjs/providers/meta/anilist.js +86 -106
  69. package/lib/commonjs/providers/meta/anilist.js.map +1 -1
  70. package/lib/commonjs/providers/meta/mal.js +2 -28
  71. package/lib/commonjs/providers/meta/mal.js.map +1 -1
  72. package/lib/commonjs/providers/meta/tmdb.js +22 -1
  73. package/lib/commonjs/providers/meta/tmdb.js.map +1 -1
  74. package/lib/commonjs/providers/movies/dramacool.js.map +1 -1
  75. package/lib/commonjs/providers/movies/flixhq.js.map +1 -1
  76. package/lib/commonjs/providers/movies/fmovies.js.map +1 -1
  77. package/lib/commonjs/providers/movies/goku.js.map +1 -1
  78. package/lib/commonjs/providers/movies/kissasian.js.map +1 -1
  79. package/lib/commonjs/providers/movies/moviehdwatch.js.map +1 -1
  80. package/lib/commonjs/providers/movies/multimovies.js +2 -2
  81. package/lib/commonjs/providers/movies/multimovies.js.map +1 -1
  82. package/lib/commonjs/providers/movies/sflix.js.map +1 -1
  83. package/lib/commonjs/providers/movies/smashystream.js.map +1 -1
  84. package/lib/commonjs/providers/movies/turkish123.js.map +1 -1
  85. package/lib/commonjs/providers/movies/ummagurau.js.map +1 -1
  86. package/lib/commonjs/providers/movies/viewAsian.js.map +1 -1
  87. package/lib/commonjs/providers/news/animenewsnetwork.js.map +1 -1
  88. package/lib/commonjs/utils/providers-list.js +1 -1
  89. package/lib/commonjs/utils/providers-list.js.map +1 -1
  90. package/lib/commonjs/utils/queries.js.map +1 -1
  91. package/lib/commonjs/utils/utils.js.map +1 -1
  92. package/lib/module/extractors/asianload.js.map +1 -1
  93. package/lib/module/extractors/filemoon.js.map +1 -1
  94. package/lib/module/extractors/gogocdn.js.map +1 -1
  95. package/lib/module/extractors/kisskh/kkey.js.map +1 -1
  96. package/lib/module/extractors/kisskh/staticdata.js.map +1 -1
  97. package/lib/module/extractors/kwik.js.map +1 -1
  98. package/lib/module/extractors/megacloud/index.js.map +1 -1
  99. package/lib/module/extractors/megaup.js +1 -1
  100. package/lib/module/extractors/megaup.js.map +1 -1
  101. package/lib/module/extractors/mixdrop.js.map +1 -1
  102. package/lib/module/extractors/mp4player.js.map +1 -1
  103. package/lib/module/extractors/mp4upload.js.map +1 -1
  104. package/lib/module/extractors/rapidcloud.js.map +1 -1
  105. package/lib/module/extractors/smashystream.js.map +1 -1
  106. package/lib/module/extractors/streamhub.js.map +1 -1
  107. package/lib/module/extractors/streamlare.js.map +1 -1
  108. package/lib/module/extractors/streamsb.js.map +1 -1
  109. package/lib/module/extractors/streamwish.js +12 -15
  110. package/lib/module/extractors/streamwish.js.map +1 -1
  111. package/lib/module/extractors/vidcloud.js.map +1 -1
  112. package/lib/module/extractors/vidhide.js.map +1 -1
  113. package/lib/module/extractors/vidmoly.js.map +1 -1
  114. package/lib/module/extractors/vizcloud.js.map +1 -1
  115. package/lib/module/extractors/voe.js.map +1 -1
  116. package/lib/module/index.js.map +1 -1
  117. package/lib/module/models/anime-parser.js.map +1 -1
  118. package/lib/module/models/lightnovel-parser.js.map +1 -1
  119. package/lib/module/models/manga-parser.js.map +1 -1
  120. package/lib/module/models/movie-parser.js.map +1 -1
  121. package/lib/module/models/proxy.js.map +1 -1
  122. package/lib/module/models/video-extractor.js.map +1 -1
  123. package/lib/module/providers/anime/anify.js.map +1 -1
  124. package/lib/module/providers/anime/animedrive.js.map +1 -1
  125. package/lib/module/providers/anime/animefox.js.map +1 -1
  126. package/lib/module/providers/anime/animekai.js.map +1 -1
  127. package/lib/module/providers/anime/animepahe.js.map +1 -1
  128. package/lib/module/providers/anime/animesaturn.js.map +1 -1
  129. package/lib/module/providers/anime/animeunity.js.map +1 -1
  130. package/lib/module/providers/anime/anix.js.map +1 -1
  131. package/lib/module/providers/anime/bilibili.js.map +1 -1
  132. package/lib/module/providers/anime/gogoanime.js.map +1 -1
  133. package/lib/module/providers/anime/index.js +0 -4
  134. package/lib/module/providers/anime/index.js.map +1 -1
  135. package/lib/module/providers/anime/kickassanime.js.map +1 -1
  136. package/lib/module/providers/anime/marin.js.map +1 -1
  137. package/lib/module/providers/anime/monoschinos.js.map +1 -1
  138. package/lib/module/providers/anime/zoro.js +1 -1
  139. package/lib/module/providers/anime/zoro.js.map +1 -1
  140. package/lib/module/providers/comics/getComics.js.map +1 -1
  141. package/lib/module/providers/light-novels/novelupdates.js.map +1 -1
  142. package/lib/module/providers/light-novels/readlightnovels.js.map +1 -1
  143. package/lib/module/providers/manga/asurascans.js.map +1 -1
  144. package/lib/module/providers/manga/brmangas.js.map +1 -1
  145. package/lib/module/providers/manga/comick.js.map +1 -1
  146. package/lib/module/providers/manga/flamescans.js.map +1 -1
  147. package/lib/module/providers/manga/mangadex.js.map +1 -1
  148. package/lib/module/providers/manga/mangahere.js.map +1 -1
  149. package/lib/module/providers/manga/mangahost.js.map +1 -1
  150. package/lib/module/providers/manga/mangakakalot.js.map +1 -1
  151. package/lib/module/providers/manga/mangapark.js.map +1 -1
  152. package/lib/module/providers/manga/mangapill.js.map +1 -1
  153. package/lib/module/providers/manga/mangareader.js.map +1 -1
  154. package/lib/module/providers/manga/mangasee123.js.map +1 -1
  155. package/lib/module/providers/manga/readmanga.js.map +1 -1
  156. package/lib/module/providers/manga/vyvymanga.js.map +1 -1
  157. package/lib/module/providers/meta/anilist.js +88 -108
  158. package/lib/module/providers/meta/anilist.js.map +1 -1
  159. package/lib/module/providers/meta/mal.js +2 -28
  160. package/lib/module/providers/meta/mal.js.map +1 -1
  161. package/lib/module/providers/meta/tmdb.js +22 -1
  162. package/lib/module/providers/meta/tmdb.js.map +1 -1
  163. package/lib/module/providers/movies/dramacool.js.map +1 -1
  164. package/lib/module/providers/movies/flixhq.js.map +1 -1
  165. package/lib/module/providers/movies/fmovies.js.map +1 -1
  166. package/lib/module/providers/movies/goku.js.map +1 -1
  167. package/lib/module/providers/movies/kissasian.js.map +1 -1
  168. package/lib/module/providers/movies/moviehdwatch.js.map +1 -1
  169. package/lib/module/providers/movies/multimovies.js +2 -2
  170. package/lib/module/providers/movies/multimovies.js.map +1 -1
  171. package/lib/module/providers/movies/sflix.js.map +1 -1
  172. package/lib/module/providers/movies/smashystream.js.map +1 -1
  173. package/lib/module/providers/movies/turkish123.js.map +1 -1
  174. package/lib/module/providers/movies/ummagurau.js.map +1 -1
  175. package/lib/module/providers/movies/viewAsian.js.map +1 -1
  176. package/lib/module/providers/news/animenewsnetwork.js.map +1 -1
  177. package/lib/module/utils/providers-list.js +1 -1
  178. package/lib/module/utils/providers-list.js.map +1 -1
  179. package/lib/module/utils/queries.js.map +1 -1
  180. package/lib/module/utils/utils.js.map +1 -1
  181. package/lib/typescript/commonjs/src/extractors/asianload.d.ts.map +1 -1
  182. package/lib/typescript/commonjs/src/extractors/filemoon.d.ts.map +1 -1
  183. package/lib/typescript/commonjs/src/extractors/gogocdn.d.ts.map +1 -1
  184. package/lib/typescript/commonjs/src/extractors/kisskh/kkey.d.ts.map +1 -1
  185. package/lib/typescript/commonjs/src/extractors/kisskh/staticdata.d.ts.map +1 -1
  186. package/lib/typescript/commonjs/src/extractors/kwik.d.ts.map +1 -1
  187. package/lib/typescript/commonjs/src/extractors/megacloud/index.d.ts.map +1 -1
  188. package/lib/typescript/commonjs/src/extractors/megaup.d.ts.map +1 -1
  189. package/lib/typescript/commonjs/src/extractors/mixdrop.d.ts.map +1 -1
  190. package/lib/typescript/commonjs/src/extractors/mp4player.d.ts.map +1 -1
  191. package/lib/typescript/commonjs/src/extractors/mp4upload.d.ts.map +1 -1
  192. package/lib/typescript/commonjs/src/extractors/rapidcloud.d.ts.map +1 -1
  193. package/lib/typescript/commonjs/src/extractors/smashystream.d.ts.map +1 -1
  194. package/lib/typescript/commonjs/src/extractors/streamhub.d.ts.map +1 -1
  195. package/lib/typescript/commonjs/src/extractors/streamlare.d.ts.map +1 -1
  196. package/lib/typescript/commonjs/src/extractors/streamsb.d.ts.map +1 -1
  197. package/lib/typescript/commonjs/src/extractors/streamwish.d.ts.map +1 -1
  198. package/lib/typescript/commonjs/src/extractors/vidcloud.d.ts.map +1 -1
  199. package/lib/typescript/commonjs/src/extractors/vidhide.d.ts.map +1 -1
  200. package/lib/typescript/commonjs/src/extractors/vidmoly.d.ts.map +1 -1
  201. package/lib/typescript/commonjs/src/extractors/vizcloud.d.ts.map +1 -1
  202. package/lib/typescript/commonjs/src/extractors/voe.d.ts.map +1 -1
  203. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  204. package/lib/typescript/commonjs/src/models/anime-parser.d.ts.map +1 -1
  205. package/lib/typescript/commonjs/src/models/lightnovel-parser.d.ts.map +1 -1
  206. package/lib/typescript/commonjs/src/models/manga-parser.d.ts.map +1 -1
  207. package/lib/typescript/commonjs/src/models/movie-parser.d.ts.map +1 -1
  208. package/lib/typescript/commonjs/src/models/proxy.d.ts.map +1 -1
  209. package/lib/typescript/commonjs/src/models/video-extractor.d.ts.map +1 -1
  210. package/lib/typescript/commonjs/src/providers/anime/anify.d.ts.map +1 -1
  211. package/lib/typescript/commonjs/src/providers/anime/animedrive.d.ts.map +1 -1
  212. package/lib/typescript/commonjs/src/providers/anime/animefox.d.ts.map +1 -1
  213. package/lib/typescript/commonjs/src/providers/anime/animekai.d.ts.map +1 -1
  214. package/lib/typescript/commonjs/src/providers/anime/animepahe.d.ts.map +1 -1
  215. package/lib/typescript/commonjs/src/providers/anime/animesaturn.d.ts.map +1 -1
  216. package/lib/typescript/commonjs/src/providers/anime/animeunity.d.ts.map +1 -1
  217. package/lib/typescript/commonjs/src/providers/anime/anix.d.ts.map +1 -1
  218. package/lib/typescript/commonjs/src/providers/anime/bilibili.d.ts.map +1 -1
  219. package/lib/typescript/commonjs/src/providers/anime/gogoanime.d.ts.map +1 -1
  220. package/lib/typescript/commonjs/src/providers/anime/index.d.ts +0 -4
  221. package/lib/typescript/commonjs/src/providers/anime/index.d.ts.map +1 -1
  222. package/lib/typescript/commonjs/src/providers/anime/kickassanime.d.ts.map +1 -1
  223. package/lib/typescript/commonjs/src/providers/anime/marin.d.ts.map +1 -1
  224. package/lib/typescript/commonjs/src/providers/anime/monoschinos.d.ts.map +1 -1
  225. package/lib/typescript/commonjs/src/providers/anime/zoro.d.ts.map +1 -1
  226. package/lib/typescript/commonjs/src/providers/comics/getComics.d.ts.map +1 -1
  227. package/lib/typescript/commonjs/src/providers/light-novels/novelupdates.d.ts.map +1 -1
  228. package/lib/typescript/commonjs/src/providers/light-novels/readlightnovels.d.ts.map +1 -1
  229. package/lib/typescript/commonjs/src/providers/manga/asurascans.d.ts.map +1 -1
  230. package/lib/typescript/commonjs/src/providers/manga/brmangas.d.ts.map +1 -1
  231. package/lib/typescript/commonjs/src/providers/manga/comick.d.ts.map +1 -1
  232. package/lib/typescript/commonjs/src/providers/manga/flamescans.d.ts.map +1 -1
  233. package/lib/typescript/commonjs/src/providers/manga/mangadex.d.ts.map +1 -1
  234. package/lib/typescript/commonjs/src/providers/manga/mangahere.d.ts.map +1 -1
  235. package/lib/typescript/commonjs/src/providers/manga/mangahost.d.ts.map +1 -1
  236. package/lib/typescript/commonjs/src/providers/manga/mangakakalot.d.ts.map +1 -1
  237. package/lib/typescript/commonjs/src/providers/manga/mangapark.d.ts.map +1 -1
  238. package/lib/typescript/commonjs/src/providers/manga/mangapill.d.ts.map +1 -1
  239. package/lib/typescript/commonjs/src/providers/manga/mangareader.d.ts.map +1 -1
  240. package/lib/typescript/commonjs/src/providers/manga/mangasee123.d.ts.map +1 -1
  241. package/lib/typescript/commonjs/src/providers/manga/readmanga.d.ts.map +1 -1
  242. package/lib/typescript/commonjs/src/providers/manga/vyvymanga.d.ts.map +1 -1
  243. package/lib/typescript/commonjs/src/providers/meta/anilist.d.ts +2 -3
  244. package/lib/typescript/commonjs/src/providers/meta/anilist.d.ts.map +1 -1
  245. package/lib/typescript/commonjs/src/providers/meta/mal.d.ts.map +1 -1
  246. package/lib/typescript/commonjs/src/providers/meta/tmdb.d.ts.map +1 -1
  247. package/lib/typescript/commonjs/src/providers/movies/dramacool.d.ts.map +1 -1
  248. package/lib/typescript/commonjs/src/providers/movies/flixhq.d.ts.map +1 -1
  249. package/lib/typescript/commonjs/src/providers/movies/fmovies.d.ts.map +1 -1
  250. package/lib/typescript/commonjs/src/providers/movies/goku.d.ts.map +1 -1
  251. package/lib/typescript/commonjs/src/providers/movies/kissasian.d.ts.map +1 -1
  252. package/lib/typescript/commonjs/src/providers/movies/moviehdwatch.d.ts.map +1 -1
  253. package/lib/typescript/commonjs/src/providers/movies/multimovies.d.ts.map +1 -1
  254. package/lib/typescript/commonjs/src/providers/movies/sflix.d.ts.map +1 -1
  255. package/lib/typescript/commonjs/src/providers/movies/smashystream.d.ts.map +1 -1
  256. package/lib/typescript/commonjs/src/providers/movies/turkish123.d.ts.map +1 -1
  257. package/lib/typescript/commonjs/src/providers/movies/viewAsian.d.ts.map +1 -1
  258. package/lib/typescript/commonjs/src/providers/news/animenewsnetwork.d.ts.map +1 -1
  259. package/lib/typescript/commonjs/src/utils/providers-list.d.ts +1 -1
  260. package/lib/typescript/commonjs/src/utils/providers-list.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/src/utils/queries.d.ts.map +1 -1
  262. package/lib/typescript/commonjs/src/utils/utils.d.ts +1 -1
  263. package/lib/typescript/commonjs/src/utils/utils.d.ts.map +1 -1
  264. package/lib/typescript/module/src/extractors/asianload.d.ts.map +1 -1
  265. package/lib/typescript/module/src/extractors/filemoon.d.ts.map +1 -1
  266. package/lib/typescript/module/src/extractors/gogocdn.d.ts.map +1 -1
  267. package/lib/typescript/module/src/extractors/kisskh/kkey.d.ts.map +1 -1
  268. package/lib/typescript/module/src/extractors/kisskh/staticdata.d.ts.map +1 -1
  269. package/lib/typescript/module/src/extractors/kwik.d.ts.map +1 -1
  270. package/lib/typescript/module/src/extractors/megacloud/index.d.ts.map +1 -1
  271. package/lib/typescript/module/src/extractors/megaup.d.ts.map +1 -1
  272. package/lib/typescript/module/src/extractors/mixdrop.d.ts.map +1 -1
  273. package/lib/typescript/module/src/extractors/mp4player.d.ts.map +1 -1
  274. package/lib/typescript/module/src/extractors/mp4upload.d.ts.map +1 -1
  275. package/lib/typescript/module/src/extractors/rapidcloud.d.ts.map +1 -1
  276. package/lib/typescript/module/src/extractors/smashystream.d.ts.map +1 -1
  277. package/lib/typescript/module/src/extractors/streamhub.d.ts.map +1 -1
  278. package/lib/typescript/module/src/extractors/streamlare.d.ts.map +1 -1
  279. package/lib/typescript/module/src/extractors/streamsb.d.ts.map +1 -1
  280. package/lib/typescript/module/src/extractors/streamwish.d.ts.map +1 -1
  281. package/lib/typescript/module/src/extractors/vidcloud.d.ts.map +1 -1
  282. package/lib/typescript/module/src/extractors/vidhide.d.ts.map +1 -1
  283. package/lib/typescript/module/src/extractors/vidmoly.d.ts.map +1 -1
  284. package/lib/typescript/module/src/extractors/vizcloud.d.ts.map +1 -1
  285. package/lib/typescript/module/src/extractors/voe.d.ts.map +1 -1
  286. package/lib/typescript/module/src/index.d.ts.map +1 -1
  287. package/lib/typescript/module/src/models/anime-parser.d.ts.map +1 -1
  288. package/lib/typescript/module/src/models/lightnovel-parser.d.ts.map +1 -1
  289. package/lib/typescript/module/src/models/manga-parser.d.ts.map +1 -1
  290. package/lib/typescript/module/src/models/movie-parser.d.ts.map +1 -1
  291. package/lib/typescript/module/src/models/proxy.d.ts.map +1 -1
  292. package/lib/typescript/module/src/models/video-extractor.d.ts.map +1 -1
  293. package/lib/typescript/module/src/providers/anime/anify.d.ts.map +1 -1
  294. package/lib/typescript/module/src/providers/anime/animedrive.d.ts.map +1 -1
  295. package/lib/typescript/module/src/providers/anime/animefox.d.ts.map +1 -1
  296. package/lib/typescript/module/src/providers/anime/animekai.d.ts.map +1 -1
  297. package/lib/typescript/module/src/providers/anime/animepahe.d.ts.map +1 -1
  298. package/lib/typescript/module/src/providers/anime/animesaturn.d.ts.map +1 -1
  299. package/lib/typescript/module/src/providers/anime/animeunity.d.ts.map +1 -1
  300. package/lib/typescript/module/src/providers/anime/anix.d.ts.map +1 -1
  301. package/lib/typescript/module/src/providers/anime/bilibili.d.ts.map +1 -1
  302. package/lib/typescript/module/src/providers/anime/gogoanime.d.ts.map +1 -1
  303. package/lib/typescript/module/src/providers/anime/index.d.ts +0 -4
  304. package/lib/typescript/module/src/providers/anime/index.d.ts.map +1 -1
  305. package/lib/typescript/module/src/providers/anime/kickassanime.d.ts.map +1 -1
  306. package/lib/typescript/module/src/providers/anime/marin.d.ts.map +1 -1
  307. package/lib/typescript/module/src/providers/anime/monoschinos.d.ts.map +1 -1
  308. package/lib/typescript/module/src/providers/anime/zoro.d.ts.map +1 -1
  309. package/lib/typescript/module/src/providers/comics/getComics.d.ts.map +1 -1
  310. package/lib/typescript/module/src/providers/light-novels/novelupdates.d.ts.map +1 -1
  311. package/lib/typescript/module/src/providers/light-novels/readlightnovels.d.ts.map +1 -1
  312. package/lib/typescript/module/src/providers/manga/asurascans.d.ts.map +1 -1
  313. package/lib/typescript/module/src/providers/manga/brmangas.d.ts.map +1 -1
  314. package/lib/typescript/module/src/providers/manga/comick.d.ts.map +1 -1
  315. package/lib/typescript/module/src/providers/manga/flamescans.d.ts.map +1 -1
  316. package/lib/typescript/module/src/providers/manga/mangadex.d.ts.map +1 -1
  317. package/lib/typescript/module/src/providers/manga/mangahere.d.ts.map +1 -1
  318. package/lib/typescript/module/src/providers/manga/mangahost.d.ts.map +1 -1
  319. package/lib/typescript/module/src/providers/manga/mangakakalot.d.ts.map +1 -1
  320. package/lib/typescript/module/src/providers/manga/mangapark.d.ts.map +1 -1
  321. package/lib/typescript/module/src/providers/manga/mangapill.d.ts.map +1 -1
  322. package/lib/typescript/module/src/providers/manga/mangareader.d.ts.map +1 -1
  323. package/lib/typescript/module/src/providers/manga/mangasee123.d.ts.map +1 -1
  324. package/lib/typescript/module/src/providers/manga/readmanga.d.ts.map +1 -1
  325. package/lib/typescript/module/src/providers/manga/vyvymanga.d.ts.map +1 -1
  326. package/lib/typescript/module/src/providers/meta/anilist.d.ts +2 -3
  327. package/lib/typescript/module/src/providers/meta/anilist.d.ts.map +1 -1
  328. package/lib/typescript/module/src/providers/meta/mal.d.ts.map +1 -1
  329. package/lib/typescript/module/src/providers/meta/tmdb.d.ts.map +1 -1
  330. package/lib/typescript/module/src/providers/movies/dramacool.d.ts.map +1 -1
  331. package/lib/typescript/module/src/providers/movies/flixhq.d.ts.map +1 -1
  332. package/lib/typescript/module/src/providers/movies/fmovies.d.ts.map +1 -1
  333. package/lib/typescript/module/src/providers/movies/goku.d.ts.map +1 -1
  334. package/lib/typescript/module/src/providers/movies/kissasian.d.ts.map +1 -1
  335. package/lib/typescript/module/src/providers/movies/moviehdwatch.d.ts.map +1 -1
  336. package/lib/typescript/module/src/providers/movies/multimovies.d.ts.map +1 -1
  337. package/lib/typescript/module/src/providers/movies/sflix.d.ts.map +1 -1
  338. package/lib/typescript/module/src/providers/movies/smashystream.d.ts.map +1 -1
  339. package/lib/typescript/module/src/providers/movies/turkish123.d.ts.map +1 -1
  340. package/lib/typescript/module/src/providers/movies/viewAsian.d.ts.map +1 -1
  341. package/lib/typescript/module/src/providers/news/animenewsnetwork.d.ts.map +1 -1
  342. package/lib/typescript/module/src/utils/providers-list.d.ts +1 -1
  343. package/lib/typescript/module/src/utils/providers-list.d.ts.map +1 -1
  344. package/lib/typescript/module/src/utils/queries.d.ts.map +1 -1
  345. package/lib/typescript/module/src/utils/utils.d.ts +1 -1
  346. package/lib/typescript/module/src/utils/utils.d.ts.map +1 -1
  347. package/package.json +5 -11
  348. package/react-native.config.js +12 -12
  349. package/src/extractors/asianload.ts +4 -13
  350. package/src/extractors/filemoon.ts +5 -13
  351. package/src/extractors/gogocdn.ts +12 -32
  352. package/src/extractors/kisskh/kkey.ts +6 -18
  353. package/src/extractors/kisskh/staticdata.ts +128 -196
  354. package/src/extractors/kwik.ts +1 -3
  355. package/src/extractors/megacloud/index.ts +9 -13
  356. package/src/extractors/megaup.ts +26 -42
  357. package/src/extractors/mixdrop.ts +1 -3
  358. package/src/extractors/mp4player.ts +3 -11
  359. package/src/extractors/mp4upload.ts +1 -3
  360. package/src/extractors/rapidcloud.ts +18 -56
  361. package/src/extractors/smashystream.ts +25 -65
  362. package/src/extractors/streamhub.ts +4 -12
  363. package/src/extractors/streamlare.ts +2 -7
  364. package/src/extractors/streamsb.ts +5 -12
  365. package/src/extractors/streamwish.ts +18 -35
  366. package/src/extractors/vidcloud.ts +8 -19
  367. package/src/extractors/vidhide.ts +3 -9
  368. package/src/extractors/vidmoly.ts +1 -4
  369. package/src/extractors/vizcloud.ts +1 -5
  370. package/src/extractors/voe.ts +3 -8
  371. package/src/index.ts +1 -9
  372. package/src/models/anime-parser.ts +3 -14
  373. package/src/models/lightnovel-parser.ts +2 -8
  374. package/src/models/manga-parser.ts +1 -4
  375. package/src/models/movie-parser.ts +4 -20
  376. package/src/models/proxy.ts +4 -9
  377. package/src/models/video-extractor.ts +1 -4
  378. package/src/providers/anime/anify.ts +20 -61
  379. package/src/providers/anime/animedrive.ts +24 -77
  380. package/src/providers/anime/animefox.ts +18 -64
  381. package/src/providers/anime/animekai.ts +51 -157
  382. package/src/providers/anime/animepahe.ts +24 -59
  383. package/src/providers/anime/animesaturn.ts +11 -37
  384. package/src/providers/anime/animeunity.ts +8 -26
  385. package/src/providers/anime/anix.ts +17 -57
  386. package/src/providers/anime/bilibili.ts +4 -15
  387. package/src/providers/anime/gogoanime.ts +61 -194
  388. package/src/providers/anime/index.ts +0 -4
  389. package/src/providers/anime/kickassanime.ts +2 -6
  390. package/src/providers/anime/marin.ts +6 -18
  391. package/src/providers/anime/monoschinos.ts +8 -25
  392. package/src/providers/anime/zoro.ts +77 -209
  393. package/src/providers/comics/getComics.ts +7 -27
  394. package/src/providers/light-novels/novelupdates.ts +17 -52
  395. package/src/providers/light-novels/readlightnovels.ts +17 -67
  396. package/src/providers/manga/asurascans.ts +17 -67
  397. package/src/providers/manga/brmangas.ts +6 -17
  398. package/src/providers/manga/comick.ts +19 -51
  399. package/src/providers/manga/flamescans.ts +12 -35
  400. package/src/providers/manga/mangadex.ts +25 -82
  401. package/src/providers/manga/mangahere.ts +17 -40
  402. package/src/providers/manga/mangahost.ts +8 -28
  403. package/src/providers/manga/mangakakalot.ts +19 -71
  404. package/src/providers/manga/mangapark.ts +8 -27
  405. package/src/providers/manga/mangapill.ts +10 -33
  406. package/src/providers/manga/mangareader.ts +8 -28
  407. package/src/providers/manga/mangasee123.ts +12 -40
  408. package/src/providers/manga/readmanga.ts +58 -134
  409. package/src/providers/manga/vyvymanga.ts +15 -33
  410. package/src/providers/meta/anilist.ts +568 -1062
  411. package/src/providers/meta/mal.ts +51 -250
  412. package/src/providers/meta/tmdb.ts +60 -94
  413. package/src/providers/movies/dramacool.ts +50 -146
  414. package/src/providers/movies/flixhq.ts +60 -207
  415. package/src/providers/movies/fmovies.ts +17 -62
  416. package/src/providers/movies/goku.ts +46 -178
  417. package/src/providers/movies/kissasian.ts +19 -64
  418. package/src/providers/movies/moviehdwatch.ts +61 -221
  419. package/src/providers/movies/multimovies.ts +47 -153
  420. package/src/providers/movies/sflix.ts +71 -234
  421. package/src/providers/movies/smashystream.ts +9 -30
  422. package/src/providers/movies/turkish123.ts +4 -20
  423. package/src/providers/movies/ummagurau.ts +8 -26
  424. package/src/providers/movies/viewAsian.ts +15 -45
  425. package/src/providers/news/animenewsnetwork.ts +11 -40
  426. package/src/utils/providers-list.ts +1 -11
  427. package/src/utils/queries.ts +5 -23
  428. package/src/utils/utils.ts +5 -21
  429. package/android/src/main/assets/crypto-js.js +0 -1
  430. package/android/src/main/assets/megacloud.decodedpng.js +0 -606
  431. package/android/src/main/assets/megacloud.getsrcs.js +0 -714
  432. package/lib/commonjs/extractors/megacloud/megacloud.decodedpng.js +0 -10
  433. package/lib/commonjs/extractors/megacloud/megacloud.decodedpng.js.map +0 -1
  434. package/lib/commonjs/extractors/megacloud/megacloud.getsrcs.js +0 -864
  435. package/lib/commonjs/extractors/megacloud/megacloud.getsrcs.js.map +0 -1
  436. package/lib/commonjs/providers/anime/9anime.js +0 -325
  437. package/lib/commonjs/providers/anime/9anime.js.map +0 -1
  438. package/lib/commonjs/providers/anime/crunchyroll.js +0 -92
  439. package/lib/commonjs/providers/anime/crunchyroll.js.map +0 -1
  440. package/lib/module/extractors/megacloud/megacloud.decodedpng.js +0 -6
  441. package/lib/module/extractors/megacloud/megacloud.decodedpng.js.map +0 -1
  442. package/lib/module/extractors/megacloud/megacloud.getsrcs.js +0 -864
  443. package/lib/module/extractors/megacloud/megacloud.getsrcs.js.map +0 -1
  444. package/lib/module/providers/anime/9anime.js +0 -323
  445. package/lib/module/providers/anime/9anime.js.map +0 -1
  446. package/lib/module/providers/anime/crunchyroll.js +0 -89
  447. package/lib/module/providers/anime/crunchyroll.js.map +0 -1
  448. package/lib/typescript/commonjs/src/extractors/megacloud/megacloud.decodedpng.d.ts +0 -2
  449. package/lib/typescript/commonjs/src/extractors/megacloud/megacloud.decodedpng.d.ts.map +0 -1
  450. package/lib/typescript/commonjs/src/extractors/megacloud/megacloud.getsrcs.d.ts +0 -1
  451. package/lib/typescript/commonjs/src/extractors/megacloud/megacloud.getsrcs.d.ts.map +0 -1
  452. package/lib/typescript/commonjs/src/providers/anime/9anime.d.ts +0 -26
  453. package/lib/typescript/commonjs/src/providers/anime/9anime.d.ts.map +0 -1
  454. package/lib/typescript/commonjs/src/providers/anime/crunchyroll.d.ts +0 -38
  455. package/lib/typescript/commonjs/src/providers/anime/crunchyroll.d.ts.map +0 -1
  456. package/lib/typescript/module/src/extractors/megacloud/megacloud.decodedpng.d.ts +0 -2
  457. package/lib/typescript/module/src/extractors/megacloud/megacloud.decodedpng.d.ts.map +0 -1
  458. package/lib/typescript/module/src/extractors/megacloud/megacloud.getsrcs.d.ts +0 -1
  459. package/lib/typescript/module/src/extractors/megacloud/megacloud.getsrcs.d.ts.map +0 -1
  460. package/lib/typescript/module/src/providers/anime/9anime.d.ts +0 -26
  461. package/lib/typescript/module/src/providers/anime/9anime.d.ts.map +0 -1
  462. package/lib/typescript/module/src/providers/anime/crunchyroll.d.ts +0 -38
  463. package/lib/typescript/module/src/providers/anime/crunchyroll.d.ts.map +0 -1
  464. package/src/extractors/megacloud/megacloud.decodedpng.ts +0 -846
  465. package/src/extractors/megacloud/megacloud.getsrcs.ts +0 -862
  466. package/src/providers/anime/9anime.ts +0 -465
  467. package/src/providers/anime/crunchyroll.ts +0 -151
@@ -16,8 +16,7 @@ import {
16
16
  class MonosChinos extends AnimeParser {
17
17
  override readonly name = 'MonosChinos';
18
18
  protected override baseUrl = 'https://monoschinos2.com';
19
- protected override logo =
20
- 'https://monoschinos2.com/public/favicon.ico?v=4.57';
19
+ protected override logo = 'https://monoschinos2.com/public/favicon.ico?v=4.57';
21
20
  protected override classPath = 'ANIME.MonosChinos';
22
21
 
23
22
  /**
@@ -58,10 +57,7 @@ class MonosChinos extends AnimeParser {
58
57
  * @param id Anime id
59
58
  * @param totalEpisodes how many episodes you want the info of (why? => refer to the docs)
60
59
  */
61
- override fetchAnimeInfo = async (
62
- id: string,
63
- totalEpisodes: number = 1000
64
- ): Promise<IAnimeInfo> => {
60
+ override fetchAnimeInfo = async (id: string, totalEpisodes: number = 1000): Promise<IAnimeInfo> => {
65
61
  try {
66
62
  const url = `${this.baseUrl}/anime/${id}`;
67
63
  const res = await this.client.get(url);
@@ -102,13 +98,9 @@ class MonosChinos extends AnimeParser {
102
98
  *
103
99
  * @param episodeId Episode id
104
100
  */
105
- override fetchEpisodeSources = async (
106
- episodeId: string
107
- ): Promise<ISource> => {
101
+ override fetchEpisodeSources = async (episodeId: string): Promise<ISource> => {
108
102
  try {
109
- const res = await this.client.get(
110
- `https://monoschinos2.com/ver/${episodeId}`
111
- );
103
+ const res = await this.client.get(`https://monoschinos2.com/ver/${episodeId}`);
112
104
  const $ = load(res.data);
113
105
 
114
106
  let decodedUrl;
@@ -122,16 +114,11 @@ class MonosChinos extends AnimeParser {
122
114
 
123
115
  try {
124
116
  decodedUrl = await this.#getServerDecodedUrl($, StreamingServers.Voe);
125
- const voeResult = await new Voe().extract(
126
- new URL(decodedUrl.replace('voe.sx', 'thomasalthoughhear.com'))
127
- );
117
+ const voeResult = await new Voe().extract(new URL(decodedUrl.replace('voe.sx', 'thomasalthoughhear.com')));
128
118
  sources = voeResult.sources;
129
119
  subtitles = voeResult?.subtitles;
130
120
  } catch (err) {
131
- decodedUrl = await this.#getServerDecodedUrl(
132
- $,
133
- StreamingServers.StreamTape
134
- );
121
+ decodedUrl = await this.#getServerDecodedUrl($, StreamingServers.StreamTape);
135
122
  sources = await new StreamTape().extract(new URL(decodedUrl));
136
123
  try {
137
124
  } catch (err) {
@@ -151,9 +138,7 @@ class MonosChinos extends AnimeParser {
151
138
  return $(this).text() === server;
152
139
  });
153
140
 
154
- const res2 = await this.client.get(
155
- `https://monoschinos2.com/reproductor?url=${button.attr('data-player')}`
156
- );
141
+ const res2 = await this.client.get(`https://monoschinos2.com/reproductor?url=${button.attr('data-player')}`);
157
142
  const $2 = load(res2.data);
158
143
  const base64Match = $2.html().match(/atob\("([^"]+)"\)/)!;
159
144
 
@@ -167,9 +152,7 @@ class MonosChinos extends AnimeParser {
167
152
  *
168
153
  * @param episodeId Episode id
169
154
  */
170
- override fetchEpisodeServers = (
171
- episodeId: string
172
- ): Promise<IEpisodeServer[]> => {
155
+ override fetchEpisodeServers = (episodeId: string): Promise<IEpisodeServer[]> => {
173
156
  throw new Error('Method not implemented.');
174
157
  };
175
158
  }
@@ -20,7 +20,7 @@ import { USER_AGENT } from '../../utils';
20
20
 
21
21
  class Zoro extends AnimeParser {
22
22
  override readonly name = 'Zoro';
23
- protected override baseUrl = 'https://hianime.to';
23
+ protected override baseUrl = 'https://hianimez.to';
24
24
  protected override logo =
25
25
  'https://is3-ssl.mzstatic.com/image/thumb/Purple112/v4/7e/91/00/7e9100ee-2b62-0942-4cdc-e9b93252ce1c/source/512x512bb.jpg';
26
26
  protected override classPath = 'ANIME.Zoro';
@@ -28,10 +28,7 @@ class Zoro extends AnimeParser {
28
28
  constructor(customBaseURL?: string) {
29
29
  super(...arguments);
30
30
  if (customBaseURL) {
31
- if (
32
- customBaseURL.startsWith('http://') ||
33
- customBaseURL.startsWith('https://')
34
- ) {
31
+ if (customBaseURL.startsWith('http://') || customBaseURL.startsWith('https://')) {
35
32
  this.baseUrl = customBaseURL;
36
33
  } else {
37
34
  this.baseUrl = `http://${customBaseURL}`;
@@ -45,16 +42,11 @@ class Zoro extends AnimeParser {
45
42
  * @param query Search query
46
43
  * @param page Page number (optional)
47
44
  */
48
- override search(
49
- query: string,
50
- page: number = 1
51
- ): Promise<ISearch<IAnimeResult>> {
45
+ override search(query: string, page: number = 1): Promise<ISearch<IAnimeResult>> {
52
46
  if (page <= 0) {
53
47
  page = 1;
54
48
  }
55
- return this.scrapeCardPage(
56
- `${this.baseUrl}/search?keyword=${decodeURIComponent(query)}&page=${page}`
57
- );
49
+ return this.scrapeCardPage(`${this.baseUrl}/search?keyword=${decodeURIComponent(query)}&page=${page}`);
58
50
  }
59
51
  /**
60
52
  * Fetch advanced anime search results with various filters.
@@ -141,8 +133,7 @@ class Zoro extends AnimeParser {
141
133
  const params = new URLSearchParams({ page: page.toString() });
142
134
 
143
135
  const addParam = (key: string, value?: string) => {
144
- if (value)
145
- params.append(key, (mappings[key]?.[value] || value).toString());
136
+ if (value) params.append(key, (mappings[key]?.[value] || value).toString());
146
137
  };
147
138
 
148
139
  addParam('type', type);
@@ -167,9 +158,7 @@ class Zoro extends AnimeParser {
167
158
  if (sort) params.append('sort', sort);
168
159
 
169
160
  if (genres?.length) {
170
- const genreIds = genres
171
- .map((genre) => (mappings.genre![genre] || genre).toString())
172
- .join('%2C');
161
+ const genreIds = genres.map((genre) => (mappings.genre![genre] || genre).toString()).join('%2C');
173
162
  params.append('genres', genreIds);
174
163
  }
175
164
 
@@ -243,16 +232,11 @@ class Zoro extends AnimeParser {
243
232
  * @param studio Studio id, e.g. "toei-animation"
244
233
  * @param page page number (optional) `default 1`
245
234
  */
246
- fetchStudio(
247
- studio: string,
248
- page: number = 1
249
- ): Promise<ISearch<IAnimeResult>> {
235
+ fetchStudio(studio: string, page: number = 1): Promise<ISearch<IAnimeResult>> {
250
236
  if (page <= 0) {
251
237
  page = 1;
252
238
  }
253
- return this.scrapeCardPage(
254
- `${this.baseUrl}/producer/${studio}?page=${page}`
255
- );
239
+ return this.scrapeCardPage(`${this.baseUrl}/producer/${studio}?page=${page}`);
256
240
  }
257
241
  /**
258
242
  * @param page number
@@ -353,39 +337,23 @@ class Zoro extends AnimeParser {
353
337
  * @param date The date in format 'YYYY-MM-DD'. Defaults to the current date.
354
338
  * @returns A promise that resolves to an object containing the search results.
355
339
  */
356
- async fetchSchedule(
357
- date: string = new Date().toISOString().slice(0, 10)
358
- ): Promise<ISearch<IAnimeResult>> {
340
+ async fetchSchedule(date: string = new Date().toISOString().slice(0, 10)): Promise<ISearch<IAnimeResult>> {
359
341
  try {
360
342
  const res: ISearch<IAnimeResult> = {
361
343
  results: [],
362
344
  };
363
345
  const {
364
346
  data: { html },
365
- } = await this.client.get(
366
- `${this.baseUrl}/ajax/schedule/list?tzOffset=360&date=${date}`
367
- );
347
+ } = await this.client.get(`${this.baseUrl}/ajax/schedule/list?tzOffset=360&date=${date}`);
368
348
  const $ = load(html);
369
349
 
370
350
  $('li').each((i, ele) => {
371
351
  const card = $(ele);
372
352
  const title = card.find('.film-name');
373
353
 
374
- const id = card
375
- .find('a.tsl-link')
376
- .attr('href')
377
- ?.split('/')[1]!
378
- .split('?')[0];
379
- const airingTime = card
380
- .find('div.time')
381
- .text()
382
- .replace('\n', '')
383
- .trim();
384
- const airingEpisode = card
385
- .find('div.film-detail div.fd-play button')
386
- .text()
387
- .replace('\n', '')
388
- .trim();
354
+ const id = card.find('a.tsl-link').attr('href')?.split('/')[1]!.split('?')[0];
355
+ const airingTime = card.find('div.time').text().replace('\n', '').trim();
356
+ const airingEpisode = card.find('div.film-detail div.fd-play button').text().replace('\n', '').trim();
389
357
  res.results.push({
390
358
  id: id!,
391
359
  title: title.text(),
@@ -422,28 +390,15 @@ class Zoro extends AnimeParser {
422
390
  title: titleElement.text(),
423
391
  japaneseTitle: titleElement.attr('data-jname'),
424
392
  banner: img.attr('data-src') || img.attr('src') || null,
425
- rank: parseInt(
426
- card.find('.desi-sub-text').text().match(/(\d+)/g)?.[0]!
427
- ),
393
+ rank: parseInt(card.find('.desi-sub-text').text().match(/(\d+)/g)?.[0]!),
428
394
  url: `${this.baseUrl}/${id}`,
429
- type: card
430
- .find('div.sc-detail .scd-item:nth-child(1)')
431
- .text()
432
- .trim() as MediaFormat,
395
+ type: card.find('div.sc-detail .scd-item:nth-child(1)').text().trim() as MediaFormat,
433
396
  duration: card.find('div.sc-detail > div:nth-child(2)').text().trim(),
434
- releaseDate: card
435
- .find('div.sc-detail > div:nth-child(3)')
436
- .text()
437
- .trim(),
397
+ releaseDate: card.find('div.sc-detail > div:nth-child(3)').text().trim(),
438
398
  quality: card.find('div.sc-detail > div:nth-child(4)').text().trim(),
439
- sub:
440
- parseInt(card.find('div.sc-detail div.tick-sub').text().trim()) ||
441
- 0,
442
- dub:
443
- parseInt(card.find('div.sc-detail div.tick-dub').text().trim()) ||
444
- 0,
445
- episodes:
446
- parseInt(card.find('div.sc-detail div.tick-eps').text()) || 0,
399
+ sub: parseInt(card.find('div.sc-detail div.tick-sub').text().trim()) || 0,
400
+ dub: parseInt(card.find('div.sc-detail div.tick-dub').text().trim()) || 0,
401
+ episodes: parseInt(card.find('div.sc-detail div.tick-eps').text()) || 0,
447
402
  description: card.find('div.desi-description').text().trim(),
448
403
  });
449
404
  });
@@ -457,9 +412,7 @@ class Zoro extends AnimeParser {
457
412
  async fetchSearchSuggestions(query: string): Promise<ISearch<IAnimeResult>> {
458
413
  try {
459
414
  const encodedQuery = encodeURIComponent(query);
460
- const { data } = await this.client.get(
461
- `${this.baseUrl}/ajax/search/suggest?keyword=${encodedQuery}`
462
- );
415
+ const { data } = await this.client.get(`${this.baseUrl}/ajax/search/suggest?keyword=${encodedQuery}`);
463
416
  const $ = load(data.html);
464
417
  const res: ISearch<IAnimeResult> = {
465
418
  results: [],
@@ -473,17 +426,8 @@ class Zoro extends AnimeParser {
473
426
  const id = card.attr('href')?.split('/')[1]!.split('?')[0];
474
427
 
475
428
  const duration = card.find('.film-infor span').last().text().trim();
476
- const releaseDate = card
477
- .find('.film-infor span:nth-child(1)')
478
- .text()
479
- .trim();
480
- const type = card
481
- .find('.film-infor')
482
- .find('span, i')
483
- .remove()
484
- .end()
485
- .text()
486
- .trim();
429
+ const releaseDate = card.find('.film-infor span:nth-child(1)').text().trim();
430
+ const type = card.find('.film-infor').find('span, i').remove().end().text().trim();
487
431
  res.results.push({
488
432
  image: image,
489
433
  id: id!,
@@ -515,31 +459,23 @@ class Zoro extends AnimeParser {
515
459
  throw new Error('Invalid session ID');
516
460
  }
517
461
  const res: IAnimeEpisode[] = [];
518
- const { data } = await this.client.get(
519
- `${this.baseUrl}/user/continue-watching`,
520
- {
521
- headers: {
522
- Cookie: `connect.sid=${connectSid}`,
523
- },
524
- }
525
- );
462
+ const { data } = await this.client.get(`${this.baseUrl}/user/continue-watching`, {
463
+ headers: {
464
+ Cookie: `connect.sid=${connectSid}`,
465
+ },
466
+ });
526
467
  const $ = load(data);
527
468
  $('.flw-item').each((i, ele) => {
528
469
  const card = $(ele);
529
470
  const atag = card.find('.film-name a');
530
- const id = atag
531
- .attr('href')
532
- ?.replace('/watch/', '')
533
- ?.replace('?ep=', '$episode$');
471
+ const id = atag.attr('href')?.replace('/watch/', '')?.replace('?ep=', '$episode$');
534
472
  const timeText = card.find('.fdb-time')?.text()?.split('/') ?? [];
535
473
  const duration = timeText.pop()?.trim() ?? '';
536
474
  const watchedTime = timeText.length > 0 ? timeText[0]!.trim() : '';
537
475
  res.push({
538
476
  id: id!,
539
477
  title: atag.text(),
540
- number: parseInt(
541
- card.find('.fdb-type').text().replace('EP', '').trim()
542
- ),
478
+ number: parseInt(card.find('.fdb-type').text().replace('EP', '').trim()),
543
479
  duration: duration,
544
480
  watchedTime: watchedTime,
545
481
  url: `${this.baseUrl}${atag.attr('href')}`,
@@ -587,12 +523,9 @@ class Zoro extends AnimeParser {
587
523
  type = 5;
588
524
  break;
589
525
  }
590
- return this.scrapeCardPage(
591
- `${this.baseUrl}/user/watch-list?page=${page}${type !== 0 ? '&type=' + type : ''}`,
592
- {
593
- headers: { Cookie: `connect.sid=${connectSid}` },
594
- }
595
- );
526
+ return this.scrapeCardPage(`${this.baseUrl}/user/watch-list?page=${page}${type !== 0 ? '&type=' + type : ''}`, {
527
+ headers: { Cookie: `connect.sid=${connectSid}` },
528
+ });
596
529
  }
597
530
  /**
598
531
  * @param id Anime id
@@ -610,48 +543,32 @@ class Zoro extends AnimeParser {
610
543
  info.malID = Number(mal_id);
611
544
  info.alID = Number(anilist_id);
612
545
  info.title = $('h2.film-name > a.text-white').text();
613
- info.japaneseTitle = $(
614
- 'div.anisc-info div:nth-child(2) span.name'
615
- ).text();
546
+ info.japaneseTitle = $('div.anisc-info div:nth-child(2) span.name').text();
616
547
  info.image = $('img.film-poster-img').attr('src');
617
548
  info.description = $('div.film-description').text().trim();
618
549
  // Movie, TV, OVA, ONA, Special, Music
619
- info.type = $('span.item')
620
- .last()
621
- .prev()
622
- .prev()
623
- .text()
624
- .toUpperCase() as MediaFormat;
550
+ info.type = $('span.item').last().prev().prev().text().toUpperCase() as MediaFormat;
625
551
  info.url = `${this.baseUrl}/${id}`;
626
552
  info.recommendations = await this.scrapeCard($);
627
553
  info.relatedAnime = [];
628
- $('#main-sidebar section:nth-child(1) div.anif-block-ul li').each(
629
- (i, ele) => {
630
- const card = $(ele);
631
- const aTag = card.find('.film-name a');
632
- const id = aTag.attr('href')?.split('/')[1]!.split('?')[0];
633
- info.relatedAnime.push({
634
- id: id!,
635
- title: aTag.text(),
636
- url: `${this.baseUrl}${aTag.attr('href')}`,
637
- image: card.find('img')?.attr('data-src'),
638
- japaneseTitle: aTag.attr('data-jname'),
639
- type: card
640
- .find('.tick')
641
- .contents()
642
- .last()
643
- ?.text()
644
- ?.trim() as MediaFormat,
645
- sub: parseInt(card.find('.tick-item.tick-sub')?.text()) || 0,
646
- dub: parseInt(card.find('.tick-item.tick-dub')?.text()) || 0,
647
- episodes: parseInt(card.find('.tick-item.tick-eps')?.text()) || 0,
648
- });
649
- }
650
- );
651
- const hasSub: boolean =
652
- $('div.film-stats div.tick div.tick-item.tick-sub').length > 0;
653
- const hasDub: boolean =
654
- $('div.film-stats div.tick div.tick-item.tick-dub').length > 0;
554
+ $('#main-sidebar section:nth-child(1) div.anif-block-ul li').each((i, ele) => {
555
+ const card = $(ele);
556
+ const aTag = card.find('.film-name a');
557
+ const id = aTag.attr('href')?.split('/')[1]!.split('?')[0];
558
+ info.relatedAnime.push({
559
+ id: id!,
560
+ title: aTag.text(),
561
+ url: `${this.baseUrl}${aTag.attr('href')}`,
562
+ image: card.find('img')?.attr('data-src'),
563
+ japaneseTitle: aTag.attr('data-jname'),
564
+ type: card.find('.tick').contents().last()?.text()?.trim() as MediaFormat,
565
+ sub: parseInt(card.find('.tick-item.tick-sub')?.text()) || 0,
566
+ dub: parseInt(card.find('.tick-item.tick-dub')?.text()) || 0,
567
+ episodes: parseInt(card.find('.tick-item.tick-eps')?.text()) || 0,
568
+ });
569
+ });
570
+ const hasSub: boolean = $('div.film-stats div.tick div.tick-item.tick-sub').length > 0;
571
+ const hasDub: boolean = $('div.film-stats div.tick div.tick-item.tick-dub').length > 0;
655
572
 
656
573
  if (hasSub) {
657
574
  info.subOrDub = SubOrSub.SUB;
@@ -677,13 +594,7 @@ class Zoro extends AnimeParser {
677
594
  if (genre !== undefined) info.genres?.push(genre);
678
595
  });
679
596
 
680
- switch (
681
- $$$('.item.item-title')
682
- .find("span.item-head:contains('Status')")
683
- .next('span.name')
684
- .text()
685
- .trim()
686
- ) {
597
+ switch ($$$('.item.item-title').find("span.item-head:contains('Status')").next('span.name').text().trim()) {
687
598
  case 'Finished Airing':
688
599
  info.status = MediaStatus.COMPLETED;
689
600
  break;
@@ -712,39 +623,25 @@ class Zoro extends AnimeParser {
712
623
  .trim();
713
624
  }
714
625
 
715
- const episodesAjax = await this.client.get(
716
- `${this.baseUrl}/ajax/v2/episode/list/${id.split('-').pop()}`,
717
- {
718
- headers: {
719
- 'X-Requested-With': 'XMLHttpRequest',
720
- 'Referer': `${this.baseUrl}/watch/${id}`,
721
- },
722
- }
723
- );
626
+ const episodesAjax = await this.client.get(`${this.baseUrl}/ajax/v2/episode/list/${id.split('-').pop()}`, {
627
+ headers: {
628
+ 'X-Requested-With': 'XMLHttpRequest',
629
+ 'Referer': `${this.baseUrl}/watch/${id}`,
630
+ },
631
+ });
724
632
 
725
633
  const $$ = load(episodesAjax.data.html);
726
634
 
727
635
  info.totalEpisodes = $$('div.detail-infor-content > div > a').length;
728
636
  info.episodes = [];
729
637
  $$('div.detail-infor-content > div > a').each((i, el) => {
730
- const episodeId = $$(el)
731
- .attr('href')
732
- ?.split('/')[2]
733
- ?.replace('?ep=', '$episode$')!;
638
+ const episodeId = $$(el).attr('href')?.split('/')[2]?.replace('?ep=', '$episode$')!;
734
639
  const number = parseInt($$(el).attr('data-number')!);
735
640
  const title = $$(el).attr('title');
736
641
  const url = this.baseUrl + $$(el).attr('href');
737
642
  const isFiller = $$(el).hasClass('ssl-item-filler');
738
- const isSubbed =
739
- number <=
740
- (parseInt(
741
- $('div.film-stats div.tick div.tick-item.tick-sub').text().trim()
742
- ) || 0);
743
- const isDubbed =
744
- number <=
745
- (parseInt(
746
- $('div.film-stats div.tick div.tick-item.tick-dub').text().trim()
747
- ) || 0);
643
+ const isSubbed = number <= (parseInt($('div.film-stats div.tick div.tick-item.tick-sub').text().trim()) || 0);
644
+ const isDubbed = number <= (parseInt($('div.film-stats div.tick div.tick-item.tick-dub').text().trim()) || 0);
748
645
 
749
646
  info.episodes?.push({
750
647
  id: episodeId,
@@ -790,18 +687,12 @@ class Zoro extends AnimeParser {
790
687
  'watchsb': 'streamsb',
791
688
  'User-Agent': USER_AGENT,
792
689
  },
793
- sources: await new StreamSB(this.proxyConfig, this.adapter).extract(
794
- serverUrl,
795
- true
796
- ),
690
+ sources: await new StreamSB(this.proxyConfig, this.adapter).extract(serverUrl, true),
797
691
  };
798
692
  case StreamingServers.StreamTape:
799
693
  return {
800
694
  headers: { 'Referer': serverUrl.href, 'User-Agent': USER_AGENT },
801
- sources: await new StreamTape(
802
- this.proxyConfig,
803
- this.adapter
804
- ).extract(serverUrl),
695
+ sources: await new StreamTape(this.proxyConfig, this.adapter).extract(serverUrl),
805
696
  };
806
697
  default:
807
698
  case StreamingServers.VidCloud:
@@ -819,9 +710,7 @@ class Zoro extends AnimeParser {
819
710
  // TODO: add both options later
820
711
  // subOrDub = episodeId.split('$')?.pop() === 'dub' ? 'dub' : 'sub';
821
712
 
822
- episodeId = `${this.baseUrl}/watch/${episodeId
823
- .replace('$episode$', '?ep=')
824
- .replace(/\$auto|\$sub|\$dub/gi, '')}`;
713
+ episodeId = `${this.baseUrl}/watch/${episodeId.replace('$episode$', '?ep=').replace(/\$auto|\$sub|\$dub/gi, '')}`;
825
714
 
826
715
  try {
827
716
  const { data } = await this.client.get(
@@ -868,9 +757,7 @@ class Zoro extends AnimeParser {
868
757
 
869
758
  const {
870
759
  data: { link },
871
- } = await this.client.get(
872
- `${this.baseUrl}/ajax/v2/episode/sources?id=${serverId}`
873
- );
760
+ } = await this.client.get(`${this.baseUrl}/ajax/v2/episode/sources?id=${serverId}`);
874
761
 
875
762
  return await this.fetchEpisodeSources(link, server, SubOrSub.SUB);
876
763
  } catch (err) {
@@ -880,14 +767,11 @@ class Zoro extends AnimeParser {
880
767
 
881
768
  private verifyLoginState = async (connectSid: string): Promise<boolean> => {
882
769
  try {
883
- const { data } = await this.client.get(
884
- `${this.baseUrl}/ajax/login-state`,
885
- {
886
- headers: {
887
- Cookie: `connect.sid=${connectSid}`,
888
- },
889
- }
890
- );
770
+ const { data } = await this.client.get(`${this.baseUrl}/ajax/login-state`, {
771
+ headers: {
772
+ Cookie: `connect.sid=${connectSid}`,
773
+ },
774
+ });
891
775
  return data.is_login;
892
776
  } catch (err) {
893
777
  return false;
@@ -896,12 +780,8 @@ class Zoro extends AnimeParser {
896
780
 
897
781
  private retrieveServerId = ($: any, index: number, subOrDub: SubOrSub) => {
898
782
  const rawOrSubOrDub = (raw: boolean) =>
899
- $(
900
- `.ps_-block.ps_-block-sub.servers-${raw ? 'raw' : subOrDub} > .ps__-list .server-item`
901
- )
902
- .map((i: any, el: any) =>
903
- $(el).attr('data-server-id') === `${index}` ? $(el) : null
904
- )
783
+ $(`.ps_-block.ps_-block-sub.servers-${raw ? 'raw' : subOrDub} > .ps__-list .server-item`)
784
+ .map((i: any, el: any) => ($(el).attr('data-server-id') === `${index}` ? $(el) : null))
905
785
  .get()[0]
906
786
  .attr('data-id');
907
787
  try {
@@ -916,10 +796,7 @@ class Zoro extends AnimeParser {
916
796
  /**
917
797
  * @param url string
918
798
  */
919
- private scrapeCardPage = async (
920
- url: string,
921
- headers?: object
922
- ): Promise<ISearch<IAnimeResult>> => {
799
+ private scrapeCardPage = async (url: string, headers?: object): Promise<ISearch<IAnimeResult>> => {
923
800
  try {
924
801
  const res: ISearch<IAnimeResult> = {
925
802
  currentPage: 0,
@@ -936,11 +813,7 @@ class Zoro extends AnimeParser {
936
813
  if (nextPage !== undefined && nextPage !== '') {
937
814
  res.hasNextPage = true;
938
815
  }
939
- const totalPages = pagination
940
- .find('a[title=Last]')
941
- .attr('href')
942
- ?.split('=')
943
- .pop();
816
+ const totalPages = pagination.find('a[title=Last]').attr('href')?.split('=').pop();
944
817
  if (totalPages === undefined || totalPages === '') {
945
818
  res.totalPages = res.currentPage;
946
819
  } else {
@@ -970,10 +843,7 @@ class Zoro extends AnimeParser {
970
843
  const card = $(ele);
971
844
  const atag = card.find('.film-name a');
972
845
  const id = atag.attr('href')?.split('/')[1]!.split('?')[0];
973
- const watchList = card
974
- .find('.dropdown-menu .added')
975
- .text()
976
- .trim() as WatchListType;
846
+ const watchList = card.find('.dropdown-menu .added').text().trim() as WatchListType;
977
847
  const type = card
978
848
  .find('.fdi-item')
979
849
  ?.first()
@@ -1004,9 +874,7 @@ class Zoro extends AnimeParser {
1004
874
  * @deprecated
1005
875
  * @param episodeId Episode id
1006
876
  */
1007
- override fetchEpisodeServers = (
1008
- episodeId: string
1009
- ): Promise<IEpisodeServer[]> => {
877
+ override fetchEpisodeServers = (episodeId: string): Promise<IEpisodeServer[]> => {
1010
878
  throw new Error('Method not implemented.');
1011
879
  };
1012
880
  }
@@ -1,10 +1,5 @@
1
1
  import { load } from 'cheerio';
2
- import {
3
- ComicParser,
4
- type ComicRes,
5
- type GetComicsComics,
6
- GetComicsComicsObject,
7
- } from '../../models';
2
+ import { ComicParser, type ComicRes, type GetComicsComics, GetComicsComicsObject } from '../../models';
8
3
  import { parsePostInfo } from '../../utils';
9
4
 
10
5
  const s = async () => {};
@@ -19,9 +14,7 @@ class getComics extends ComicParser {
19
14
 
20
15
  override search = async (query: string, page: number | undefined = 1) => {
21
16
  query = encodeURIComponent(query);
22
- const { data } = await this.client.get(
23
- `${this.baseUrl}/page/${page ? page : 1}/?s=${query}`
24
- );
17
+ const { data } = await this.client.get(`${this.baseUrl}/page/${page ? page : 1}/?s=${query}`);
25
18
  const $ = load(data);
26
19
  const lastPage = $('section section nav:eq(1) ul li:last').text();
27
20
  const res: ComicRes = {
@@ -31,24 +24,13 @@ class getComics extends ComicParser {
31
24
  $('article').each((i, el) => {
32
25
  const container: GetComicsComics = new GetComicsComicsObject();
33
26
  const vals = parsePostInfo($(el).children('div.post-info').text());
34
- container.image =
35
- $(el)
36
- .children('div.post-header-image')
37
- .children('a')
38
- .children('img')
39
- .attr('src') || '';
27
+ container.image = $(el).children('div.post-header-image').children('a').children('img').attr('src') || '';
40
28
  container.title = $(el).children('div.post-info').children('h1').text();
41
- container.excerpt = $(el)
42
- .children('div.post-info')
43
- .children('p.post-excerpt')
44
- .text();
29
+ container.excerpt = $(el).children('div.post-info').children('p.post-excerpt').text();
45
30
  container.year = vals.year;
46
31
  container.size = vals.size;
47
32
  container.description = vals.description;
48
- const link = $(el)
49
- .children('div.post-header-image')
50
- .children('a')
51
- .attr('href');
33
+ const link = $(el).children('div.post-header-image').children('a').attr('href');
52
34
  container.ufile = link || '';
53
35
  res.containers.push(container);
54
36
  });
@@ -56,10 +38,8 @@ class getComics extends ComicParser {
56
38
  if (container.ufile !== '') {
57
39
  const { data } = await this.client.get(container.ufile);
58
40
  const $ = load(data);
59
- container.download =
60
- $('.aio-red[title="Download Now"]').attr('href') || '';
61
- container.readOnline =
62
- $('.aio-red[title="Read Online"]').attr('href') || '';
41
+ container.download = $('.aio-red[title="Download Now"]').attr('href') || '';
42
+ container.readOnline = $('.aio-red[title="Read Online"]').attr('href') || '';
63
43
  container.ufile = $('.aio-blue').attr('href') || '';
64
44
  container.mega = $('.aio-purple').attr('href') || '';
65
45
  container.mediafire = $('.aio-orange').attr('href') || '';