fix to al-monitor.recipe

- prev version was getting confused by anchor tags
This commit is contained in:
swerling 2018-03-18 17:48:01 -04:00
parent 5c6e98a7e8
commit 2b8c7739a0

View File

@ -95,7 +95,7 @@ class AlMonitor(BasicNewsRecipe):
self._p('Got section. Processing links.')
for link in soup.findAll('a'):
for link in soup.findAll('a', href=True):
href = link.get('href')
text = self.text(link)
if text and ('pulse/originals' in href):