Table of Contents
네이버, KBO 사이트 등 여러 사이트에서 한국 야구 1부 리그의 경기 결과를 찾아볼 수 있다. 하지만 이러한 방법의 문제점들은 내가 원하는 정보, 원하는 팀의 경기 결과 및 뉴스를 찾는 과정에서 많은 비용이 소모가 되는 것이다. 그래서 이 프로젝트에서 이러한 단점을 해결하고자 한다.
이 프로젝트는 매일 아침 08시에 KBO 및 스포키 사이트에서 필요한 데이터들을 크롤링하여 HTML문서로 변환하여 메일로 보내준다.
- Python3
- version: 3.11.8
- selenium
- version: 4.19.0
- used: Data Crawling
- pandas
- version: 2.2.1
- used: Excel File ConversionE
- requests
- vsrsion: 2.31.0
- used:Get HTML Resource
- bs4
- version: 0.0.2
- used: Data Scraping
- schedule
- version: 1.2.1
- used: Mail Schedule
- Clone the repo
git clone https://github.com/SIAT-Python-Project/KBO-Match-Result-Mail-System.git
- Install libraries
pip install selenium
pip install pandas
pip install requests
pip install bs4
pip install schedule
- Setting
cd ./KBO-Match-Result-Mail-System
mkdir ./IO
- Run main.py
python ./src/main.py
- Input setting-info
- Crawling KBO-data
- Converting crawled data to HTML
- Sending HTML file to mail
- Crawling recent match result
- Crawling next match info
- Crawling recent match scoreBox
- Crawling recent match news
- Crawling team ranking
- Crawling pitcher / hitter ranking
- Converting crawled data to HTML
- Sending mail
See the project issues for a full list of proposed features(and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
- Saving match info by date
- Saving team / player rank
- Changing input environment GUI from Terminal
- Searching player info
Sometimes, error occur during crawling. If so, please restart the server.
We are currently trying to resolve this error.
Sorry....
hg_yellow
- GitHub: hg_yellow
- Mail: [email protected]
배창민
- GitHub: Changchang
- Mail: [email protected]
조성민
- GitHub: Seong Min Cho
- Mail: [email protected]
Project Link: KBO-Match-Result-Mail-System
Project Team Link: SIAT-Python-Project