I want to clear some data of the following url using Python. http://www.hankyung.com/stockplus/main.php?module=stock&mode=stock_analysis_infomation&itemcode=078340
This is about company summary information.
What I want to clear does not appear on the first page. By clicking on the tab with the name "μ¬λ¬΄ μ ν", you can access the financial statements. And by clicking the tab named "νκΈ νλ¦ν", you can access the "Cash Flow".
I want to clear the Cash Flow data.
However, cash flow data is generated by javascript throughout the url. The following link is a hidden url, http://stock.kisline.com/compinfo/financial/main.action?vhead=N&vfoot=N&vstay=&omit=&vwidth=
Cash flow data is generated by sending some parameter value and cookie to this URL.
As you understand, itemcode = 078340 in the first link means the stock code, and there are 1680 shares that I want to collect cash flow data. I want to create a loop structure.
Is there a good way to clear cash flow data? I tried to script, but it's hard for me to handle my other scratching code that I use.
javascript python web-scraping screen-scraping
trigger
source share