This commit is contained in:
parent
c0fec89a53
commit
e2707eca0f
@ -9,8 +9,8 @@ WIKI_URL = (
|
||||
"https://fr.wikipedia.org/wiki/Liste_des_%C3%A9pisodes_de_D%C3%A9tective_Conan"
|
||||
)
|
||||
GOOD_COLOR = ["#ee8000", "#80ffff"]
|
||||
CSV_COLUMNS = ["N°", "Arc", "Saison", "Episode", "Titre", "Date"]
|
||||
VF_UNTIL = 214
|
||||
CSV_COLUMNS = ["SW", "EW", "Arc", "ST", "ET", "Titre", "Date"]
|
||||
VF_UNTIL = 219
|
||||
|
||||
EPS_BY_SEASONS = [
|
||||
28,
|
||||
@ -121,7 +121,7 @@ for season, table in enumerate(tables):
|
||||
except ValueError:
|
||||
continue
|
||||
|
||||
if episode < VF_UNTIL:
|
||||
if episode <= VF_UNTIL:
|
||||
continue
|
||||
|
||||
color = extract_background(tr["style"])
|
||||
@ -129,10 +129,11 @@ for season, table in enumerate(tables):
|
||||
if not color or color in GOOD_COLOR:
|
||||
out.writerow(
|
||||
{
|
||||
"N°": episode,
|
||||
"SW": season,
|
||||
"EW": episode,
|
||||
"Arc": current_arc(episode),
|
||||
"Saison": thetvdb_season(episode),
|
||||
"Episode": thetvdb_episode(episode),
|
||||
"ST": thetvdb_season(episode),
|
||||
"ET": thetvdb_episode(episode),
|
||||
"Titre": tds[1].text.strip(),
|
||||
"Date": tds[4].text.strip(),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user