🚀 We are hiring! See open positions

Python Knowledgebase

Python is by far the most popular language for web scraping and data programming. It has a rich ecosystem of libraries and frameworks that make it easy to scrape websites, parse HTML, and analyze data.

Python's simplicity and readability make it an excellent choice for both beginners and experienced developers. With many free industry leading libraries and even web scraping frameworks like Scrapy, Python is a go-to language for web scraping tasks.

See below for more on Python in the context of web scraping and data programming 👇

What Python libraries support HTTP2?

HTTP2 is still relatively new protocol version that is not yet widely supported. Here are the options for HTTP2 client in Python.

#python
#http

How to scrape HTML table to Excel Spreadsheet (.xlsx)?

To scrape tables to Excel spreadsheet we can use bs4, requets and xlsxwriter packages for Python. Here's how.

#data-parsing
#python

Python httpx vs requests vs aiohttp - key differences

When it comes to these 3 popular http client packages they have different strenghts. Here's how to choose the right fit.

#python
#http
#httpx

How to handle popup dialogs in Playwright?

To handle alert-type pop ups in Playwright the on "dialog" event can be captured and interacted with in both Python and NodeJS playwright clients

#playwright
#python

How to use proxies with Python httpx?

To use proxies with Python's httpx library the proxies parameter can be used for http, https and socks5 proxies. Here's how.

#python
#httpx
#http

How to scrape images from a website?

To scrape all images from a given website python with beautifulsoup and httpx can be used. Here's an example.

#python

How to check if element exists in Playwright?

To check whether an HTML element is present on the page using Playwright the page.locator() method can be used. Here's how.

#playwright
#python

What are some ways to parse JSON datasets in Python?

There are several popular options when it comes to JSON dataset parsing in Python. The most popular packages are Jmespath and Jsonpath.

#python
#data-parsing

Articles Related to Python