Christopher is a student in cinema and media studies. He needs to collect the top 100 rankings of different kind of movies to get enough database research, but it is too slow to copy and paste one by one manually. Please help him to write a web scraping program that allows him to get the top 100 movies and other necessary information quickly.
輸入說明 Input Description:
請利用 正規表示式 分析並抓取每種前100名電影的所有Rank、Rating、Title、No. of Reviews。
Please use specifically regular expression to analyze and capture all the Rank, Rating, Title, and No. of Reviews of each top 100 movies.
Please create a folder ./src/top100/{your name} if the folder doesn't exists, and save the received data in the form of DataFrame as CSV File (use Pandas) inside the folder. CSV file names must be related with the genres.
輸入範例 Input Example:
輸出範例 Output Example:
提示 Hint:
只能使用 Requests Library 以及 Regex Library 來實現爬蟲!
You can only use Requests Library and Regex Library to implement the web scraping.