mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
translate comments
This commit is contained in:
parent
3dccff1f94
commit
e5cc63b1c6
@ -33,7 +33,7 @@ class GN(BasicNewsRecipe):
|
||||
soup = self.index_to_soup('http://gosc.pl' + self.find_last_issue())
|
||||
self.cover_url = 'http://www.gosc.pl' + soup.find('div',attrs={'class':'fl-w100 release-wp'}).findAll('a')[-4].contents[0]['src']
|
||||
feeds = []
|
||||
# wstepniak
|
||||
# editorial:
|
||||
a = soup.find('div',attrs={'class':'release-wp-b'})
|
||||
art = a.find('a')
|
||||
articles = [
|
||||
@ -42,7 +42,7 @@ class GN(BasicNewsRecipe):
|
||||
'description' : self.tag_to_string(a.find('p',attrs={'class':'b lead'}))
|
||||
}]
|
||||
feeds.append((u'Wstępniak',articles))
|
||||
# kategorie
|
||||
# columns:
|
||||
for addr in soup.findAll('a',attrs={'href':re.compile('kategoria')}):
|
||||
if addr.string != u'wszystkie artyku\u0142y z tej kategorii \xbb':
|
||||
main_block = self.index_to_soup('http://www.gosc.pl' + addr['href'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user