Skip to content

ScrapEZ is a web scraping tool that allows you to extract links and data from a website. A light yet powerful tool.

License

Notifications You must be signed in to change notification settings

jakk-er/ScrapEZ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScrapEZ Banner

ScrapEZ Web Scraping Tool

Description This is a web scraping tool that allows you to extract links and data from a website. The tool provides the following scraping methods:

  1. Scrape subdomain & related links
  2. Scrape pages links
  3. Scrape robots.txt
  4. Scrape embedded links
  5. Extract metadata
  6. Analyze content
  7. Check links
  8. Performance metrics
  9. Handle cookies
  10. Parse sitemap
  11. Detect language
  12. Get JavaScript content

Installation

To use the ScrapEZ web scraping tool, follow these steps:

  1. Clone the repository: Run git clone https://github.com/jakk-er/ScrapEZ.git to clone the repository to your local machine.
git clone https://github.com/jakk-er/ScrapEZ.git
  1. Install dependencies: Run pip install -r requirements.txt to install the required dependencies, including requests, beautifulsoup4 and urllib.parse.
pip install -r requirements.txt
  1. Run the script: Run python scrapez.py.
python scrapez.py

Note: Make sure you have Python installed on your system, along with the required dependencies. If you're using a virtual environment, activate it before running the script.

Usage

Run the script and enter the website URL when prompted. Choose which scraping methods to use by entering the corresponding numbers (separated by commas). The tool will extract the requested data and print it to the console.

Example Usage

Here are some example usage scenarios:

  • To scrape subdomain & related links and pages links from https://example.com, enter: https://example.com press enter and then choose 1,2 or example.com press enter and then choose 1,2.

  • To scrape robots.txt and embedded links from https://www.example.net, enter: https://www.example.net press enter and then choose 3,4 or www.example.net press enter and then choose 3,4.

  • To scrape all available data from https://subdomain.example.io, enter: https://subdomain.example.io press enter and then choose 1,2,3,4 or subdomain.example.io press enter and then choose 1,2,3,4.

Data Storage


The script saves data into Markdown files within the Results directory, with each file named according to the data type:

  1. Subdomain Links: scraped_data_subdomain_links.md
  2. Page Links: scraped_data_pages_links.md
  3. Robots.txt: scraped_data_robots_txt.md
  4. Embedded Links: scraped_data_embedded_links.md
  5. Metadata: scraped_data_metadata.md
  6. Broken Links: scraped_data_broken_links.md
  7. Performance Metrics: scraped_data_performance_metrics.md
  8. Cookies: scraped_data_cookies.md
  9. Sitemap URLs: scraped_data_sitemap_urls.md
  10. Detected Language: scraped_data_language.md
  11. JavaScript Content: [sanitized_url]-js-content.html
  12. Content Analysis: url_analysis.md

License

This work is licensed under a Creative Commons Attribution 4.0 International License. You must give appropriate credit, provide a link to the license, and indicate if changes were made. Details: https://creativecommons.org/licenses/by/4.0/

Educational Use Only

This software is intended for educational purposes only. You agree to use the software solely for educational, research, or academic purposes, and not for any commercial or malicious activities.

No Liability for Misuse

You acknowledge that you are solely responsible for any misuse of the software, including but not limited to using it to target websites or systems without their permission. The authors and copyright holders shall not be liable for any damages or claims arising from such misuse.

Modification Restrictions

You are permitted to modify the software for your own educational purposes, but you agree not to modify the software in a way that would compromise its integrity or security. You also agree not to remove or alter any copyright notices, trademarks, or other proprietary rights notices from the software.

When redistributing or sharing modified versions of the software, you must provide appropriate attribution, indicate if changes were made, and include a link to the original license.

Dependencies

This software requires the following dependencies:

  1. requests
  2. beautifulsoup4
  3. langdetect
  4. playwright
  5. selenium
  6. webdriver-manager

Author

jakk-er

Version

2.0