|
|
@ -173,18 +173,18 @@ def getNameFromURL(url): |
|
|
|
def getInterestedLinks(): |
|
|
|
links = [] |
|
|
|
|
|
|
|
# # Hacking Tools |
|
|
|
# Hacking Tools |
|
|
|
links.append('https://altenens.is/forums/hacking-tools.469165/') |
|
|
|
# # hash cracking |
|
|
|
# links.append('https://altenens.is/forums/hash-cracking.469167/') |
|
|
|
# # phishing and spamming |
|
|
|
# links.append('https://altenens.is/forums/phishing-and-spamming.469223/') |
|
|
|
# # pentesting |
|
|
|
# links.append('https://altenens.is/forums/pentesting.469169/') |
|
|
|
# # cracking tools |
|
|
|
# links.append('https://altenens.is/forums/cracking-tools.469204/') |
|
|
|
# # Cracking Tools |
|
|
|
# links.append('https://altenens.is/forums/cracking-tutorials-other-methods.469205/') |
|
|
|
# hash cracking |
|
|
|
links.append('https://altenens.is/forums/hash-cracking.469167/') |
|
|
|
# phishing and spamming |
|
|
|
links.append('https://altenens.is/forums/phishing-and-spamming.469223/') |
|
|
|
# pentesting |
|
|
|
links.append('https://altenens.is/forums/pentesting.469169/') |
|
|
|
# cracking tools |
|
|
|
links.append('https://altenens.is/forums/cracking-tools.469204/') |
|
|
|
# Cracking Tools |
|
|
|
links.append('https://altenens.is/forums/cracking-tutorials-other-methods.469205/') |
|
|
|
|
|
|
|
return links |
|
|
|
|
|
|
@ -194,9 +194,7 @@ def crawlForum(driver): |
|
|
|
|
|
|
|
linksToCrawl = getInterestedLinks() |
|
|
|
|
|
|
|
i = 0 |
|
|
|
while i < len(linksToCrawl): |
|
|
|
link = linksToCrawl[i] |
|
|
|
for link in linksToCrawl: |
|
|
|
print('Crawling :', link) |
|
|
|
try: |
|
|
|
has_next_page = True |
|
|
@ -241,7 +239,7 @@ def crawlForum(driver): |
|
|
|
driver.back() |
|
|
|
|
|
|
|
# comment out |
|
|
|
# break |
|
|
|
break |
|
|
|
|
|
|
|
# comment out |
|
|
|
if count == 1: |
|
|
@ -258,7 +256,6 @@ def crawlForum(driver): |
|
|
|
|
|
|
|
except Exception as e: |
|
|
|
print(link, e) |
|
|
|
i += 1 |
|
|
|
|
|
|
|
print("Crawling the Altenens forum done.") |
|
|
|
|
|
|
|