aboutsummaryrefslogtreecommitdiff
path: root/pl/episode_data.pl
diff options
context:
space:
mode:
Diffstat (limited to 'pl/episode_data.pl')
-rw-r--r--pl/episode_data.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/pl/episode_data.pl b/pl/episode_data.pl
index 3e0ee1b..bde723f 100644
--- a/pl/episode_data.pl
+++ b/pl/episode_data.pl
@@ -132,8 +132,10 @@ fetch_screenwriter_url(Name, U) :-
xpath(A, /self(@href), U).
absolute_url(R) --> "https://www.detectiveconanworld.com", R.
-screenwriter_episode(Ep) --> string(_), "(Episode ", integer(Ep), ")", string(_).
-screenwriter_episode(Ep) --> string(_), "(Episodes ", integer(Ep1), "-", integer(Ep2), ")", string(_),
+screenwriter_episode(Ep) --> string(_), "(Episode ", integer(Ep), ")".
+screenwriter_episode(Ep) --> string(_), "(Episodes ", integer(Ep1), "-", integer(Ep2), ")",
+ { between(Ep1, Ep2, Ep) }.
+screenwriter_episode(Ep) --> string(_), "(Episodes ", integer(Ep1), "-", integer(Ep2), " only)",
{ between(Ep1, Ep2, Ep) }.
fetch_screenwriter_episode(Name, Ep) :-