kopia lustrzana https://github.com/bellingcat/auto-archiver
vk and reddit should work without credentials but log the error
rodzic
22bd8727df
commit
fdbe96f2e4
|
@ -29,6 +29,7 @@ class RedditDropin(Dropin):
|
||||||
self.sb.open(url)
|
self.sb.open(url)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@logger.catch
|
||||||
def _login(self):
|
def _login(self):
|
||||||
self.sb.click_link_text("Log in")
|
self.sb.click_link_text("Log in")
|
||||||
self.sb.wait_for_ready_state_complete()
|
self.sb.wait_for_ready_state_complete()
|
||||||
|
|
|
@ -37,6 +37,7 @@ class VkDropin(Dropin):
|
||||||
self.sb.open(url)
|
self.sb.open(url)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@logger.catch
|
||||||
def _login(self) -> bool:
|
def _login(self) -> bool:
|
||||||
# TODO: test method
|
# TODO: test method
|
||||||
self.sb.open("https://vk.com")
|
self.sb.open("https://vk.com")
|
||||||
|
|
Ładowanie…
Reference in New Issue