Forum Discussion

DCadet's avatar
DCadet
Icon for Bronze II rankBronze II
2 months ago
Solved

Help with Introduction to Python Scripting: Ep.7 – Demonstrate Your Skills

Hello all, I am stuck with the last question on this Immersive lab . Below is my question  Using Python, build a web scraper to scrape the website for 12-digit phone numbers beginning with + (e...
  • netcat's avatar
    netcat
    30 days ago

    Perfect code. However, the answer field expects you to count also duplicates. I didn't notice this in the first place, because I did just a wget, then grep "+" and counted manually.

    Generally, it's best to get a local copy first (that can be analyzed manually), and then implement automatic analysis. If something goes wrong, you can always take a look at the local copy.