"Harvest moon - Welcome! Wind's Bazaar" is one of Nintendo’s NDS games. It is a member of the Harvest moon series.
This repo is base on web crawling recipe of the game "Harvest moon - Welcome! Wind's Bazaar".
The recipe is base on the webpages below:
salad and soup / appetizer / main course / dessert / others
You can enter multiple ingredients in Chinese(traditional), 1 space after each ingredient except the last one you input.
After the input, a table(DataFrame) will be printed.
In the table, there are:
- The name of the dish
- The name of the ingredients
- The kitchenware that you need
- The price when it is a 5 star dish
If you input the word "index", all of the recipes will be printed out.
There is a game that I played before on NDSL, called "Harvest moon - Welcome! Wind's Bazaar" (of course Chinese version).
However, I somehow lost my NDSL since I am busy studing when I was a junior high school student.
At the summer vacation from sophomore to junior, my dad gave me a box and said: I found this in a drawer, is that yours?
I quickly recognized that the thing in the box was the NDSL I lost in the junior high school.
Now, I can finally enjoy this game that I haven't play since 14 years old.
It's a pity that I forgot all of the recipes in this game. Thus, I decided to write a program to help me deal with this problem.
- Install the library "pandas"
pip install pandas
- Install the library "requests"
pip install requests
- Install the library "BeautifulSoup"
pip install BeautifulSoup
- Clone this repository
git clone https://github.com/michael21910/harvest-moon-receipe-web-crawler.git
- Execute the program file "HM DS-recipe web crawler.py"
- Input the ingredient(s) you want to
A nice dataframe, including four informations:
- The name of the dish
- The name of the ingredients
- The kitchenware that you need
- The price when it is a 5 star dish
The user inputs: “油 牛奶”
The output should be as follows(DataFrame).
名稱 | 材料 | 廚具 | 市場賣價 | |
---|---|---|---|---|
1 | 甜甜圈 | [小麥粉, 油, 雞蛋, 牛奶, 黃油] | - | 1230 |
2 | 蛋包飯 | [油, 牛奶, 雞蛋, 米飯] | 煎鍋 | 1000 |
3 | 煎雞蛋捲 | [油, 牛奶, 雞蛋] | - | 840 |
MIT © Tsuen Hsueh