gautamkrishnar / socli

Stack overflow command line client. Search and browse stack overflow without leaving the terminal :computer:
https://pypi.python.org/pypi/socli
BSD 3-Clause "New" or "Revised" License
1.1k stars 218 forks source link

search.py - fixed instant answer bug #288

Closed mostlyvirtual closed 2 years ago

mostlyvirtual commented 2 years ago

When using socli to search with Google, No results found always returned instead of the actual results. After troubleshooting, I tracked down the bug at line 88 in search.py where it tries to throw an IndexError on purpose when Instant Answers appear.

This should solve issu #287

welcome[bot] commented 2 years ago

Hello there!πŸ‘‹ Welcome to the project!πŸ’–

Thank you and congratsπŸŽ‰ for opening your first pull request.✨ You are awesome... Please adhere to our Code of Conduct.πŸ™Œ We will get back to you as soon as we can πŸ˜„.

gautamkrishnar commented 2 years ago

@mostlyvirtual thanks a lot for contributing.

@all-contributors please add @mostlyvirtual for code

allcontributors[bot] commented 2 years ago

@gautamkrishnar

I've put up a pull request to add @mostlyvirtual! :tada:

welcome[bot] commented 2 years ago

Congrats on merging your first pull request! πŸŽ‰ All the best for your amazing open source journey ahead πŸš€