mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-03 05:57:23 +01:00
Fix Ars Tecnica
This commit is contained in:
parent
b41704341f
commit
b407015ab8
1 changed files with 1 additions and 5 deletions
|
|
@ -60,7 +60,7 @@ def append_page(self, soup, appendtag, position):
|
|||
nurl = 'http://arstechnica.com' + atag['href']
|
||||
rawc = self.index_to_soup(nurl,True)
|
||||
soup2 = BeautifulSoup(rawc, fromEncoding=self.encoding)
|
||||
|
||||
|
||||
readmoretag = soup2.find('div', attrs={'class':'read-more-link'})
|
||||
if readmoretag:
|
||||
readmoretag.extract()
|
||||
|
|
@ -90,7 +90,3 @@ def preprocess_html(self, soup):
|
|||
|
||||
return soup
|
||||
|
||||
def get_article_url(self, article):
|
||||
return article.get('feedburner_origlink', None).rpartition('?')[0]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue