Hi. I've got plenty of free time lately and I decide to make this script with the help of ChatGPT.
Usage: - Copy the code given into a .py file - Create two files in the same directory of the .py file, one named "urls.txt" with urls of problems on vjudge.com (one url on each line); and another one named "test.html" which will be the output of the program - Run the script and witness the results As you can clearly see, the scripts have lots of room for improvement - CSS design is virtually non-existent or too abhorrent - Cannot render out all pdf pages as pictures (Personally I think this is important because I intend to print this HTML) - Bad code rendering - HTML format is sluggish, non-standard - And even more ...
However, I believe the true value of this script lies in its ability to bundle problems so that i don't have to browse the web over and over again. You might not think that is necessary, but I ,for one, need to allocate my roaming data for much more important undertakings (i.e SHCD HUST K69 siuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu)
Any improvement or usage of the script is welcomed and encouraged. I will try to better the code, but do not ask me to help since the SHCD are really taking up a whole lot of my roaming data ... and time (maybe i don't have as much time as I imagined)
Anyway, thanks for reading
Auto comment: topic has been updated by tranducbo (previous revision, new revision, compare).
Auto comment: topic has been updated by tranducbo (previous revision, new revision, compare).
The scraped domain name in the mentioned script is inconsistent with this post. Please fix it to "vjudge.com".