From 8798d57f9ce449ffd080fa097181e6462e749047 Mon Sep 17 00:00:00 2001 From: NewAgeAirbender Date: Mon, 28 Nov 2022 13:13:31 -0600 Subject: [PATCH 1/3] PR: testing how far scrape gets --- scrapers/pr/bills.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scrapers/pr/bills.py b/scrapers/pr/bills.py index f8d6e84cef..6da2896841 100644 --- a/scrapers/pr/bills.py +++ b/scrapers/pr/bills.py @@ -143,6 +143,7 @@ def scrape_chamber( tipo=None, bill_no=None, ): + print("scrape chamber") start_year = session[0:4] chamber_letter = {"lower": "C", "upper": "S"}[chamber] From c99484852fc172f90cdaf4ea07e2e9dc4678ef12 Mon Sep 17 00:00:00 2001 From: NewAgeAirbender Date: Wed, 28 Dec 2022 12:42:36 -0600 Subject: [PATCH 2/3] PR: skip verification --- scrapers/pr/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scrapers/pr/__init__.py b/scrapers/pr/__init__.py index dcb8923575..3196d13283 100644 --- a/scrapers/pr/__init__.py +++ b/scrapers/pr/__init__.py @@ -50,4 +50,5 @@ def get_session_list(self): return url_xpath( "https://sutra.oslpr.org/osl/esutra/", '//select[@id="ctl00_CPHBody_Tramites_lovCuatrienio"]/option/text()', + False, ) From 93582e7974c12b9277ec34f7a4f5a13e3980fae7 Mon Sep 17 00:00:00 2001 From: NewAgeAirbender <34139325+NewAgeAirbender@users.noreply.github.com> Date: Thu, 30 Nov 2023 13:47:10 -0600 Subject: [PATCH 3/3] PR: remove debug bit --- scrapers/pr/bills.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scrapers/pr/bills.py b/scrapers/pr/bills.py index 4233830bd6..86a7e2243a 100644 --- a/scrapers/pr/bills.py +++ b/scrapers/pr/bills.py @@ -140,7 +140,6 @@ def scrape_chamber( tipo=None, bill_no=None, ): - print("scrape chamber") start_year = session[0:4] chamber_letter = {"lower": "C", "upper": "S"}[chamber]