Skip to content

Commit

Permalink
Merge pull request #4 from gecko655/work/fix-title-duplicate
Browse files Browse the repository at this point in the history
オンパレ&オンパレWebでタイトルが2重に表示される問題の修正
  • Loading branch information
gecko655 authored Jul 11, 2020
2 parents 14b86db + 352b71b commit 5d01cf1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions aikatsu_story
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions test.sh
Original file line number Diff line number Diff line change
@@ -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`
Expand Down

0 comments on commit 5d01cf1

Please sign in to comment.