Quote:
Originally Posted by dgvirtual
.....I have no clue why...
|
me too,
try this
Code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__license__ = 'GPL v3'
__author__ = "mauropiccolo"
import re
class AdvancedUserRecipe1382294260(BasicNewsRecipe):
title = u'http://www.lrytas.lt/'
oldest_article = 7
max_articles_per_feed = 100
auto_cleanup = True
recursions = 5
feeds = [(u'Energetika',u'http://www.lrytas.lt/rss/?tema=47')]
def is_link_wanted(self, url, tag):
desc = self.tag_to_string(tag,False)
if "psl. >>" in desc:
self.log('Following multipage link: %s'%url)
return True
else:
return False