WebScrapping in 3 lines of code
Project description
ScrapKit 2.0 - WebScrapping is now easy
Usage
In ScrapKit 2 We added a lot of new features such as getMetaTags, getTextFromElement, getDataTables and getJsonData
Syntax
import scrapKit as sk
# Extracting Meta Tags
meta_tags = sk.getMetaTags('https://example.com')
if meta_tags:
print("Meta Tags:")
for tag in meta_tags:
print(tag)
# Extracting Text from Specific HTML Elements
paragraph_text = sk.getTextFromElement('https://example.com', 'p')
if paragraph_text:
print("\nText from <p> elements:")
print(paragraph_text)
# Extracting Data Tables
table_data = sk.getDataTables('https://example.com/data.html')
if table_data:
print("\nData Tables:")
for row in table_data:
print(row)
# Extracting JSON Data
json_content = sk.getJsonData('https://example.com/api/data')
if json_content:
print("\nJSON Data:")
print(json_content)
Founder
ScrapKit is a very useful python package that is made by the one and only "Ali Lodhi". Ali Lodhi is from Pakistan, He loves to write code in python and try to easy people's work. Recently Ali Lodhi is working on the next update of this package
Versions
ScrapKit 1 (Old)
- ScrapKit 1.0 - It provide you to fetch whole HTML of the website
- ScrapKit 1.1 - It provides you to fetch HTML, Title and the Text of the website
- ScrapKit 1.2 - You can save the Fetched HTML in a
.htmlfile - ScrapKit 1.3 - Bug Fixes
- ScrapKit 1.4 - You can fetch the links given in any website
- ScrapKit 1.5 - You can also fetch the URL of the image on the webpage
- ScrapKit 1.6 - Now you can get Elements data by using their IDs and Classes
- ScrapKit 1.7 - Bug Fixes
ScrapKit 2 (Latest)
- ScrapKit 2.0 - Added 4 new features
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scrapkit-2.0.tar.gz.
File metadata
- Download URL: scrapkit-2.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05c47a2bac306d42d3a5c1cd9d4d094fbd5b638f573314a5a7b348de458dbe7d
|
|
| MD5 |
145e634f4d2c4548dfe418e2feaa9d11
|
|
| BLAKE2b-256 |
8d0a8948c4248449d339380e4e989b42fb9ef5b26216b2eed5ed2ad063edabb2
|
File details
Details for the file scrapkit-2.0-py3-none-any.whl.
File metadata
- Download URL: scrapkit-2.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
916911ae068070ab5e835d58486f1fbf5b1c53bd6b62abcb8d2d5ad7dbfbac42
|
|
| MD5 |
b79cf30294de7094e3a53f282792040a
|
|
| BLAKE2b-256 |
b8982490621e4c05243dd6b7f0efbdb6c69f3244c91ff4cdb945134149dfe49a
|