File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 16
16
from selenium .webdriver import Chrome , ChromeOptions
17
17
from selenium .webdriver .common .by import By
18
18
19
- hacktivity_url = 'https://hackerone.com/hacktivity/overview'
19
+ hacktivity_url = 'https://hackerone.com/hacktivity/overview?queryString=disclosed%3Atrue&sortField=disclosed_at&sortDirection=DESC&pageIndex=0 '
20
20
page_loading_timeout = 10
21
21
22
22
def create_argument_parser ():
@@ -88,7 +88,7 @@ def fetch(commandline_args):
88
88
89
89
page = 0
90
90
driver .execute_script ("window.scrollTo(0, document.body.scrollHeight);" )
91
- next_page_button = driver .find_element (By .CSS_SELECTOR , 'button[data-testid=\' hacktivity-next-button \' ]' )
91
+ next_page_button = driver .find_element (By .CSS_SELECTOR , 'button[data-testid=\' hacktivity-pagination--pagination- next-page \' ]' )
92
92
new_reports = []
93
93
while True :
94
94
raw_reports = driver .find_elements (By .CLASS_NAME , 'routerlink' )
You can’t perform that action at this time.
0 commit comments