Stuck at a codechef problem...want to refer a solution but confused among such a whole lot of submissions. This script for codechef automates the process of finding the best solution among thousands of programs and gives you the best according to Time & Space complexity in the language you want.
pip install -r requirements.txt
python3 scrape.py <command-line options and arguments>
-u, --url
-> Required. Mention url of codechef problem submissions
-l, --lang
-> Optional. Mention the language of solution you want. choose option u want ['pyth', 'pyth3', 'pypy', 'pypy3', 'c', 'cpp14', 'cpp17', 'java']
-s, --sort
-> Optional. To sort the best solutions according to Time or Space complexity. choose options you want [Time, Mem, Date]
python3 scrape.py -u "<URL HERE>"
python3 scrape.py -u "<URL HERE>" -l pyth3
python3 scrape.py -u "<URL HERE>" -s Mem