This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import random | |
from bs4 import BeautifulSoup | |
# Make sure you install BeautifulSoup first | |
# pip3 install beautifulsoup4 | |
# Define a function to get a list of phone numbers in a given country | |
def get_numbers(country): | |
# Make a GET request to the website to get the HTML content |
OlderNewer