Repair PhishTank URL Scanner

Job ID: 40372298

Budget: $30 – $250 USD

I have a small Python script that should take a list of URLs, query the PhishTank API, and tell me which ones are flagged as phishing. Right now the script will not even start—when I try to run it I immediately receive error messages and no output at all.

Your task is to diagnose whatever is blocking execution and deliver a clean, fully working version. If the problem lies in outdated API endpoints, missing dependencies, or simple logic mistakes, update them accordingly. I expect the script to launch from the command line, process sample URLs, and return clear “phish / not-phish / unknown” results.

Deliverables
• Repaired Python file(s)
• Brief note explaining the changes and any libraries or keys I must install or set
• A quick demo run (screenshot or text capture) showing the script starting, checking at least one URL, and finishing without exceptions

Please keep the solution lightweight—no full-blown frameworks—just solid, readable code that executes reliably.