mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
7c0f34f6ed
commit
743a9690bb
@ -1,4 +1,4 @@
|
|||||||
from calibre.web.feeds.news import BasicNewsRecipe, classes
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
class newslaundry(BasicNewsRecipe):
|
class newslaundry(BasicNewsRecipe):
|
||||||
title = 'Newslaundry'
|
title = 'Newslaundry'
|
||||||
@ -32,5 +32,6 @@ class newslaundry(BasicNewsRecipe):
|
|||||||
# return soup
|
# return soup
|
||||||
|
|
||||||
def print_version(self, url):
|
def print_version(self, url):
|
||||||
if 'hindi.newslaundry' in url: self.abort_article('Skipping hindi article') # remove this line if you want hindi articles.
|
if 'hindi.newslaundry' in url:
|
||||||
|
self.abort_article('Skipping hindi article') # remove this line if you want hindi articles.
|
||||||
return url
|
return url
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from calibre.web.feeds.news import BasicNewsRecipe, classes
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
from calibre.scraper.simple import read_url
|
from calibre.scraper.simple import read_url
|
||||||
from calibre.ptempfile import PersistentTemporaryFile
|
from calibre.ptempfile import PersistentTemporaryFile
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user