url : https://finance.naver.com/sise/dividend_list.naver?sosok=KOSPI
It consists of 2 python files, (1. KOSPI(KOSDAQ)_Write.py) and (2. KOSPI(KOSDAQ)_Load.py). First of all, in 1. KOSPI(KOSDAQ)_Write.py, this application gets an URL in which they have the data, information that we want. And then, the application requests an access to the URL for parsing, which means that we could extract the data according to HTML Tag (<>,). Through this process we can make a CSV file and save the data.Secondly, in 2. KOSPI(KOSDAQ)_Load.py, this application opens a User Interface (UI). Based on the data taken from 1. KOSPI(KOSDAQ)_Write.py, the application lists the names of enterprises on left. If users could not find easily by scrolling up/down, they search directly by typing its name. On right, it shows the data related in the enterprise. And by clicking the button “Graph”, the changes for 3 years show in the form of graph.
- List
- Search
- It allows to access a certain site. It’s the first step of Web Crawling. - It allows to parse the data based on HTML’s Tag. Once we success requesting the site, this library collects the data. As programmers, they have to consider how the tags are related to each other. We can think about subordinate relation for example. - It allows to make a CSV file and to write in. Once the HTML Text are well parsed, we can easily use the data. - It allows to design a User Interface (UI). Thanks to this library, I could make a window, scroll box, list box, button, message box and Grid to arrange the data showed on application. - It’s a powerful library to visualize the data. There are various forms of graph, and I chose a simple plot for this application.
It takes a time to gather the data from Web Server (URL). And sometimes, some Web Server refuses the access of Request. Therefore, it’s highly recommended to find other ways to extract the data. It takes a time to gather the data from Web Server (URL). And sometimes, some Web Server refuses the access of Request. Therefore, it’s highly recommended to find other ways to extract the data.