mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Tweaked Hacker News recipe
This commit is contained in:
parent
02f58a2509
commit
c1173e30cf
@ -98,10 +98,6 @@ class HackerNews(BasicNewsRecipe):
|
||||
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)
|
||||
self.temp_files[-1].close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user