Skip to content

Instantly share code, notes, and snippets.

View PiotrKrosniak's full-sized avatar
🏠
Working from home

Peter Kross PiotrKrosniak

🏠
Working from home
View GitHub Profile
@PiotrKrosniak
PiotrKrosniak / 2_Web_Scraping_From_W3Schools.py
Created December 2, 2022 08:17 — forked from mkx775/2_Web_Scraping_From_W3Schools.py
Web scraping from w3schools - A gist by @mkx775
# Web scraping from w3schools
from urllib.request import urlopen as get
from bs4 import BeautifulSoup
b_url = 'https://www.w3schools.com/python/'
n_url, s_url = 'python_intro.asp', 'python_exam.asp'
page_count = 0
def start(base_url, next_url, stop_url):