Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
No results found... - for any query #163
Tried a bunch of queries but even the reference one does not seem to work:
Backers (Total: $10.00)
IssueHunt has been backed by the following sponsors. Become a sponsor
@isaac-philip please make sure that you use https://github.com/gautamkrishnar/socli/tree/refactoring branch
getting error in having same module name - socli under package - socli
Bunch of errors I could get in Python-3.6 are,
Python 3.6.2 (v3.6.2:5fd33b5926, Jul 16 2017, 20:11:06) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import socli.user Traceback (most recent call last): File "<stdin>", line 1, in <module> File " /Development/github/socli/socli/user.py", line 8, in <module> import socli.printer as pr File " /Development/github/socli/socli/printer.py", line 14, in <module> from socli import search as search, tui as tui File " /Development/github/socli/socli/search.py", line 15, in <module> import socli.tui File " /Development/github/socli/socli/tui.py", line 9, in <module> import socli.printer as pr AttributeError: module 'socli' has no attribute 'printer'
Other similar errors depending on which package i would try to import or run.
would like to move the entire contents of socli into
Let me know if thats ok and I am bit confused how things were executing till now?
Maybe I am doing something wrong ?
@isaac-philip thanks a lot
Hey @gautamkrishnar , please checkout and run my committed code.
I have commiteed for direction since the results are random.
What happens is that after a fresh hit to the api, after few hits the result received is not as per our expectation.
Two searches are tuned to the expected html (in the commit - html_result_expected.html)
The question/desc I could improve and that seems to be a definite part of the future commit.
I looked to utilize retries and cookies but both don't seem that much of a difference to me.
Using cookies can be beneficial but my code debugs with retries does not yield any difference.
Its like when the google search api decides to give out the other set of html it will give it for a period of say 3-4 minutes till it reverts back to our expected html.
The retries placed in search are just for debugginng now since it doesn't yield any differennt results and only makes Google search complain that we are sending many calls/traffic.
Please advise on the direction that I should employ after you checkout and have a run to better understand my view.