mariostoev/finviz

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

c4road opened this issue · 1 comments

c4road commented

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.

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