diff --git a/aikatsu_story b/aikatsu_story index fe21794..a85984e 100755 --- a/aikatsu_story +++ b/aikatsu_story @@ -67,11 +67,11 @@ if [[ -n $ONPARADE_WEB ]]; then # episode_id is formed of 2 digits in onparade_web episode_id=`printf %02d $STORY_ID` url="http://www.aikatsu.net/webanime/story-${episode_id}.html" - title_pup_command='.story-main img attr{alt}' + title_pup_command='.story-main > :nth-child(1) img attr{alt}' pup_command='.story-main-frame > :nth-child(2) json{}' elif [[ -n $ONPARADE ]]; then url="http://www.aikatsu.net/story/story-${episode_id}.html" - title_pup_command='.story-main img attr{alt}' + title_pup_command='.story-main > :nth-child(1) img attr{alt}' pup_command='.story-main-frame > :nth-child(2) json{}' elif [[ -n $FRIENDS ]]; then url="http://www.aikatsu.net/aikatsufriends_${series_id}/story/story-${episode_id}.html" diff --git a/test.sh b/test.sh index 2bbdf75..278378d 100755 --- a/test.sh +++ b/test.sh @@ -1,5 +1,5 @@ -# id of the last episode of Aikatsu on Parade! web As of 2020-03-28 -ONPARADE_WEB_LAST_EP=2 +# id of the last episode of Aikatsu on Parade! web As of 2020-07-11 +ONPARADE_WEB_LAST_EP=6 ex_code=0 for i in `seq 1 178`