From def519dd37b5c5ed5f0d3de8b644dc54a6abba16 Mon Sep 17 00:00:00 2001 From: Tianning Li Date: Wed, 2 Mar 2022 14:24:58 -0800 Subject: [PATCH] fix custom screener --- finvizfinance/screener/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finvizfinance/screener/custom.py b/finvizfinance/screener/custom.py index ac6aa75..75546cc 100644 --- a/finvizfinance/screener/custom.py +++ b/finvizfinance/screener/custom.py @@ -209,7 +209,7 @@ def screener_view( url = url.replace("o=", "o=-") url += "&c=" + ",".join(columns) soup = web_scrap(url) - table = soup.findAll("table")[18] + table = soup.findAll("table")[19] rows = table.findAll("tr") df = self._screener_helper( i, page, rows, df, num_col_index, table_header, limit