Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
IMDb.py
README.md
data/top250/movies.csv
data/top250/movies.json
data/top50/movies.csv
data/top50/movies.json
data/top50/shows.csv
data/top50/shows.json
generate.sh
  • Loading branch information
crazyuploader committed Oct 30, 2024
1 parent be55897 commit e6760f5
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion IMDb.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def fetch_top_250_tv():
"""
Fetch the Top 250 TV Shows from IMDb and save them to a CSV file.
"""
print(f"Fetching Top 250 TV Shows from IMDb ->", IMDB_TOP_250_TV_URL)
print(f"Fetching Top 250 TV Shows from IMDb ->", IMDB_TOP_250_TV_URL)
fname = "data/top250/shows.csv"
ensure_path_directory(fname)

Expand Down
8 changes: 4 additions & 4 deletions data/top250/movies.csv
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ Rank, Movie Name, IMDb Rating, Movie Link
"147", "No Country for Old Men", "8.2", "https://www.imdb.com/title/tt0477348/"
"148", "Unforgiven", "8.2", "https://www.imdb.com/title/tt0105695/"
"149", "The Thing", "8.2", "https://www.imdb.com/title/tt0084787/"
"150", "The Wild Robot", "8.3", "https://www.imdb.com/title/tt29623480/"
"151", "A Beautiful Mind", "8.2", "https://www.imdb.com/title/tt0268978/"
"150", "A Beautiful Mind", "8.2", "https://www.imdb.com/title/tt0268978/"
"151", "The Wild Robot", "8.3", "https://www.imdb.com/title/tt29623480/"
"152", "Kill Bill: Vol. 1", "8.2", "https://www.imdb.com/title/tt0266697/"
"153", "The Treasure of the Sierra Madre", "8.2", "https://www.imdb.com/title/tt0040897/"
"154", "Yôjinbô", "8.2", "https://www.imdb.com/title/tt0055630/"
Expand Down Expand Up @@ -248,5 +248,5 @@ Rank, Movie Name, IMDb Rating, Movie Link
"246", "Rebecca", "8.1", "https://www.imdb.com/title/tt0032976/"
"247", "The Help", "8.1", "https://www.imdb.com/title/tt1454029/"
"248", "Cool Hand Luke", "8.1", "https://www.imdb.com/title/tt0061512/"
"249", "It Happened One Night", "8.1", "https://www.imdb.com/title/tt0025316/"
"250", "Koe no katachi", "8.1", "https://www.imdb.com/title/tt5323662/"
"249", "Koe no katachi", "8.1", "https://www.imdb.com/title/tt5323662/"
"250", "It Happened One Night", "8.1", "https://www.imdb.com/title/tt0025316/"
20 changes: 10 additions & 10 deletions data/top250/movies.json
Original file line number Diff line number Diff line change
Expand Up @@ -895,16 +895,16 @@
},
{
"Rank": "150",
"Movie Name": "The Wild Robot",
"IMDb Rating": "8.3",
"Movie Link": "https://www.imdb.com/title/tt29623480/"
},
{
"Rank": "151",
"Movie Name": "A Beautiful Mind",
"IMDb Rating": "8.2",
"Movie Link": "https://www.imdb.com/title/tt0268978/"
},
{
"Rank": "151",
"Movie Name": "The Wild Robot",
"IMDb Rating": "8.3",
"Movie Link": "https://www.imdb.com/title/tt29623480/"
},
{
"Rank": "152",
"Movie Name": "Kill Bill: Vol. 1",
Expand Down Expand Up @@ -1489,14 +1489,14 @@
},
{
"Rank": "249",
"Movie Name": "It Happened One Night",
"Movie Name": "Koe no katachi",
"IMDb Rating": "8.1",
"Movie Link": "https://www.imdb.com/title/tt0025316/"
"Movie Link": "https://www.imdb.com/title/tt5323662/"
},
{
"Rank": "250",
"Movie Name": "Koe no katachi",
"Movie Name": "It Happened One Night",
"IMDb Rating": "8.1",
"Movie Link": "https://www.imdb.com/title/tt5323662/"
"Movie Link": "https://www.imdb.com/title/tt0025316/"
}
]
2 changes: 1 addition & 1 deletion data/top50/movies.csv
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Rank, Movie Name, IMDb Rating, Link
"18", "Transformers One", "7.7", "https://www.imdb.com/title/tt8864596/"
"19", "The Shadow Strays", "6.5", "https://www.imdb.com/title/tt28349451/"
"20", "Trap", "5.9", "https://www.imdb.com/title/tt26753003/"
"21", "The Brutalist", "8.1", "https://www.imdb.com/title/tt8999762/"
"21", "The Brutalist", "8.2", "https://www.imdb.com/title/tt8999762/"
"22", "Outside", "5.1", "https://www.imdb.com/title/tt32643879/"
"23", "It's What's Inside", "6.6", "https://www.imdb.com/title/tt14577874/"
"24", "Longlegs", "6.7", "https://www.imdb.com/title/tt23468450/"
Expand Down
2 changes: 1 addition & 1 deletion data/top50/movies.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
{
"Rank": "21",
"Movie Name": "The Brutalist",
"IMDb Rating": "8.1",
"IMDb Rating": "8.2",
"Link": "https://www.imdb.com/title/tt8999762/"
},
{
Expand Down
4 changes: 2 additions & 2 deletions data/top50/shows.csv
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ Rank, Show Name, IMDb Rating, Link
"25", "Dandadan", "8.6", "https://www.imdb.com/title/tt30217403/"
"26", "Kaos", "7.5", "https://www.imdb.com/title/tt8550732/"
"27", "Creature Commandos", "0", "https://www.imdb.com/title/tt26545355/"
"28", "Before", "6.8", "https://www.imdb.com/title/tt13332622/"
"28", "Before", "6.7", "https://www.imdb.com/title/tt13332622/"
"29", "Cruel Intentions", "0", "https://www.imdb.com/title/tt15532306/"
"30", "Beauty in Black", "4.7", "https://www.imdb.com/title/tt31260386/"
"30", "Beauty in Black", "4.8", "https://www.imdb.com/title/tt31260386/"
"31", "Kidô senshi Gandamu: Fukushû no Requiem", "6.6", "https://www.imdb.com/title/tt30277745/"
"32", "English Teacher", "7.4", "https://www.imdb.com/title/tt20782190/"
"33", "The Day of the Jackal", "0", "https://www.imdb.com/title/tt24053860/"
Expand Down
4 changes: 2 additions & 2 deletions data/top50/shows.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
{
"Rank": "28",
"Show Name": "Before",
"IMDb Rating": "6.8",
"IMDb Rating": "6.7",
"Link": "https://www.imdb.com/title/tt13332622/"
},
{
Expand All @@ -176,7 +176,7 @@
{
"Rank": "30",
"Show Name": "Beauty in Black",
"IMDb Rating": "4.7",
"IMDb Rating": "4.8",
"Link": "https://www.imdb.com/title/tt31260386/"
},
{
Expand Down
2 changes: 1 addition & 1 deletion generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ csvtojson movies.csv >movies.json
csvtojson shows.csv >shows.json
echo ""
cd "${GITHUB_WORKSPACE}" || exit 1
cd data/top250 || exit 1
cd ../top250 || exit 1
csvtojson movies.csv >movies.json
csvtojson shows.csv >shows.json
echo ""
Expand Down

0 comments on commit e6760f5

Please sign in to comment.