mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
fix to al-monitor.recipe
- prev version was getting confused by anchor tags
This commit is contained in:
parent
5c6e98a7e8
commit
2b8c7739a0
@ -95,7 +95,7 @@ class AlMonitor(BasicNewsRecipe):
|
|||||||
|
|
||||||
self._p('Got section. Processing links.')
|
self._p('Got section. Processing links.')
|
||||||
|
|
||||||
for link in soup.findAll('a'):
|
for link in soup.findAll('a', href=True):
|
||||||
href = link.get('href')
|
href = link.get('href')
|
||||||
text = self.text(link)
|
text = self.text(link)
|
||||||
if text and ('pulse/originals' in href):
|
if text and ('pulse/originals' in href):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user