socli
Advanced tools
+4
-0
| SoCLI Changelog | ||
| ================ | ||
| Release 7.0 | ||
| --------------------------- | ||
| * Fixes for google search | ||
| Release 6.9 | ||
@@ -5,0 +9,0 @@ --------------------------- |
+6
-2
| Metadata-Version: 2.1 | ||
| Name: socli | ||
| Version: 6.9 | ||
| Version: 7.0 | ||
| Summary: Stack overflow command line interface. SoCLI allows you to search and browse stack overflow from the terminal. | ||
@@ -108,3 +108,3 @@ Home-page: https://www.github.com/gautamkrishnar/socli | ||
| ##### User Profile Browsing | ||
| Just use the command below to set your [user ID]( http://meta.stackexchange.com/a/111130) in socli. When you execute the command next time, it will automaticially fetch the data. | ||
| Just use the command below to set your [user ID]( http://meta.stackexchange.com/a/111130) in socli. When you execute the command next time, it will automatically fetch the data. | ||
| ```sh | ||
@@ -282,2 +282,6 @@ socli -u | ||
| </tr> | ||
| <tr> | ||
| <td align="center"><a href="https://bandism.net/"><img src="https://avatars.githubusercontent.com/u/22633385?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ikko Ashimine</b></sub></a><br /><a href="https://github.com/gautamkrishnar/socli/commits?author=eltociear" title="Documentation">π</a></td> | ||
| <td align="center"><a href="https://uknowwhoim.me/"><img src="https://avatars.githubusercontent.com/u/51323747?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sidharth Ajithkumar</b></sub></a><br /><a href="https://github.com/gautamkrishnar/socli/commits?author=UKnowWhoIm" title="Code">π»</a></td> | ||
| </tr> | ||
| </table> | ||
@@ -284,0 +288,0 @@ |
+5
-1
@@ -98,3 +98,3 @@ # SoCLI [ ](https://pypi.org/project/socli/) [](https://travis-ci.com/gautamkrishnar/socli) [](https://www.collaborizm.com/project/S1cbUui6) [](https://gitter.im/socli-community/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
| ##### User Profile Browsing | ||
| Just use the command below to set your [user ID]( http://meta.stackexchange.com/a/111130) in socli. When you execute the command next time, it will automaticially fetch the data. | ||
| Just use the command below to set your [user ID]( http://meta.stackexchange.com/a/111130) in socli. When you execute the command next time, it will automatically fetch the data. | ||
| ```sh | ||
@@ -272,2 +272,6 @@ socli -u | ||
| </tr> | ||
| <tr> | ||
| <td align="center"><a href="https://bandism.net/"><img src="https://avatars.githubusercontent.com/u/22633385?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ikko Ashimine</b></sub></a><br /><a href="https://github.com/gautamkrishnar/socli/commits?author=eltociear" title="Documentation">π</a></td> | ||
| <td align="center"><a href="https://uknowwhoim.me/"><img src="https://avatars.githubusercontent.com/u/51323747?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sidharth Ajithkumar</b></sub></a><br /><a href="https://github.com/gautamkrishnar/socli/commits?author=UKnowWhoIm" title="Code">π»</a></td> | ||
| </tr> | ||
| </table> | ||
@@ -274,0 +278,0 @@ |
| Metadata-Version: 2.1 | ||
| Name: socli | ||
| Version: 6.9 | ||
| Version: 7.0 | ||
| Summary: Stack overflow command line interface. SoCLI allows you to search and browse stack overflow from the terminal. | ||
@@ -108,3 +108,3 @@ Home-page: https://www.github.com/gautamkrishnar/socli | ||
| ##### User Profile Browsing | ||
| Just use the command below to set your [user ID]( http://meta.stackexchange.com/a/111130) in socli. When you execute the command next time, it will automaticially fetch the data. | ||
| Just use the command below to set your [user ID]( http://meta.stackexchange.com/a/111130) in socli. When you execute the command next time, it will automatically fetch the data. | ||
| ```sh | ||
@@ -282,2 +282,6 @@ socli -u | ||
| </tr> | ||
| <tr> | ||
| <td align="center"><a href="https://bandism.net/"><img src="https://avatars.githubusercontent.com/u/22633385?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ikko Ashimine</b></sub></a><br /><a href="https://github.com/gautamkrishnar/socli/commits?author=eltociear" title="Documentation">π</a></td> | ||
| <td align="center"><a href="https://uknowwhoim.me/"><img src="https://avatars.githubusercontent.com/u/51323747?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sidharth Ajithkumar</b></sub></a><br /><a href="https://github.com/gautamkrishnar/socli/commits?author=UKnowWhoIm" title="Code">π»</a></td> | ||
| </tr> | ||
| </table> | ||
@@ -284,0 +288,0 @@ |
+7
-9
@@ -87,10 +87,10 @@ """ | ||
| question_title = result.find("h3").get_text().replace(' - Stack Overflow', '') | ||
| # Instant answers will raise IndexError here | ||
| question_desc = result.find("div", recursive=False).find("div",recursive=False) \ | ||
| .findAll("div",recursive=False)[1].find("span",recursive=False) \ | ||
| .findAll("div",recursive=False)[1].findAll("div",recursive=False)[1] \ | ||
| .findAll("span",recursive=False)[1].getText() | ||
| if question_desc == "": # For avoiding instant answers | ||
| raise NameError # Explicit raising | ||
| question_url = result.find("a").get("href") # Retrieves the Stack Overflow link | ||
| question_url = fix_google_url(question_url.lower()) | ||
| if question_url is None: | ||
@@ -102,6 +102,4 @@ i = i - 1 | ||
| i += 1 | ||
| except NameError: | ||
| except (NameError, AttributeError, IndexError): | ||
| continue | ||
| except AttributeError: | ||
| continue | ||
@@ -118,3 +116,3 @@ # Check if there are any valid question posts | ||
| :param soup | ||
| extacts comments on the answers | ||
| extracts comments on the answers | ||
| """ | ||
@@ -211,3 +209,3 @@ comments_list = [] | ||
| try: | ||
| soup.find_all("div", class_="question-summary")[0] # For explictly raising exception | ||
| soup.find_all("div", class_="question-summary")[0] # For explicitly raising exception | ||
| tmp = (soup.find_all("div", class_="question-summary")) | ||
@@ -214,0 +212,0 @@ tmp1 = (soup.find_all("div", class_="excerpt")) |
+1
-1
@@ -1,1 +0,1 @@ | ||
| __version__ = '6.9' | ||
| __version__ = '7.0' |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
191801
0.97%1890
-0.16%