Skip to content

🌐 Collection of Sublime Text snippets for web scraping in Python

License

Notifications You must be signed in to change notification settings

futureprogrammer360/Python-Web-Scraping-Snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌐 Python Web Scraping Snippets

Downloads Tag Repo size License

Python Web Scraping Snippets is a collection of Sublime Text snippets for web scraping and HTML parsing in Python.

πŸ’» Installation

The easiest way to install Python Web Scraping Snippets is through Package Control. After it is enabled inside Sublime Text, open the command palette and find Package Control: Install Package and press ENTER. Then, find Python Web Scraping Snippets in the list. Press ENTER again, and this package is installed!

πŸ“ˆ Snippets

Imports

Import snippets start with i followed by the import alias.

Trigger Description
ibs from bs4 import BeautifulSoup
irequests import requests
iAsyncHTMLSession from requests_html import AsyncHTMLSession
iHTMLSession from requests_html import HTMLSession

BeautifulSoup4

Trigger Description
bs bs4.BeautifulSoup
find bs4.BeautifulSoup.find
find_all bs4.BeautifulSoup.find_all
prettify bs4.BeautifulSoup.prettify
select bs4.BeautifulSoup.select
select_one bs4.BeautifulSoup.select_one

Requests

Trigger Description
delete requests.delete
get requests.get
head requests.head
patch requests.patch
post requests.post
put requests.put
request requests.request

Requests-HTML

Trigger Description
AsyncHTMLSession requests_html.AsyncHTMLSession
HTMLSession requests_html.HTMLSession

The snippet files are in the snippets folder of this GitHub repository.

About

🌐 Collection of Sublime Text snippets for web scraping in Python

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published