codechef-cli icon indicating copy to clipboard operation
codechef-cli copied to clipboard

Handling Images in Problem Description

Open sk364 opened this issue 7 years ago • 9 comments

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.

sk364 avatar Mar 01 '18 19:03 sk364

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 avatar Dec 12 '18 04:12 rishabh3

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 avatar Dec 12 '18 04:12 rishabh3

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

rishabh3 avatar Dec 13 '18 14:12 rishabh3

@rishabh3 Sure!

sk364 avatar Dec 18 '18 19:12 sk364

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

abhranil08 avatar Mar 10 '19 17:03 abhranil08

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

yashali avatar Aug 25 '19 12:08 yashali

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

divyansshhh avatar Oct 09 '19 20:10 divyansshhh

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

naruto678 avatar Oct 04 '20 15:10 naruto678