This commit is contained in:
Kovid Goyal 2013-02-17 17:50:23 +05:30
parent db14336544
commit bc63a58fa2

View File

@ -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()