M src/congress/deputies.rs => src/congress/deputies.rs +0 -2
@@ 68,7 68,6 @@ fn extract(l: &Legislature) -> std::result::Result<Vec<CongressMember>, Error> {
for h3 in h3_list.filter_map(|h| super::with_title(h, "Diputados por distrito".to_string())) {
let table = h3.as_node().next_sibling().unwrap().next_sibling().unwrap();
- println!(" {:?}", h3.as_node().text_contents());
for tr in table.select("tr:not(:first-child)").unwrap() {
let cols: Vec<kuchiki::NodeDataRef<ElementData>> = tr.as_node()
.select("td")
@@ 96,7 95,6 @@ fn extract(l: &Legislature) -> std::result::Result<Vec<CongressMember>, Error> {
let h3_list = document.select("h3").unwrap();
for h3 in h3_list.filter_map(|h| super::with_title(h, "Diputados por representaci".to_string())) {
let table = h3.as_node().next_sibling().unwrap().next_sibling().unwrap();
- println!(" {:?}", h3.as_node().text_contents());
for tr in table.select("tr:not(:first-child)").unwrap() {
let td: Vec<kuchiki::NodeDataRef<ElementData>> = tr.as_node()
.select("td")
M src/congress/senators.rs => src/congress/senators.rs +0 -1
@@ 70,7 70,6 @@ fn extract(l: &Legislature) -> std::result::Result<Vec<CongressMember>, Error> {
for h3 in h3_list.filter_map(|h| super::with_title(h, "entidad federativa".to_string())) {
let table = h3.as_node().next_sibling().unwrap().next_sibling().unwrap();
- println!(" {:?}", h3.as_node().text_contents());
for tr in table.select("tr:not(:first-child)").unwrap() {
let cols: Vec<kuchiki::NodeDataRef<ElementData>> = tr.as_node()
.select("td")