diff --git a/recipes/gosc_full.recipe b/recipes/gosc_full.recipe index 300a04cf59..05ad54489b 100644 --- a/recipes/gosc_full.recipe +++ b/recipes/gosc_full.recipe @@ -23,7 +23,7 @@ class GN(BasicNewsRecipe): def find_last_issue(self): raw = self.index_to_soup('http://m.gosc.pl/wyszukaj/wydania/3.Gosc-Niedzielny/', raw=True) doc = html.fromstring(raw) - page = doc.xpath('//div[@class="search-result"]/div[1]/div[1]/a/@href') + page = doc.xpath('//div[@class="search-result release-result"]/div[1]/div[1]/a/@href') if time.strftime("%w") in ['3','4']: return page[5] diff --git a/recipes/gosc_niedzielny.recipe b/recipes/gosc_niedzielny.recipe index ca523f448c..9996992be3 100644 --- a/recipes/gosc_niedzielny.recipe +++ b/recipes/gosc_niedzielny.recipe @@ -22,7 +22,7 @@ class GN(BasicNewsRecipe): def find_last_issue(self): raw = self.index_to_soup('http://gosc.pl/wyszukaj/wydania/3.Gosc-Niedzielny/', raw=True) doc = html.fromstring(raw) - page = doc.xpath('//div[@class="c"]//div[@class="search-result"]/div[1]/div[2]/h1//a/@href') + page = doc.xpath('//div[@class="search-result release-result"]/div[1]/div[2]/h1//a/@href') return page[0]