mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 18:53:40 +02:00
Tweaked Hacker News recipe
This commit is contained in:
parent
02f58a2509
commit
c1173e30cf
1 changed files with 0 additions and 4 deletions
|
|
@ -97,10 +97,6 @@ def get_obfuscated_article(self, url):
|
|||
content = u'<html><body><img src="' + url + u'"></body></html>'
|
||||
else:
|
||||
content = self.get_readable_content(url)
|
||||
|
||||
f = open('/tmp/hn_content.html', 'w')
|
||||
f.write(content)
|
||||
f.close()
|
||||
|
||||
self.temp_files.append(PersistentTemporaryFile('_fa.html'))
|
||||
self.temp_files[-1].write(content)
|
||||
|
|
|
|||
Loading…
Reference in a new issue