alex5250 / grepper_py

Simple project on Python that allow you to found solutions from codegrepper and display them in terminal.
MIT License
0 stars 0 forks source link

Stackoverflow support: #1

Open alex5250 opened 2 years ago

alex5250 commented 2 years ago

Version: Last Host OS : Linux Type: Binary Command used to run:

grepper_py --title "open file" --lang nodejs 

Config file:

[URL]
base_url_suffix = https://stackoverflow.com/search?q=
element_id = js-post-summary-stats
[CLI]
chrome_installed_warring = off

Output:

Solution 0:
0
votes
2
answers
148
views
Solution 1:
317
votes
36
answers
1.3m
views
Solution 2:
1
vote
2
answers
546
views
Solution 3:
0
votes
2
answers
14
views
Solution 4:
-1
votes
1
answer
125
views
Solution 5:

Expected output: An answers (code snippets ) Comment: Tried to solve problem using config only. That didn`t worked.

alex5250 commented 2 years ago

Version: Last Host OS : Linux Type: Binary Command used to run:

grepper_py --title "open file" --lang nodejs Config file:

[URL]

[URL]
base_url_suffix = https://stackoverflow.com/search?q=
element_id = s-post-summary
[CLI]
chrome_installed_warring = off

Output:

All fine!
Parsed from: https://stackoverflow.com/search?q=open file nodejs

Expected output: An answers (code snippets ) Comment: Tried to solve problem using config only. That didn`t worked.