Coder Social home page Coder Social logo

Comments (9)

KevCui avatar KevCui commented on August 20, 2024 1

Hey @Anas-Mughal, could you run the script with -d to enable debug mode? If you don't mind, please paste the debug logs here and I will take a look. Thx!

from animepahe-dl.

KevCui avatar KevCui commented on August 20, 2024 1

@Anas-Mughal by the way, -t 1000000000000000000000000000000000000000000000000000000000 is too crazy, it won't be effective anyway with such a large number.

from animepahe-dl.

Anas-Mughal avatar Anas-Mughal commented on August 20, 2024

Hey @Anas-Mughal, could you run the script with -d to enable debug mode? If you don't mind, please paste the debug logs here and I will take a look. Thx!

~/animepahe-dl $ ./animepahe-dl.sh -a "Fire force" -e "1-24" -r "1080" -t "1000000000000000000000000000000000000000000000000000000000" -o "jpn"
~/animepahe-dl $ ls
LICENSE README.md 'Tokyo Revengers' anime.list animepahe-dl.sh
~/animepahe-dl $ rm -r -f 'Tokyo Revengers'/
~/animepahe-dl $ ls
LICENSE README.md anime.list animepahe-dl.sh
~/animepahe-dl $ ./animepahe-dl.sh -a "Fire force" -e "1-24" -r "1080" -t "1000000000000000000000000000000000000000000000000000000000" -o "jpn" -d

  • getopts :hlda:s:e:r:t⭕ opt
  • set_var
    ++ command -v curl
  • _CURL=/data/data/com.termux/files/usr/bin/curl
    ++ command -v jq
  • _JQ=/data/data/com.termux/files/usr/bin/jq
    ++ command -v fzf
  • _FZF=/data/data/com.termux/files/usr/bin/fzf
  • [[ -z '' ]]
    ++ command -v node
  • _NODE=/data/data/com.termux/files/usr/bin/node
    ++ command -v ffmpeg
  • _FFMPEG=/data/data/com.termux/files/usr/bin/ffmpeg
  • [[ 1000000000000000000000000000000000000000000000000000000000 -gt 1 ]]
    ++ command -v openssl
  • _OPENSSL=/data/data/com.termux/files/usr/bin/openssl
  • _HOST=https://animepahe.com
  • _ANIME_URL=https://animepahe.com/anime
  • _API_URL=https://animepahe.com/api
  • _REFERER_URL=https://kwik.cx/
    +++ realpath ./animepahe-dl.sh
    ++ dirname /data/data/com.termux/files/home/animepahe-dl/animepahe-dl.sh
  • _SCRIPT_PATH=/data/data/com.termux/files/home/animepahe-dl
  • _ANIME_LIST_FILE=/data/data/com.termux/files/home/animepahe-dl/anime.list
  • _SOURCE_FILE=.source.json
  • [[ -n Fire force ]]
    ++ /data/data/com.termux/files/usr/bin/fzf -1
    +++ search_anime_by_name 'Fire force'
    +++ local d n
    ++++ get 'https://animepahe.com/api?m=search&q=Fire%20force'
    ++++ /data/data/com.termux/files/usr/bin/curl -sS -L 'https://animepahe.com/api?m=search&q=Fire%20force' --compressed
    +++ d='{"total":16,"per_page":8,"current_page":1,"last_page":2,"from":1,"to":8,"data":[{"id":3335,"title":"Enen no Shouboutai","type":"TV","episodes":24,"status":"Finished Airing","season":"Summer","year":2019,"score":7.71,"poster":"https://i.animepahe.com/posters/a2c9a6d6914af5997f7f2fef88798a59f149487396ebf0061bdd3d373c2be8df.jpg","session":"3c90041e-2a44-92a5-fa70-8b52c83a23dc"},{"id":4024,"title":"Enen no Shouboutai: Ni no Shou","type":"TV","episodes":24,"status":"Finished Airing","season":"Summer","year":2020,"score":7.8,"poster":"https://i.animepahe.com/posters/cc7d32084dd07638901c1938b7cee1d243b2233e9d5dfa271354e76b7d13d596.jpg","session":"f69708f3-409c-e5bb-8784-5b014810ce0c"},{"id":604,"title":"Kaze no Tani no Nausica\u00e4","type":"Movie","episodes":1,"status":"Finished Airing","season":"Spring","year":1984,"score":8.36,"poster":"https://i.animepahe.com/posters/b058f733c0db1093bccacfc34eb2cb1fe0ee947bccb2e8609c22dbdfa9265e81.jpg","session":"99fe24c2-5426-a382-f36f-344f3bd964a5"},{"id":4079,"title":"Hanyou no Yashahime: Sengoku Otogizoushi","type":"TV","episodes":24,"status":"Finished Airing","season":"Fall","year":2020,"score":6.71,"poster":"https://i.animepahe.com/posters/961272a09a35e4f2479503e8ce438cacaf5efe9f2e0b3c0640a5668936c3eb57.jpg","session":"3da05128-9e78-f84a-3f11-8ee10b108869"},{"id":5104,"title":"Goodbye, Don Glees!","type":"Movie","episodes":1,"status":"Finished Airing","season":"Winter","year":2022,"score":7.32,"poster":"https://i.animepahe.com/posters/58a13ee940901ffe649a9c0eff120ad30c1b1f3894eaa38fa98015804cf07d7d.jpg","session":"846fe56a-cb03-04f2-9f06-79b8169f7d94"},{"id":5083,"title":"Hikari no Ou","type":"TV","episodes":10,"status":"Finished Airing","season":"Winter","year":2023,"score":6.43,"poster":"https://i.animepahe.com/posters/2ddf4b1cb10663a38a7985c538b6e692b8a60cf5a432bb08026c23eac50ea0d7.jpg","session":"7e421fc1-9384-bebe-7b73-b0b474dda0f6"},{"id":541,"title":"Naruto: Shippuuden Movie 3 - Hi no Ishi wo Tsugu Mono","type":"Movie","episodes":1,"status":"Finished Airing","season":"Summer","year":2009,"score":7.33,"poster":"https://i.animepahe.com/posters/748947c1a877bc77871355f7a3819f6d9a8fb8f70bc17eee910f8f2ba7ec0799.jpg","session":"2cb469c0-1b44-9889-7a36-43f552272283"},{"id":2192,"title":"Koukaku Kidoutai Arise: Ghost in the Shell - Border:4 Ghost Stands Alone","type":"Movie","episodes":1,"status":"Finished Airing","season":"Fall","year":2014,"score":7.43,"poster":"https://i.animepahe.com/posters/fe007f97ffb3f70dfbaaf167ce714fa62f7abb6093a5b335c6bfe72190169473.jpg","session":"4ec8f113-fce6-802a-4134-69748ce2da51"}]}'
    ++++ /data/data/com.termux/files/usr/bin/jq -r .total
    +++ n=16
    +++ [[ 16 -eq 0 ]]
    +++ /data/data/com.termux/files/usr/bin/jq -r '.data[] | "[(.session)] (.title) "'
    +++ tee -a /data/data/com.termux/files/home/animepahe-dl/anime.list
    +++ remove_slug
    +++ awk '-F] ' '{print $2}'
  • _ANIME_NAME='Enen no Shouboutai '
    ++ get_slug_from_name 'Enen no Shouboutai '
    ++ grep '] Enen no Shouboutai ' /data/data/com.termux/files/home/animepahe-dl/anime.list
    ++ tail -1
    ++ remove_brackets
    ++ awk '-F]' '{print $1}'
    ++ sed -E 's/^[//'
  • _ANIME_SLUG=3c90041e-2a44-92a5-fa70-8b52c83a23dc
  • [[ 3c90041e-2a44-92a5-fa70-8b52c83a23dc == '' ]]
    ++ grep 3c90041e-2a44-92a5-fa70-8b52c83a23dc /data/data/com.termux/files/home/animepahe-dl/anime.list
    ++ tail -1
    ++ remove_slug
    ++ awk '-F] ' '{print $2}'
    ++ sed -E 's/[[:space:]]+$//'
    ++ sed -E 's/[^[:alnum:] ,\+\-\)\(]/_/g'
  • _ANIME_NAME='Enen no Shouboutai'
  • [[ Enen no Shouboutai == '' ]]
  • download_source
  • local d p n
  • mkdir -p '/data/data/com.termux/files/home/animepahe-dl/Enen no Shouboutai'
    ++ get_episode_list 3c90041e-2a44-92a5-fa70-8b52c83a23dc 1
    ++ get 'https://animepahe.com/api?m=release&id=3c90041e-2a44-92a5-fa70-8b52c83a23dc&sort=episode_asc&page=1'
    ++ /data/data/com.termux/files/usr/bin/curl -sS -L 'https://animepahe.com/api?m=release&id=3c90041e-2a44-92a5-fa70-8b52c83a23dc&sort=episode_asc&page=1' --compressed
  • d='{"total":24,"per_page":30,"current_page":1,"last_page":1,"next_page_url":null,"prev_page_url":null,"from":1,"to":24,"data":[{"id":27101,"anime_id":3335,"episode":1,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/ab4ee586b2775130b82f277b1c8b32b7c921f218f3cd11640470dbe2959dd9c6.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"33a4d1782f990652ded02e2f59b25968ae5daef710c8389a68e777f355818c11","filler":0,"created_at":"2019-07-05 17:39:47"},{"id":27472,"anime_id":3335,"episode":2,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/636e93fdea7fbb752103585e1f184734addb8f5417e1d9de8252dab1708c42b6.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"5e8f9c369caca241ff8082765e7fedd93ae48b5eee94f96c493bb0bcaf28e821","filler":0,"created_at":"2019-07-12 17:37:41"},{"id":28289,"anime_id":3335,"episode":3,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/7852b9005a771f2b7468e7261d727ceb57c76fadfa9e7b6a8bb658b3d62ea599.jpg","disc":"","audio":"jpn","duration":"00:23:34","session":"86f8b0635eaadc57b5e74cc8a95f244063618f35f2be551450abd57cf5eb76e4","filler":0,"created_at":"2019-07-26 17:39:07"},{"id":28745,"anime_id":3335,"episode":4,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/3ea92228fb4b79721aafeefbc8a14c671f06565adcfd086c227998b910082bc0.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"cd41d1d60a18fb47738c7fe0cda440f3ece2184584d77d2a1329c821c32528be","filler":0,"created_at":"2019-08-02 17:39:34"},{"id":29135,"anime_id":3335,"episode":5,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/ce7c6dcce2c33b3fdef73c9bd1f1188afde46ad6a029d84e7d2b814f200fd2d8.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"8a8c1027685dc07279d479024c5fa194efb02a9f053140cfe92a1ac34e2f6c9c","filler":0,"created_at":"2019-08-09 17:39:41"},{"id":29631,"anime_id":3335,"episode":6,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/b51110a5af2d28bce58120c0ef4c059d83dc69fb87366df8c1a615981a6d677b.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"7744c37c93d4500015173dcbb70b37d659a3ba3a9d6274484c1ab879208a45fc","filler":0,"created_at":"2019-08-16 17:56:22"},{"id":30129,"anime_id":3335,"episode":7,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/323376d8e64600a465940857d79874d6d487a70157e9f20f0813ab624509250f.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"99f84bf5590e415a176f7746a6169307f1caf1f96d223a32c4a792628a09f7e6","filler":0,"created_at":"2019-08-23 17:40:02"},{"id":30538,"anime_id":3335,"episode":8,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/11382920aae4dd3236529635d1f579b43e45c2876f5b0b802f9fa0d2c01ef662.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"d7eb1512dfd71de5ffb5fc31935bf7b062e21a892c86a8cc060b203518e5686c","filler":0,"created_at":"2019-08-30 17:38:53"},{"id":30762,"anime_id":3335,"episode":9,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/42d4ff92d8553989baee8d99e221c74d4bc0314b6461f3ccba8c89f5391ce7b7.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"9939fa0e1d74f916c0e7ad3c0bbad0377c8d00e01f5ccb8d8aa285b51ac5a6a5","filler":0,"created_at":"2019-09-06 17:39:54"},{"id":31073,"anime_id":3335,"episode":10,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/17b2b0fe22dd09d4e2382957726621e7d151a635ace18d13ded3c27ce505ba0f.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"2f44f4dc15b7533ecba3434e75485d1e6fe473d899e574b6d349077a7eda6ae1","filler":0,"created_at":"2019-09-13 17:50:06"},{"id":31398,"anime_id":3335,"episode":11,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/b1577c56dd83cc02a436a4fd5940039252779b4e68d5ca1b9658829a8ea8feef.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"23f7a0271c20a24a6d4e874890a70bab9c00164eaf46e98c4904255ae76f9d1c","filler":0,"created_at":"2019-09-20 17:58:16"},{"id":32603,"anime_id":3335,"episode":12,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/bd616b16446a13717c70b57d549c3e7990c07609548df261734f7697c8959cf5.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"50458c9c37fdbef8d72cd64e0d684e7d8980f535c609b6df4c94ac622e8a6d12","filler":0,"created_at":"2019-10-11 17:53:42"},{"id":33008,"anime_id":3335,"episode":13,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/2ea3448c21ca9a24a49c76751ee23099500a6839de219128209a2010bb163f2a.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"e654be5890717813bc7e7ba80c6f6f01779f551a37caecd589de8b5663714bf7","filler":0,"created_at":"2019-10-18 17:39:47"},{"id":33309,"anime_id":3335,"episode":14,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/324b813098abc74248c0552f19089d01e4c4f8636d27cafa37ee35a6968c2340.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"0f8085b12d01a3dff77a068775be6fb91637038f1a9c2c0bcc7ab75b7d9c2059","filler":0,"created_at":"2019-10-25 17:40:41"},{"id":33705,"anime_id":3335,"episode":15,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/81b9cf70f30ea59bd16cf13479b57970bc5af705e5bf1f0d9365458cfb2f6576.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"9b1065004d0c236b7cbe8a7c7014a3bc2fd46f10874fd788fe1fc0341d50d400","filler":0,"created_at":"2019-11-01 17:42:53"},{"id":34205,"anime_id":3335,"episode":16,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/cb313e583e8dd6034821bd4716244238ffaecfbbd31c92d43ad898aa377d1747.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"e280dfd07321ac44f81d7093086ccf8fb174ecc530816e4efee0808065523ce2","filler":0,"created_at":"2019-11-08 18:37:54"},{"id":34645,"anime_id":3335,"episode":17,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/bb50d203fe48fc01ed59bee86a39debb8574a9960a9b263eb2caa8db2250f005.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"55e6db1d12e0fcde46878b665a1e39ae62db75e45ee81b3a96a2eaad88254d59","filler":0,"created_at":"2019-11-15 18:38:02"},{"id":35249,"anime_id":3335,"episode":18,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/68ce08dba701e7f5fae181a3cf25bff2fe2aea1f77ffda33c9c5e9e3857db08f.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"4f19a262d1c11c6e1216845c7b69433e4f7b183af631707017d5c6c81bf491f5","filler":0,"created_at":"2019-11-22 18:36:17"},{"id":35911,"anime_id":3335,"episode":19,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/c01323b244b84a26c052790c456b4ed9e0410fd49d9cbbf9eaa620a2105972cc.jpg","disc":"","audio":"jpn","duration":"00:23:42","session":"75200e42fad4b957ebee12c6f9b467a5eae5e7fedb0a927827c940a10803d85c","filler":0,"created_at":"2019-11-29 18:37:45"},{"id":36413,"anime_id":3335,"episode":20,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/99e74a1c7f8557c6e9f2565622da05c28369f3c13b555a4176287fac29277328.jpg","disc":"","audio":"jpn","duration":"00:23:42","session":"abf97238f1f9068f002d839d118abcecd482b48b6ae9f54f5e4b6a0578d8568b","filler":0,"created_at":"2019-12-06 17:46:00"},{"id":37415,"anime_id":3335,"episode":21,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/28324e63337f7373d623b451d54870bf2be2174e7c2a2c30cdcc213a6bd565e1.jpg","disc":"","audio":"jpn","duration":"00:23:42","session":"97aebfce393a74d212b6961d87571a9b8bac3e653201db5a94717dca9fae6622","filler":0,"created_at":"2019-12-13 17:38:42"},{"id":37784,"anime_id":3335,"episode":22,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/b83616839d73c6552e6619ef682f02dc0faaa744c3bd9a60ac612a90e52516b7.jpg","disc":"","audio":"jpn","duration":"00:23:42","session":"2454945ccd6998e3493410297d850a1d95ea956e2b6042836bea9a6ad30acea0","filler":0,"created_at":"2019-12-20 17:38:23"},{"id":38207,"anime_id":3335,"episode":23,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/b3fd8d70bd4470e9a5e84ef7797c0bb980b984481d2556155f265657ef954610.jpg","disc":"","audio":"jpn","duration":"00:23:42","session":"b1165708236911dbde3a15b8aecfe0b4a9b5dc525a7f195777aa32c3b5233e29","filler":0,"created_at":"2019-12-27 17:37:05"},{"id":38210,"anime_id":3335,"episode":24,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/230ef84c605670206e4328615c9359734895a1b82387f4e8cdbfb54e808eaf3a.jpg","disc":"","audio":"jpn","duration":"00:23:42","session":"b22c1fbc5ddc221fbe2f3896a86af1edee018fb490ae3ddee79b092a689646d3","filler":0,"created_at":"2019-12-27 19:42:00"}]}'
    ++ /data/data/com.termux/files/usr/bin/jq -r .last_page
  • p=1
  • [[ 1 -gt 1 ]]
  • echo '{"total":24,"per_page":30,"current_page":1,"last_page":1,"next_page_url":null,"prev_page_url":null,"from":1,"to":24,"data":[{"id":27101,"anime_id":3335,"episode":1,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/ab4ee586b2775130b82f277b1c8b32b7c921f218f3cd11640470dbe2959dd9c6.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"33a4d1782f990652ded02e2f59b25968ae5daef710c8389a68e777f355818c11","filler":0,"created_at":"2019-07-05 17:39:47"},{"id":27472,"anime_id":3335,"episode":2,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/636e93fdea7fbb752103585e1f184734addb8f5417e1d9de8252dab1708c42b6.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"5e8f9c369caca241ff8082765e7fedd93ae48b5eee94f96c493bb0bcaf28e821","filler":0,"created_at":"2019-07-12 17:37:41"},{"id":28289,"anime_id":3335,"episode":3,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/7852b9005a771f2b7468e7261d727ceb57c76fadfa9e7b6a8bb658b3d62ea599.jpg","disc":"","audio":"jpn","duration":"00:23:34","session":"86f8b0635eaadc57b5e74cc8a95f244063618f35f2be551450abd57cf5eb76e4","filler":0,"created_at":"2019-07-26 17:39:07"},{"id":28745,"anime_id":3335,"episode":4,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/3ea92228fb4b79721aafeefbc8a14c671f06565adcfd086c227998b910082bc0.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"cd41d1d60a18fb47738c7fe0cda440f3ece2184584d77d2a1329c821c32528be","filler":0,"created_at":"2019-08-02 17:39:34"},{"id":29135,"anime_id":3335,"episode":5,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/ce7c6dcce2c33b3fdef73c9bd1f1188afde46ad6a029d84e7d2b814f200fd2d8.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"8a8c1027685dc07279d479024c5fa194efb02a9f053140cfe92a1ac34e2f6c9c","filler":0,"created_at":"2019-08-09 17:39:41"},{"id":29631,"anime_id":3335,"episode":6,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/b51110a5af2d28bce58120c0ef4c059d83dc69fb87366df8c1a615981a6d677b.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"7744c37c93d4500015173dcbb70b37d659a3ba3a9d6274484c1ab879208a45fc","filler":0,"created_at":"2019-08-16 17:56:22"},{"id":30129,"anime_id":3335,"episode":7,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/323376d8e64600a465940857d79874d6d487a70157e9f20f0813ab624509250f.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"99f84bf5590e415a176f7746a6169307f1caf1f96d223a32c4a792628a09f7e6","filler":0,"created_at":"2019-08-23 17:40:02"},{"id":30538,"anime_id":3335,"episode":8,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/11382920aae4dd3236529635d1f579b43e45c2876f5b0b802f9fa0d2c01ef662.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"d7eb1512dfd71de5ffb5fc31935bf7b062e21a892c86a8cc060b203518e5686c","filler":0,"created_at":"2019-08-30 17:38:53"},{"id":30762,"anime_id":3335,"episode":9,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/42d4ff92d8553989baee8d99e221c74d4bc0314b6461f3ccba8c89f5391ce7b7.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"9939fa0e1d74f916c0e7ad3c0bbad0377c8d00e01f5ccb8d8aa285b51ac5a6a5","filler":0,"created_at":"2019-09-06 17:39:54"},{"id":31073,"anime_id":3335,"episode":10,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/17b2b0fe22dd09d4e2382957726621e7d151a635ace18d13ded3c27ce505ba0f.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"2f44f4dc15b7533ecba3434e75485d1e6fe473d899e574b6d349077a7eda6ae1","filler":0,"created_at":"2019-09-13 17:50:06"},{"id":31398,"anime_id":3335,"episode":11,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/b1577c56dd83cc02a436a4fd5940039252779b4e68d5ca1b9658829a8ea8feef.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"23f7a0271c20a24a6d4e874890a70bab9c00164eaf46e98c4904255ae76f9d1c","filler":0,"created_at":"2019-09-20 17:58:16"},{"id":32603,"anime_id":3335,"episode":12,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/bd616b16446a13717c70b57d549c3e7990c07609548df261734f7697c8959cf5.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"50458c9c37fdbef8d72cd64e0d684e7d8980f535c609b6df4c94ac622e8a6d12","filler":0,"created_at":"2019-10-11 17:53:42"},{"id":33008,"anime_id":3335,"episode":13,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/2ea3448c21ca9a24a49c76751ee23099500a6839de219128209a2010bb163f2a.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"e654be5890717813bc7e7ba80c6f6f01779f551a37caecd589de8b5663714bf7","filler":0,"created_at":"2019-10-18 17:39:47"},{"id":33309,"anime_id":3335,"episode":14,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/324b813098abc74248c0552f19089d01e4c4f8636d27cafa37ee35a6968c2340.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"0f8085b12d01a3dff77a068775be6fb91637038f1a9c2c0bcc7ab75b7d9c2059","filler":0,"created_at":"2019-10-25 17:40:41"},{"id":33705,"anime_id":3335,"episode":15,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/81b9cf70f30ea59bd16cf13479b57970bc5af705e5bf1f0d9365458cfb2f6576.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"9b1065004d0c236b7cbe8a7c7014a3bc2fd46f10874fd788fe1fc0341d50d400","filler":0,"created_at":"2019-11-01 17:42:53"},{"id":34205,"anime_id":3335,"episode":16,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/cb313e583e8dd6034821bd4716244238ffaecfbbd31c92d43ad898aa377d1747.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"e280dfd07321ac44f81d7093086ccf8fb174ecc530816e4efee0808065523ce2","filler":0,"created_at":"2019-11-08 18:37:54"},{"id":34645,"anime_id":3335,"episode":17,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/bb50d203fe48fc01ed59bee86a39debb8574a9960a9b263eb2caa8db2250f005.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"55e6db1d12e0fcde46878b665a1e39ae62db75e45ee81b3a96a2eaad88254d59","filler":0,"created_at":"2019-11-15 18:38:02"},{"id":35249,"anime_id":3335,"episode":18,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/68ce08dba701e7f5fae181a3cf25bff2fe2aea1f77ffda33c9c5e9e3857db08f.jpg","disc":"","audio":"jpn","duration":"00:23:57","session":"4f19a262d1c11c6e1216845c7b69433e4f7b183af631707017d5c6c81bf491f5","filler":0,"created_at":"2019-11-22 18:36:17"},{"id":35911,"anime_id":3335,"episode":19,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/c01323b244b84a26c052790c456b4ed9e0410fd49d9cbbf9eaa620a2105972cc.jpg","disc":"","audio":"jpn","duration":"00:23:42","session":"75200e42fad4b957ebee12c6f9b467a5eae5e7fedb0a927827c940a10803d85c","filler":0,"created_at":"2019-11-29 18:37:45"},{"id":36413,"anime_id":3335,"episode":20,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/99e74a1c7f8557c6e9f2565622da05c28369f3c13b555a4176287fac29277328.jpg","disc":"","audio":"jpn","duration":"00:23:42","session":"abf97238f1f9068f002d839d118abcecd482b48b6ae9f54f5e4b6a0578d8568b","filler":0,"created_at":"2019-12-06 17:46:00"},{"id":37415,"anime_id":3335,"episode":21,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/28324e63337f7373d623b451d54870bf2be2174e7c2a2c30cdcc213a6bd565e1.jpg","disc":"","audio":"jpn","duration":"00:23:42","session":"97aebfce393a74d212b6961d87571a9b8bac3e653201db5a94717dca9fae6622","filler":0,"created_at":"2019-12-13 17:38:42"},{"id":37784,"anime_id":3335,"episode":22,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/b83616839d73c6552e6619ef682f02dc0faaa744c3bd9a60ac612a90e52516b7.jpg","disc":"","audio":"jpn","duration":"00:23:42","session":"2454945ccd6998e3493410297d850a1d95ea956e2b6042836bea9a6ad30acea0","filler":0,"created_at":"2019-12-20 17:38:23"},{"id":38207,"anime_id":3335,"episode":23,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/b3fd8d70bd4470e9a5e84ef7797c0bb980b984481d2556155f265657ef954610.jpg","disc":"","audio":"jpn","duration":"00:23:42","session":"b1165708236911dbde3a15b8aecfe0b4a9b5dc525a7f195777aa32c3b5233e29","filler":0,"created_at":"2019-12-27 17:37:05"},{"id":38210,"anime_id":3335,"episode":24,"episode2":0,"edition":"","title":"","snapshot":"https://i.animepahe.com/snapshots/230ef84c605670206e4328615c9359734895a1b82387f4e8cdbfb54e808eaf3a.jpg","disc":"","audio":"jpn","duration":"00:23:42","session":"b22c1fbc5ddc221fbe2f3896a86af1edee018fb490ae3ddee79b092a689646d3","filler":0,"created_at":"2019-12-27 19:42:00"}]}'
  • [[ -z 1-24 ]]
  • download_episodes 1-24
  • local origel el uniqel
  • origel=()
  • [[ 1-24 == , ]]
  • origel+=("$1")
  • el=()
  • for i in "${origel[@]}"
  • [[ 1-24 == * ]]
  • [[ 1-24 == - ]]
    ++ awk -F - '{print $1}'
  • s=1
    ++ awk -F - '{print $2}'
  • e=24
    ++ seq 1 24
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • for n in $(seq "$s" "$e")
  • el+=("$n")
  • IFS=' '
  • read -ra uniqel
    ++ printf '%s\n' 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
    ++ sort -n -u
    ++ tr '\n' ' '
  • [[ 24 == 0 ]]
  • for e in "${uniqel[@]}"
  • download_episode 1
  • local num=1 l pl erropt= v
  • v='/data/data/com.termux/files/home/animepahe-dl/Enen no Shouboutai/1.mp4'
    ++ get_episode_link 1
    ++ local s o l r=
    +++ /data/data/com.termux/files/usr/bin/jq -r '.data[] | select((.episode | tonumber) == ($num | tonumber)) | .session' --arg num 1
    ++ s=33a4d1782f990652ded02e2f59b25968ae5daef710c8389a68e777f355818c11
    ++ [[ 33a4d1782f990652ded02e2f59b25968ae5daef710c8389a68e777f355818c11 == '' ]]
    +++ /data/data/com.termux/files/usr/bin/curl --compressed -sSL https://animepahe.com/play/3c90041e-2a44-92a5-fa70-8b52c83a23dc/33a4d1782f990652ded02e2f59b25968ae5daef710c8389a68e777f355818c11
    ++ o='
<title>Enen no Shouboutai Ep. 1 :: animepahe</title> <script data-ssr="1" data-cfasync="false" async type="text/javascript" src="//ikrauteri.life/r642e8d113644b/43058"></script> <script data-cfasync="false" async type="text/javascript" src="//ouchruse.com/1clkn/45246"></script> <script type='\''text/javascript'\'' src='\''//amywhereby.com/89/66/b6/8966b6c0380845137e2f0bc664baf7be.js'\''></script> <script> let session = "33a4d1782f990652ded02e2f59b25968ae5daef710c8389a68e777f355818c11"; let provider = "kwik"; let url = "https://kwik.cx/e/8s5fmcKmhHDD"; </script> AnimePahe
× Beware of fake websites, our only domains are animepahe.com, animepahe.org and animepahe.ru.
<iframe class="embed-responsive-item" scrolling="no" allowfullscreen allowtransparency></iframe>

Click to load

Watch Enen no Shouboutai - 1 Online

TV - 24 Episodes (Finished Airing)
<script src="/app/js/vendor/bootstrap.bundle.min.js"></script> <script src="/app/js/core.js"></script> <script src="/app/js/play2.js"></script> <script>(function(){var js = "window['\''__CF$cv$params'\'']={r:'\''7b38e9491da8c910'\'',m:'\''Rajt_Ausc3UBB6LjQaT07w7kess1cCnTDllHI6rhKgE-1680772369-0-AePv+OS96PP1Q1K4omWbY936CChgjN4amJmobMLcaOzXkocenDGClKRESFpc58g38NE4jd6tTwDRseFN4syle4J8AOO3El1PySTGnEKJrmK8biPKr2CXxUTcmzbhvsI02Eg4TIbW9TyhfydhoGj3mNSqWML2CazQ28G4Wt2nEXjk+W8fed8IK/GevwELoENIqM3GzYo/q5aY6JREIo2qXQ3mcgTbWGoYwZ85DjVlZ5DpRlTZa4CoyLtIdEvodI7LiQ=='\'',s:[0x6d39f66ccf,0x153cbe7ba7],u:'\''/cdn-cgi/challenge-platform/h/b'\''};var now=Date.now()/1000,offset=14400,ts='\'''\''+(Math.floor(now)-Math.floor(now%offset)),_cpo=document.createElement('\''script'\'');_cpo.nonce='\'''\'',_cpo.src='\''/cdn-cgi/challenge-platform/h/b/scripts/alpha/invisible.js?ts='\''+ts,document.getElementsByTagName('\''head'\'')[0].appendChild(_cpo);";var _0xh = document.createElement('\''iframe'\'');_0xh.height = 1;_0xh.width = 1;_0xh.style.position = '\''absolute'\'';_0xh.style.top = 0;_0xh.style.left = 0;_0xh.style.border = '\''none'\'';_0xh.style.visibility = '\''hidden'\'';document.body.appendChild(_0xh);function handler() {var _0xi = _0xh.contentDocument || _0xh.contentWindow.document;if (_0xi) {var _0xj = _0xi.createElement('\''script'\'');_0xj.nonce = '\'''\'';_0xj.innerHTML = js;_0xi.getElementsByTagName('\''head'\'')[0].appendChild(_0xj);}}if (document.readyState !== '\''loading'\'') {handler();} else if (window.addEventListener) {document.addEventListener('\''DOMContentLoaded'\'', handler);} else {var prev = document.onreadystatechange || function () {};document.onreadystatechange = function (e) {prev(e);if (document.readyState !== '\''loading'\'') {document.onreadystatechange = prev;handler();}};}})();</script><script defer src="https://static.cloudflareinsights.com/beacon.min.js/vb26e4fa9e5134444860be286fd8771851679335129114" integrity="sha512-M3hN/6cva/SjwrOtyXeUa5IuCT0sedyfT+jK/OV+s+D0RnzrTfwjwJHhd+wYfMm9HJSrZ1IKksOdddLuN6KOzw==" data-cf-beacon='\''{"rayId":"7b38e9491da8c910","version":"2023.3.0","r":1,"b":1,"token":"16fd248580e748bba001f4893ca7cd74","si":100}'\'' crossorigin="anonymous"></script> ' +++ grep 'HorribleSubs · 720pHorribleSubs · 1080p ]] ++ [[ -n 1080 ]] ++ print_info 'Select video resolution: 1080' ++ [[ -z '' ]] ++ printf '%b\n' '\033[32m[INFO]\033[0m Select video resolution: 1080' [INFO] Select video resolution: 1080 +++ grep 'data-resolution="1080"' ++ r='https://kwik.cx/e/n41fLsqO6u1l" data-fansub="HorribleSubs" data-resolution="1080" data-audio="jpn" data-av1="0" class="dropdown-item">HorribleSubs · 1080p' ++ [[ -z https://kwik.cx/e/n41fLsqO6u1l" data-fansub="HorribleSubs" data-resolution="1080" data-audio="jpn" data-av1="0" class="dropdown-item">HorribleSubs · 1080p ]] ++ [[ -z https://kwik.cx/e/n41fLsqO6u1l" data-fansub="HorribleSubs" data-resolution="1080" data-audio="jpn" data-av1="0" class="dropdown-item">HorribleSubs · 1080p ]] ++ awk -F '" ' '{print $1}' ++ head -1 + l=https://kwik.cx/e/n41fLsqO6u1l + [[ https://kwik.cx/e/n41fLsqO6u1l != *\/* ]] ++ get_playlist_link https://kwik.cx/e/n41fLsqO6u1l ++ local s l +++ /data/data/com.termux/files/usr/bin/curl --compressed -sS -H 'Referer: https://kwik.cx/' https://kwik.cx/e/n41fLsqO6u1l +++ grep '<script>eval(' +++ sed -E s/document/process/g +++ sed -E 's/eval\(/console.log\(/g' +++ sed -E s/querySelector/exit/g +++ awk -F 'script>' '{print $2}' ++ s='console.log(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!'\'''\''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\''\\w+'\''};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\''\\b'\''+e(c)+'\''\\b'\'','\''g'\''),k[c])}}return p}('\''f $7={H:a(2){4 B(9.7.h(y z("(?:(?:^|.*;)\\\\s*"+d(2).h(/[\\-\\.\\+\\*]/g,"\\\\$&")+"\\\\s*\\\\=\\\\s*([^;]*).*$)|^.*$"),"$1"))||G},E:a(2,q,3,6,5,t){k(!2||/^(?:8|r\\-v|o|m|p)$/i.D(2)){4 w}f b="";k(3){F(3.J){j K:b=3===P?"; 8=O, I N Q M:u:u A":"; r-v="+3;n;j L:b="; 8="+3;n;j S:b="; 8="+3.Z();n}}9.7=d(2)+"="+d(q)+b+(5?"; m="+5:"")+(6?"; o="+6:"")+(t?"; p":"");4 x},Y:a(2,6,5){k(!2||!11.C(2)){4 w}9.7=d(2)+"=; 8=12, R 10 W l:l:l A"+(5?"; m="+5:"")+(6?"; o="+6:"");4 x},C:a(2){4(y z("(?:^|;\\\\s*)"+d(2).h(/[\\-\\.\\+\\*]/g,"\\\\$&")+"\\\\s*\\\\=")).D(9.7)},X:a(){f c=9.7.h(/((?:^|\\s*;)[^\\=]+)(?=;|$)|^\\s*|\\s*(?:\\=[^;]*)?(?:\\1|$)/g,"").T(/\\s*(?:\\=[^;]*)?;\\s*/);U(f e=0;e35?String.fromCharCode(c+29):c.toString(36))};if(!'\'''\''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\''\\w+'\''};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\''\\b'\''+e(c)+'\''\\b'\'','\''g'\''),k[c])}}return p}('\''h o=\'\''1B://1A-E.1z.1y.1x/1w/E/1v/1u/1t.1s\'\'';h d=s.r(\'\''d\'\'');h 0=B 1r(d,{\'\''1q\'\'':{\'\''1p\'\'':i},\'\''1o\'\'':\'\''16:9\'\'',\'\''D\'\'':1,\'\''1n\'\'':5,\'\''1m\'\'':{\'\''1l\'\'':\'\''1k\'\''},1j:[\'\''7-1i\'\'',\'\''7\'\'',\'\''1h\'\'',\'\''1g\'\'',\'\''1f-1e\'\'',\'\''1d\'\'',\'\''D\'\'',\'\''1c\'\'',\'\''1b\'\'',\'\''1a\'\'',\'\''19\'\'',\'\''C\'\'',\'\''18\'\''],\'\''C\'\'':{\'\''17\'\'':i}});8(!A.15()){d.14=o}x{j z={13:12,11:10,Z:Y,X:i,W:i};h c=B A(z);c.V(o);c.U(d);g.c=c}0.3("T",6=>{g.S.R.Q("P")});0.O=1;k v(b,n,m){8(b.y){b.y(n,m,N)}x 8(b.w){b.w(\'\''3\'\''+n,m)}}j 4=k(l){g.M.L(l,\'\''*\'\'')};v(g,\'\''l\'\'',k(e){j a=e.a;8(a===\'\''7\'\'')0.7();8(a===\'\''f\'\'')0.f();8(a===\'\''u\'\'')0.u()});0.3(\'\''t\'\'',6=>{4(\'\''t\'\'')});0.3(\'\''7\'\'',6=>{4(\'\''7\'\'')});0.3(\'\''f\'\'',6=>{4(\'\''f\'\'')});0.3(\'\''K\'\'',6=>{4(0.q);s.r(\'\''.J-I\'\'').H=G(0.q.F(2))});0.3(\'\''p\'\'',6=>{4(\'\''p\'\'')});'\'',62,100,'\''player|||on|sendMessage||event|play|if||data|element|hls|video||pause|window|const|true|var|function|message|eventHandler|eventName|source|ended|currentTime|exit|process|ready|stop|bindEvent|attachEvent|else|addEventListener|config|Hls|new|fullscreen|volume|06|toFixed|String|innerHTML|timestamp|ss|timeupdate|postMessage|parent|false|speed|landscape|lock|orientation|screen|enterfullscreen|attachMedia|loadSource|lowLatencyMode|enableWorker|Infinity|backBufferLength|600|maxMaxBufferLength|180|maxBufferLength|src|isSupported||iosNative|capture|airplay|pip|settings|captions|mute|time|current|progress|rewind|large|controls|kwik|key|storage|seekTime|ratio|global|keyboard|Plyr|m3u8|uwu|a3a8412730899badda8535b5a61178f3a1af8e7a90853f46051d0a71acd58af6|02|stream|org|nextcdn|files|eu|https'\''.split('\''|'\''),0,{}))' +++ /data/data/com.termux/files/usr/bin/node -e 'console.log(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!'\'''\''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\''\\w+'\''};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\''\\b'\''+e(c)+'\''\\b'\'','\''g'\''),k[c])}}return p}('\''f $7={H:a(2){4 B(9.7.h(y z("(?:(?:^|.*;)\\\\s*"+d(2).h(/[\\-\\.\\+\\*]/g,"\\\\$&")+"\\\\s*\\\\=\\\\s*([^;]*).*$)|^.*$"),"$1"))||G},E:a(2,q,3,6,5,t){k(!2||/^(?:8|r\\-v|o|m|p)$/i.D(2)){4 w}f b="";k(3){F(3.J){j K:b=3===P?"; 8=O, I N Q M:u:u A":"; r-v="+3;n;j L:b="; 8="+3;n;j S:b="; 8="+3.Z();n}}9.7=d(2)+"="+d(q)+b+(5?"; m="+5:"")+(6?"; o="+6:"")+(t?"; p":"");4 x},Y:a(2,6,5){k(!2||!11.C(2)){4 w}9.7=d(2)+"=; 8=12, R 10 W l:l:l A"+(5?"; m="+5:"")+(6?"; o="+6:"");4 x},C:a(2){4(y z("(?:^|;\\\\s*)"+d(2).h(/[\\-\\.\\+\\*]/g,"\\\\$&")+"\\\\s*\\\\=")).D(9.7)},X:a(){f c=9.7.h(/((?:^|\\s*;)[^\\=]+)(?=;|$)|^\\s*|\\s*(?:\\=[^;]*)?(?:\\1|$)/g,"").T(/\\s*(?:\\=[^;]*)?;\\s*/);U(f e=0;e35?String.fromCharCode(c+29):c.toString(36))};if(!'\'''\''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\''\\w+'\''};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\''\\b'\''+e(c)+'\''\\b'\'','\''g'\''),k[c])}}return p}('\''h o=\'\''1B://1A-E.1z.1y.1x/1w/E/1v/1u/1t.1s\'\'';h d=s.r(\'\''d\'\'');h 0=B 1r(d,{\'\''1q\'\'':{\'\''1p\'\'':i},\'\''1o\'\'':\'\''16:9\'\'',\'\''D\'\'':1,\'\''1n\'\'':5,\'\''1m\'\'':{\'\''1l\'\'':\'\''1k\'\''},1j:[\'\''7-1i\'\'',\'\''7\'\'',\'\''1h\'\'',\'\''1g\'\'',\'\''1f-1e\'\'',\'\''1d\'\'',\'\''D\'\'',\'\''1c\'\'',\'\''1b\'\'',\'\''1a\'\'',\'\''19\'\'',\'\''C\'\'',\'\''18\'\''],\'\''C\'\'':{\'\''17\'\'':i}});8(!A.15()){d.14=o}x{j z={13:12,11:10,Z:Y,X:i,W:i};h c=B A(z);c.V(o);c.U(d);g.c=c}0.3("T",6=>{g.S.R.Q("P")});0.O=1;k v(b,n,m){8(b.y){b.y(n,m,N)}x 8(b.w){b.w(\'\''3\'\''+n,m)}}j 4=k(l){g.M.L(l,\'\''*\'\'')};v(g,\'\''l\'\'',k(e){j a=e.a;8(a===\'\''7\'\'')0.7();8(a===\'\''f\'\'')0.f();8(a===\'\''u\'\'')0.u()});0.3(\'\''t\'\'',6=>{4(\'\''t\'\'')});0.3(\'\''7\'\'',6=>{4(\'\''7\'\'')});0.3(\'\''f\'\'',6=>{4(\'\''f\'\'')});0.3(\'\''K\'\'',6=>{4(0.q);s.r(\'\''.J-I\'\'').H=G(0.q.F(2))});0.3(\'\''p\'\'',6=>{4(\'\''p\'\'')});'\'',62,100,'\''player|||on|sendMessage||event|play|if||data|element|hls|video||pause|window|const|true|var|function|message|eventHandler|eventName|source|ended|currentTime|exit|process|ready|stop|bindEvent|attachEvent|else|addEventListener|config|Hls|new|fullscreen|volume|06|toFixed|String|innerHTML|timestamp|ss|timeupdate|postMessage|parent|false|speed|landscape|lock|orientation|screen|enterfullscreen|attachMedia|loadSource|lowLatencyMode|enableWorker|Infinity|backBufferLength|600|maxMaxBufferLength|180|maxBufferLength|src|isSupported||iosNative|capture|airplay|pip|settings|captions|mute|time|current|progress|rewind|large|controls|kwik|key|storage|seekTime|ratio|global|keyboard|Plyr|m3u8|uwu|a3a8412730899badda8535b5a61178f3a1af8e7a90853f46051d0a71acd58af6|02|stream|org|nextcdn|files|eu|https'\''.split('\''|'\''),0,{}))' +++ grep source= +++ sed -E 's/.*const source='\''//' +++ sed -E 's/.m3u8'\'';.*/.m3u8/' ++ l=https://eu-06.files.nextcdn.org/stream/06/02/a3a8412730899badda8535b5a61178f3a1af8e7a90853f46051d0a71acd58af6/uwu.m3u8 ++ echo https://eu-06.files.nextcdn.org/stream/06/02/a3a8412730899badda8535b5a61178f3a1af8e7a90853f46051d0a71acd58af6/uwu.m3u8 + pl=https://eu-06.files.nextcdn.org/stream/06/02/a3a8412730899badda8535b5a61178f3a1af8e7a90853f46051d0a71acd58af6/uwu.m3u8 + [[ -z https://eu-06.files.nextcdn.org/stream/06/02/a3a8412730899badda8535b5a61178f3a1af8e7a90853f46051d0a71acd58af6/uwu.m3u8 ]] + [[ -z '' ]] + print_info 'Downloading Episode 1...' + [[ -z '' ]] + printf '%b\n' '\033[32m[INFO]\033[0m Downloading Episode 1...' [INFO] Downloading Episode 1... + [[ -z true ]] + [[ 1000000000000000000000000000000000000000000000000000000000 -gt 1 ]] + local opath plist cpath fname + fname=file.list ++ pwd + cpath=/data/data/com.termux/files/home/animepahe-dl + opath='/data/data/com.termux/files/home/animepahe-dl/Enen no Shouboutai/1' + plist='/data/data/com.termux/files/home/animepahe-dl/Enen no Shouboutai/1/playlist.m3u8' + rm -rf '/data/data/com.termux/files/home/animepahe-dl/Enen no Shouboutai/1' + mkdir -p '/data/data/com.termux/files/home/animepahe-dl/Enen no Shouboutai/1' + download_file https://eu-06.files.nextcdn.org/stream/06/02/a3a8412730899badda8535b5a61178f3a1af8e7a90853f46051d0a71acd58af6/uwu.m3u8 '/data/data/com.termux/files/home/animepahe-dl/Enen no Shouboutai/1/playlist.m3u8' + local s ++ /data/data/com.termux/files/usr/bin/curl -sS -H 'Referer: https://kwik.cx/' -C - https://eu-06.files.nextcdn.org/stream/06/02/a3a8412730899badda8535b5a61178f3a1af8e7a90853f46051d0a71acd58af6/uwu.m3u8 -L -g -o '/data/data/com.termux/files/home/animepahe-dl/Enen no Shouboutai/1/playlist.m3u8' --connect-timeout 5 --compressed + s= + [[ '' -ne 0 ]] ++ get_thread_number '/data/data/com.termux/files/home/animepahe-dl/Enen no Shouboutai/1/playlist.m3u8' ++ local sn +++ grep -c '^https' '/data/data/com.termux/files/home/animepahe-dl/Enen no Shouboutai/1/playlist.m3u8' ++ sn=144 ++ [[ 144 -lt 1000000000000000000000000000000000000000000000000000000000 ]] ++ echo 144 + print_info 'Start parallel jobs with 144 threads' + [[ -z '' ]] + printf '%b\n' '\033[32m[INFO]\033[0m Start parallel jobs with 144 threads' [INFO] Start parallel jobs with 144 threads + download_segments '/data/data/com.termux/files/home/animepahe-dl/Enen no Shouboutai/1/playlist.m3u8' '/data/data/com.termux/files/home/animepahe-dl/Enen no Shouboutai/1' + local 'op=/data/data/com.termux/files/home/animepahe-dl/Enen no Shouboutai/1' + export _CURL _REFERER_URL op + export -f download_file print_warn ++ get_thread_number '/data/data/com.termux/files/home/animepahe-dl/Enen no Shouboutai/1/playlist.m3u8' ++ local sn +++ grep -c '^https' '/data/data/com.termux/files/home/animepahe-dl/Enen no Shouboutai/1/playlist.m3u8' ++ sn=144 ++ [[ 144 -lt 1000000000000000000000000000000000000000000000000000000000 ]] ++ echo 144 + xargs -I '{}' -P 144 bash -c 'url="{}"; file="${url##*/}.encrypted"; download_file "$url" "${op}/${file}"' ++ grep '^https' '/data/data/com.termux/files/home/animepahe-dl/Enen no Shouboutai/1/playlist.m3u8' curl: (28) SSL connection timeout [WARNING] Download was aborted. Retry... curl: (28) Failed to connect to eu-06.files.nextcdn.org port 443 after 5001 ms: Timeout was reached [WARNING] Download was aborted. Retry... curl: (28) SSL connection timeout [WARNING] Download was aborted. Retry... curl: (28) SSL connection timeout [WARNING] Download was aborted. Retry... curl: (28) SSL connection timeout [WARNING] Download was aborted. Retry... curl: (28) SSL connection timeout [WARNING] Download was aborted. Retry... curl: (28) SSL connection timeout [WARNING] Download was aborted. Retry... curl: (28) SSL connection timeout [WARNING] Download was aborted. Retry... curl: (28) SSL connection timeout [WARNING] Download was aborted. Retry... curl: (28) SSL connection timeout [WARNING] Download was aborted. Retry... curl: (28) SSL connection timeout [WARNING] Download was aborted. Retry... curl: (28) SSL connection timeout [WARNING] Download was aborted. Retry... curl: (28) Failed to connect to eu-06.files.nextcdn.org port 443 after 5001 ms: Timeout was reached [WARNING] Download was aborted. Retry... curl: (28) SSL connection timeout [WARNING] Download was aborted. Retry... curl: (28) SSL connection timeout curl: (28) SSL connection timeout [WARNING] Download was aborted. Retry... [WARNING] Download was aborted. Retry... curl: (28) SSL connection timeout [WARNING] Download was aborted. Retry... curl: (28) SSL connection timeout [WARNING] Download was aborted. Retry... curl: (18) HTTP/2 stream 1 was not closed cleanly before end of the underlying connection [WARNING] Download was aborted. Retry... curl: (18) HTTP/2 stream 1 was not closed cleanly before end of the underlying connection [WARNING] Download was aborted. Retry... xargs: bash: terminated by signal 9

[Process completed (signal 9) - press Enter]

from animepahe-dl.

KevCui avatar KevCui commented on August 20, 2024

Hey @Anas-Mughal, from the logs, it looks like a network issue. Are you able to watch this anime on animepahe site? If yes, then are you able to download it without -t parameter?

from animepahe-dl.

Anas-Mughal avatar Anas-Mughal commented on August 20, 2024

Hey @Anas-Mughal, from the logs, it looks like a network issue. Are you able to watch this anime on animepahe site? If yes, then are you able to download it without -t parameter?

Yeah I'm able todownload it without -t parameter but network speed is
Too slow. And I'm able to watch anime on animepahe.

from animepahe-dl.

Anas-Mughal avatar Anas-Mughal commented on August 20, 2024

Hey @Anas-Mughal, from the logs, it looks like a network issue. Are you able to watch this anime on animepahe site? If yes, then are you able to download it without -t parameter?

Yeah I'm able todownload it without -t parameter but network speed is
Too slow. And I'm able to watch anime on animepahe.

from animepahe-dl.

KevCui avatar KevCui commented on August 20, 2024

Hey @Anas-Mughal, try with a smaller number with -t parameter, say -t 10 to see if it can help. Otherwise, it's apparently a network issue and I don't think we can do anything in this script to address this issue... sorry

from animepahe-dl.

Anas-Mughal avatar Anas-Mughal commented on August 20, 2024

Hey @Anas-Mughal, try with a smaller number with -t parameter, say -t 10 to see if it can help. Otherwise, it's apparently a network issue and I don't think we can do anything in this script to address this issue...

What could be a possible problem with my network that is causing this problem?

&

Reducing the value of parameter -t to 10 shows the same error.

from animepahe-dl.

KevCui avatar KevCui commented on August 20, 2024

@Anas-Mughal I don't know what's the exact problem. As you said network speed is too slow, it could be either your network is actually slow, or it may be caused by the network throttling configured on the server side. You can see the error in your log: curl: (28) SSL connection timeout that shows the timeout caused by the network issue.

from animepahe-dl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.