sk364 / codechef-cli

CodeChef Command Line Client.
https://pypi.python.org/pypi/codechefcli
GNU General Public License v3.0
35 stars 36 forks source link

Handling Images in Problem Description #23

Open sk364 opened 6 years ago

sk364 commented 6 years ago

Currently, if there are image(s) in a problem description, nothing is displayed where the image is supposed to be.

Example: codechefcli --problem ZUBTRCNT compare with ZUBTRCNT Problem - Codechef

This can be handled either by
A.) prompting user to download the images found in description, or
B.) providing image url (possibly, in different color) in the description where the image is supposed to be.

rishabh3 commented 5 years ago

Hi I would like to work on this enhancement. I have cloned the project and started working already but I have one doubt regarding the 403 Forbidden error when I am trying to build the script locally and install it but the pip install codechefcli works normally. Can u please guide me about what could be the issue?

rishabh3 commented 5 years ago

Well I have overcome that error using the fake browser option but now for search of the problem it is giving the response as problem statement not found but the exact same problem works on the pip installed version of codechefcli

rishabh3 commented 5 years ago

Hi The above errors I was able to resolve and I have implemented the feature. Should I file a PR?

sk364 commented 5 years ago

@rishabh3 Sure!

abhranil08 commented 5 years ago

If this issue still persists, can I work on this?

yashali commented 5 years ago

I have filed a PR. Please review! Thanks! https://github.com/sk364/codechef-cli/pull/35

divyansshhh commented 5 years ago

I'm having an issue with running the default commands. Eg. When I run codechefcli --problem ZUBTRCNT I get the following error- Traceback (most recent call last): File "/home/divyansh/projects/codechef-cli/venv/bin/codechefcli", line 10, in <module> sys.exit(main()) File "/home/divyansh/projects/codechef-cli/venv/lib/python3.7/site-packages/codechefcli/__main__.py", line 173, in main for resp in resps: TypeError: 'NoneType' object is not iterable

naruto678 commented 4 years ago

hi I would like to work on this as a part of hacktober fest. Is this still open?