Try the best quality traffic: WW GEO, 6 ad formats, free base of tested creos, & only personal approach — our goal is you to get the highest profit.

Guide Get Domains VirusTotal & Google Safe Browsing Reports Directly on Mobile! [Every 3 hours]

Buy Website Traffic

zerosugar

Contributor
Joined
Mar 5, 2024
Messages
114
Hello Guys!

Every 15-20 days, I was encountering issues with domains on VirusTotal and Google Safe Browsing. So, I created a Python script to fetch all reports directly on mobile via Pushover push notifications. I'm currently using it on my iPhone, and it's working fine. If your iPhone is connected to macOS via iCloud, you'll receive notifications on macOS as well.

"Why am I prioritizing iPhone over macOS?
Because during off-hours, when we're not using the laptop, we might miss the notification. During that time, our campaigns could stop, and in the worst-case scenario, the account could get disabled."

I am also running this script on cPanel instead of the macOS terminal because the script won't run 24/7 if the laptop is turned off or loses internet connectivity. I found cPanel to be a better option for setting it up and creating a cron job.

Python Code:

Code:
import  os
import json
from google.oauth2 import service_account
from google.auth.transport.requests  import Request
import requests
from datetime import datetime

#  Paths to credentials and directories
CURRENT_DIR =  os.path.dirname(os.path.abspath(__file__))
SERVICE_ACCOUNT_FILE = os.path.join(CURRENT_DIR, "web-risk-credentials.json")
VIRUSTOTAL_API_KEY = "REPLACE  WITH VIRUSTOTAL API"
DOMAINS_FILE = os.path.join(CURRENT_DIR, "domains.txt")

#  Pushover configuration
PUSHOVER_USER_KEY = "REPLACE"  #  Your Pushover User Key
PUSHOVER_APP_TOKEN = "REPLACE"
 
Last edited:
To view the premium content in our affiliate marketing forum (including this awesome thread), you must first register and upgrade your account. Register today and become a part of our amazing community!
Top