Skip to content

This Repository is a collection of different ethical hacking tools and malware's for penetration testing and research purpose written in python, ruby, rust, c++, go and c.

599 B
Raw Blame
import time, colorama
from colorama import Fore
from selenium import webdriver

def wattpad_module(pren,name):
    print("📔 Searching for Wattpad profiles ...")
    options = webdriver.FirefoxOptions()
    options.headless = True
    driver = webdriver.Firefox(options=options)
    url = "https://www.wattpad.com/search/{}%20{}/people".format(pren,name)
    driver.get(url)
    time.sleep(2.0)
    source_code = str(driver.page_source)

    if "Hmmm... il n'y a pas de résultats" in source_code:
        return None
    else:
        print(f'   -> {Fore.GREEN}Found !{Fore.RESET} Visit : {url}')