Changeset 35128
- Timestamp:
- 2021-04-27T14:12:41+12:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/prepare/errata-categories/escwikipedia.py
r35127 r35128 302 302 ## debug_output_country_year_recs(country_year_recs) 303 303 304 # Splice in logo image for that year into each country_year_rec305 #infobox_table = esc_year_soup.find("table",{"class": "infobox"})306 #infobox_td = infobox_table.find("td",{"class": "infobox-image"})307 #infobox_img = infobox_td.find("img")308 309 #infobox_img = esc_year_soup.select("table.infobox td.infobox-image img")310 311 #infobox_img = esc_year_soup.select("table.infobox td.infobox-image img")312 #infobox_img = esc_year_soup.select("table.infobox td.infobox-image")313 # infobox_img = esc_year_soup.select("table.infobox")314 315 #infobox_table = esc_year_soup.find("table",{"class": "infobox"})316 #infobox_img = infobox_table.tbody.tr[0].td[0].a.img317 304 318 305 # Looks like Wikipedia has changed some of its infobox CSS
Note:
See TracChangeset
for help on using the changeset viewer.