You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Scan congress directories for existing TOML files
147
+
3. Only attempt to download missing files
148
+
4. Update index.yml with all existing bills
149
+
150
+
### Common Error Messages
151
+
152
+
**Timeout errors:**
153
+
```
154
+
⏱️ Timeout for SBN-1233
155
+
```
156
+
Solution: Use `--skip-existing` to retry only failed downloads
157
+
158
+
**Server disconnection:**
159
+
```
160
+
❌ Error fetching SBN-1791: Server disconnected
161
+
```
162
+
Solution: Use `--skip-existing` and optionally reduce `--workers` to decrease server load
163
+
109
164
## Known Issues
110
165
166
+
-**Senate Website Data Errors**: Some bills appear in search results but their detail pages return server errors (e.g., SBN-1273 in Congress 19). These are bugs on the Senate website itself.
111
167
-**HBN Bill Gaps**: HBN bills have non-consecutive numbering with massive gaps. For Congress 19, bills include: 1, 4, 5, 14, 24, 102, 198, 425, 1028... up to 11545
112
168
-**ASP.NET Forms**: The website uses ASP.NET postback forms for dropdown changes, which is why Selenium is used for discovery
113
169
-**Rate Limiting**: Be respectful and don't overwhelm the server. The scraper includes built-in delays
@@ -117,4 +173,11 @@ congress/
117
173
1.**Extract metadata** to get congress-specific reference data for senators, committees, and statuses (defaults to congresses 13-20)
118
174
2.**Discover bills** to get all bill numbers (handles non-consecutive HBN bills)
119
175
3.**Fetch details** with multiple workers for fast parallel processing
120
-
4.**Import to Neo4j** using the structured TOML files with proper codes for relationships
176
+
4.**Import to Neo4j** using the structured TOML files with proper codes for relationships
177
+
178
+
## Performance Tips
179
+
180
+
- Use `--workers` to adjust concurrent requests (default: 20)
181
+
- Higher worker counts speed up fetching but may cause more timeouts
182
+
- Use `--skip-existing` for incremental updates or recovery from failures
183
+
- Discovery phase requires browser automation and is slower than fetching
title = "BRGY. STO. NIÑO AGRICULTURAL LAND (OCCIDENTAL MINDORO)"
7
+
longTitle = "AN ACT DECLARING A PARCEL OF LAND OF THE PUBLIC DOMAIN LOCATED IN BARANGAY STO. NIÑO, MUNICIPALITY OF SABLAYAN, PROVINCE OF OCCIDENTAL MINDORO AN AGRICULTURAL LAND OPEN TO DISPOSITION FOR RESIDENTIAL, COMMERCIAL, INDUSTRIAL AND OTHER PRODUCTIVE PURPOSES"
title = "SIEMBRE NATIONAL HIGH SCHOOL (CAMARINES SUR)"
7
+
longTitle = "AN ACT SEPARATING THE SULPICIO A. ROCO MEMORIAL HIGH SCHOOL - SIEMBRE ANNEX IN BARANGAY SIEMBRE, MUNICIPALITY OF BOMBON, PROVINCE OF CAMARINES SUR FROM THE SULPICIO A. ROCO INDEPENDENT NATIONAL HIGH SCHOOL TO BE KNOWN AS THE SIEMBRE NATIONAL HIGH SCHOOL AND APPROPRIATING FUNDS THEREFOR"
8
+
scope = "Local"
9
+
subject = [ "Schools, Conversion (Camarines Sur)", "Siembre National High School (Camarines Sur)",]
action = "Filed in the Senate requesting for concurrence by Representatives LUIS R. VILLAFUERTE, EDMUNDO O. REYES JR. and ROLANDO G. ANDAYA JR., as authors;"
19
+
20
+
[[legislativeHistory]]
21
+
date = "1/18/2006"
22
+
action = "Read on First Reading and Referred to the Committee(s) on EDUCATION, ARTS AND CULTURE and FINANCE;"
longTitle = "AN ACT SEPARATING THE LEPANTO NATIONAL HIGH SCHOOL - BALILI ANNEX IN BARANGAY \\BALILI, MUNICIAPALITY OF MANKAYAN, PROVINCE OF BENGUET FROM THE LEPANTO NATIONAL HIGH SCHOOL, CONVERTING IT INTO AN INDEPENDENT NATIONAL HIGH SCHOOL TO BE KNOWN AS THE BALILI NATIONAL HIGH SCHOOL AND APPROPRIATING FUNDS THEREFOR"
8
+
scope = "Local"
9
+
subject = [ "Balili National High School (Benguet)",]
action = "Filed in the Senate requesting for concurrence by Representatives SAMUEL M. DANGWA, EDMUNDO O. REYES JR., ROLANDO G. ANDAYA JR. and EULOGIO 'AMANG' R. MAGSAYSAY, as authors;"
19
+
20
+
[[legislativeHistory]]
21
+
date = "1/18/2006"
22
+
action = "Read on First Reading and Referred to the Committee(s) on EDUCATION, ARTS AND CULTURE and FINANCE;"
title = "DR. SANTIAGO DAKUDAO SR. NATIONAL HIGH SCHOOL (DAVAO)"
7
+
longTitle = "AN ACT SEPARATING THE F. BANGOY NATIONAL HIGH SCHOOL – PANACAN ANNEX IN BARANGAY PANACAN, CITY OF DAVAO FROM THE F. BANGOY NATIONAL HIGH SCHOOL, CONVERTING IT INTO AN INDEPENDENT NATIONAL HIGH SCHOOL TO BE KNOWN AS THE DR. SANTIAGO DAKUDAO SR. NATIONAL HIGH SCHOOL AND APPROPRIATING FUNDS THEREFOR"
8
+
scope = "Local"
9
+
subject = [ "Schools, Conversion (Davao)", "Dr. Santiago Dakudao Sr. National High School (Davao)",]
action = "Filed in the Senate requesting for concurrence by Representatives VINCENT J. GARCIA, EDMUNDO O. REYES JR., ROLANDO G. ANDAYA JR. and EULOGIO 'AMANG' R. MAGSAYSAY, as authors;"
19
+
20
+
[[legislativeHistory]]
21
+
date = "5/18/2006"
22
+
action = "Read on First Reading and Referred to the Committee(s) on EDUCATION, ARTS AND CULTURE and FINANCE;"
0 commit comments