Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

PitScrapy - Powerful Web Data Scraping Tool

PitScrapy is a Python-based web scraper designed to efficiently collect a variety of data from web pages, including links, images, videos, scripts, and source code. Ideal for developers, researchers, and students looking to automate data extraction from websites.

Table of Contents

Features

  • Extract various types of data:
    • Links: All URLs from <a> tags.
    • Images: URLs of images from <img> tags.
    • Videos: URLs of videos from <video> tags.
    • Scripts: Scripts with and without src attributes.
    • Source Code: View and optionally save the page's full HTML.
  • Save extracted data into organized folders for easy access.
  • Automatically handles timeouts and errors gracefully, with log output for debugging.

Installation

Before using PitScrapy, install the required libraries:

pip install requests beautifulsoup4 colorama

Or, install dependencies from the requirements.txt file:

pip install -r requirements.txt

Usage

Syntax

Run PitScrapy with the following command:

python pitscrapy.py -u <URL>

Examples

  1. Extract all data types from a page and save to files:
    python pitscrapy.py -u http://example.com

Why Choose PitScrapy?

Ease of Use and Flexibility

PitScrapy is straightforward and can be run with simple commands. Easily tailor it to collect specific data types as needed.

Efficient Automation

Ideal for repetitive data collection from multiple sites, helping automate research and development workflows.

Versatile Application

Whether for educational use, data analysis, or content auditing, PitScrapy supports various needs with customizable output.

Contribution

Contributions are welcome! Feel free to fork the project, submit pull requests, or report issues on GitHub.

Support

For questions or troubleshooting, check the issues section on GitHub or start a new issue.

Legal and Ethical Considerations

PitScrapy is a tool for collecting publicly available data. Users are responsible for ensuring their actions comply with the terms of service of each website and relevant laws. Use this tool ethically, avoid excessive requests, and respect site policies.

About

PitScrapy is a powerful and efficient Python tool designed for web data collection. It allows you to extract links, images, videos, scripts, and the source code from any web page, making it ideal for developers, and students.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages