Skip to content

souparno/WebSnap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebSnap

This project is a Python script to download a website to a local directory. It utilizes Tor for anonymous browsing and focuses on downloading specific file types and updating local links.

Features

  • Downloads various file types including .svg, .jpg, .jpeg, .png, .gif, .ico, .css, .js, .html, .php, .json, .ttf, .otf, .woff2, .woff, .eot, .mp4, and .ogg.
  • Scans specific file types for additional links to download.
  • Uses Tor for anonymous browsing.
  • Maintains a global URL map to correctly resolve relative paths in downloaded files.

Requirements

  • Python 3.x
  • requests library
  • tor (Tor must be running on your machine)
  • socks5h proxy

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/website-cloner.git
    cd website-cloner
  2. Install the required Python libraries:

    pip install requests
  3. Ensure that Tor is running on your machine:

    tor

Usage

To clone a website to a local directory, run:

python main.py <URL> <LOCAL_DIRECTORY>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages