Hello?
I noticed that when you don't log in to the Hankyung Consensus site, PDFs are not visible in report posts from the public report collector source I shared last time.
So I put Hankyung Consensus's ID and password into the source code and used them for authentication to download the files.
Of course, there is a security issue because the ID and password are recorded in the source code without encryption. However, assuming that you will not share the source code with others and use it only yourself, I made it this way.
I tried to encrypt this part or retrieve it from a separate external file - for example, browser cookies? - but it was not easy to do through coding. ㅜㅜ
Still, I recommend that you create the ID and password with meaningless characters that you don't usually use, just in case.
Anyway, to download reports from Hankyung, please sign up at the site below first. Then, modify lines 447, 448 and 550, 551 in the source code.
https://id.hankyung.com/login/login.do
If you are uncomfortable, you can still use the source code as is. Only Hankyung will show an authentication error, and the other three sites will download normally.
And since we're modifying it anyway, I previously made it so that you could enter the desired date through text input. It was really inconvenient. So I changed it to a way where you can select the desired date from the calendar.
This concludes the sharing of the collector source code.
I hope this helps some of you. :)