From aaa4891343b34bb5af8dfadcc5cbdac2059f93c1 Mon Sep 17 00:00:00 2001 From: evilhero Date: Mon, 14 Jan 2013 00:14:08 -0500 Subject: [PATCH] FIX: forgot to include updated parse for #151 --- mylar/parseit.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mylar/parseit.py b/mylar/parseit.py index 02b52850..af807194 100755 --- a/mylar/parseit.py +++ b/mylar/parseit.py @@ -499,17 +499,17 @@ def ComChk(ComicName, ComicYear, ComicPublisher, Total, ComicID): cnt1 = len(soup.findAll("tr", {"class" : "listing_even"})) cnt2 = len(soup.findAll("tr", {"class" : "listing_odd"})) - try: - cntit = soup.find("div", {"class" : "item_data"}) +# try: +# cntit = soup.find("div", {"class" : "item_data"}) # catchit = pubst('a')[0] - except (IndexError, TypeError): - cntit = soup.findAll("div", {"class" : "left"})[1] +# except (IndexError, TypeError): +# cntit = soup.findAll("div", {"class" : "left"})[1] # catchit = pubst.find("a") - truecnt = cntit.findNext(text=True) +# truecnt = cntit.findNext(text=True) cnt = int(cnt1 + cnt2) - print ("truecnt: " + str(truecnt)) +# print ("truecnt: " + str(truecnt)) print ("cnt1: " + str(cnt1)) print ("cnt2: " + str(cnt2)) print (str(cnt) + " results")