react-native-consumet 0.2.2 → 0.3.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 (452) hide show
  1. package/README.md +1 -1
  2. package/android/src/main/assets/megacloud.decodedpng.js +605 -605
  3. package/android/src/main/assets/megacloud.getsrcs.js +713 -713
  4. package/lib/commonjs/extractors/asianload.js.map +1 -1
  5. package/lib/commonjs/extractors/filemoon.js.map +1 -1
  6. package/lib/commonjs/extractors/gogocdn.js.map +1 -1
  7. package/lib/commonjs/extractors/kisskh/kkey.js.map +1 -1
  8. package/lib/commonjs/extractors/kisskh/staticdata.js.map +1 -1
  9. package/lib/commonjs/extractors/kwik.js.map +1 -1
  10. package/lib/commonjs/extractors/megacloud/index.js.map +1 -1
  11. package/lib/commonjs/extractors/megacloud/megacloud.decodedpng.js.map +1 -1
  12. package/lib/commonjs/extractors/megaup.js +1 -1
  13. package/lib/commonjs/extractors/megaup.js.map +1 -1
  14. package/lib/commonjs/extractors/mixdrop.js.map +1 -1
  15. package/lib/commonjs/extractors/mp4player.js.map +1 -1
  16. package/lib/commonjs/extractors/mp4upload.js.map +1 -1
  17. package/lib/commonjs/extractors/rapidcloud.js.map +1 -1
  18. package/lib/commonjs/extractors/smashystream.js.map +1 -1
  19. package/lib/commonjs/extractors/streamhub.js.map +1 -1
  20. package/lib/commonjs/extractors/streamlare.js.map +1 -1
  21. package/lib/commonjs/extractors/streamsb.js.map +1 -1
  22. package/lib/commonjs/extractors/streamwish.js +12 -15
  23. package/lib/commonjs/extractors/streamwish.js.map +1 -1
  24. package/lib/commonjs/extractors/vidcloud.js.map +1 -1
  25. package/lib/commonjs/extractors/vidhide.js.map +1 -1
  26. package/lib/commonjs/extractors/vidmoly.js.map +1 -1
  27. package/lib/commonjs/extractors/vizcloud.js.map +1 -1
  28. package/lib/commonjs/extractors/voe.js.map +1 -1
  29. package/lib/commonjs/index.js.map +1 -1
  30. package/lib/commonjs/models/anime-parser.js.map +1 -1
  31. package/lib/commonjs/models/lightnovel-parser.js.map +1 -1
  32. package/lib/commonjs/models/manga-parser.js.map +1 -1
  33. package/lib/commonjs/models/movie-parser.js.map +1 -1
  34. package/lib/commonjs/models/proxy.js.map +1 -1
  35. package/lib/commonjs/models/video-extractor.js.map +1 -1
  36. package/lib/commonjs/providers/anime/anify.js.map +1 -1
  37. package/lib/commonjs/providers/anime/animedrive.js.map +1 -1
  38. package/lib/commonjs/providers/anime/animefox.js.map +1 -1
  39. package/lib/commonjs/providers/anime/animekai.js.map +1 -1
  40. package/lib/commonjs/providers/anime/animepahe.js.map +1 -1
  41. package/lib/commonjs/providers/anime/animesaturn.js.map +1 -1
  42. package/lib/commonjs/providers/anime/animeunity.js.map +1 -1
  43. package/lib/commonjs/providers/anime/anix.js.map +1 -1
  44. package/lib/commonjs/providers/anime/bilibili.js.map +1 -1
  45. package/lib/commonjs/providers/anime/gogoanime.js.map +1 -1
  46. package/lib/commonjs/providers/anime/index.js +0 -4
  47. package/lib/commonjs/providers/anime/index.js.map +1 -1
  48. package/lib/commonjs/providers/anime/kickassanime.js.map +1 -1
  49. package/lib/commonjs/providers/anime/marin.js.map +1 -1
  50. package/lib/commonjs/providers/anime/monoschinos.js.map +1 -1
  51. package/lib/commonjs/providers/anime/zoro.js +1 -1
  52. package/lib/commonjs/providers/anime/zoro.js.map +1 -1
  53. package/lib/commonjs/providers/comics/getComics.js.map +1 -1
  54. package/lib/commonjs/providers/light-novels/novelupdates.js.map +1 -1
  55. package/lib/commonjs/providers/light-novels/readlightnovels.js.map +1 -1
  56. package/lib/commonjs/providers/manga/asurascans.js.map +1 -1
  57. package/lib/commonjs/providers/manga/brmangas.js.map +1 -1
  58. package/lib/commonjs/providers/manga/comick.js.map +1 -1
  59. package/lib/commonjs/providers/manga/flamescans.js.map +1 -1
  60. package/lib/commonjs/providers/manga/mangadex.js.map +1 -1
  61. package/lib/commonjs/providers/manga/mangahere.js.map +1 -1
  62. package/lib/commonjs/providers/manga/mangahost.js.map +1 -1
  63. package/lib/commonjs/providers/manga/mangakakalot.js.map +1 -1
  64. package/lib/commonjs/providers/manga/mangapark.js.map +1 -1
  65. package/lib/commonjs/providers/manga/mangapill.js.map +1 -1
  66. package/lib/commonjs/providers/manga/mangareader.js.map +1 -1
  67. package/lib/commonjs/providers/manga/mangasee123.js.map +1 -1
  68. package/lib/commonjs/providers/manga/readmanga.js.map +1 -1
  69. package/lib/commonjs/providers/manga/vyvymanga.js.map +1 -1
  70. package/lib/commonjs/providers/meta/anilist.js +86 -106
  71. package/lib/commonjs/providers/meta/anilist.js.map +1 -1
  72. package/lib/commonjs/providers/meta/mal.js +2 -28
  73. package/lib/commonjs/providers/meta/mal.js.map +1 -1
  74. package/lib/commonjs/providers/meta/tmdb.js +22 -1
  75. package/lib/commonjs/providers/meta/tmdb.js.map +1 -1
  76. package/lib/commonjs/providers/movies/dramacool.js.map +1 -1
  77. package/lib/commonjs/providers/movies/flixhq.js.map +1 -1
  78. package/lib/commonjs/providers/movies/fmovies.js.map +1 -1
  79. package/lib/commonjs/providers/movies/goku.js.map +1 -1
  80. package/lib/commonjs/providers/movies/kissasian.js.map +1 -1
  81. package/lib/commonjs/providers/movies/moviehdwatch.js.map +1 -1
  82. package/lib/commonjs/providers/movies/multimovies.js +2 -2
  83. package/lib/commonjs/providers/movies/multimovies.js.map +1 -1
  84. package/lib/commonjs/providers/movies/sflix.js.map +1 -1
  85. package/lib/commonjs/providers/movies/smashystream.js.map +1 -1
  86. package/lib/commonjs/providers/movies/turkish123.js.map +1 -1
  87. package/lib/commonjs/providers/movies/ummagurau.js.map +1 -1
  88. package/lib/commonjs/providers/movies/viewAsian.js.map +1 -1
  89. package/lib/commonjs/providers/news/animenewsnetwork.js.map +1 -1
  90. package/lib/commonjs/utils/providers-list.js +1 -1
  91. package/lib/commonjs/utils/providers-list.js.map +1 -1
  92. package/lib/commonjs/utils/queries.js.map +1 -1
  93. package/lib/commonjs/utils/utils.js.map +1 -1
  94. package/lib/module/extractors/asianload.js.map +1 -1
  95. package/lib/module/extractors/filemoon.js.map +1 -1
  96. package/lib/module/extractors/gogocdn.js.map +1 -1
  97. package/lib/module/extractors/kisskh/kkey.js.map +1 -1
  98. package/lib/module/extractors/kisskh/staticdata.js.map +1 -1
  99. package/lib/module/extractors/kwik.js.map +1 -1
  100. package/lib/module/extractors/megacloud/index.js.map +1 -1
  101. package/lib/module/extractors/megacloud/megacloud.decodedpng.js.map +1 -1
  102. package/lib/module/extractors/megaup.js +1 -1
  103. package/lib/module/extractors/megaup.js.map +1 -1
  104. package/lib/module/extractors/mixdrop.js.map +1 -1
  105. package/lib/module/extractors/mp4player.js.map +1 -1
  106. package/lib/module/extractors/mp4upload.js.map +1 -1
  107. package/lib/module/extractors/rapidcloud.js.map +1 -1
  108. package/lib/module/extractors/smashystream.js.map +1 -1
  109. package/lib/module/extractors/streamhub.js.map +1 -1
  110. package/lib/module/extractors/streamlare.js.map +1 -1
  111. package/lib/module/extractors/streamsb.js.map +1 -1
  112. package/lib/module/extractors/streamwish.js +12 -15
  113. package/lib/module/extractors/streamwish.js.map +1 -1
  114. package/lib/module/extractors/vidcloud.js.map +1 -1
  115. package/lib/module/extractors/vidhide.js.map +1 -1
  116. package/lib/module/extractors/vidmoly.js.map +1 -1
  117. package/lib/module/extractors/vizcloud.js.map +1 -1
  118. package/lib/module/extractors/voe.js.map +1 -1
  119. package/lib/module/index.js.map +1 -1
  120. package/lib/module/models/anime-parser.js.map +1 -1
  121. package/lib/module/models/lightnovel-parser.js.map +1 -1
  122. package/lib/module/models/manga-parser.js.map +1 -1
  123. package/lib/module/models/movie-parser.js.map +1 -1
  124. package/lib/module/models/proxy.js.map +1 -1
  125. package/lib/module/models/video-extractor.js.map +1 -1
  126. package/lib/module/providers/anime/anify.js.map +1 -1
  127. package/lib/module/providers/anime/animedrive.js.map +1 -1
  128. package/lib/module/providers/anime/animefox.js.map +1 -1
  129. package/lib/module/providers/anime/animekai.js.map +1 -1
  130. package/lib/module/providers/anime/animepahe.js.map +1 -1
  131. package/lib/module/providers/anime/animesaturn.js.map +1 -1
  132. package/lib/module/providers/anime/animeunity.js.map +1 -1
  133. package/lib/module/providers/anime/anix.js.map +1 -1
  134. package/lib/module/providers/anime/bilibili.js.map +1 -1
  135. package/lib/module/providers/anime/gogoanime.js.map +1 -1
  136. package/lib/module/providers/anime/index.js +0 -4
  137. package/lib/module/providers/anime/index.js.map +1 -1
  138. package/lib/module/providers/anime/kickassanime.js.map +1 -1
  139. package/lib/module/providers/anime/marin.js.map +1 -1
  140. package/lib/module/providers/anime/monoschinos.js.map +1 -1
  141. package/lib/module/providers/anime/zoro.js +1 -1
  142. package/lib/module/providers/anime/zoro.js.map +1 -1
  143. package/lib/module/providers/comics/getComics.js.map +1 -1
  144. package/lib/module/providers/light-novels/novelupdates.js.map +1 -1
  145. package/lib/module/providers/light-novels/readlightnovels.js.map +1 -1
  146. package/lib/module/providers/manga/asurascans.js.map +1 -1
  147. package/lib/module/providers/manga/brmangas.js.map +1 -1
  148. package/lib/module/providers/manga/comick.js.map +1 -1
  149. package/lib/module/providers/manga/flamescans.js.map +1 -1
  150. package/lib/module/providers/manga/mangadex.js.map +1 -1
  151. package/lib/module/providers/manga/mangahere.js.map +1 -1
  152. package/lib/module/providers/manga/mangahost.js.map +1 -1
  153. package/lib/module/providers/manga/mangakakalot.js.map +1 -1
  154. package/lib/module/providers/manga/mangapark.js.map +1 -1
  155. package/lib/module/providers/manga/mangapill.js.map +1 -1
  156. package/lib/module/providers/manga/mangareader.js.map +1 -1
  157. package/lib/module/providers/manga/mangasee123.js.map +1 -1
  158. package/lib/module/providers/manga/readmanga.js.map +1 -1
  159. package/lib/module/providers/manga/vyvymanga.js.map +1 -1
  160. package/lib/module/providers/meta/anilist.js +88 -108
  161. package/lib/module/providers/meta/anilist.js.map +1 -1
  162. package/lib/module/providers/meta/mal.js +2 -28
  163. package/lib/module/providers/meta/mal.js.map +1 -1
  164. package/lib/module/providers/meta/tmdb.js +22 -1
  165. package/lib/module/providers/meta/tmdb.js.map +1 -1
  166. package/lib/module/providers/movies/dramacool.js.map +1 -1
  167. package/lib/module/providers/movies/flixhq.js.map +1 -1
  168. package/lib/module/providers/movies/fmovies.js.map +1 -1
  169. package/lib/module/providers/movies/goku.js.map +1 -1
  170. package/lib/module/providers/movies/kissasian.js.map +1 -1
  171. package/lib/module/providers/movies/moviehdwatch.js.map +1 -1
  172. package/lib/module/providers/movies/multimovies.js +2 -2
  173. package/lib/module/providers/movies/multimovies.js.map +1 -1
  174. package/lib/module/providers/movies/sflix.js.map +1 -1
  175. package/lib/module/providers/movies/smashystream.js.map +1 -1
  176. package/lib/module/providers/movies/turkish123.js.map +1 -1
  177. package/lib/module/providers/movies/ummagurau.js.map +1 -1
  178. package/lib/module/providers/movies/viewAsian.js.map +1 -1
  179. package/lib/module/providers/news/animenewsnetwork.js.map +1 -1
  180. package/lib/module/utils/providers-list.js +1 -1
  181. package/lib/module/utils/providers-list.js.map +1 -1
  182. package/lib/module/utils/queries.js.map +1 -1
  183. package/lib/module/utils/utils.js.map +1 -1
  184. package/lib/typescript/commonjs/src/extractors/asianload.d.ts.map +1 -1
  185. package/lib/typescript/commonjs/src/extractors/filemoon.d.ts.map +1 -1
  186. package/lib/typescript/commonjs/src/extractors/gogocdn.d.ts.map +1 -1
  187. package/lib/typescript/commonjs/src/extractors/kisskh/kkey.d.ts.map +1 -1
  188. package/lib/typescript/commonjs/src/extractors/kisskh/staticdata.d.ts.map +1 -1
  189. package/lib/typescript/commonjs/src/extractors/kwik.d.ts.map +1 -1
  190. package/lib/typescript/commonjs/src/extractors/megacloud/index.d.ts.map +1 -1
  191. package/lib/typescript/commonjs/src/extractors/megacloud/megacloud.decodedpng.d.ts.map +1 -1
  192. package/lib/typescript/commonjs/src/extractors/megaup.d.ts.map +1 -1
  193. package/lib/typescript/commonjs/src/extractors/mixdrop.d.ts.map +1 -1
  194. package/lib/typescript/commonjs/src/extractors/mp4player.d.ts.map +1 -1
  195. package/lib/typescript/commonjs/src/extractors/mp4upload.d.ts.map +1 -1
  196. package/lib/typescript/commonjs/src/extractors/rapidcloud.d.ts.map +1 -1
  197. package/lib/typescript/commonjs/src/extractors/smashystream.d.ts.map +1 -1
  198. package/lib/typescript/commonjs/src/extractors/streamhub.d.ts.map +1 -1
  199. package/lib/typescript/commonjs/src/extractors/streamlare.d.ts.map +1 -1
  200. package/lib/typescript/commonjs/src/extractors/streamsb.d.ts.map +1 -1
  201. package/lib/typescript/commonjs/src/extractors/streamwish.d.ts.map +1 -1
  202. package/lib/typescript/commonjs/src/extractors/vidcloud.d.ts.map +1 -1
  203. package/lib/typescript/commonjs/src/extractors/vidhide.d.ts.map +1 -1
  204. package/lib/typescript/commonjs/src/extractors/vidmoly.d.ts.map +1 -1
  205. package/lib/typescript/commonjs/src/extractors/vizcloud.d.ts.map +1 -1
  206. package/lib/typescript/commonjs/src/extractors/voe.d.ts.map +1 -1
  207. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  208. package/lib/typescript/commonjs/src/models/anime-parser.d.ts.map +1 -1
  209. package/lib/typescript/commonjs/src/models/lightnovel-parser.d.ts.map +1 -1
  210. package/lib/typescript/commonjs/src/models/manga-parser.d.ts.map +1 -1
  211. package/lib/typescript/commonjs/src/models/movie-parser.d.ts.map +1 -1
  212. package/lib/typescript/commonjs/src/models/proxy.d.ts.map +1 -1
  213. package/lib/typescript/commonjs/src/models/video-extractor.d.ts.map +1 -1
  214. package/lib/typescript/commonjs/src/providers/anime/anify.d.ts.map +1 -1
  215. package/lib/typescript/commonjs/src/providers/anime/animedrive.d.ts.map +1 -1
  216. package/lib/typescript/commonjs/src/providers/anime/animefox.d.ts.map +1 -1
  217. package/lib/typescript/commonjs/src/providers/anime/animekai.d.ts.map +1 -1
  218. package/lib/typescript/commonjs/src/providers/anime/animepahe.d.ts.map +1 -1
  219. package/lib/typescript/commonjs/src/providers/anime/animesaturn.d.ts.map +1 -1
  220. package/lib/typescript/commonjs/src/providers/anime/animeunity.d.ts.map +1 -1
  221. package/lib/typescript/commonjs/src/providers/anime/anix.d.ts.map +1 -1
  222. package/lib/typescript/commonjs/src/providers/anime/bilibili.d.ts.map +1 -1
  223. package/lib/typescript/commonjs/src/providers/anime/gogoanime.d.ts.map +1 -1
  224. package/lib/typescript/commonjs/src/providers/anime/index.d.ts +0 -4
  225. package/lib/typescript/commonjs/src/providers/anime/index.d.ts.map +1 -1
  226. package/lib/typescript/commonjs/src/providers/anime/kickassanime.d.ts.map +1 -1
  227. package/lib/typescript/commonjs/src/providers/anime/marin.d.ts.map +1 -1
  228. package/lib/typescript/commonjs/src/providers/anime/monoschinos.d.ts.map +1 -1
  229. package/lib/typescript/commonjs/src/providers/anime/zoro.d.ts.map +1 -1
  230. package/lib/typescript/commonjs/src/providers/comics/getComics.d.ts.map +1 -1
  231. package/lib/typescript/commonjs/src/providers/light-novels/novelupdates.d.ts.map +1 -1
  232. package/lib/typescript/commonjs/src/providers/light-novels/readlightnovels.d.ts.map +1 -1
  233. package/lib/typescript/commonjs/src/providers/manga/asurascans.d.ts.map +1 -1
  234. package/lib/typescript/commonjs/src/providers/manga/brmangas.d.ts.map +1 -1
  235. package/lib/typescript/commonjs/src/providers/manga/comick.d.ts.map +1 -1
  236. package/lib/typescript/commonjs/src/providers/manga/flamescans.d.ts.map +1 -1
  237. package/lib/typescript/commonjs/src/providers/manga/mangadex.d.ts.map +1 -1
  238. package/lib/typescript/commonjs/src/providers/manga/mangahere.d.ts.map +1 -1
  239. package/lib/typescript/commonjs/src/providers/manga/mangahost.d.ts.map +1 -1
  240. package/lib/typescript/commonjs/src/providers/manga/mangakakalot.d.ts.map +1 -1
  241. package/lib/typescript/commonjs/src/providers/manga/mangapark.d.ts.map +1 -1
  242. package/lib/typescript/commonjs/src/providers/manga/mangapill.d.ts.map +1 -1
  243. package/lib/typescript/commonjs/src/providers/manga/mangareader.d.ts.map +1 -1
  244. package/lib/typescript/commonjs/src/providers/manga/mangasee123.d.ts.map +1 -1
  245. package/lib/typescript/commonjs/src/providers/manga/readmanga.d.ts.map +1 -1
  246. package/lib/typescript/commonjs/src/providers/manga/vyvymanga.d.ts.map +1 -1
  247. package/lib/typescript/commonjs/src/providers/meta/anilist.d.ts +2 -3
  248. package/lib/typescript/commonjs/src/providers/meta/anilist.d.ts.map +1 -1
  249. package/lib/typescript/commonjs/src/providers/meta/mal.d.ts.map +1 -1
  250. package/lib/typescript/commonjs/src/providers/meta/tmdb.d.ts.map +1 -1
  251. package/lib/typescript/commonjs/src/providers/movies/dramacool.d.ts.map +1 -1
  252. package/lib/typescript/commonjs/src/providers/movies/flixhq.d.ts.map +1 -1
  253. package/lib/typescript/commonjs/src/providers/movies/fmovies.d.ts.map +1 -1
  254. package/lib/typescript/commonjs/src/providers/movies/goku.d.ts.map +1 -1
  255. package/lib/typescript/commonjs/src/providers/movies/kissasian.d.ts.map +1 -1
  256. package/lib/typescript/commonjs/src/providers/movies/moviehdwatch.d.ts.map +1 -1
  257. package/lib/typescript/commonjs/src/providers/movies/multimovies.d.ts.map +1 -1
  258. package/lib/typescript/commonjs/src/providers/movies/sflix.d.ts.map +1 -1
  259. package/lib/typescript/commonjs/src/providers/movies/smashystream.d.ts.map +1 -1
  260. package/lib/typescript/commonjs/src/providers/movies/turkish123.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/src/providers/movies/viewAsian.d.ts.map +1 -1
  262. package/lib/typescript/commonjs/src/providers/news/animenewsnetwork.d.ts.map +1 -1
  263. package/lib/typescript/commonjs/src/utils/providers-list.d.ts +1 -1
  264. package/lib/typescript/commonjs/src/utils/providers-list.d.ts.map +1 -1
  265. package/lib/typescript/commonjs/src/utils/queries.d.ts.map +1 -1
  266. package/lib/typescript/commonjs/src/utils/utils.d.ts +1 -1
  267. package/lib/typescript/commonjs/src/utils/utils.d.ts.map +1 -1
  268. package/lib/typescript/module/src/extractors/asianload.d.ts.map +1 -1
  269. package/lib/typescript/module/src/extractors/filemoon.d.ts.map +1 -1
  270. package/lib/typescript/module/src/extractors/gogocdn.d.ts.map +1 -1
  271. package/lib/typescript/module/src/extractors/kisskh/kkey.d.ts.map +1 -1
  272. package/lib/typescript/module/src/extractors/kisskh/staticdata.d.ts.map +1 -1
  273. package/lib/typescript/module/src/extractors/kwik.d.ts.map +1 -1
  274. package/lib/typescript/module/src/extractors/megacloud/index.d.ts.map +1 -1
  275. package/lib/typescript/module/src/extractors/megacloud/megacloud.decodedpng.d.ts.map +1 -1
  276. package/lib/typescript/module/src/extractors/megaup.d.ts.map +1 -1
  277. package/lib/typescript/module/src/extractors/mixdrop.d.ts.map +1 -1
  278. package/lib/typescript/module/src/extractors/mp4player.d.ts.map +1 -1
  279. package/lib/typescript/module/src/extractors/mp4upload.d.ts.map +1 -1
  280. package/lib/typescript/module/src/extractors/rapidcloud.d.ts.map +1 -1
  281. package/lib/typescript/module/src/extractors/smashystream.d.ts.map +1 -1
  282. package/lib/typescript/module/src/extractors/streamhub.d.ts.map +1 -1
  283. package/lib/typescript/module/src/extractors/streamlare.d.ts.map +1 -1
  284. package/lib/typescript/module/src/extractors/streamsb.d.ts.map +1 -1
  285. package/lib/typescript/module/src/extractors/streamwish.d.ts.map +1 -1
  286. package/lib/typescript/module/src/extractors/vidcloud.d.ts.map +1 -1
  287. package/lib/typescript/module/src/extractors/vidhide.d.ts.map +1 -1
  288. package/lib/typescript/module/src/extractors/vidmoly.d.ts.map +1 -1
  289. package/lib/typescript/module/src/extractors/vizcloud.d.ts.map +1 -1
  290. package/lib/typescript/module/src/extractors/voe.d.ts.map +1 -1
  291. package/lib/typescript/module/src/index.d.ts.map +1 -1
  292. package/lib/typescript/module/src/models/anime-parser.d.ts.map +1 -1
  293. package/lib/typescript/module/src/models/lightnovel-parser.d.ts.map +1 -1
  294. package/lib/typescript/module/src/models/manga-parser.d.ts.map +1 -1
  295. package/lib/typescript/module/src/models/movie-parser.d.ts.map +1 -1
  296. package/lib/typescript/module/src/models/proxy.d.ts.map +1 -1
  297. package/lib/typescript/module/src/models/video-extractor.d.ts.map +1 -1
  298. package/lib/typescript/module/src/providers/anime/anify.d.ts.map +1 -1
  299. package/lib/typescript/module/src/providers/anime/animedrive.d.ts.map +1 -1
  300. package/lib/typescript/module/src/providers/anime/animefox.d.ts.map +1 -1
  301. package/lib/typescript/module/src/providers/anime/animekai.d.ts.map +1 -1
  302. package/lib/typescript/module/src/providers/anime/animepahe.d.ts.map +1 -1
  303. package/lib/typescript/module/src/providers/anime/animesaturn.d.ts.map +1 -1
  304. package/lib/typescript/module/src/providers/anime/animeunity.d.ts.map +1 -1
  305. package/lib/typescript/module/src/providers/anime/anix.d.ts.map +1 -1
  306. package/lib/typescript/module/src/providers/anime/bilibili.d.ts.map +1 -1
  307. package/lib/typescript/module/src/providers/anime/gogoanime.d.ts.map +1 -1
  308. package/lib/typescript/module/src/providers/anime/index.d.ts +0 -4
  309. package/lib/typescript/module/src/providers/anime/index.d.ts.map +1 -1
  310. package/lib/typescript/module/src/providers/anime/kickassanime.d.ts.map +1 -1
  311. package/lib/typescript/module/src/providers/anime/marin.d.ts.map +1 -1
  312. package/lib/typescript/module/src/providers/anime/monoschinos.d.ts.map +1 -1
  313. package/lib/typescript/module/src/providers/anime/zoro.d.ts.map +1 -1
  314. package/lib/typescript/module/src/providers/comics/getComics.d.ts.map +1 -1
  315. package/lib/typescript/module/src/providers/light-novels/novelupdates.d.ts.map +1 -1
  316. package/lib/typescript/module/src/providers/light-novels/readlightnovels.d.ts.map +1 -1
  317. package/lib/typescript/module/src/providers/manga/asurascans.d.ts.map +1 -1
  318. package/lib/typescript/module/src/providers/manga/brmangas.d.ts.map +1 -1
  319. package/lib/typescript/module/src/providers/manga/comick.d.ts.map +1 -1
  320. package/lib/typescript/module/src/providers/manga/flamescans.d.ts.map +1 -1
  321. package/lib/typescript/module/src/providers/manga/mangadex.d.ts.map +1 -1
  322. package/lib/typescript/module/src/providers/manga/mangahere.d.ts.map +1 -1
  323. package/lib/typescript/module/src/providers/manga/mangahost.d.ts.map +1 -1
  324. package/lib/typescript/module/src/providers/manga/mangakakalot.d.ts.map +1 -1
  325. package/lib/typescript/module/src/providers/manga/mangapark.d.ts.map +1 -1
  326. package/lib/typescript/module/src/providers/manga/mangapill.d.ts.map +1 -1
  327. package/lib/typescript/module/src/providers/manga/mangareader.d.ts.map +1 -1
  328. package/lib/typescript/module/src/providers/manga/mangasee123.d.ts.map +1 -1
  329. package/lib/typescript/module/src/providers/manga/readmanga.d.ts.map +1 -1
  330. package/lib/typescript/module/src/providers/manga/vyvymanga.d.ts.map +1 -1
  331. package/lib/typescript/module/src/providers/meta/anilist.d.ts +2 -3
  332. package/lib/typescript/module/src/providers/meta/anilist.d.ts.map +1 -1
  333. package/lib/typescript/module/src/providers/meta/mal.d.ts.map +1 -1
  334. package/lib/typescript/module/src/providers/meta/tmdb.d.ts.map +1 -1
  335. package/lib/typescript/module/src/providers/movies/dramacool.d.ts.map +1 -1
  336. package/lib/typescript/module/src/providers/movies/flixhq.d.ts.map +1 -1
  337. package/lib/typescript/module/src/providers/movies/fmovies.d.ts.map +1 -1
  338. package/lib/typescript/module/src/providers/movies/goku.d.ts.map +1 -1
  339. package/lib/typescript/module/src/providers/movies/kissasian.d.ts.map +1 -1
  340. package/lib/typescript/module/src/providers/movies/moviehdwatch.d.ts.map +1 -1
  341. package/lib/typescript/module/src/providers/movies/multimovies.d.ts.map +1 -1
  342. package/lib/typescript/module/src/providers/movies/sflix.d.ts.map +1 -1
  343. package/lib/typescript/module/src/providers/movies/smashystream.d.ts.map +1 -1
  344. package/lib/typescript/module/src/providers/movies/turkish123.d.ts.map +1 -1
  345. package/lib/typescript/module/src/providers/movies/viewAsian.d.ts.map +1 -1
  346. package/lib/typescript/module/src/providers/news/animenewsnetwork.d.ts.map +1 -1
  347. package/lib/typescript/module/src/utils/providers-list.d.ts +1 -1
  348. package/lib/typescript/module/src/utils/providers-list.d.ts.map +1 -1
  349. package/lib/typescript/module/src/utils/queries.d.ts.map +1 -1
  350. package/lib/typescript/module/src/utils/utils.d.ts +1 -1
  351. package/lib/typescript/module/src/utils/utils.d.ts.map +1 -1
  352. package/package.json +192 -197
  353. package/react-native.config.js +12 -12
  354. package/src/extractors/asianload.ts +4 -13
  355. package/src/extractors/filemoon.ts +5 -13
  356. package/src/extractors/gogocdn.ts +12 -32
  357. package/src/extractors/kisskh/kkey.ts +6 -18
  358. package/src/extractors/kisskh/staticdata.ts +128 -196
  359. package/src/extractors/kwik.ts +1 -3
  360. package/src/extractors/megacloud/index.ts +9 -13
  361. package/src/extractors/megacloud/megacloud.decodedpng.ts +549 -842
  362. package/src/extractors/megaup.ts +26 -42
  363. package/src/extractors/mixdrop.ts +1 -3
  364. package/src/extractors/mp4player.ts +3 -11
  365. package/src/extractors/mp4upload.ts +1 -3
  366. package/src/extractors/rapidcloud.ts +18 -56
  367. package/src/extractors/smashystream.ts +25 -65
  368. package/src/extractors/streamhub.ts +4 -12
  369. package/src/extractors/streamlare.ts +2 -7
  370. package/src/extractors/streamsb.ts +5 -12
  371. package/src/extractors/streamwish.ts +18 -35
  372. package/src/extractors/vidcloud.ts +8 -19
  373. package/src/extractors/vidhide.ts +3 -9
  374. package/src/extractors/vidmoly.ts +1 -4
  375. package/src/extractors/vizcloud.ts +1 -5
  376. package/src/extractors/voe.ts +3 -8
  377. package/src/index.ts +1 -9
  378. package/src/models/anime-parser.ts +3 -14
  379. package/src/models/lightnovel-parser.ts +2 -8
  380. package/src/models/manga-parser.ts +1 -4
  381. package/src/models/movie-parser.ts +4 -20
  382. package/src/models/proxy.ts +4 -9
  383. package/src/models/video-extractor.ts +1 -4
  384. package/src/providers/anime/anify.ts +20 -61
  385. package/src/providers/anime/animedrive.ts +24 -77
  386. package/src/providers/anime/animefox.ts +18 -64
  387. package/src/providers/anime/animekai.ts +51 -157
  388. package/src/providers/anime/animepahe.ts +24 -59
  389. package/src/providers/anime/animesaturn.ts +11 -37
  390. package/src/providers/anime/animeunity.ts +8 -26
  391. package/src/providers/anime/anix.ts +17 -57
  392. package/src/providers/anime/bilibili.ts +4 -15
  393. package/src/providers/anime/gogoanime.ts +61 -194
  394. package/src/providers/anime/index.ts +0 -4
  395. package/src/providers/anime/kickassanime.ts +2 -6
  396. package/src/providers/anime/marin.ts +6 -18
  397. package/src/providers/anime/monoschinos.ts +8 -25
  398. package/src/providers/anime/zoro.ts +77 -209
  399. package/src/providers/comics/getComics.ts +7 -27
  400. package/src/providers/light-novels/novelupdates.ts +17 -52
  401. package/src/providers/light-novels/readlightnovels.ts +17 -67
  402. package/src/providers/manga/asurascans.ts +17 -67
  403. package/src/providers/manga/brmangas.ts +6 -17
  404. package/src/providers/manga/comick.ts +19 -51
  405. package/src/providers/manga/flamescans.ts +12 -35
  406. package/src/providers/manga/mangadex.ts +25 -82
  407. package/src/providers/manga/mangahere.ts +17 -40
  408. package/src/providers/manga/mangahost.ts +8 -28
  409. package/src/providers/manga/mangakakalot.ts +19 -71
  410. package/src/providers/manga/mangapark.ts +8 -27
  411. package/src/providers/manga/mangapill.ts +10 -33
  412. package/src/providers/manga/mangareader.ts +8 -28
  413. package/src/providers/manga/mangasee123.ts +12 -40
  414. package/src/providers/manga/readmanga.ts +58 -134
  415. package/src/providers/manga/vyvymanga.ts +15 -33
  416. package/src/providers/meta/anilist.ts +568 -1062
  417. package/src/providers/meta/mal.ts +51 -250
  418. package/src/providers/meta/tmdb.ts +60 -94
  419. package/src/providers/movies/dramacool.ts +50 -146
  420. package/src/providers/movies/flixhq.ts +60 -207
  421. package/src/providers/movies/fmovies.ts +17 -62
  422. package/src/providers/movies/goku.ts +46 -178
  423. package/src/providers/movies/kissasian.ts +19 -64
  424. package/src/providers/movies/moviehdwatch.ts +61 -221
  425. package/src/providers/movies/multimovies.ts +47 -153
  426. package/src/providers/movies/sflix.ts +71 -234
  427. package/src/providers/movies/smashystream.ts +9 -30
  428. package/src/providers/movies/turkish123.ts +4 -20
  429. package/src/providers/movies/ummagurau.ts +8 -26
  430. package/src/providers/movies/viewAsian.ts +15 -45
  431. package/src/providers/news/animenewsnetwork.ts +11 -40
  432. package/src/utils/providers-list.ts +1 -11
  433. package/src/utils/queries.ts +5 -23
  434. package/src/utils/utils.ts +5 -21
  435. package/lib/commonjs/providers/anime/9anime.js +0 -325
  436. package/lib/commonjs/providers/anime/9anime.js.map +0 -1
  437. package/lib/commonjs/providers/anime/crunchyroll.js +0 -92
  438. package/lib/commonjs/providers/anime/crunchyroll.js.map +0 -1
  439. package/lib/module/providers/anime/9anime.js +0 -323
  440. package/lib/module/providers/anime/9anime.js.map +0 -1
  441. package/lib/module/providers/anime/crunchyroll.js +0 -89
  442. package/lib/module/providers/anime/crunchyroll.js.map +0 -1
  443. package/lib/typescript/commonjs/src/providers/anime/9anime.d.ts +0 -26
  444. package/lib/typescript/commonjs/src/providers/anime/9anime.d.ts.map +0 -1
  445. package/lib/typescript/commonjs/src/providers/anime/crunchyroll.d.ts +0 -38
  446. package/lib/typescript/commonjs/src/providers/anime/crunchyroll.d.ts.map +0 -1
  447. package/lib/typescript/module/src/providers/anime/9anime.d.ts +0 -26
  448. package/lib/typescript/module/src/providers/anime/9anime.d.ts.map +0 -1
  449. package/lib/typescript/module/src/providers/anime/crunchyroll.d.ts +0 -38
  450. package/lib/typescript/module/src/providers/anime/crunchyroll.d.ts.map +0 -1
  451. package/src/providers/anime/9anime.ts +0 -465
  452. package/src/providers/anime/crunchyroll.ts +0 -151
@@ -26,47 +26,33 @@ class SFlix extends MovieParser {
26
26
  * @param query search query string
27
27
  * @param page page number (default 1) (optional)
28
28
  */
29
- override search = async (
30
- query: string,
31
- page: number = 1
32
- ): Promise<ISearch<IMovieResult>> => {
29
+ override search = async (query: string, page: number = 1): Promise<ISearch<IMovieResult>> => {
33
30
  const searchResult: ISearch<IMovieResult> = {
34
31
  currentPage: page,
35
32
  hasNextPage: false,
36
33
  results: [],
37
34
  };
38
35
  try {
39
- const { data } = await this.client.get(
40
- `${this.baseUrl}/search/${query.replace(/[\W_]+/g, '-')}?page=${page}`
41
- );
36
+ const { data } = await this.client.get(`${this.baseUrl}/search/${query.replace(/[\W_]+/g, '-')}?page=${page}`);
42
37
 
43
38
  const $ = load(data);
44
39
 
45
- const navSelector =
46
- 'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
40
+ const navSelector = 'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
47
41
 
48
42
  searchResult.hasNextPage =
49
- $(navSelector).length > 0
50
- ? !$(navSelector).children().last().hasClass('active')
51
- : false;
43
+ $(navSelector).length > 0 ? !$(navSelector).children().last().hasClass('active') : false;
52
44
 
53
45
  $('.film_list-wrap > div.flw-item').each((i, el) => {
54
- const releaseDate = $(el)
55
- .find('div.film-detail > div.fd-infor > span:nth-child(1)')
56
- .text();
46
+ const releaseDate = $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text();
57
47
  searchResult.results.push({
58
48
  id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
59
49
  title: $(el).find('div.film-detail > h2 > a').attr('title')!,
60
50
  url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
61
51
  image: $(el).find('div.film-poster > img').attr('data-src'),
62
52
  releaseDate: isNaN(parseInt(releaseDate)) ? undefined : releaseDate,
63
- seasons: releaseDate.includes('SS')
64
- ? parseInt(releaseDate.split('SS')[1]!)
65
- : undefined,
53
+ seasons: releaseDate.includes('SS') ? parseInt(releaseDate.split('SS')[1]!) : undefined,
66
54
  type:
67
- $(el)
68
- .find('div.film-detail > div.fd-infor > span:nth-child(2)')
69
- .text() === 'Movie'
55
+ $(el).find('div.film-detail > div.fd-infor > span:nth-child(2)').text() === 'Movie'
70
56
  ? TvType.MOVIE
71
57
  : TvType.TVSERIES,
72
58
  });
@@ -97,52 +83,32 @@ class SFlix extends MovieParser {
97
83
  const $ = load(data);
98
84
  const recommendationsArray: IMovieResult[] = [];
99
85
 
100
- $(
101
- 'div.container > section.block_area > div.block_area-content > div.film_list-wrap > div.flw-item'
102
- ).each((i, el) => {
103
- recommendationsArray.push({
104
- id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
105
- title: $(el).find('div.film-detail > h3.film-name > a').text(),
106
- image: $(el).find('div.film-poster > img').attr('data-src'),
107
- duration:
108
- $(el)
109
- .find('div.film-detail > div.fd-infor > span.fdi-duration')
110
- .text()
111
- .replace('m', '') ?? null,
112
- type:
113
- $(el)
114
- .find('div.film-detail > div.fd-infor > span.fdi-item')
115
- .eq(1)
116
- .text()
117
- .trim()
118
- .toLowerCase() === 'tv'
119
- ? TvType.TVSERIES
120
- : (TvType.MOVIE ?? null),
121
- });
122
- });
86
+ $('div.container > section.block_area > div.block_area-content > div.film_list-wrap > div.flw-item').each(
87
+ (i, el) => {
88
+ recommendationsArray.push({
89
+ id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
90
+ title: $(el).find('div.film-detail > h3.film-name > a').text(),
91
+ image: $(el).find('div.film-poster > img').attr('data-src'),
92
+ duration: $(el).find('div.film-detail > div.fd-infor > span.fdi-duration').text().replace('m', '') ?? null,
93
+ type:
94
+ $(el).find('div.film-detail > div.fd-infor > span.fdi-item').eq(1).text().trim().toLowerCase() === 'tv'
95
+ ? TvType.TVSERIES
96
+ : (TvType.MOVIE ?? null),
97
+ });
98
+ }
99
+ );
123
100
 
124
101
  const uid = $('.detail_page-watch').attr('data-id')!;
125
- movieInfo.cover = $('.cover_follow')
126
- .attr('style')
127
- ?.slice(22)
128
- .replace(')', '')
129
- .replace(';', '');
102
+ movieInfo.cover = $('.cover_follow').attr('style')?.slice(22).replace(')', '').replace(';', '');
130
103
  movieInfo.title = $('.heading-name > a:nth-child(1)').text();
131
- movieInfo.image = $(
132
- '.dp-i-c-poster > div:nth-child(1) > img:nth-child(1)'
133
- ).attr('src');
104
+ movieInfo.image = $('.dp-i-c-poster > div:nth-child(1) > img:nth-child(1)').attr('src');
134
105
  movieInfo.description = $('.description')
135
106
  .text()
136
107
  .replace(/^Overview:\s*/i, '')
137
108
  .replace(/\s+/g, ' ')
138
109
  .trim();
139
- movieInfo.type =
140
- movieInfo.id.split('/')[0] === 'tv' ? TvType.TVSERIES : TvType.MOVIE;
141
- movieInfo.releaseDate = $('div.row > div.col-xl-5 .row-line')
142
- .eq(0)
143
- .text()
144
- .replace('Released: ', '')
145
- .trim();
110
+ movieInfo.type = movieInfo.id.split('/')[0] === 'tv' ? TvType.TVSERIES : TvType.MOVIE;
111
+ movieInfo.releaseDate = $('div.row > div.col-xl-5 .row-line').eq(0).text().replace('Released: ', '').trim();
146
112
  movieInfo.genres = $('div.row >div.col-xl-5 .row-line')
147
113
  .eq(1)
148
114
  .find('a')
@@ -163,31 +129,17 @@ class SFlix extends MovieParser {
163
129
  .map((i, el) => $(el).text().trim())
164
130
  .get()
165
131
  .join(', ');
166
- movieInfo.country = $('div.row > div.col-xl-6 .row-line')
167
- .eq(1)
168
- .find('a')
169
- .text()
170
- .trim();
132
+ movieInfo.country = $('div.row > div.col-xl-6 .row-line').eq(1).find('a').text().trim();
171
133
  movieInfo.duration = $('div.row > div.col-xl-6 .row-line')
172
134
  .eq(0)
173
135
  .text()
174
136
  .replace('Duration: ', '')
175
137
  .replace(/\s+/g, ' ')
176
138
  .trim();
177
- movieInfo.rating = parseFloat(
178
- $('div.film-stats > div.fs-item > span.imdb')
179
- .text()
180
- .replace('IMDB: ', '')
181
- );
139
+ movieInfo.rating = parseFloat($('div.film-stats > div.fs-item > span.imdb').text().replace('IMDB: ', ''));
182
140
  movieInfo.recommendations = recommendationsArray as any;
183
- const ajaxReqUrl = (
184
- id: string,
185
- type: string,
186
- isSeasons: boolean = false
187
- ) =>
188
- `${this.baseUrl}/ajax/${type === 'movie' ? type : `v2/${type}`}/${
189
- isSeasons ? 'seasons' : 'episodes'
190
- }/${id}`;
141
+ const ajaxReqUrl = (id: string, type: string, isSeasons: boolean = false) =>
142
+ `${this.baseUrl}/ajax/${type === 'movie' ? type : `v2/${type}`}/${isSeasons ? 'seasons' : 'episodes'}/${id}`;
191
143
 
192
144
  if (movieInfo.type === TvType.TVSERIES) {
193
145
  const { data } = await this.client.get(ajaxReqUrl(uid, 'tv', true));
@@ -208,14 +160,7 @@ class SFlix extends MovieParser {
208
160
  id: $$$(el).find('div.flw-item').attr('id')!.split('-')[1],
209
161
  image: $$$(el).find('div.flw-item > a > img').attr('src')!,
210
162
  title: $$$(el).find('div.flw-item > a > img').attr('title')!,
211
- number: parseInt(
212
- $$$(el)
213
- .find('div.flw-item > a > img')
214
- .attr('title')!
215
- .split(':')[0]!
216
- .slice(8)
217
- .trim()
218
- ),
163
+ number: parseInt($$$(el).find('div.flw-item > a > img').attr('title')!.split(':')[0]!.slice(8).trim()),
219
164
  season: season,
220
165
  url: `${this.baseUrl}/ajax/v2/episode/servers/${
221
166
  $$$(el).find('div.flw-item').attr('id')!.split('-')[1]
@@ -260,31 +205,22 @@ class SFlix extends MovieParser {
260
205
  case StreamingServers.Voe:
261
206
  return {
262
207
  headers: { Referer: serverUrl.href },
263
- ...(await new Voe(this.proxyConfig, this.adapter).extract(
264
- serverUrl
265
- )),
208
+ ...(await new Voe(this.proxyConfig, this.adapter).extract(serverUrl)),
266
209
  };
267
210
  case StreamingServers.VidCloud:
268
211
  return {
269
212
  headers: { Referer: serverUrl.href },
270
- ...(await new VidCloud(this.proxyConfig, this.adapter).extract(
271
- serverUrl,
272
- true
273
- )),
213
+ ...(await new VidCloud(this.proxyConfig, this.adapter).extract(serverUrl, true)),
274
214
  };
275
215
  case StreamingServers.UpCloud:
276
216
  return {
277
217
  headers: { Referer: serverUrl.href },
278
- ...(await new VidCloud(this.proxyConfig, this.adapter).extract(
279
- serverUrl
280
- )),
218
+ ...(await new VidCloud(this.proxyConfig, this.adapter).extract(serverUrl)),
281
219
  };
282
220
  default:
283
221
  return {
284
222
  headers: { Referer: serverUrl.href },
285
- sources: await new MixDrop(this.proxyConfig, this.adapter).extract(
286
- serverUrl
287
- ),
223
+ sources: await new MixDrop(this.proxyConfig, this.adapter).extract(serverUrl),
288
224
  };
289
225
  }
290
226
  }
@@ -316,14 +252,8 @@ class SFlix extends MovieParser {
316
252
  * @param episodeId takes episode link or movie id
317
253
  * @param mediaId takes movie link or id (found on movie info object)
318
254
  */
319
- override fetchEpisodeServers = async (
320
- episodeId: string,
321
- mediaId: string
322
- ): Promise<IEpisodeServer[]> => {
323
- if (
324
- !episodeId.startsWith(this.baseUrl + '/ajax') &&
325
- !mediaId.includes('movie')
326
- )
255
+ override fetchEpisodeServers = async (episodeId: string, mediaId: string): Promise<IEpisodeServer[]> => {
256
+ if (!episodeId.startsWith(this.baseUrl + '/ajax') && !mediaId.includes('movie'))
327
257
  episodeId = `${this.baseUrl}/ajax/v2/episode/servers/${episodeId}`;
328
258
  else episodeId = `${this.baseUrl}/ajax/movie/episodes/${episodeId}`;
329
259
 
@@ -338,9 +268,7 @@ class SFlix extends MovieParser {
338
268
  ? $(el).find('a').find('span').text().trim().toLowerCase()
339
269
  : $(el).find('a').find('span').text().trim().toLowerCase(),
340
270
  url: `${this.baseUrl}/${mediaId}.${
341
- !mediaId.includes('movie')
342
- ? $(el).find('a').attr('data-id')
343
- : $(el).find('a').attr('data-id')
271
+ !mediaId.includes('movie') ? $(el).find('a').attr('data-id') : $(el).find('a').attr('data-id')
344
272
  }`.replace(
345
273
  !mediaId.includes('movie') ? /\/tv\// : /\/movie\//,
346
274
  !mediaId.includes('movie') ? '/watch-tv/' : '/watch-movie/'
@@ -364,21 +292,14 @@ class SFlix extends MovieParser {
364
292
  'section.block_area:contains("Latest Movies") > div:nth-child(2) > div:nth-child(1) > div.flw-item'
365
293
  )
366
294
  .map((i, el) => {
367
- const releaseDate = $(el)
368
- .find('div.film-detail > div.fd-infor > span:nth-child(3)')
369
- .text();
295
+ const releaseDate = $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text();
370
296
  const movie: any = {
371
297
  id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
372
- title: $(el)
373
- .find('div.film-detail > h3.film-name > a')
374
- .attr('title')!,
298
+ title: $(el).find('div.film-detail > h3.film-name > a').attr('title')!,
375
299
  url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
376
300
  image: $(el).find('div.film-poster > img').attr('data-src'),
377
301
  releaseDate: isNaN(parseInt(releaseDate)) ? undefined : releaseDate,
378
- rating:
379
- $(el)
380
- .find('div.film-detail > div.fd-infor > span:nth-child(1)')
381
- .text() || null,
302
+ rating: $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text() || null,
382
303
  type: TvType.MOVIE,
383
304
  };
384
305
  return movie;
@@ -401,21 +322,12 @@ class SFlix extends MovieParser {
401
322
  .map((i, el) => {
402
323
  const tvshow = {
403
324
  id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
404
- title: $(el)
405
- .find('div.film-detail > h3.film-name > a')
406
- .attr('title')!,
325
+ title: $(el).find('div.film-detail > h3.film-name > a').attr('title')!,
407
326
  url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
408
327
  image: $(el).find('div.film-poster > img').attr('data-src'),
409
- season:
410
- $(el)
411
- .find('div.film-detail > div.fd-infor > span:nth-child(3)')
412
- .text()
413
- .split(':')[0] || null,
328
+ season: $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text().split(':')[0] || null,
414
329
  latestEpisode:
415
- $(el)
416
- .find('div.film-detail > div.fd-infor > span:nth-child(3)')
417
- .text()
418
- .split(':')[1] || null,
330
+ $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text().split(':')[1] || null,
419
331
  type: TvType.TVSERIES,
420
332
  };
421
333
  return tvshow;
@@ -434,21 +346,14 @@ class SFlix extends MovieParser {
434
346
 
435
347
  const movies = $('div#trending-movies div.film_list-wrap div.flw-item')
436
348
  .map((i, el) => {
437
- const releaseDate = $(el)
438
- .find('div.film-detail > div.fd-infor > span:nth-child(3)')
439
- .text();
349
+ const releaseDate = $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text();
440
350
  const movie: any = {
441
351
  id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
442
- title: $(el)
443
- .find('div.film-detail > h3.film-name > a')
444
- .attr('title')!,
352
+ title: $(el).find('div.film-detail > h3.film-name > a').attr('title')!,
445
353
  url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
446
354
  image: $(el).find('div.film-poster > img').attr('data-src'),
447
355
  releaseDate: isNaN(parseInt(releaseDate)) ? undefined : releaseDate,
448
- rating:
449
- $(el)
450
- .find('div.film-detail > div.fd-infor > span:nth-child(1)')
451
- .text() || null,
356
+ rating: $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text() || null,
452
357
  type: TvType.MOVIE,
453
358
  };
454
359
  return movie;
@@ -469,21 +374,12 @@ class SFlix extends MovieParser {
469
374
  .map((i, el) => {
470
375
  const tvshow = {
471
376
  id: $(el).find('div.film-poster > a').attr('href')?.slice(1)!,
472
- title: $(el)
473
- .find('div.film-detail > h3.film-name > a')
474
- .attr('title')!,
377
+ title: $(el).find('div.film-detail > h3.film-name > a').attr('title')!,
475
378
  url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
476
379
  image: $(el).find('div.film-poster > img').attr('data-src'),
477
- season:
478
- $(el)
479
- .find('div.film-detail > div.fd-infor > span:nth-child(3)')
480
- .text()
481
- .split(':')[0] || null,
380
+ season: $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text().split(':')[0] || null,
482
381
  latestEpisode:
483
- $(el)
484
- .find('div.film-detail > div.fd-infor > span:nth-child(3)')
485
- .text()
486
- .split(':')[1] || null,
382
+ $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text().split(':')[1] || null,
487
383
  type: TvType.TVSERIES,
488
384
  };
489
385
  return tvshow;
@@ -495,70 +391,41 @@ class SFlix extends MovieParser {
495
391
  }
496
392
  };
497
393
 
498
- fetchByCountry = async (
499
- country: string,
500
- page: number = 1
501
- ): Promise<ISearch<IMovieResult>> => {
394
+ fetchByCountry = async (country: string, page: number = 1): Promise<ISearch<IMovieResult>> => {
502
395
  const result: ISearch<IMovieResult> = {
503
396
  currentPage: page,
504
397
  hasNextPage: false,
505
398
  results: [],
506
399
  };
507
- const navSelector =
508
- 'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
400
+ const navSelector = 'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
509
401
 
510
402
  try {
511
- const { data } = await this.client.get(
512
- `${this.baseUrl}/country/${country}/?page=${page}`
513
- );
403
+ const { data } = await this.client.get(`${this.baseUrl}/country/${country}/?page=${page}`);
514
404
  const $ = load(data);
515
405
 
516
- result.hasNextPage =
517
- $(navSelector).length > 0
518
- ? !$(navSelector).children().last().hasClass('active')
519
- : false;
406
+ result.hasNextPage = $(navSelector).length > 0 ? !$(navSelector).children().last().hasClass('active') : false;
520
407
 
521
- $(
522
- 'div.container > section.block_area > div.block_area-content > div.film_list-wrap > div.flw-item'
523
- )
408
+ $('div.container > section.block_area > div.block_area-content > div.film_list-wrap > div.flw-item')
524
409
  .each((i, el) => {
525
410
  const resultItem: IMovieResult = {
526
411
  id: $(el).find('div.film-poster > a').attr('href')?.slice(1) ?? '',
527
- title:
528
- $(el).find('div.film-detail > h2.film-name > a').attr('title') ??
529
- '',
412
+ title: $(el).find('div.film-detail > h2.film-name > a').attr('title') ?? '',
530
413
  url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
531
414
  image: $(el).find('div.film-poster > img').attr('data-src'),
532
415
  type:
533
- $(el)
534
- .find('div.film-poster > a')
535
- .attr('href')
536
- ?.slice(1)
537
- .split('/')[0]!
538
- .toLowerCase() === 'movie'
416
+ $(el).find('div.film-poster > a').attr('href')?.slice(1).split('/')[0]!.toLowerCase() === 'movie'
539
417
  ? TvType.MOVIE
540
418
  : TvType.TVSERIES,
541
419
  };
542
- const season =
543
- $(el)
544
- .find('div.film-detail > div.fd-infor > span:nth-child(3)')
545
- .text()
546
- .split(':')[0] ?? null;
420
+ const season = $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text().split(':')[0] ?? null;
547
421
  const latestEpisode =
548
- $(el)
549
- .find('div.film-detail > div.fd-infor > span:nth-child(3)')
550
- .text()
551
- .split(':')[1] ?? null;
422
+ $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text().split(':')[1] ?? null;
552
423
  if (resultItem.type === TvType.TVSERIES) {
553
424
  resultItem.season = season;
554
425
  resultItem.latestEpisode = latestEpisode;
555
426
  } else {
556
- resultItem.rating = $(el)
557
- .find('div.film-detail > div.fd-infor > span:nth-child(1)')
558
- .text();
559
- resultItem.releaseDate = $(el)
560
- .find('div.film-detail > div.fd-infor > span:nth-child(3)')
561
- .text();
427
+ resultItem.rating = $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text();
428
+ resultItem.releaseDate = $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text();
562
429
  }
563
430
  result.results.push(resultItem);
564
431
  })
@@ -569,69 +436,42 @@ class SFlix extends MovieParser {
569
436
  }
570
437
  };
571
438
 
572
- fetchByGenre = async (
573
- genre: string,
574
- page: number = 1
575
- ): Promise<ISearch<IMovieResult>> => {
439
+ fetchByGenre = async (genre: string, page: number = 1): Promise<ISearch<IMovieResult>> => {
576
440
  const result: ISearch<IMovieResult> = {
577
441
  currentPage: page,
578
442
  hasNextPage: false,
579
443
  results: [],
580
444
  };
581
445
  try {
582
- const { data } = await this.client.get(
583
- `${this.baseUrl}/genre/${genre}?page=${page}`
584
- );
446
+ const { data } = await this.client.get(`${this.baseUrl}/genre/${genre}?page=${page}`);
585
447
 
586
448
  const $ = load(data);
587
449
 
588
- const navSelector =
589
- 'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
450
+ const navSelector = 'div.pre-pagination:nth-child(3) > nav:nth-child(1) > ul:nth-child(1)';
590
451
 
591
- result.hasNextPage =
592
- $(navSelector).length > 0
593
- ? !$(navSelector).children().last().hasClass('active')
594
- : false;
452
+ result.hasNextPage = $(navSelector).length > 0 ? !$(navSelector).children().last().hasClass('active') : false;
595
453
 
596
454
  $('.film_list-wrap > div.flw-item')
597
455
  .each((i, el) => {
598
456
  const resultItem: IMovieResult = {
599
457
  id: $(el).find('div.film-poster > a').attr('href')?.slice(1) ?? '',
600
- title:
601
- $(el).find('div.film-detail > h2.film-name > a').attr('title') ??
602
- '',
458
+ title: $(el).find('div.film-detail > h2.film-name > a').attr('title') ?? '',
603
459
  url: `${this.baseUrl}${$(el).find('div.film-poster > a').attr('href')}`,
604
460
  image: $(el).find('div.film-poster > img').attr('data-src'),
605
461
  type:
606
- $(el)
607
- .find('div.film-poster > a')
608
- .attr('href')
609
- ?.slice(1)
610
- .split('/')[0]!
611
- .toLowerCase() === 'movie'
462
+ $(el).find('div.film-poster > a').attr('href')?.slice(1).split('/')[0]!.toLowerCase() === 'movie'
612
463
  ? TvType.MOVIE
613
464
  : TvType.TVSERIES,
614
465
  };
615
- const season =
616
- $(el)
617
- .find('div.film-detail > div.fd-infor > span:nth-child(3)')
618
- .text()
619
- .split(':')[0] ?? null;
466
+ const season = $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text().split(':')[0] ?? null;
620
467
  const latestEpisode =
621
- $(el)
622
- .find('div.film-detail > div.fd-infor > span:nth-child(3)')
623
- .text()
624
- .split(':')[1] ?? null;
468
+ $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text().split(':')[1] ?? null;
625
469
  if (resultItem.type === TvType.TVSERIES) {
626
470
  resultItem.season = season;
627
471
  resultItem.latestEpisode = latestEpisode;
628
472
  } else {
629
- resultItem.rating = $(el)
630
- .find('div.film-detail > div.fd-infor > span:nth-child(1)')
631
- .text();
632
- resultItem.releaseDate = $(el)
633
- .find('div.film-detail > div.fd-infor > span:nth-child(3)')
634
- .text();
473
+ resultItem.rating = $(el).find('div.film-detail > div.fd-infor > span:nth-child(1)').text();
474
+ resultItem.releaseDate = $(el).find('div.film-detail > div.fd-infor > span:nth-child(3)').text();
635
475
  }
636
476
  result.results.push(resultItem);
637
477
  })
@@ -658,10 +498,7 @@ class SFlix extends MovieParser {
658
498
  cover: $(el).find('div.slide-photo > a > img').attr('src'),
659
499
  rating: $(el).find('.scd-item:nth-child(1)').text().trim(),
660
500
  description: $(el).find('.sc-desc').text().trim(),
661
- type:
662
- $(el).find('a').attr('href')?.split('/')[1] === 'movie'
663
- ? TvType.MOVIE
664
- : TvType.TVSERIES,
501
+ type: $(el).find('a').attr('href')?.split('/')[1] === 'movie' ? TvType.MOVIE : TvType.TVSERIES,
665
502
  });
666
503
  });
667
504
  return results;
@@ -67,9 +67,7 @@ class SmashyStream extends MovieParser {
67
67
  ): Promise<ISource> => {
68
68
  try {
69
69
  const servers = await this.fetchEpisodeServers(tmdbId, season, episode);
70
- const selectedServer = servers.find(
71
- (s) => s.name.toLowerCase() === server?.toLowerCase()
72
- );
70
+ const selectedServer = servers.find((s) => s.name.toLowerCase() === server?.toLowerCase());
73
71
 
74
72
  if (!selectedServer) {
75
73
  let url = `${this.baseUrl}/playere.php?tmdb=${tmdbId}`;
@@ -79,72 +77,53 @@ class SmashyStream extends MovieParser {
79
77
 
80
78
  return {
81
79
  headers: { Referer: this.baseUrl },
82
- ...(await new SS(this.proxyConfig, this.adapter).extract(
83
- new URL(url)
84
- )),
80
+ ...(await new SS(this.proxyConfig, this.adapter).extract(new URL(url))),
85
81
  };
86
82
  }
87
83
 
88
84
  if (selectedServer.url.includes('/ffix')) {
89
85
  return {
90
86
  headers: { Referer: this.baseUrl },
91
- ...(await new SS(this.proxyConfig, this.adapter).extractSmashyFfix(
92
- selectedServer.url
93
- )),
87
+ ...(await new SS(this.proxyConfig, this.adapter).extractSmashyFfix(selectedServer.url)),
94
88
  };
95
89
  }
96
90
 
97
91
  if (selectedServer.url.includes('/watchx')) {
98
92
  return {
99
93
  headers: { Referer: this.baseUrl },
100
- ...(await new SS(this.proxyConfig, this.adapter).extractSmashyWatchX(
101
- selectedServer.url
102
- )),
94
+ ...(await new SS(this.proxyConfig, this.adapter).extractSmashyWatchX(selectedServer.url)),
103
95
  };
104
96
  }
105
97
 
106
98
  if (selectedServer.url.includes('/nflim')) {
107
99
  return {
108
100
  headers: { Referer: this.baseUrl },
109
- ...(await new SS(this.proxyConfig, this.adapter).extractSmashyNFlim(
110
- selectedServer.url
111
- )),
101
+ ...(await new SS(this.proxyConfig, this.adapter).extractSmashyNFlim(selectedServer.url)),
112
102
  };
113
103
  }
114
104
 
115
105
  if (selectedServer.url.includes('/fx')) {
116
106
  return {
117
107
  headers: { Referer: this.baseUrl },
118
- ...(await new SS(this.proxyConfig, this.adapter).extractSmashyFX(
119
- selectedServer.url
120
- )),
108
+ ...(await new SS(this.proxyConfig, this.adapter).extractSmashyFX(selectedServer.url)),
121
109
  };
122
110
  }
123
111
 
124
112
  if (selectedServer.url.includes('/cf')) {
125
113
  return {
126
114
  headers: { Referer: this.baseUrl },
127
- ...(await new SS(this.proxyConfig, this.adapter).extractSmashyCF(
128
- selectedServer.url
129
- )),
115
+ ...(await new SS(this.proxyConfig, this.adapter).extractSmashyCF(selectedServer.url)),
130
116
  };
131
117
  }
132
118
 
133
119
  if (selectedServer.url.includes('/eemovie')) {
134
120
  return {
135
121
  headers: { Referer: this.baseUrl },
136
- ...(await new SS(this.proxyConfig, this.adapter).extractSmashyEEMovie(
137
- selectedServer.url
138
- )),
122
+ ...(await new SS(this.proxyConfig, this.adapter).extractSmashyEEMovie(selectedServer.url)),
139
123
  };
140
124
  }
141
125
 
142
- return await this.fetchEpisodeSources(
143
- selectedServer.url,
144
- season,
145
- episode,
146
- server
147
- );
126
+ return await this.fetchEpisodeSources(selectedServer.url, season, episode, server);
148
127
  } catch (err) {
149
128
  throw new Error((err as Error).message);
150
129
  }
@@ -1,12 +1,5 @@
1
1
  import { load } from 'cheerio';
2
- import {
3
- type IAnimeInfo,
4
- type IEpisodeServer,
5
- type IMovieInfo,
6
- type ISource,
7
- MovieParser,
8
- TvType,
9
- } from '../../models';
2
+ import { type IAnimeInfo, type IEpisodeServer, type IMovieInfo, type ISource, MovieParser, TvType } from '../../models';
10
3
 
11
4
  export default class Turkish extends MovieParser {
12
5
  name: string = 'Turkish123';
@@ -40,10 +33,7 @@ export default class Turkish extends MovieParser {
40
33
  .map((_, e) => $(e).text())
41
34
  .get();
42
35
  info.rating = parseFloat($('.imdb-r').text());
43
- info.releaseDate = $('.mvici-right > p:nth-child(3)')
44
- .find('a')
45
- .first()
46
- .text();
36
+ info.releaseDate = $('.mvici-right > p:nth-child(3)').find('a').first().text();
47
37
  info.totalEpisodes = $('.les-content > a').length;
48
38
  info.episodes = $('.les-content > a')
49
39
  .map((i, e) => ({
@@ -68,9 +58,7 @@ export default class Turkish extends MovieParser {
68
58
  'Referer': this.baseUrl,
69
59
  },
70
60
  });
71
- const resp = (
72
- await this.client(data.match(/"(https:\/\/tukipasti.com\/t\/.*?)"/)![1])
73
- ).data;
61
+ const resp = (await this.client(data.match(/"(https:\/\/tukipasti.com\/t\/.*?)"/)![1])).data;
74
62
  source.sources[0]!.url = resp.match(/var urlPlay = '(.*?)'/)![1];
75
63
  } catch (error) {}
76
64
  return source;
@@ -95,11 +83,7 @@ export default class Turkish extends MovieParser {
95
83
  .not('.ss-bottom')
96
84
  .each((_, ele) => {
97
85
  result.push({
98
- id: $(ele)
99
- .find('a')
100
- .attr('href')!
101
- .replace(this.baseUrl, '')
102
- .replace('/', ''),
86
+ id: $(ele).find('a').attr('href')!.replace(this.baseUrl, '').replace('/', ''),
103
87
  image:
104
88
  $(ele)
105
89
  .find('a')