List all eps on conan eps
This commit is contained in:
parent
f0088cba15
commit
8e8ee70cbc
@ -10,8 +10,7 @@ WIKI_URL = (
|
||||
"https://fr.wikipedia.org/wiki/Liste_des_%C3%A9pisodes_de_D%C3%A9tective_Conan"
|
||||
)
|
||||
GOOD_COLOR = ["#ee8000", "#90bdff"]
|
||||
CSV_COLUMNS = ["SW", "EW", "Arc", "ST", "ET", "Titre", "Date"]
|
||||
VF_UNTIL = 219
|
||||
CSV_COLUMNS = ["SW", "EW", "Arc", "ST", "ET", "Type", "Titre", "Date"]
|
||||
|
||||
EPS_BY_SEASONS = [
|
||||
28,
|
||||
@ -123,12 +122,8 @@ for season, table in enumerate(tables):
|
||||
except ValueError:
|
||||
continue
|
||||
|
||||
if episode <= VF_UNTIL:
|
||||
continue
|
||||
|
||||
color = extract_background(tr["style"])
|
||||
|
||||
if not color or color in GOOD_COLOR:
|
||||
out.writerow(
|
||||
{
|
||||
"SW": season,
|
||||
@ -136,6 +131,7 @@ for season, table in enumerate(tables):
|
||||
"Arc": current_arc(episode),
|
||||
"ST": thetvdb_season(episode),
|
||||
"ET": thetvdb_episode(episode),
|
||||
"Type": "C" if not color or color in GOOD_COLOR else "F",
|
||||
"Titre": tds[1].text.strip(),
|
||||
"Date": tds[4].text.strip(),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user