mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
db14336544
commit
bc63a58fa2
@ -41,13 +41,6 @@ class AdvancedUserRecipe1249039563(BasicNewsRecipe):
|
|||||||
#######################################################################################################
|
#######################################################################################################
|
||||||
temp_files = []
|
temp_files = []
|
||||||
articles_are_obfuscated = True
|
articles_are_obfuscated = True
|
||||||
use_javascript_to_login = True
|
|
||||||
|
|
||||||
def javascript_login(self, br, username, password):
|
|
||||||
'Volksrant wants the user to explicitly allow cookies'
|
|
||||||
if not br.visit('http://www.volkskrant.nl'):
|
|
||||||
raise Exception('Failed to connect to volksrant website')
|
|
||||||
br.click('#pop_cookie_text a[onclick]', wait_for_load=True, timeout=120)
|
|
||||||
|
|
||||||
def get_obfuscated_article(self, url):
|
def get_obfuscated_article(self, url):
|
||||||
br = self.browser.clone_browser()
|
br = self.browser.clone_browser()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user