Skip to content

Commit

Permalink
Merge pull request WebGetter v1.3.0#13 from mrx7014/main
Browse files Browse the repository at this point in the history
  • Loading branch information
mrx7014 authored Oct 18, 2024
2 parents 5aaa5de + 8715050 commit 05246ee
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 55 deletions.
23 changes: 10 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
**An open-source project allows you to get any website source code in a few minutes**
<br>

# V1.2.1 Released
# V1.3.0 Released
</div>
<br>
<div align="center">

**Developed and brought to you by Team Egypt Open Source**
**Developed and brought to you by Egypt Open Source Team**
</div>

<div align="center">
Expand All @@ -22,7 +22,7 @@

<div align="center">

<h2>Let's know how to use this</h2>
<h2>Usage</h2>

</div>

Expand Down Expand Up @@ -56,7 +56,7 @@ sudo apt install wget
```
- After it is finished clone the tool
```sh
curl https://raw.githubusercontent.com/Egypt-Open-Source/WebGetter/main/web_getter.sh >> web_getter.sh
curl https://raw.githubusercontent.com/Egypt-Open-Source/WebGetter/main/WebGetter.sh >> WebGetter.sh
```
<div align="center">

Expand All @@ -67,40 +67,37 @@ curl https://raw.githubusercontent.com/Egypt-Open-Source/WebGetter/main/web_gett

- First, give the tool permissions
```sh
chmod +x web_getter.sh
chmod +x WebGetter.sh
```
After this enter this command to open the tool
```sh
./web_getter.sh
./WebGetter.sh
```
- Now the tool is opened.

<div align="center">
<img src="images/tool_sc.png" width="100%" alt="banner">
<img src="images/TIT.png" width="110%" alt="TIT">
</div>
<br>

- Now after the tool opened choose what you want

- 1: It will get a basic website source code without any other website links with it and may get videos and audio files too.

- 2: It will retrieve all website source code, including HTML, CSS, and JS files, along with any other websites linked to it. It will also capture audio and video content.
- 2: It will get all website source code, including HTML, CSS, and JS files, along with any other websites linked to it. It will also get audio and video content.

> [!IMPORTANT]
> When you add a website link you must add website secure at the first as **http/https** and you must add **www** too, But remember when you get **GitHub pages** source code don't add **www**.
<br>
- After you add the link and press enter the tool will save the source code at a folder named as website name.
- After you add the link add the folder name which website source code will getting in it.

<div align="center">
<img src="images/sc_saved.png" width="200%" alt="banner">
</div>
<br>
<!--
# Live Preview
https://github.com/mrx7014/test/assets/90919499/efe2d248-71ca-4222-951d-36391168601c
--!>

# Contact US:
# Credits:

- Linktree: <a href="https://linktr.ee/mrx7014">MRX7014</a>
62 changes: 20 additions & 42 deletions web_getter.sh → WebGetter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,92 +12,70 @@ ICAgCiAgICAgICBcLyAgICAgICBcLyAgICBcLyAgICAgICAgICBcLyAgICAgXC8gICAgICAgICAg
ICAgICAgXC8gICAgICAgCg=="

sleep 1

echo -e "\033[91mWelcome To Web Getter Tool\033[0m"

echo -e "\033[91mWelcome To WebGetter Tool v1.3.0\033[0m"
sleep 1

echo -e "\033[92mAll rights reseved to: Egypt-Open-Source @github\033[0m"

sleep 1

echo -e "\033[93mCreated By MRX7014 @github\033[0m"

sleep 1

echo -e "\033[1;36m
1] Get basic Website Source
1: Get basic Website Source
[*] HTML,CSS,JavaScript
2] Get All Website Source
2: Get All Website Source
[*] Include All Website Files (HTML,CSS,JS,Audios,Videos,etc...)
"
echo -e "\033[33m"
echo -e "\033[92m[*] Note:Add Website Link with "http/https" And Add Github Pages Links Without 'www'\033[0m"

read -p "Choose : " user


if [ $user == 1 ]

if [ $user == 1 ]
then
echo ""

echo -e "\033[93m[*] Remember The Note Before Enter The Website Link\033[0m"

sleep 2

echo ""
echo -e "\033[93m[*] Remember The Note Before Enter The Website Link\033[0m"
sleep 2
read -p "Enter Website Link: " website_link

sleep 1

echo ""

echo -e "\033[93m[*] Enter the website folder name that you want to sync the source in it, Don't enter name with spaces just a single name or name with - between the words\033[0m"
read -p "Enter the folder name: " website_source_folder
echo ""
sleep 3
echo -e "\033[94mWebiste Will Downloading Now\033[0m"

sleep 2

wget -p -k $website_link > /dev/null 2>&1
wget -p -k $website_link -P $website_source_folder > /dev/null 2>&1

echo ""

sleep 2

echo -e "\033[34mWebsite Source Saved At Folder Named As Website Name\033[0m"

echo -e "\033[94mWebsite source saved at the folder you want\033[94m"
echo ""

echo -e "\033[92mThanks For Using Our Tool <3"

elif [ $user == 2 ]

then

echo ""

echo -e "\033[92m[*] Remember The Note Before Enter The Website Link\033[0m"

sleep 2

sleep 2
read -p "Enter Website Link: " website_link

sleep 1

echo ""

echo -e "\033[93m[*] Enter the website folder name that you want to sync the source in it, Don't enter name with spaces just a single name or name with - between the words\033[0m"
read -p "Enter the folder name: " website_source_folder
echo ""
sleep 3
echo -e "\033[94mWebsite Will Downloading Now\033[0m"

sleep 2

wget -mk $website_link > /dev/null 2>&1
wget -mk $website_link -P $website_source_folder > /dev/null 2>&1

echo ""

sleep 2

echo -e "\033[94mWebsite Source Saved At Folder Named As Website Name\033[94m"

echo -e "\033[94mWebsite source saved at the folder you want\033[94m"
echo ""

echo -e "\033[92mThanks For Using Our Tool <3"
Expand Down
Binary file added images/TIT.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/sc_saved.png
Binary file not shown.
Binary file modified images/tool_sc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 05246ee

Please sign in to comment.