diff --git a/recipes/lrb_payed.recipe b/recipes/lrb_payed.recipe
index 8d6e0055a2..85ed5221b2 100644
--- a/recipes/lrb_payed.recipe
+++ b/recipes/lrb_payed.recipe
@@ -44,7 +44,7 @@ class LondonReviewOfBooksPayed(BasicNewsRecipe):
articles = []
soup = self.index_to_soup(self.INDEX)
cover_item = soup.find('p', attrs={'class': 'cover'})
- dates = str(soup.find('span', attrs={'class': 'coverdate'}))
+ dates = type(u'')(soup.find('span', attrs={'class': 'coverdate'}))
newdates = re.sub(r'\<.*\>', '', re.split('
', dates)[1])
self.timefmt = ' [%s]' % newdates
lrbtitle = self.title
diff --git a/recipes/smilezilla.recipe b/recipes/smilezilla.recipe
index 24e8ca51bd..18678bc770 100644
--- a/recipes/smilezilla.recipe
+++ b/recipes/smilezilla.recipe
@@ -43,7 +43,7 @@ class SmileZilla(BasicNewsRecipe):
if img['src'].startswith('/'):
img['src'] = 'http://www.smilezilla.com' + img['src']
pt = PersistentTemporaryFile('.html')
- pt.write(str(soup.html).encode(self.encoding))
+ pt.write(type(u'')(soup.html).encode(self.encoding))
pt.close()
cache[url] = pt.name
return soup
@@ -63,7 +63,7 @@ class SmileZilla(BasicNewsRecipe):
section_title = self._get_section_title(soup)
todays_jokes = []
for hr in enumerate(jokes_entry.findAll('hr')):
- title = 'Joke ' + str(hr[0] + 1)
+ title = 'Joke ' + type(u'')(hr[0] + 1)
url = self.JOKES_INDEX
todays_jokes.append({'title': title, 'url': url,
'description': '', 'date': ''})
@@ -75,7 +75,7 @@ class SmileZilla(BasicNewsRecipe):
todays_stories = []
for hr in enumerate(entry.findAll('hr')):
- title = 'Story ' + str(hr[0] + 1)
+ title = 'Story ' + type(u'')(hr[0] + 1)
current = hr[1]
while True:
current = current.findPrevious()
@@ -105,7 +105,7 @@ class SmileZilla(BasicNewsRecipe):
entry = self._get_entry(soup)
soup2 = BeautifulSoup('