pystardust / ani-cli

A cli tool to browse and play anime
GNU General Public License v3.0
8.02k stars 554 forks source link

Stuck fetching links after choosing next/previous episode, or reselecting an episode #1428

Closed AdiStar350 closed 1 month ago

AdiStar350 commented 1 month ago

After watching one episode of any anime, when pressing:

Its stuck fetching links, I've waited at least 20 minutes and nothing happened. I tried reinstalling the tool and it did not work.

SCR-20240921-ecud-2

The only thing working is watching an episode -> closing the tool completely -> an opening again.

port19x commented 1 month ago

Doesn't happen for me, so fill us in on some details please:

Then, if you can still reproduce the issue, debug output will help. Sth like sh -x $(which ani-cli) and then copy paste the (long) output into a log file to send us

AdiStar350 commented 1 month ago

It worked before... It does not work now for any anime, for example I tried "Moonlit Fantasy Season 1". Im running version 4.9.2 MacOS zsh shell

Thats the output for the whole process, until it gets stuck

sh -x $(which ani-cli)
+ version_number=4.9.2
+ agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/121.0'
+ allanime_refr=https://allanime.to
+ allanime_base=allanime.day
+ allanime_api=https://api.allanime.day
+ mode=sub
+ download_dir=.
+ log_episode=1
+ quality=best
+ case "$(uname -a)" in
++ uname -a
++ where_iina
++ '[' -e /Applications/IINA.app/Contents/MacOS/iina-cli ']'
++ echo /Applications/IINA.app/Contents/MacOS/iina-cli
++ return 0
+ player_function=/Applications/IINA.app/Contents/MacOS/iina-cli
+ no_detach=0
+ exit_after_play=0
+ use_external_menu=0
+ skip_intro=0
+ skip_title=
+ '[' -t 0 ']'
+ hist_dir=/Users/adistrasser/.local/state/ani-cli
+ '[' '!' -d /Users/adistrasser/.local/state/ani-cli ']'
+ histfile=/Users/adistrasser/.local/state/ani-cli/ani-hsts
+ '[' '!' -f /Users/adistrasser/.local/state/ani-cli/ani-hsts ']'
+ search=scrape
+ '[' 0 -gt 0 ']'
+ '[' 0 = 0 ']'
+ multi_selection_flag=-m
+ '[' 0 = 1 ']'
+ printf '\33[2K\r\033[1;34mChecking dependencies...\033[0m\n'
Checking dependencies...
+ dep_ch curl sed grep
+ for dep in '"$@"'
+ command -v curl
+ for dep in '"$@"'
+ command -v sed
+ for dep in '"$@"'
+ command -v grep
+ '[' 0 = 1 ']'
+ '[' -z '' ']'
+ dep_ch fzf
+ for dep in '"$@"'
+ command -v fzf
+ case "$player_function" in
+ true
+ case "$search" in
+ '[' 0 = 0 ']'
+ '[' -z '' ']'
+ printf '\33[2K\r\033[1;36mSearch anime: \033[0m'
Search anime: + read -r query
moonlit
+ '[' -z moonlit ']'
+ '[' scrape = nextep ']'
++ printf %s moonlit
++ sed 's| |+|g'
+ query=moonlit
++ search_anime moonlit
++ search_gql='query(        $search: SearchInput        $limit: Int        $page: Int        $translationType: VaildTranslationTypeEnumType        $countryOrigin: VaildCountryOriginEnumType    ) {    shows(        search: $search        limit: $limit        page: $page        translationType: $translationType        countryOrigin: $countryOrigin    ) {        edges {            _id name availableEpisodes __typename       }    }}'
++ curl -e https://allanime.to -s -G https://api.allanime.day/api --data-urlencode 'variables={"search":{"allowAdult":false,"allowUnknown":false,"query":"moonlit"},"limit":40,"page":1,"translationType":"sub","countryOrigin":"ALL"}' --data-urlencode 'query=query(        $search: SearchInput        $limit: Int        $page: Int        $translationType: VaildTranslationTypeEnumType        $countryOrigin: VaildCountryOriginEnumType    ) {    shows(        search: $search        limit: $limit        page: $page        translationType: $translationType        countryOrigin: $countryOrigin    ) {        edges {            _id name availableEpisodes __typename       }    }}' -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/121.0'
++ sed 's|Show|\
|g'
++ sed -nE 's|.*_id":"([^"]*)","name":"([^"]*)".*sub":([1-9][^,]*).*|\1 \2 (\3 episodes)|p'
+ anime_list='wAMnpBBwaE3fJ8jwH Tsuki ga Michibiku Isekai Douchuu Season 2 (25 episodes)
qqsYbwuPAz6oJnhqq   Tsuki ga Michibiku Isekai Douchuu (12 episodes)
TZqw3sSQvb5CNBtwB   Digital Juice (6 episodes)'
+ '[' -z 'wAMnpBBwaE3fJ8jwH Tsuki ga Michibiku Isekai Douchuu Season 2 (25 episodes)
qqsYbwuPAz6oJnhqq   Tsuki ga Michibiku Isekai Douchuu (12 episodes)
TZqw3sSQvb5CNBtwB   Digital Juice (6 episodes)' ']'
+ '[' '' -eq '' ']'
+ '[' -z '' ']'
++ printf %s 'wAMnpBBwaE3fJ8jwH Tsuki ga Michibiku Isekai Douchuu Season 2 (25 episodes)
qqsYbwuPAz6oJnhqq   Tsuki ga Michibiku Isekai Douchuu (12 episodes)
TZqw3sSQvb5CNBtwB   Digital Juice (6 episodes)'
++ nl -w 2
++ sed 's/^[[:space:]]//'
++ nth 'Select anime: '
+++ cat -
++ stdin='1 wAMnpBBwaE3fJ8jwH   Tsuki ga Michibiku Isekai Douchuu Season 2 (25 episodes)
2   qqsYbwuPAz6oJnhqq   Tsuki ga Michibiku Isekai Douchuu (12 episodes)
3   TZqw3sSQvb5CNBtwB   Digital Juice (6 episodes)'
++ '[' -z '1    wAMnpBBwaE3fJ8jwH   Tsuki ga Michibiku Isekai Douchuu Season 2 (25 episodes)
2   qqsYbwuPAz6oJnhqq   Tsuki ga Michibiku Isekai Douchuu (12 episodes)
3   TZqw3sSQvb5CNBtwB   Digital Juice (6 episodes)' ']'
+++ printf '%s\n' '1    wAMnpBBwaE3fJ8jwH   Tsuki ga Michibiku Isekai Douchuu Season 2 (25 episodes)
2   qqsYbwuPAz6oJnhqq   Tsuki ga Michibiku Isekai Douchuu (12 episodes)
3   TZqw3sSQvb5CNBtwB   Digital Juice (6 episodes)'
+++ wc -l
+++ tr -d '[:space:]'
++ line_count=3
++ '[' 3 -eq 1 ']'
++ prompt='Select anime: '
++ multi_flag=
++ '[' 1 -ne 1 ']'
+++ printf %s '1    wAMnpBBwaE3fJ8jwH   Tsuki ga Michibiku Isekai Douchuu Season 2 (25 episodes)
2   qqsYbwuPAz6oJnhqq   Tsuki ga Michibiku Isekai Douchuu (12 episodes)
3   TZqw3sSQvb5CNBtwB   Digital Juice (6 episodes)'
+++ cut -f1,3
+++ tr '\t' ' '
+++ launcher '' 'Select anime: '
+++ '[' 0 = 0 ']'
+++ '[' -z '' ']'
+++ set -- +m 'Select anime: '
+++ '[' 0 = 0 ']'
+++ fzf +m --reverse --cycle --prompt 'Select anime: '
+++ cut -d ' ' -f 1
+++ '[' 0 = 1 ']'
++ line=2
++ '[' -n 2 ']'
++ printf %s '1 wAMnpBBwaE3fJ8jwH   Tsuki ga Michibiku Isekai Douchuu Season 2 (25 episodes)
2   qqsYbwuPAz6oJnhqq   Tsuki ga Michibiku Isekai Douchuu (12 episodes)
3   TZqw3sSQvb5CNBtwB   Digital Juice (6 episodes)'
++ grep -E '^2($|[[:space:]])'
++ cut -f2,3
+ result='qqsYbwuPAz6oJnhqq Tsuki ga Michibiku Isekai Douchuu (12 episodes)'
+ '[' -z 'qqsYbwuPAz6oJnhqq Tsuki ga Michibiku Isekai Douchuu (12 episodes)' ']'
++ printf %s 'qqsYbwuPAz6oJnhqq Tsuki ga Michibiku Isekai Douchuu (12 episodes)'
++ cut -f2
+ title='Tsuki ga Michibiku Isekai Douchuu (12 episodes)'
++ printf %s 'Tsuki ga Michibiku Isekai Douchuu (12 episodes)'
++ cut '-d(' -f1
++ tr -d '[:punct:]'
+ allanime_title='Tsuki ga Michibiku Isekai Douchuu '
++ printf %s 'qqsYbwuPAz6oJnhqq Tsuki ga Michibiku Isekai Douchuu (12 episodes)'
++ cut -f1
+ id=qqsYbwuPAz6oJnhqq
++ episodes_list qqsYbwuPAz6oJnhqq
++ episodes_list_gql='query ($showId: String!) {    show(        _id: $showId    ) {        _id availableEpisodesDetail    }}'
++ curl -e https://allanime.to -s -G https://api.allanime.day/api --data-urlencode 'variables={"showId":"qqsYbwuPAz6oJnhqq"}' --data-urlencode 'query=query ($showId: String!) {    show(        _id: $showId    ) {        _id availableEpisodesDetail    }}' -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/121.0'
++ sed -nE 's|.*sub":\[([0-9.",]*)\].*|\1|p'
++ sed 's|,|\
|g; s|"||g'
++ sort -n -k 1
+ ep_list='1
2
3
4
5
6
7
8
9
10
11
12'
+ '[' -z '' ']'
++ printf %s '1
2
3
4
5
6
7
8
9
10
11
12'
++ nth 'Select episode: ' -m
+++ cat -
++ stdin='1
2
3
4
5
6
7
8
9
10
11
12'
++ '[' -z '1
2
3
4
5
6
7
8
9
10
11
12' ']'
+++ printf '%s\n' '1
2
3
4
5
6
7
8
9
10
11
12'
+++ wc -l
+++ tr -d '[:space:]'
++ line_count=12
++ '[' 12 -eq 1 ']'
++ prompt='Select episode: '
++ multi_flag=
++ '[' 2 -ne 1 ']'
++ shift
++ multi_flag=-m
+++ printf %s '1
2
3
4
5
6
7
8
9
10
11
12'
+++ cut -f1,3
+++ tr '\t' ' '
+++ launcher -m 'Select episode: '
+++ '[' 0 = 0 ']'
+++ '[' -z -m ']'
+++ '[' 0 = 0 ']'
+++ fzf -m --reverse --cycle --prompt 'Select episode: '
+++ cut -d ' ' -f 1
+++ '[' 0 = 1 ']'
++ line=5
++ '[' -n 5 ']'
++ printf %s '1
2
3
4
5
6
7
8
9
10
11
12'
++ grep -E '^5($|[[:space:]])'
++ cut -f2,3
+ ep_no=5
+ '[' -z 5 ']'
+ '[' 0 = 1 ']'
+ tput elu1
+ tput sc
+ play
++ printf %s 5
++ grep -Eo '^(-1|[0-9]+(\.[0-9]+)?)'
+ start=5
++ printf %s 5
++ grep -Eo '(-1|[0-9]+(\.[0-9]+)?)$'
+ end=5
+ '[' 5 = -1 ']'
+ '[' -z 5 ']'
+ '[' 5 = 5 ']'
+ unset start end
+ '[' '' = -1 ']'
++ printf '%s\n' 5
++ wc -l
++ tr -d '[:space:]'
+ line_count=1
+ '[' 1 '!=' 1 ']'
+ '[' -n '' ']'
+ play_episode
+ '[' 1 = 1 ']'
+ '[' /Applications/IINA.app/Contents/MacOS/iina-cli '!=' debug ']'
+ '[' /Applications/IINA.app/Contents/MacOS/iina-cli '!=' download ']'
+ command -v logger
+ logger -t ani-cli 'Tsuki ga Michibiku Isekai Douchuu 5'
+ '[' 0 = 1 ']'
+ '[' -z '' ']'
+ get_episode_url
+ episode_embed_gql='query ($showId: String!, $translationType: VaildTranslationTypeEnumType!, $episodeString: String!) {    episode(        showId: $showId        translationType: $translationType        episodeString: $episodeString    ) {        episodeString sourceUrls    }}'
++ curl -e https://allanime.to -s -G https://api.allanime.day/api --data-urlencode 'variables={"showId":"qqsYbwuPAz6oJnhqq","translationType":"sub","episodeString":"5"}' --data-urlencode 'query=query ($showId: String!, $translationType: VaildTranslationTypeEnumType!, $episodeString: String!) {    episode(        showId: $showId        translationType: $translationType        episodeString: $episodeString    ) {        episodeString sourceUrls    }}' -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/121.0'
++ tr '{}' '\n'
++ sed 's|\\u002F|\/|g;s|\\||g'
++ sed -nE 's|.*sourceUrl":"--([^"]*)".*sourceName":"([^"]*)".*|\2 :\1|p'
+ resp='Yt-mp4 :504c4c484b0217174c5757544b165e594b4c0c4b485d5d5c164a4b4e4817174e515c5d574b1749494b615a4f4d6879420e577256504949174b4d5a170d
Luf-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010e0b0e5a0e0c0f0a0e0f0e5c0f0b0a000f0e0f0c0e010a010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e000e090a000f0e0e5d0f0e0b010e5e0e0a0b5a0c5a0d0a0d5e0b0d0c5a0e5b0e5c0f090a080f0a0e5e0f0a0e590e0b0b5a0d0a0f0d0f0b0e5c0e5e0a5c0e090e0f0a5c0c5a0e5e0e0d0e5d0e5e0e0c0e5e0e5c0f0b0a5c0c5e0f0d0e0b0e5c0e0f0e5e0a5c0c0a0e010f0b0e0d0e5d0f0b0f0b0a080f0a0f5e0f0e0e0b0f0d0f0b0e0c0b5a0d0d0d0b0c0c0a080f0d0f0b0e0c0b5a0a080e0d0e010f080e0b0f0c0b5a0d5e0b0c0b5e0b0c0d5b0d5d0c5e0f080e0a0c5d0c000b0f0e0f0b0c0e5c0f0a0d5b0b0c0c0b0f0a0e0c0d090e590e5b0e0f0c090e590e5e0e0f0d090f0a0b0f0c590d090e590f5b0d5b0d090f0a0e5d0e0f0d0d0b0f0e5c0e0c0b0d0d080e5b0e0f0c5d0d080b0f0c590e000c0c0f0b0d5b0f090b5a0b5a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0f080e5e0e0a0e0b0e010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e010a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0f5a1e4a5d5e5d4a5d4a05
Default :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e0a0b0a0e080e0a0e0d0b0f0d010b090b0e0b0f0b0d0e0f0e0a0e0b0e080e0b0e0c0b5d0b0a0b0a0e0d0b0d0b0a0b5e0b0c0b0b0e0d0b0f0b5e0e0f0b090e0a0b5d0b080b5e0b090b0c0b0f0b090a0e0f590a0e0b0e0b080e0a0b0a0b0e0b0c0b0c0b0c0e080b090b0e0b0e0e080b080b0b0b0c0e0d0b5d0b090e0b0b0c0b0e0b5d0e080b0b0b0e0e0c0e080e0b0e0b0b0b0b0e0a0e0f590a0e0e5a0e0b0e0a0e5e0e0f0a010e0a0b0a0e080e0a0e0d0b0f0d010b090b0e0b0f0b0d0e0f0e0a0e0b0e080e0b0e0c0b5d0b0a0b0a0e0d0b0d0b0a0b5e0b0c0b0b0e0d0b0f0b5e0e0f0b090e0a0b5d0b080b5e0b090b0c0b0f0b090e080b0e0b0e0b0f0a000e5b0f0e0e090a0e0f590a0e0a590b0f0b0e0b5d0b0e0f0e0a590b090b0c0b0e0f0e0a590b0a0b5d0b0e0f0e0a590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d090e5e0f5d0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a0c0f5a
S-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0a010f0d0e5e0f0a0e0b0f0d0a010e0f0e000e5e0e5a0e0b0a010d0d0e5d0e0f0f0c0e0b0e0a0a0e0c0a0e010e0d0f0b0e5a0e0b0e000f0a0f0d0a010f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a000e5a0f0e0b0a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0d0e5d0e0f0f0c0e0b0f0e0e010e5e0e000f0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a0c0f5a
Uv-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010f0b0f0d0e0b0f0c0f0d0e0d0e590e010f0b0e0a0a000e0d0e010e5a0a010e0b0e5a0e0c0e0b0e0a0a5a0f0e0e0d0b0f0e0d0b0c0b0d0b0b0b0d0e000f0c0e5b0b5e0a000e5d0f0a0e5a0e590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0b0f0d0e0b0f0c0f080e5e0e0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a0c0f5a'
++ mktemp -d
+ cache_dir=/var/folders/0d/nh2d2w056993bthvml7_1kc00000gn/T/tmp.e7Fh78wny8
+ providers='1 2 3 4'
+ for provider in '$providers'
+ for provider in '$providers'
+ generate_link 1
+ for provider in '$providers'
+ case $1 in
+ generate_link 2
+ provider_init dropbox '/Sak :/p'
+ provider_name=dropbox
+ for provider in '$providers'
+ case $1 in
+ provider_init wetransfer '/Kir :/p'
+ provider_name=wetransfer
+ generate_link 3
+ case $1 in
+ provider_init sharepoint '/S-mp4 :/p'
+ generate_link 4
+ provider_name=sharepoint
+ case $1 in
+ provider_init gogoanime '/Luf-mp4 :/p'
+ wait
+ provider_name=gogoanime
++ printf %s 'Yt-mp4 :504c4c484b0217174c5757544b165e594b4c0c4b485d5d5c164a4b4e4817174e515c5d574b1749494b615a4f4d6879420e577256504949174b4d5a170d
Luf-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010e0b0e5a0e0c0f0a0e0f0e5c0f0b0a000f0e0f0c0e010a010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e000e090a000f0e0e5d0f0e0b010e5e0e0a0b5a0c5a0d0a0d5e0b0d0c5a0e5b0e5c0f090a080f0a0e5e0f0a0e590e0b0b5a0d0a0f0d0f0b0e5c0e5e0a5c0e090e0f0a5c0c5a0e5e0e0d0e5d0e5e0e0c0e5e0e5c0f0b0a5c0c5e0f0d0e0b0e5c0e0f0e5e0a5c0c0a0e010f0b0e0d0e5d0f0b0f0b0a080f0a0f5e0f0e0e0b0f0d0f0b0e0c0b5a0d0d0d0b0c0c0a080f0d0f0b0e0c0b5a0a080e0d0e010f080e0b0f0c0b5a0d5e0b0c0b5e0b0c0d5b0d5d0c5e0f080e0a0c5d0c000b0f0e0f0b0c0e5c0f0a0d5b0b0c0c0b0f0a0e0c0d090e590e5b0e0f0c090e590e5e0e0f0d090f0a0b0f0c590d090e590f5b0d5b0d090f0a0e5d0e0f0d0d0b0f0e5c0e0c0b0d0d080e5b0e0f0c5d0d080b0f0c590e000c0c0f0b0d5b0f090b5a0b5a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0f080e5e0e0a0e0b0e010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e010a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0f5a1e4a5d5e5d4a5d4a05
Default :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e0a0b0a0e080e0a0e0d0b0f0d010b090b0e0b0f0b0d0e0f0e0a0e0b0e080e0b0e0c0b5d0b0a0b0a0e0d0b0d0b0a0b5e0b0c0b0b0e0d0b0f0b5e0e0f0b090e0a0b5d0b080b5e0b090b0c0b0f0b090a0e0f590a0e0b0e0b080e0a0b0a0b0e0b0c0b0c0b0c0e080b090b0e0b0e0e080b080b0b0b0c0e0d0b5d0b090e0b0b0c0b0e0b5d0e080b0b0b0e0e0c0e080e0b0e0b0b0b0b0e0a0e0f590a0e0e5a0e0b0e0a0e5e0e0f0a010e0a0b0a0e080e0a0e0d0b0f0d010b090b0e0b0f0b0d0e0f0e0a0e0b0e080e0b0e0c0b5d0b0a0b0a0e0d0b0d0b0a0b5e0b0c0b0b0e0d0b0f0b5e0e0f0b090e0a0b5d0b080b5e0b090b0c0b0f0b090e080b0e0b0e0b0f0a000e5b0f0e0e090a0e0f590a0e0a590b0f0b0e0b5d0b0e0f0e0a590b090b0c0b0e0f0e0a590b0a0b5d0b0e0f0e0a590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d090e5e0f5d0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a0c0f5a
S-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0a010f0d0e5e0f0a0e0b0f0d0a010e0f0e000e5e0e5a0e0b0a010d0d0e5d0e0f0f0c0e0b0e0a0a0e0c0a0e010e0d0f0b0e5a0e0b0e000f0a0f0d0a010f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a000e5a0f0e0b0a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0d0e5d0e0f0f0c0e0b0f0e0e010e5e0e000f0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a0c0f5a
Uv-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010f0b0f0++ head -1
d0e0b0f0c0f0d0e0d0e590e010f0b0e0a0a000e0d0e010e5a0a010e0b0e5a0e0c0e0b0e0a0a5a0f0e0e0d0b0f0e0d0b0c0b0d0b0b0b0d0e000f0c0e5b0b5e0a000e5d0f0a0e5a0e590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0b0f0d0e0b0f0c0f080e5e0e0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a0c0f5a'
++ sed -n '/Sak :/p'
++ printf %s 'Yt-mp4 :504c4c484b0217174c5757544b165e594b4c0c4b485d5d5c164a4b4e4817174e515c5d574b1749494b615a4f4d6879420e577256504949174b4d5a170d
Luf-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010e0b0e5a0e0c0f0a0e0f0e5c0f0b0a000f0e0f0c0e010a010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e000e090a000f0e0e5d0f0e0b010e5e0e0a0b5a0c5a0d0a0d5e0b0d0c5a0e5b0e5c0f090a080f0a0e5e0f0a0e590e0b0b5a0d0a0f0d0f0b0e5c0e5e0a5c0e090e0f0a5c0c5a0e5e0e0d0e5d0e5e0e0c0e5e0e5c0f0b0a5c0c5e0f0d0e0b0e5c0e0f0e5e0a5c0c0a0e010f0b0e0d0e5d0f0b0f0b0a080f0a0f5e0f0e0e0b0f0d0f0b0e0c0b5a0d0d0d0b0c0c0a080f0d0f0b0e0c0b5a0a080e0d0e010f080e0b0f0c0b5a0d5e0b0c0b5e0b0c0d5b0d5d0c5e0f080e0a0c5d0c000b0f0e0f0b0c0e5c0f0a0d5b0b0c0c0b0f0a0e0c0d090e590e5b0e0f0c090e590e5e0e0f0d090f0a0b0f0c590d090e590f5b0d5b0d090f0a0e5d0e0f0d0d0b0f0e5c0e0c0b0d0d080e5b0e0f0c5d0d080b0f0c590e000c0c0f0b0d5b0f090b5a0b5a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0f080e5e0e0a0e0b0e010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e010a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0f5a1e4a5d5e5d4a5d4a05
Default :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e0a0b0a0e080e0a0e0d0b0f0d010b090b0e0b0f0b0d0e0f0e0a0e0b0e080e0b0e0c0b5d0b0a0b0a0e0d0b0d0b0a0b5e0b0c0b0b0e0d0b0f0b5e0e0f0b090e0a0b5d0b080b5e0b090b0c0b0f0b090a0e0f590a0e0b0e0b080e0a0b0a0b0e0b0c0b0c0b0c0e080b090b0e0b0e0e080b080b0b0b0c0e0d0b5d0b090e0b0b0c0b0e0b5d0e080b0b0b0e0e0c0e080e0b0e0b0b0b0b0e0a0e0f590a0e0e5a0e0b0e0a0e5e0e0f0a010e0a0b0a0e080e0a0e0d0b0f0d010b090b0e0b0f0b0d0e0f0e0a0e0b0e080e0b0e0c0b5d0b0a0b0a0e0d0b0d0b0a0b5e0b0c0b0b0e0d0b0f0b5e0e0f0b090e0a0b5d0b080b5e0b090b0c0b0f0b090e080b0e0b0e0b0f0a000e5b0f0e0e090a0e0f590a0e0a590b0f0b0e0b5d0b0e0f0e0a590b090b0c0b0e0f0e0a590b0a0b5d0b0e0f0e0a590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d090e5e0f5d0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a0c0f5a
S-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0a010f0d0e5e0f0a0e0b0f0d0a010e0f0e000e5e0e5a0e0b0a010d0d0e5d0e0f0f0c0e0b0e0a0a0e0c0a0e010e0d0f0b0e5a0e0b0e000f0a0f0d0a010f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a000e5a0f0e0b0a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0d0e5d0e0f0f0c0e0b0f0e0e010e5e0e000f0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a0c0f5a
Uv-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010f0b0f0d0e0b0f0c0f0d0e0d0e590e010f0b0e0a0a000e0d0e010e5a0a010e0b0e5a0e0c0e0b0e0a0a5a0f0e0e0d0b0f0e0d0b0c0b0d0b0b0b0d0e000f0c0e5b0b5e0a000e5d0f0a0e5a0e590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0b0f0d0e0b0f0c0f080e5e0e0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a0c0f5a'
++ sed -n '/Kir :/p'
++ cut -d: -f2
++ printf %s 'Yt-mp4 :504c4c484b0217174c5757544b165e594b4c0c4b485d5d5c164a4b4e4817174e515c5d574b1749494b615a4f4d6879420e577256504949174b4d5a170d
Luf-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010e0b0e5a0e0c0f0a0e0f0e5c0f0b0a000f0e0f0c0e010a010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e000e090a000f0e0e5d0f0e0b010e5e0e0a0b5a0c5a0d0a0d5e0b0d0c5a0e5b0e5c0f090a080f0a0e5e0f0a0e590e0b0b5a0d0a0f0d0f0b0e5c0e5e0a5c0e090e0f0a5c0c5a0e5e0e0d0e5d0e5e0e0c0e5e0e5c0f0b0a5c0c5e0f0d0e0b0e5c0e0f0e5e0a5c0c0a0e010f0b0e0d0e5d0f0b0f0b0a080f0a0f5e0f0e0e0b0f0d0f0b0e0c0b5a0d0d0d0b0c0c0a080f0d0f0b0e0c0b5a0a080e0d0e010f080e0b0f0c0b5a0d5e0b0c0b5e0b0c0d5b0d5d0c5e0f080e0a0c5d0c000b0f0e0f0b0c0e5c0f0a0d5b0b0c0c0b0f0a0e0c0d090e590e5b0e0f0c090e590e5e0e0f0d090f0a0b0f0c590d090e590f5b0d5b0d090f0a0e5d0e0f0d0d0b0f0e5c0e0c0b0d0d080e5b0e0f0c5d0d080b0f0c590e000c0c0f0b0d5b0f090b5a0b5a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0f080e5e0e0a0e0b0e010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e010a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0f5a1e4a5d5e5d4a5d4a05
Default :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e0a0b0a0e080e0a0e0d0b0f0d010b090b0e0b0f0b0d0e0f0e0a0e0b0e080e0b0e0c0b5d0b0a0b0a0e0d0b0d0b0a0b5e0b0c0b0b0e0d0b0f0b5e0e0f0b090e0a0b5d0b080b5e0b090b0c0b0f0b090a0e0f590a0e0b0e0b080e0a0b0a0b0e0b0c0b0c0b0c0e080b090b0e0b0e0e080b080b0b0b0c0e0d0b5d0b090e0b0b0c0b0e0b5d0e080b0b0b0e0e0c0e080e0b0e0b0b0b0b0e0a0e0f590a0e0e5a0e0b0e0a0e5e0e0f0a010e0a0b0a0e080e0a0e0d0b0f0d010b090b0e0b0f0b0d0e0f0e0a0e0b0e080e0b0e0c0b5d0b0a0b0a0e0d0b0d0b0a0b5e0b0c0b0b0e0d0b0f0b5e0e0f0b090e0a0b5d0b080b5e0b090b0c0b0f0b090e080b0e0b0e0b0f0a000e5b0f0e0e090a0e0f590a0e0a590b0f0b0e0b5d0b0e0f0e0a590b090b0c0b0e0f0e0a590b0a0b5d0b0e0f0e0a590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d090e5e0f5d0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a0c0f5a
S-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0a010f0d0e5e0f0a0e0b0f0d0a010e0f0e000e5e0e5a0e0b0a010d0d0e5d0e0f0f0c0e0b0e0a0a0e0c0a0e010e0d0f0b0e5a0e0b0e000f0a0f0d0a010f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a000e5a0f0e0b0a0a0c0a590a0c0f0d0f0a0++ sed 's/../&\
/g'
++ head -1
++ head -1
f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0d0e5d0e0f0f0c0e0b0f0e0e010e5e0e000f0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a0c0f5a
Uv-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010f0b0f0d0e0b0f0c0f0d0e0d0e590e010f0b0e0a0a000e0d0e010e5a0a010e0b0e5a0e0c0e0b0e0a0a5a0f0e0e0d0b0f0e0d0b0c0b0d0b0b0b0d0e000f0c0e5b0b5e0a000e5d0f0a0e5a0e590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0b0f0d0e0b0f0c0f080e5e0e0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a0c0f5a'
++ sed -n '/Luf-mp4 :/p'
++ printf %s 'Yt-mp4 :504c4c484b0217174c5757544b165e594b4c0c4b485d5d5c164a4b4e4817174e515c5d574b1749494b615a4f4d6879420e577256504949174b4d5a170d
Luf-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010e0b0e5a0e0c0f0a0e0f0e5c0f0b0a000f0e0f0c0e010a010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e000e090a000f0e0e5d0f0e0b010e5e0e0a0b5a0c5a0d0a0d5e0b0d0c5a0e5b0e5c0f090a080f0a0e5e0f0a0e590e0b0b5a0d0a0f0d0f0b0e5c0e5e0a5c0e090e0f0a5c0c5a0e5e0e0d0e5d0e5e0e0c0e5e0e5c0f0b0a5c0c5e0f0d0e0b0e5c0e0f0e5e0a5c0c0a0e010f0b0e0d0e5d0f0b0f0b0a080f0a0f5e0f0e0e0b0f0d0f0b0e0c0b5a0d0d0d0b0c0c0a080f0d0f0b0e0c0b5a0a080e0d0e010f080e0b0f0c0b5a0d5e0b0c0b5e0b0c0d5b0d5d0c5e0f080e0a0c5d0c000b0f0e0f0b0c0e5c0f0a0d5b0b0c0c0b0f0a0e0c0d090e590e5b0e0f0c090e590e5e0e0f0d090f0a0b0f0c590d090e590f5b0d5b0d090f0a0e5d0e0f0d0d0b0f0e5c0e0c0b0d0d080e5b0e0f0c5d0d080b0f0c590e000c0c0f0b0d5b0f090b5a0b5a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0f080e5e0e0a0e0b0e010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e010a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0f5a1e4a5d5e5d4a5d4a05
Default :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e0a0b0a0e080e0a0e0d0b0f0d010b090b0e0b0f0b0d0e0f0e0a0e0b0e080e0b0e0c0b5d0b0a0b0a0e0d0b0d0b0a0b5e0b0c0b0b0e0d0b0f0b5e0e0f0b090e0a0b5d0b080b5e0b090b0c0b0f0b090a0e0f590a0e0b0e0b080e0a0b0a0b0e0b0c0b0c0b0c0e080b090b0e0b0e0e080b080b0b0b0c0e0d0b5d0b090e0b0b0c0b0e0b5d0e080b0b0b0e0e0c0e080e0b0e0b0b0b0b0e0a0e0f590a0e0e5a0e0b0e0a0e5e0e0f0a010e0a0b0a0e080e0a0e0d0b0f0d010b090b0e0b0f0b0d0e0f0e0a0e0b0e080e0b0e0c0b5d0b0a0b0a0e0d0b0d0b0a0b5e0b0c0b0b0e0d0b0f0b5e0e0f0b090e0a0b5d0b080b5e0b090b0c0b0f0b090e080b0e0b0e0b0f0a000e5b0f0e0e090a0e0f590a0e0a590b0f0b0e0b5d0b0e0f0e0a590b090b0c0b0e0f0e0a590b0a0b5d0b0e0f0e0a590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d090e5e0f5d0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a0c0f5a
S-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0a010f0d0e5e0f0a0e0b0f0d0a010e0f0e000e5e0e5a0e0b0a010d0d0e5d0e0f0f0c0e0b0e0a0a0e0c0a0e010e0d0f0b0e5a0e0b0e000f0a0f0d0a010f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a000e5a0f0e0b0a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0d0e5d0e0f0f0c0e0b0f0e0e010e5e0e000f0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b0++ sed 's/../&\
90b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a0c0f5a
++ sed -n '/S-mp4 :/p'
/g'
Uv-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010f0b0f0d0e0b0f0c0f0d0e0d0e590e010f0b0e0a0a000e0d0e010e5a0a010e0b0e5a0e0c0e0b0e0a0a5a0f0e0e0d0b0f0e0d0b0c0b0d0b0b0b0d0e000f0c0e5b0b5e0a000e5d0f0a0e5a0e590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0b0f0d0e0b0f0c0f080e5e0e0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b0b0d010f0d0f0b0e0c0a0c0f5a'
++ cut -d: -f2
++ sed 's/^01$/9/g;s/^08$/0/g;s/^05$/=/g;s/^0a$/2/g;s/^0b$/3/g;s/^0c$/4/g;s/^07$/?/g;s/^00$/8/g;s/^5c$/d/g;s/^0f$/7/g;s/^5e$/f/g;s/^17$/\//g;s/^54$/l/g;s/^09$/1/g;s/^48$/p/g;s/^4f$/w/g;s/^0e$/6/g;s/^5b$/c/g;s/^5d$/e/g;s/^0d$/5/g;s/^53$/k/g;s/^1e$/\&/g;s/^5a$/b/g;s/^59$/a/g;s/^4a$/r/g;s/^4c$/t/g;s/^4e$/v/g;s/^57$/o/g;s/^51$/i/g;'
++ tr -d '\n'
++ sed 's/^01$/9/g;s/^08$/0/g;s/^05$/=/g;s/^0a$/2/g;s/^0b$/3/g;s/^0c$/4/g;s/^07$/?/g;s/^00$/8/g;s/^5c$/d/g;s/^0f$/7/g;s/^5e$/f/g;s/^17$/\//g;s/^54$/l/g;s/^09$/1/g;s/^48$/p/g;s/^4f$/w/g;s/^0e$/6/g;s/^5b$/c/g;s/^5d$/e/g;s/^0d$/5/g;s/^53$/k/g;s/^1e$/\&/g;s/^5a$/b/g;s/^59$/a/g;s/^4a$/r/g;s/^4c$/t/g;s/^4e$/v/g;s/^57$/o/g;s/^51$/i/g;'
++ tr -d '\n'
++ sed 's/../&\
/g'
++ cut -d: -f2
++ head -1
++ sed 's/\/clock/\/clock\.json/'
++ cut -d: -f2
++ sed 's/\/clock/\/clock\.json/'
++ tr -d '\n'
++ sed 's/\/clock/\/clock\.json/'
++ sed 's/^01$/9/g;s/^08$/0/g;s/^05$/=/g;s/^0a$/2/g;s/^0b$/3/g;s/^0c$/4/g;s/^07$/?/g;s/^00$/8/g;s/^5c$/d/g;s/^0f$/7/g;s/^5e$/f/g;s/^17$/\//g;s/^54$/l/g;s/^09$/1/g;s/^48$/p/g;s/^4f$/w/g;s/^0e$/6/g;s/^5b$/c/g;s/^5d$/e/g;s/^0d$/5/g;s/^53$/k/g;s/^1e$/\&/g;s/^5a$/b/g;s/^59$/a/g;s/^4a$/r/g;s/^4c$/t/g;s/^4e$/v/g;s/^57$/o/g;s/^51$/i/g;'
++ sed 's/../&\
/g'
++ sed 's/^01$/9/g;s/^08$/0/g;s/^05$/=/g;s/^0a$/2/g;s/^0b$/3/g;s/^0c$/4/g;s/^07$/?/g;s/^00$/8/g;s/^5c$/d/g;s/^0f$/7/g;s/^5e$/f/g;s/^17$/\//g;s/^54$/l/g;s/^09$/1/g;s/^48$/p/g;s/^4f$/w/g;s/^0e$/6/g;s/^5b$/c/g;s/^5d$/e/g;s/^0d$/5/g;s/^53$/k/g;s/^1e$/\&/g;s/^5a$/b/g;s/^59$/a/g;s/^4a$/r/g;s/^4c$/t/g;s/^4e$/v/g;s/^57$/o/g;s/^51$/i/g;'
++ sed 's/\/clock/\/clock\.json/'
++ tr -d '\n'
+ provider_id=
+ '[' -n '' ']'
+ provider_id='/apivtwo/clock.json?id=7d2473746a243c246e727276753c2929636b6472676d73287674692975727463676b6f686128766e76396f623b4b525f354b6c6d7120726f726a633b5275736d6f2d61672d4b6f656e6f646f6d732d4f75636d676f2d426973656e737320727f76637573643b555344207573643b2065697063743b5f343f345c5e4f70624e483767346d725c34437264516a6c67416a6f675172374a516a7c5c51726e6755376d6435506c674e50374a6844735c713b3b242a2475727463676b63744f62243c24706f62636975727463676b6f69242a2462677263243c24343634322b363f2b343752363e3c33313c3636283636365c247b&referer='
+ '[' -n '/apivtwo/clock.json?id=7d2473746a243c246e727276753c2929636b6472676d73287674692975727463676b6f686128766e76396f623b4b525f354b6c6d7120726f726a633b5275736d6f2d61672d4b6f656e6f646f6d732d4f75636d676f2d426973656e737320727f76637573643b555344207573643b2065697063743b5f343f345c5e4f70624e483767346d725c34437264516a6c67416a6f675172374a516a7c5c51726e6755376d6435506c674e50374a6844735c713b3b242a2475727463676b63744f62243c24706f62636975727463676b6f69242a2462677263243c24343634322b363f2b343752363e3c33313c3636283636365c247b&referer=' ']'
+ get_links '/apivtwo/clock.json?id=7d2473746a243c246e727276753c2929636b6472676d73287674692975727463676b6f686128766e76396f623b4b525f354b6c6d7120726f726a633b5275736d6f2d61672d4b6f656e6f646f6d732d4f75636d676f2d426973656e737320727f76637573643b555344207573643b2065697063743b5f343f345c5e4f70624e483767346d725c34437264516a6c67416a6f675172374a516a7c5c51726e6755376d6435506c674e50374a6844735c713b3b242a2475727463676b63744f62243c24706f62636975727463676b6f69242a2462677263243c24343634322b363f2b343752363e3c33313c3636283636365c247b&referer='
+ provider_id=
+ '[' -n '' ']'
++ curl -e https://allanime.to -s 'https://allanime.day/apivtwo/clock.json?id=7d2473746a243c246e727276753c2929636b6472676d73287674692975727463676b6f686128766e76396f623b4b525f354b6c6d7120726f726a633b5275736d6f2d61672d4b6f656e6f646f6d732d4f75636d676f2d426973656e737320727f76637573643b555344207573643b2065697063743b5f343f345c5e4f70624e483767346d725c34437264516a6c67416a6f675172374a516a7c5c51726e6755376d6435506c674e50374a6844735c713b3b242a2475727463676b63744f62243c24706f62636975727463676b6f69242a2462677263243c24343634322b363f2b343752363e3c33313c3636283636365c247b&referer=' -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/121.0'
++ sed 's|},{|\
|g'
++ sed -nE 's|.*link":"([^"]*)".*"resolutionStr":"([^"]*)".*|\2 >\1|p;s|.*hls","url":"([^"]*)".*"hardsub_lang":"en-US".*|\1|p'
+ provider_id='/apivtwo/clock.json?id=7d2473746a243c2429756f7263752967686f6b6329556e6774636226426965736b63687275297777755f64717356477c30694c686e7777593359757364286b7632242a2475727463676b63744f62243c24556e67746376696f6872242a2462677263243c24343634322b363f2b343752363e3c33313c3636283636365c242a2472746768756a67726f6968527f7663243c24757364242a246d637f243c2463762b7777755f64717356477c30694c686e7777593359757364247b'
+ '[' -n '/apivtwo/clock.json?id=7d2473746a243c2429756f7263752967686f6b6329556e6774636226426965736b63687275297777755f64717356477c30694c686e7777593359757364286b7632242a2475727463676b63744f62243c24556e67746376696f6872242a2462677263243c24343634322b363f2b343752363e3c33313c3636283636365c242a2472746768756a67726f6968527f7663243c24757364242a246d637f243c2463762b7777755f64717356477c30694c686e7777593359757364247b' ']'
+ get_links '/apivtwo/clock.json?id=7d2473746a243c2429756f7263752967686f6b6329556e6774636226426965736b63687275297777755f64717356477c30694c686e7777593359757364286b7632242a2475727463676b63744f62243c24556e67746376696f6872242a2462677263243c24343634322b363f2b343752363e3c33313c3636283636365c242a2472746768756a67726f6968527f7663243c24757364242a246d637f243c2463762b7777755f64717356477c30694c686e7777593359757364247b'
++ curl -e https://allanime.to -s 'https://allanime.day/apivtwo/clock.json?id=7d2473746a243c2429756f7263752967686f6b6329556e6774636226426965736b63687275297777755f64717356477c30694c686e7777593359757364286b7632242a2475727463676b63744f62243c24556e67746376696f6872242a2462677263243c24343634322b363f2b343752363e3c33313c3636283636365c242a2472746768756a67726f6968527f7663243c24757364242a246d637f243c2463762b7777755f64717356477c30694c686e7777593359757364247b' -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/121.0'
++ sed 's|},{|\
|g'
++ sed -nE 's|.*link":"([^"]*)".*"resolutionStr":"([^"]*)".*|\2 >\1|p;s|.*hls","url":"([^"]*)".*"hardsub_lang":"en-US".*|\1|p'
+ episode_link='Mp4 >https://myanime.sharepoint.com/sites/anime/_layouts/15/download.aspx?share=EZ05mgi-_flJiFRwQXbL9wYBWEy5Xj8NOhS0JKqKrwq_5A'
+ case "$episode_link" in
+ '[' -n 'Mp4 >https://myanime.sharepoint.com/sites/anime/_layouts/15/download.aspx?share=EZ05mgi-_flJiFRwQXbL9wYBWEy5Xj8NOhS0JKqKrwq_5A' ']'
+ printf '%s\n' 'Mp4 >https://myanime.sharepoint.com/sites/anime/_layouts/15/download.aspx?share=EZ05mgi-_flJiFRwQXbL9wYBWEy5Xj8NOhS0JKqKrwq_5A'
+ '[' -z '' ']'
+ printf '\033[1;32m%s\033[0m Links Fetched\n' sharepoint
sharepoint Links Fetched
+ episode_link='hls P >https://www111.anzeat.pro/streamhls/5589975611d5732d93f3db5d6f44d627/ep.5.1709245726.m3u8
HLS1 >https://www111.anicdnstream.info/videos/hls/Jd-RNLUwL2lIFCKfUYplUQ/1726923472/167290/5589975611d5732d93f3db5d6f44d627/ep.5.1709245726.m3u8
Alt >https://workfields.maverickki.lol/7d2473746a243c246e727276753c29297171713737372867686f65626875727463676b286f68606929706f62636975296e6a75294c622b54484a53714a346a4f40454d60535f766a535729373134303f343532313429373031343f362933333e3f3f31333037376233313534623f3560356264336230603232623034312963762833283731363f343233313430286b35733e242a2476677475634e6a75243c727473632a2462677263243c373134303e303f3036363636367b'
+ case "$episode_link" in
+ '[' -n 'hls P >https://www111.anzeat.pro/streamhls/5589975611d5732d93f3db5d6f44d627/ep.5.1709245726.m3u8
HLS1 >https://www111.anicdnstream.info/videos/hls/Jd-RNLUwL2lIFCKfUYplUQ/1726923472/167290/5589975611d5732d93f3db5d6f44d627/ep.5.1709245726.m3u8
Alt >https://workfields.maverickki.lol/7d2473746a243c246e727276753c29297171713737372867686f65626875727463676b286f68606929706f62636975296e6a75294c622b54484a53714a346a4f40454d60535f766a535729373134303f343532313429373031343f362933333e3f3f31333037376233313534623f3560356264336230603232623034312963762833283731363f343233313430286b35733e242a2476677475634e6a75243c727473632a2462677263243c373134303e303f3036363636367b' ']'
+ printf '%s\n' 'hls P >https://www111.anzeat.pro/streamhls/5589975611d5732d93f3db5d6f44d627/ep.5.1709245726.m3u8
HLS1 >https://www111.anicdnstream.info/videos/hls/Jd-RNLUwL2lIFCKfUYplUQ/1726923472/167290/5589975611d5732d93f3db5d6f44d627/ep.5.1709245726.m3u8
Alt >https://workfields.maverickki.lol/7d2473746a243c246e727276753c29297171713737372867686f65626875727463676b286f68606929706f62636975296e6a75294c622b54484a53714a346a4f40454d60535f766a535729373134303f343532313429373031343f362933333e3f3f31333037376233313534623f3560356264336230603232623034312963762833283731363f343233313430286b35733e242a2476677475634e6a75243c727473632a2462677263243c373134303e303f3036363636367b'
+ '[' -z '' ']'
+ printf '\033[1;32m%s\033[0m Links Fetched\n' gogoanime
gogoanime Links Fetched
++ sed 's|^Mp4-||g;/http/!d;/Alt/d'
++ cat /var/folders/0d/nh2d2w056993bthvml7_1kc00000gn/T/tmp.e7Fh78wny8/1 /var/folders/0d/nh2d2w056993bthvml7_1kc00000gn/T/tmp.e7Fh78wny8/2 /var/folders/0d/nh2d2w056993bthvml7_1kc00000gn/T/tmp.e7Fh78wny8/3 /var/folders/0d/nh2d2w056993bthvml7_1kc00000gn/T/tmp.e7Fh78wny8/4
++ sort -g -r -s
+ links='Mp4 >https://myanime.sharepoint.com/sites/anime/_layouts/15/download.aspx?share=EZ05mgi-_flJiFRwQXbL9wYBWEy5Xj8NOhS0JKqKrwq_5A
hls P >https://www111.anzeat.pro/streamhls/5589975611d5732d93f3db5d6f44d627/ep.5.1709245726.m3u8
HLS1 >https://www111.anicdnstream.info/videos/hls/Jd-RNLUwL2lIFCKfUYplUQ/1726923472/167290/5589975611d5732d93f3db5d6f44d627/ep.5.1709245726.m3u8'
+ rm -r /var/folders/0d/nh2d2w056993bthvml7_1kc00000gn/T/tmp.e7Fh78wny8
++ select_quality best
++ case "$1" in
+++ printf %s 'Mp4 >https://myanime.sharepoint.com/sites/anime/_layouts/15/download.aspx?share=EZ05mgi-_flJiFRwQXbL9wYBWEy5Xj8NOhS0JKqKrwq_5A
hls P >https://www111.anzeat.pro/streamhls/5589975611d5732d93f3db5d6f44d627/ep.5.1709245726.m3u8
HLS1 >https://www111.anicdnstream.info/videos/hls/Jd-RNLUwL2lIFCKfUYplUQ/1726923472/167290/5589975611d5732d93f3db5d6f44d627/ep.5.1709245726.m3u8'
+++ head -n1
++ result='Mp4 >https://myanime.sharepoint.com/sites/anime/_layouts/15/download.aspx?share=EZ05mgi-_flJiFRwQXbL9wYBWEy5Xj8NOhS0JKqKrwq_5A'
++ '[' -z 'Mp4 >https://myanime.sharepoint.com/sites/anime/_layouts/15/download.aspx?share=EZ05mgi-_flJiFRwQXbL9wYBWEy5Xj8NOhS0JKqKrwq_5A' ']'
++ printf %s 'Mp4 >https://myanime.sharepoint.com/sites/anime/_layouts/15/download.aspx?share=EZ05mgi-_flJiFRwQXbL9wYBWEy5Xj8NOhS0JKqKrwq_5A'
++ cut '-d>' -f2
+ episode='https://myanime.sharepoint.com/sites/anime/_layouts/15/download.aspx?share=EZ05mgi-_flJiFRwQXbL9wYBWEy5Xj8NOhS0JKqKrwq_5A'
+ '[' -z 'https://myanime.sharepoint.com/sites/anime/_layouts/15/download.aspx?share=EZ05mgi-_flJiFRwQXbL9wYBWEy5Xj8NOhS0JKqKrwq_5A' ']'
+ case "$player_function" in
+ replay='https://myanime.sharepoint.com/sites/anime/_layouts/15/download.aspx?share=EZ05mgi-_flJiFRwQXbL9wYBWEy5Xj8NOhS0JKqKrwq_5A'
+ unset episode
+ update_history
+ grep -q -- qqsYbwuPAz6oJnhqq /Users/adistrasser/.local/state/ani-cli/ani-hsts
+ nohup /Applications/IINA.app/Contents/MacOS/iina-cli --no-stdin --keep-running '--mpv-force-media-title=Tsuki ga Michibiku Isekai Douchuu Episode 5' 'https://myanime.sharepoint.com/sites/anime/_layouts/15/download.aspx?share=EZ05mgi-_flJiFRwQXbL9wYBWEy5Xj8NOhS0JKqKrwq_5A'
+ sed -E 's|^[^\t]+\tqqsYbwuPAz6oJnhqq\t[^\t]+$|5\tqqsYbwuPAz6oJnhqq\tTsuki ga Michibiku Isekai Douchuu (12 episodes)|' /Users/adistrasser/.local/state/ani-cli/ani-hsts
+ mv /Users/adistrasser/.local/state/ani-cli/ani-hsts.new /Users/adistrasser/.local/state/ani-cli/ani-hsts
+ '[' 0 = 1 ']'
+ '[' /Applications/IINA.app/Contents/MacOS/iina-cli '!=' debug ']'
+ '[' /Applications/IINA.app/Contents/MacOS/iina-cli '!=' download ']'
+ tput rc
+ tput ed
+ '[' /Applications/IINA.app/Contents/MacOS/iina-cli = download ']'
+ '[' /Applications/IINA.app/Contents/MacOS/iina-cli = debug ']'
++ printf 'next\nreplay\nprevious\nselect\nchange_quality\nquit'
++ nth 'Playing episode 5 of Tsuki ga Michibiku Isekai Douchuu (12 episodes)... '
+++ cat -
++ stdin='next
replay
previous
select
change_quality
quit'
++ '[' -z 'next
replay
previous
select
change_quality
quit' ']'
+++ printf '%s\n' 'next
replay
previous
select
change_quality
quit'
+++ wc -l
+++ tr -d '[:space:]'
++ line_count=6
++ '[' 6 -eq 1 ']'
++ prompt='Playing episode 5 of Tsuki ga Michibiku Isekai Douchuu (12 episodes)... '
++ multi_flag=
++ '[' 1 -ne 1 ']'
+++ printf %s 'next
replay
previous
select
change_quality
quit'
+++ cut -f1,3
+++ tr '\t' ' '
+++ launcher '' 'Playing episode 5 of Tsuki ga Michibiku Isekai Douchuu (12 episodes)... '
+++ '[' 0 = 0 ']'
+++ '[' -z '' ']'
+++ set -- +m 'Playing episode 5 of Tsuki ga Michibiku Isekai Douchuu (12 episodes)... '
+++ '[' 0 = 0 ']'
+++ fzf +m --reverse --cycle --prompt 'Playing episode 5 of Tsuki ga Michibiku Isekai Douchuu (12 episodes)... '
+++ cut -d ' ' -f 1
+++ '[' 0 = 1 ']'
++ line=next
++ '[' -n next ']'
++ printf %s 'next
replay
previous
select
change_quality
quit'
++ grep -E '^next($|[[:space:]])'
++ cut -f2,3
+ cmd=next
+ case "$cmd" in
++ printf %s '1
2
3
4
5
6
7
8
9
10
11
12'
++ sed -n '/^5$/{n;p;}'
+ ep_no=6
+ '[' -z 6 ']'
+ play
++ printf %s 6
++ grep -Eo '^(-1|[0-9]+(\.[0-9]+)?)'
+ start=6
++ printf %s 6
++ grep -Eo '(-1|[0-9]+(\.[0-9]+)?)$'
+ end=6
+ '[' 6 = -1 ']'
+ '[' -z 6 ']'
+ '[' 6 = 6 ']'
+ unset start end
+ '[' '' = -1 ']'
++ printf '%s\n' 6
++ wc -l
++ tr -d '[:space:]'
+ line_count=1
+ '[' 1 '!=' 1 ']'
+ '[' -n '' ']'
+ play_episode
+ '[' 1 = 1 ']'
+ '[' /Applications/IINA.app/Contents/MacOS/iina-cli '!=' debug ']'
+ '[' /Applications/IINA.app/Contents/MacOS/iina-cli '!=' download ']'
+ command -v logger
+ logger -t ani-cli 'Tsuki ga Michibiku Isekai Douchuu 6'
+ '[' 0 = 1 ']'
+ '[' -z '' ']'
+ get_episode_url
+ episode_embed_gql='query ($showId: String!, $translationType: VaildTranslationTypeEnumType!, $episodeString: String!) {    episode(        showId: $showId        translationType: $translationType        episodeString: $episodeString    ) {        episodeString sourceUrls    }}'
++ curl -e https://allanime.to -s -G https://api.allanime.day/api --data-urlencode 'variables={"showId":"qqsYbwuPAz6oJnhqq","translationType":"sub","episodeString":"6"}' --data-urlencode 'query=query ($showId: String!, $translationType: VaildTranslationTypeEnumType!, $episodeString: String!) {    episode(        showId: $showId        translationType: $translationType        episodeString: $episodeString    ) {        episodeString sourceUrls    }}' -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/121.0'
++ tr '{}' '\n'
++ sed 's|\\u002F|\/|g;s|\\||g'
++ sed -nE 's|.*sourceUrl":"--([^"]*)".*sourceName":"([^"]*)".*|\2 :\1|p'
+ resp='Yt-mp4 :504c4c484b0217174c5757544b165e594b4c0c4b485d5d5c164a4b4e4817174e515c5d574b1749494b615a4f4d6879420e577256504949174b4d5a170e
Luf-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010e0b0e5a0e0c0f0a0e0f0e5c0f0b0a000f0e0f0c0e010a010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e000e090a000f0e0e5d0f0e0b010e5e0e0a0b5a0c5a0d0a0d5e0b0d0c010c0a0c0b0b0a0a080f0a0e5e0f0a0e590e0b0b5a0d0a0f0d0f0b0e5c0e5e0a5c0e090e0f0a5c0c5a0e5e0e0d0e5d0e5e0e0c0e5e0e5c0f0b0a5c0c5e0f0d0e0b0e5c0e0f0e5e0a5c0c0a0e010f0b0e0d0e5d0f0b0f0b0a080f0a0f5e0f0e0e0b0f0d0f0b0e0c0b5a0d0d0d0b0c0c0a080f0d0f0b0e0c0b5a0a080e0d0e010f080e0b0f0c0b5a0d5e0b0c0b5e0b0c0d5b0d5d0c5e0f080e0a0c5d0c000b0f0e0f0b0c0e5c0f0a0d5b0b0c0c0b0f0a0e0c0d090e590e5b0e0f0c090e590e5e0e0f0d090f0a0b0f0c590d090e590f5b0d5b0d090f0a0e5d0e0f0d0d0b0f0e5c0e0c0b0d0d080e5b0e0f0c5d0d080b0f0c590e000c0c0f0b0d5b0f090b5a0b5a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0f080e5e0e0a0e0b0e010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e010a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0f5a1e4a5d5e5d4a5d4a05
Default :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e0d0b0a0e080b080e080b080d010b090e0a0b0e0b090b0e0e080e0b0b0e0e0d0b0b0b0b0b0e0b0a0b0b0b0a0e0c0e0c0b0f0b0e0b0d0e0d0e0f0e080b5e0e0b0b5d0b0d0b5e0e0a0e0a0b5d0b0c0a0e0f590a0e0b0f0e0d0b0c0e080e0d0b5e0b5d0b0d0b080b0b0b0d0b0f0b0a0e0c0b0f0b090b0e0e0f0e0c0b0d0b0f0e0d0b5e0b0e0b5d0e0c0b5d0b0a0e080e0d0e0a0e0d0a0e0f590a0e0e5a0e0b0e0a0e5e0e0f0a010e0d0b0a0e080b080e080b080d010b090e0a0b0e0b090b0e0e080e0b0b0e0e0d0b0b0b0b0b0e0b0a0b0b0b0a0e0c0e0c0b0f0b0e0b0d0e0d0e0f0e080b5e0e0b0b5d0b0d0b5e0e0a0e0a0b5d0b0c0e080b0e0b0e0b0f0a000e5b0f0e0e090a0e0f590a0e0a590b0f0b0e0b5d0b0e0f0e0a590b090b0c0b0e0f0e0a590b0a0b5d0b0e0f0e0a590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d090e5e0f5d0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a0c0f5a
S-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0a010f0d0e5e0f0a0e0b0f0d0a010e0f0e000e5e0e5a0e0b0a010d0d0e5d0e0f0f0c0e0b0e0a0a0e0c0a0e010e0d0f0b0e5a0e0b0e000f0a0f0d0a010f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a000e5a0f0e0b0a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0d0e5d0e0f0f0c0e0b0f0e0e010e5e0e000f0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a0c0f5a
Uv-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010f0b0f0d0e0b0f0c0f0d0e0d0e590e010f0b0e0a0a000e0d0e010e5a0a010e0b0e5a0e0c0e0b0e0a0a5a0e5d0f0e0b5e0f0d0b0f0f0c0b5e0b0e0f5b0e5e0b090f080a000e5d0f0a0e5a0e590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0b0f0d0e0b0f0c0f080e5e0e0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a0c0f5a'
++ mktemp -d
+ cache_dir=/var/folders/0d/nh2d2w056993bthvml7_1kc00000gn/T/tmp.3jj8ICTiis
+ providers='1 2 3 4'
+ for provider in '$providers'
+ generate_link 1
+ for provider in '$providers'
+ case $1 in
+ provider_init dropbox '/Sak :/p'
+ provider_name=dropbox
+ for provider in '$providers'
+ generate_link 2
+ case $1 in
+ provider_init wetransfer '/Kir :/p'
+ provider_name=wetransfer
+ for provider in '$providers'
+ generate_link 3
+ case $1 in
+ provider_init sharepoint '/S-mp4 :/p'
+ provider_name=sharepoint
+ generate_link 4
+ case $1 in
+ provider_init gogoanime '/Luf-mp4 :/p'
+ provider_name=gogoanime
+ wait
++ printf %s 'Yt-mp4 :504c4c484b0217174c5757544b165e594b4c0c4b485d5d5c164a4b4e4817174e515c5d574b1749494b615a4f4d6879420e577256504949174b4d5a170e
Luf-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010e0b0e5a0e0c0f0a0e0f0e5c0f0b0a000f0e0f0c0e010a010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e000e090a000f0e0e5d0f0e0b010e5e0e0a0b5a0c5a0d0a0d5e0b0d0c010c0a0c0b0b0a0a080f0a0e5e0f0a0e590e0b0b5a0d0a0f0d0f0b0e5c0e5e0a5c0e090e0f0a5c0c5a0e5e0e0d0e5d0e5e0e0c0e5e0e5c0f0b0a5c0c5e0f0d0e0b0e5c0e0f0e5e0a5c0c0a0e010f0b0e0d0e5d0f0b0f0b0a080f0a0f5e0f0e0e0b0f0d0f0b0e0c0b5a0d0d0d0b0c0c0a080f0d0f0b0e0c0b5a0a080e0d0e010f080e0b0f0c0b5a0d5e0b0c0b5e0b0c0d5b0d5d0c5e0f080e0a0c5d0c000b0f0e0f0b0c0e5c0f0a0d5b0b0c0c0b0f0a0e0c0d090e590e5b0e0f0c090e590e5e0e0f0d090f0a0b0f0c590d090e590f5b0d5b0d090f0a0e5d0e0f0d0d0b0f0e5c0e0c0b0d0d080e5b0e0f0c5d0d080b0f0c590e000c0c0f0b0d5b0f090b5a0b5a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0f080e5e0e0a0e0b0e010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e010a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0f5a1e4a5d5e5d4a5d4a05
Default :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e0d0b0a0e080b080e080b080d010b090e0a0b0e0b090b0e0e080e0b0b0e0e0d0b0b0b0b0b0e0b0a0b0b0b0a0e0c0e0c0b0f0b0e0b0d0e0d0e0f0e080b5e0e0b0b5d0b0d0b5e0e0a0e0a0b5d0b0c0a0e0f590a0e0b0f0e0d0b0c0e080e0d0b5e0b5d0b0d0b080b0b0b0d0b0f0b0a0e0c0b0f0b090b0e0e0f0e0c0b0d0b0f0e0d0b5e0b0e0b5d0e0c0b5d0b0a0e080e0d0e0a0e0d0a0e0f590a0e0e5a0e0b0e0a0e5e0e0f0a010e0d0b0a0e080b080e080b080d010b090e0a0b0e0b090b0e0e080e0b0b0e0e0d0b0b0b0b0b0e0b0a0b0b0b0a0e0c0e0c0b0f0b0e0b0d0e0d0e0f0e080b5e0e0b0b5d0b0d0b5e0e0a0e0a0b5d0b0c0e080b0e0b0e0b0f0a000e5b0f0e0e090a0e0f590a0e0a590b0f0b0e0b5d0b0e0f0e0a590b090b0c0b0e0f0e0a590b0a0b5d0b0e0f0e0a590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d090e5e0f5d0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a0c0f5a
S-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0a010f0d0e5e0f0a0e0b0f0d0a010e0f0e000e5e0e5a0e0b0a010d0d0e5d0e0f0f0c0e0b0e0a0a0e0c0a0e010e0d0f0b0e5a0e0b0e000f0a0f0d0a010f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a000e5a0f0e0b0a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0d0e5d0e0f0f0c0e0b0f0e0e010e5e0e000f0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a0c0f5a
Uv-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010f0b0f0d0e0b0f0c0f0d0e0d0e590e010f0b0e0a0a000e0d0e010e5a0a010e0b0e5a0e0c0e0b0e0a0a5a0e5d0f0e0b5e0f0d0b0f0f0c0b5e0b0e0f5b0e5e0b090f080a000e5d0f0a0e5a0e590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0b0f0d0e0b0f0c0f080e5e0e0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a0c0f5a'
++ sed -n '/Sak :/p'
++ head -1
++ sed -n '/S-mp4 :/p'
++ sed -n '/Kir :/p'
++ printf %s 'Yt-mp4 :504c4c484b0217174c5757544b165e594b4c0c4b485d5d5c164a4b4e4817174e515c5d574b1749494b615a4f4d6879420e577256504949174b4d5a170e
Luf-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010e0b0e5a0e0c0f0a0e0f0e5c0f0b0a000f0e0f0c0e010a010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e000e090a000f0e0e5d0f0e0b010e5e0e0a0b5a0c5a0d0a0d5e0b0d0c010c0a0c0b0b0a0a080f0a0e5e0f0a0e590e0b0b5a0d0a0f0d0f0b0e5c0e5e0a5c0e090e0f0a5c0c5a0e5e0e0d0e5d0e5e0e0c0e5e0e5c0f0b0a5c0c5e0f0d0e0b0e5c0e0f0e5e0a5c0c0a0e010f0b0e0d0e5d0f0b0f0b0a080f0a0f5e0f0e0e0b0f0d0f0b0e0c0b5a0d0d0d0b0c0c0a080f0d0f0b0e0c0b5a0a080e0d0e010f080e0b0f0c0b5a0d5e0b0c0b5e0b0c0d5b0d5d0c5e0f080e0a0c5d0c000b0f0e0f0b0c0e5c0f0a0d5b0b0c0c0b0f0a0e0c0d090e590e5b0e0f0c090e590e5e0e0f0d090f0a0b0f0c590d090e590f5b0d5b0d090f0a0e5d0e0f0d0d0b0f0e5c0e0c0b0d0d080e5b0e0f0c5d0d080b0f0c590e000c0c0f0b0d5b0f090b5a0b5a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0f080e5e0e0a0e0b0e010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e010a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0f5a1e4a5d5e5d4a5d4a05
Default :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e0d0b0a0e080b080e080b080d010b090e0a0b0e0b090b0e0e080e0b0b0e0e0d0b0b0b0b0b0e0b0a0b0b0b0a0e0c0e0c0b0f0b0e0b0d0e0d0e0f0e080b5e0e0b0b5d0b0d0b5e0e0a0e0a0b5d0b0c0a0e0f590a0e0b0f0e0d0b0c0e080e0d0b5e0b5d0b0d0b080b0b0b0d0b0f0b0a0e0c0b0f0b090b0e0e0f0e0c0b0d0b0f0e0d0b5e0b0e0b5d0e0c0b5d0b0a0e080e0d0e0a0e0d0a0e0f590a0e0e5a0e0b0e0a0e5e0e0f0a010e0d0b0a0e080b080e080b080d010b090e0a0b0e0b090b0e0e080e0b0b0e0e0d0b0b0b0b0b0e0b0a0b0b0b0a0e0c0e0c0b0f0b0e0b0d0e0d0e0f0e080b5e0e0b0b5d0b0d0b5e0e0a0e0a0b5d0b0c0e080b0e0b0e0b0f0a000e5b0f0e0e090a0e0f590a0e0a590b0f0b0e0b5d0b0e0f0e0a590b090b0c0b0e0f0e0a590b0a0b5d0b0e0f0e0a590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d090e5e0f5d0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a++ sed 's/../&\
/g'
++ cut -d: -f2
++ head -1
++ sed 's/^01$/9/g;s/^08$/0/g;s/^05$/=/g;s/^0a$/2/g;s/^0b$/3/g;s/^0c$/4/g;s/^07$/?/g;s/^00$/8/g;s/^5c$/d/g;s/^0f$/7/g;s/^5e$/f/g;s/^17$/\//g;s/^54$/l/g;s/^09$/1/g;s/^48$/p/g;s/^4f$/w/g;s/^0e$/6/g;s/^5b$/c/g;s/^5d$/e/g;s/^0d$/5/g;s/^53$/k/g;s/^1e$/\&/g;s/^5a$/b/g;s/^59$/a/g;s/^4a$/r/g;s/^4c$/t/g;s/^4e$/v/g;s/^57$/o/g;s/^51$/i/g;'
++ printf %s 'Yt-mp4 :504c4c484b0217174c5757544b165e594b4c0c4b485d5d5c164a4b4e4817174e515c5d574b1749494b615a4f4d6879420e577256504949174b4d5a170e
++ head -1
Luf-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010e0b0e5a0e0c0f0a0e0f0e5c0f0b0a000f0e0f0c0e010a010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e000e090a000f0e0e5d0f0e0b010e5e0e0a0b5a0c5a0d0a0d5e0b0d0c010c0a0c0b0b0a0a080f0a0e5e0f0a0e590e0b0b5a0d0a0f0d0f0b0e5c0e5e0a5c0e090e0f0a5c0c5a0e5e0e0d0e5d0e5e0e0c0e5e0e5c0f0b0a5c0c5e0f0d0e0b0e5c0e0f0e5e0a5c0c0a0e010f0b0e0d0e5d0f0b0f0b0a080f0a0f5e0f0e0e0b0f0d0f0b0e0c0b5a0d0d0d0b0c0c0a080f0d0f0b0e0c0b5a0a080e0d0e010f080e0b0f0c0b5a0d5e0b0c0b5e0b0c0d5b0d5d0c5e0f080e0a0c5d0c000b0f0e0f0b0c0e5c0f0a0d5b0b0c0c0b0f0a0e0c0d090e590e5b0e0f0c090e590e5e0e0f0d090f0a0b0f0c590d090e590f5b0d5b0d090f0a0e5d0e0f0d0d0b0f0e5c0e0c0b0d0d080e5b0e0f0c5d0d080b0f0c590e000c0c0f0b0d5b0f090b5a0b5a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0f080e5e0e0a0e0b0e010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e010a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0f5a1e4a5d5e5d4a5d4a05
Default :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e0d0b0a0e080b080e080b080d010b090e0a0b0e0b090b0e0e080e0b0b0e0e0d0b0b0b0b0b0e0b0a0b0b0b0a0e0c0e0c0b0f0b0e0b0d0e0d0e0f0e080b5e0e0b0b5d0b0d0b5e0e0a0e0a0b5d0b0c0a0e0f590a0e0b0f0e0d0b0c0e080e0d0b5e0b5d0b0d0b080b0b0b0d0b0f0b0a0e0c0b0f0b090b0e0e0f0e0c0b0d0b0f0e0d0b5e0b0e0b5d0e0c0b5d0b0a0e080e0d0e0a0e0d0a0e0f590a0e0e5a0e0b0e0a0e5e0e0f0a010e0d0b0a0e080b080e080b080d010b090e0a0b0e0b090b0e0e080e0b0b0e0e0d0b++ tr -d '\n'
0b0b0b0b0e0b0a0b0b0b0a0e0c0e0c0b0f0b0e0b0d0e0d0e0f0e080b5e0e0b0b5d0b0d0b5e0e0a0e0a0b5d0b0c0e080b0e0b0e0b0f0a000e5b0f0e0e090a0e0f590a0e0a590b0f0b0e0b5d0b0e0f0e0a590b090b0c0b0e0f0e0a590b0a0b5d0b0e0f0e0a590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d090e5e0f5d0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a0c0f5a
S-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0a010f0d0e5e0f0a0e0b0f0d0a010e0f0e000e5e0e5a0e0b0a010d0d0e5d0e0f0f0c0e0b0e0a0a0e0c0a0e010e0d0f0b0e5a0e0b0e000f0a0f0d0a010f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a000e5a0f0e0b0a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c++ sed 's/\/clock/\/clock\.json/'
5e0e0a0a0c0b5b0a0c0d0d0e5d0e0f0f0c0e0b0f0e0e010e5e0e000f0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a0c0f5a
Uv-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010f0b0f0d0e0b0f0c0f0d0e0d0e590e010f0b0e0a0a000e0d0e010e5a0a010e0b0e5a0e0c0e0b0e0a0a5a0e5d0f0e0b5e0f0d0b0f0f0c0b5e0b0e0f5b0e5e0b090f080a000e5d0f0a0e5a0e590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0b0f0d0e0b0f0c0f080e5e0e0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a0c0f5a'
++ sed 's/../&\
/g'
++ cut -d: -f2
++ sed 's/^01$/9/g;s/^08$/0/g;s/^05$/=/g;s/^0a$/2/g;s/^0b$/3/g;s/^0c$/4/g;s/^07$/?/g;s/^00$/8/g;s/^5c$/d/g;s/^0f$/7/g;s/^5e$/f/g;s/^17$/\//g;s/^54$/l/g;s/^09$/1/g;s/^48$/p/g;s/^4f$/w/g;s/^0e$/6/g;s/^5b$/c/g;s/^5d$/e/g;s/^0d$/5/g;s/^53$/k/g;s/^1e$/\&/g;s/^5a$/b/g;s/^59$/a/g;s/^4a$/r/g;s/^4c$/t/g;s/^4e$/v/g;s/^57$/o/g;s/^51$/i/g;'
++ cut -d: -f2
++ sed 's/^01$/9/g;s/^08$/0/g;s/^05$/=/g;s/^0a$/2/g;s/^0b$/3/g;s/^0c$/4/g;s/^07$/?/g;s/^00$/8/g;s/^5c$/d/g;s/^0f$/7/g;s/^5e$/f/g;s/^17$/\//g;s/^54$/l/g;s/^09$/1/g;s/^48$/p/g;s/^4f$/w/g;s/^0e$/6/g;s/^5b$/c/g;s/^5d$/e/g;s/^0d$/5/g;s/^53$/k/g;s/^1e$/\&/g;s/^5a$/b/g;s/^59$/a/g;s/^4a$/r/g;s/^4c$/t/g;s/^4e$/v/g;s/^57$/o/g;s/^51$/i/g;'
++ tr -d '\n'
++ sed 's/../&\
/g'
++ printf %s 'Yt-mp4 :504c4c484b0217174c5757544b165e594b4c0c4b485d5d5c164a4b4e48171++ sed 's/../&\
/g'
++ sed 's/^01$/9/g;s/^08$/0/g;s/^05$/=/g;s/^0a$/2/g;s/^0b$/3/g;s/^0c$/4/g;s/^07$/?/g;s/^00$/8/g;s/^5c$/d/g;s/^0f$/7/g;s/^5e$/f/g;s/^17$/\//g;s/^54$/l/g;s/^09$/1/g;s/^48$/p/g;s/^4f$/w/g;s/^0e$/6/g;s/^5b$/c/g;s/^5d$/e/g;s/^0d$/5/g;s/^53$/k/g;s/^1e$/\&/g;s/^5a$/b/g;s/^59$/a/g;s/^4a$/r/g;s/^4c$/t/g;s/^4e$/v/g;s/^57$/o/g;s/^51$/i/g;'
++ sed 's/\/clock/\/clock\.json/'
++ tr -d '\n'
74e515c5d574b1749494b615a4f4d6879420e577256504949174b4d5a170e
Luf-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010e0b0e5a0e0c0f0a0e0f0e5c0f0b0a000f0e0f0c0e010a010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e000e090a000f0e0e5d0f0e0b010e5e0e0a0b5a0c5a0d0a0d5e0b0d0c010c0a0c0b0b0a0a080f0a0e5e0f0a0e590e0b0b5a0d0a0f0d0f0b0e5c0e5e0a5c0e090e0f0a5c0c5a0e5e0e0d0e5d0e5e0e0c0e5e0e5c0f0b0a5c0c5e0f0d0e0b0e5c0e0f0e5e0a5c0c0a0e010f0b0e0d0e5d0f0b0f0b0a080f0a0f5e0f0e0e0b0f0d0f0b0e0c0b5a0d0d0d0b0c0c0a080f0d0f0b0e0c0b5a0a080e0d0e010f080e0b0f0c0b5a0d5e0b0c0b5e0b0c0d5b0d5d0c5e0f080e0a0c5d0c000b0f0e0f0b0c0e5c0f0a0d5b0b0c0c0b0f0a0e0c0d090e590e5b0e0f0c090e590e5e0e0f0d090f0a0b0f0c590d090e590f5b0d5b0d090f0a0e5d0e0f0d0d0b0f0e5c0e0c0b0d0d080e5b0e0f0c5d0d080b0f0c590e000c0c0f0b0d5b0f090b5a0b5a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0f080e5e0e0a0e0b0e010f0d0f0a0f0c0e0b0e0f0e5a0e5e0e010a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0f5a1e4a5d5e5d4a5d4a05
Default :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e0d0b0a0e080b080e080b080d010b090e0a0b0e0b090b0e0e080e0b0b0e0e0d0b0b0b0b0b0e0b0a0b0b0b0a0e0c0e0c0b0f0b0e0b0d0e0d0e0f0e080b5e0e0b0b5d0b0d0b5e0e0a0e0a0b5d0b0c0a0e0f590a0e0b0f0e0d0b0c0e080e0d0b5e0b5d0b0d0b080b0b0b0d0b0f0b0a0e0c0b0f0b090b0e0e0f0e0c0b0d0b0f0e0d0b5e0b0e0b5d0e0c0b5d0b0a0e080e0d0e0a0e0d0a0e0f590a0e0e5a0e0b0e0a0e5e0e0f0a010e0d0b0a0e080b080e080b080d010b090e0a0b0e0b090b0e0e080e0b0b0e0e0d0b0b0b0b0b0e0b0a0b0b0b0a0e0c0e0c0b0f0b0e0b0d0e0d0e0f0e080b5e0e0b0b5d0b0d0b5e0e0a0e0a0b5d0b0c0e080b0e0b0e0b0f0a000e5b0f0e0e090a0e0f590a0e0a590b0f0b0e0b5d0b0e0f0e0a590b090b0c0b0e0f0e0a590b0a0b5d0b0e0f0e0a590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d090e5e0f5d0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a0c0f5a
S-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0a010f0d0e5e0f0a0e0b0f0d0a010e0f0e000e5e0e5a0e0b0a010d0d0e5d0e0f0f0c0e0b0e0a0a0e0c0a0e010e0d0f0b0e5a0e0b0e000f0a0f0d0a010f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a000e5a0f0e0b0a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0d0e5d0e0f0f0c0e0b0f0e0e010e5e0e000f0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a0c0f5a
Uv-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010f0b0f0d0e0b0f0c0f0d0e0d0e590e010f0b0e0a0a000e0d0e010e5a0a010e0b0e5a0e0c0e0b0e0a0a5a0e5d0f0e0b5e0f0d0b0f0f0c0b5e0b0e0f5b0e5e0b090f080a000e5d0f0a0e5a0e590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0b0f0d0e0b0f0c0f080e5e0e0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a0c0f5a'
++ tr -d '\n'
++ sed -n '/Luf-mp4 :/p'
++ sed 's/\/clock/\/clock\.json/'
5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a0c0f5a
++ head -1
S-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0a010f0d0e5e0f0a0e0b0f0d0a010e0f0e000e5e0e5a0e0b0a010d0d0e5d0e0f0f0c0e0b0e0a0a0e0c0a0e010e0d0f0b0e5a0e0b0e000f0a0f0d0a010f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a000e5a0f0e0b0a0a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0d0e5d0e0f0f0c0e0b0f0e0e010e5e0e000f0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a0c0f5a
Uv-mp4 :175948514e4c4f57175b54575b5307515c050f5c0a0c0f0b0f0c0e590a0c0b5b0a0c0e5d0f0a0f0a0f0e0f0d0b5b0a010a010f0b0f0d0e0b0f0c0f0d0e0d0e590e010f0b0e0a0a000e0d0e010e5a0a010e0b0e5a0e0c0e0b0e0a0a5a0e5d0f0e0b5e0f0d0b0f0f0c0b5e0b0e0f5b0e5e0b090f080a000e5d0f0a0e5a0e590a0c0a590a0c0f0d0f0a0f0c0e0b0e0f0e5a0e0b0f0c0c5e0e0a0a0c0b5b0a0c0d0b0f0d0e0b0f0c0f080e5e0e0a0a0c0a590a0c0e0a0e0f0f0a0e0b0a0c0b5b0a0c0b0c0b0e0b0c0b0a0a5a0b0e0b5e0a5a0b0c0b0f0d0a0b0e0b5d0b5b0b0b0b090b5b0b0e0b0e0a000b0e0b0e0b0e0d5b0a0c0a590a0c0f0a0f0c0e0f0e000f0d0e590e0f0f0a0e5e0e010e000d0a0f5e0f0e0e0b0a0c0b5b0a0c0f0d0f0b0e0c0a0c0a590a0c0e5c0e0b0f5e0a0c0b5b0a0c0e0b0f0e0a5a0f0f0f0f0f0d0d5e0e0c0f090f0b0d0e0c0f0f5b0b080e010c5b0e000e5d0f0f0f0f0d010b080d010f0d0f0b0e0c0a0c0f5a'
++ cut -d: -f2
++ sed 's/\/clock/\/clock\.json/'
+ provider_id=
+ '[' -n '' ']'
+ provider_id='/apivtwo/clock.json?id=7d2473746a243c2429756f7263752967686f6b6329556e6774636226426965736b63687275297777755f64717356477c30694c686e7777593059757364286b7632242a2475727463676b63744f62243c24556e67746376696f6872242a2462677263243c24343634322b363f2b343752363e3c33313c3636283636365c242a2472746768756a67726f6968527f7663243c24757364242a246d637f243c2463762b7777755f64717356477c30694c686e7777593059757364247b'
+ provider_id=
+ '[' -n '/apivtwo/clock.json?id=7d2473746a243c2429756f7263752967686f6b6329556e6774636226426965736b63687275297777755f64717356477c30694c686e7777593059757364286b7632242a2475727463676b63744f62243c24556e67746376696f6872242a2462677263243c24343634322b363f2b343752363e3c33313c3636283636365c242a2472746768756a67726f6968527f7663243c24757364242a246d637f243c2463762b7777755f64717356477c30694c686e7777593059757364247b' ']'
+ '[' -n '' ']'
+ get_links '/apivtwo/clock.json?id=7d2473746a243c2429756f7263752967686f6b6329556e6774636226426965736b63687275297777755f64717356477c30694c686e7777593059757364286b7632242a2475727463676b63744f62243c24556e67746376696f6872242a2462677263243c24343634322b363f2b343752363e3c33313c3636283636365c242a2472746768756a67726f6968527f7663243c24757364242a246d637f243c2463762b7777755f64717356477c30694c686e7777593059757364247b'
++ curl -e https://allanime.to -s 'https://allanime.day/apivtwo/clock.json?id=7d2473746a243c2429756f7263752967686f6b6329556e6774636226426965736b63687275297777755f64717356477c30694c686e7777593059757364286b7632242a2475727463676b63744f62243c24556e67746376696f6872242a2462677263243c24343634322b363f2b343752363e3c33313c3636283636365c242a2472746768756a67726f6968527f7663243c24757364242a246d637f243c2463762b7777755f64717356477c30694c686e7777593059757364247b' -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/121.0'
++ sed 's|},{|\
|g'
++ sed -nE 's|.*link":"([^"]*)".*"resolutionStr":"([^"]*)".*|\2 >\1|p;s|.*hls","url":"([^"]*)".*"hardsub_lang":"en-US".*|\1|p'
+ provider_id='/apivtwo/clock.json?id=7d2473746a243c246e727276753c2929636b6472676d73287674692975727463676b6f686128766e76396f623b4b525f354942433220726f726a633b5275736d6f2d61672d4b6f656e6f646f6d732d4f75636d676f2d426973656e737320727f76637573643b555344207573643b2065697063743b5f343f345c5e4f70624e483767346d725c34437264516a6c67416a6f675172374a516a7c5c51726e6755376d6435506c674e50374a6844735c713b3b242a2475727463676b63744f62243c24706f62636975727463676b6f69242a2462677263243c24343634322b363f2b343752363e3c33313c3636283636365c247b&referer='
+ '[' -n '/apivtwo/clock.json?id=7d2473746a243c246e727276753c2929636b6472676d73287674692975727463676b6f686128766e76396f623b4b525f354942433220726f726a633b5275736d6f2d61672d4b6f656e6f646f6d732d4f75636d676f2d426973656e737320727f76637573643b555344207573643b2065697063743b5f343f345c5e4f70624e483767346d725c34437264516a6c67416a6f675172374a516a7c5c51726e6755376d6435506c674e50374a6844735c713b3b242a2475727463676b63744f62243c24706f62636975727463676b6f69242a2462677263243c24343634322b363f2b343752363e3c33313c3636283636365c247b&referer=' ']'
+ get_links '/apivtwo/clock.json?id=7d2473746a243c246e727276753c2929636b6472676d73287674692975727463676b6f686128766e76396f623b4b525f354942433220726f726a633b5275736d6f2d61672d4b6f656e6f646f6d732d4f75636d676f2d426973656e737320727f76637573643b555344207573643b2065697063743b5f343f345c5e4f70624e483767346d725c34437264516a6c67416a6f675172374a516a7c5c51726e6755376d6435506c674e50374a6844735c713b3b242a2475727463676b63744f62243c24706f62636975727463676b6f69242a2462677263243c24343634322b363f2b343752363e3c33313c3636283636365c247b&referer='
++ curl -e https://allanime.to -s 'https://allanime.day/apivtwo/clock.json?id=7d2473746a243c246e727276753c2929636b6472676d73287674692975727463676b6f686128766e76396f623b4b525f354942433220726f726a633b5275736d6f2d61672d4b6f656e6f646f6d732d4f75636d676f2d426973656e737320727f76637573643b555344207573643b2065697063743b5f343f345c5e4f70624e483767346d725c34437264516a6c67416a6f675172374a516a7c5c51726e6755376d6435506c674e50374a6844735c713b3b242a2475727463676b63744f62243c24706f62636975727463676b6f69242a2462677263243c24343634322b363f2b343752363e3c33313c3636283636365c247b&referer=' -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/121.0'
++ sed 's|},{|\
|g'
++ sed -nE 's|.*link":"([^"]*)".*"resolutionStr":"([^"]*)".*|\2 >\1|p;s|.*hls","url":"([^"]*)".*"hardsub_lang":"en-US".*|\1|p'
+ episode_link='hls P >https://www047.anzeat.pro/streamhls/5589975611d5732d93f3db5d6f44d627/ep.6.1709234345.m3u8
HLS1 >https://www047.anicdnstream.info/videos/hls/lI8IkhJcYBn32UTzFd8NMg/1726923479/167818/5589975611d5732d93f3db5d6f44d627/ep.6.1709234345.m3u8
Alt >https://workfields.maverickki.lol/7d2473746a243c246e727276753c29297171713632312867686f65626875727463676b286f68606929706f62636975296e6a75296a4f3e4f6d6e4c655f4468353453527c40623e484b6129373134303f343532313f293730313e373e2933333e3f3f31333037376233313534623f3560356264336230603232623034312963762830283731363f343532353233286b35733e242a2476677475634e6a75243c727473632a2462677263243c373134303e303f3036363636367b'
+ case "$episode_link" in
+ '[' -n 'hls P >https://www047.anzeat.pro/streamhls/5589975611d5732d93f3db5d6f44d627/ep.6.1709234345.m3u8
HLS1 >https://www047.anicdnstream.info/videos/hls/lI8IkhJcYBn32UTzFd8NMg/1726923479/167818/5589975611d5732d93f3db5d6f44d627/ep.6.1709234345.m3u8
Alt >https://workfields.maverickki.lol/7d2473746a243c246e727276753c29297171713632312867686f65626875727463676b286f68606929706f62636975296e6a75296a4f3e4f6d6e4c655f4468353453527c40623e484b6129373134303f343532313f293730313e373e2933333e3f3f31333037376233313534623f3560356264336230603232623034312963762830283731363f343532353233286b35733e242a2476677475634e6a75243c727473632a2462677263243c373134303e303f3036363636367b' ']'
+ printf '%s\n' 'hls P >https://www047.anzeat.pro/streamhls/5589975611d5732d93f3db5d6f44d627/ep.6.1709234345.m3u8
HLS1 >https://www047.anicdnstream.info/videos/hls/lI8IkhJcYBn32UTzFd8NMg/1726923479/167818/5589975611d5732d93f3db5d6f44d627/ep.6.1709234345.m3u8
Alt >https://workfields.maverickki.lol/7d2473746a243c246e727276753c29297171713632312867686f65626875727463676b286f68606929706f62636975296e6a75296a4f3e4f6d6e4c655f4468353453527c40623e484b6129373134303f343532313f293730313e373e2933333e3f3f31333037376233313534623f3560356264336230603232623034312963762830283731363f343532353233286b35733e242a2476677475634e6a75243c727473632a2462677263243c373134303e303f3036363636367b'
+ '[' -z '' ']'
+ printf '\033[1;32m%s\033[0m Links Fetched\n' gogoanime
gogoanime Links Fetched
+ episode_link='Mp4 >https://myanime.sharepoint.com/sites/anime/_layouts/15/download.aspx?share=EV5HsRJSf29GmpJiTNH22aEBsbW2X8eFn7E03W_PaqB0cA'
+ case "$episode_link" in
+ '[' -n 'Mp4 >https://myanime.sharepoint.com/sites/anime/_layouts/15/download.aspx?share=EV5HsRJSf29GmpJiTNH22aEBsbW2X8eFn7E03W_PaqB0cA' ']'
+ printf '%s\n' 'Mp4 >https://myanime.sharepoint.com/sites/anime/_layouts/15/download.aspx?share=EV5HsRJSf29GmpJiTNH22aEBsbW2X8eFn7E03W_PaqB0cA'
+ '[' -z '' ']'
+ printf '\033[1;32m%s\033[0m Links Fetched\n' sharepoint
sharepoint Links Fetched
port19x commented 1 month ago

It works for me on mac os, zsh, ani-cli 4.9.2 with the anime you listed as example. Odd

AdiStar350 commented 1 month ago

Had after every episode I have to kill the IINA player completely and then playing next episodes works.