Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoResults: No results found for query: v=111&t=&f=ind_advertisingagencies&o=price&s=&c= in screen.py #165

Open
c4road opened this issue Apr 27, 2023 · 1 comment

Comments

@c4road
Copy link
Contributor

c4road commented Apr 27, 2023

Probably another CSS mismatch in the template but before trying to figure it out perhaps you can spot it very quickly. I am getting this error when fetching by industry filter. Haven't tested all the industries but most of them fails.

--> 105 stock_list = Screener(filters=[filters], table=table, order=order)
106 if details:
107 stock_list = stock_list.get_ticker_details()

~/opt/anaconda3/lib/python3.9/site-packages/finviz/screener.py in init(self, tickers, filters, rows, order, signal, table, custom, user_agent, request_method)
126
127 self.analysis = []
--> 128 self.data = self.__search_screener()
129
130 def call(

~/opt/anaconda3/lib/python3.9/site-packages/finviz/screener.py in __search_screener(self)
434 )
435
--> 436 self._rows = self.__check_rows()
437 self.headers = self.__get_table_headers()
438

~/opt/anaconda3/lib/python3.9/site-packages/finviz/screener.py in __check_rows(self)
405
406 if self._total_rows == 0:
--> 407 raise NoResults(self._url.split("?")[1])
408 elif self._rows is None or self._rows > self._total_rows:
409 return self._total_rows
NoResults: No results found for query: v=111&t=&f=ind_advertisingagencies&o=price&s=&c=

I ran a loop over all Industries and nothing worked. Probably a general issue. Tested with Performance and Overview tables. Thanks in advance.

@glitchawy
Copy link

same issue here .. please update here when u get a solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants