Skip to content

LaplaceFourior/download_somthing_from_web

Repository files navigation

license standard-readme compliant python3.10

Flask2.2.3

This is a project that will help you download files from a url

Table of Contents

Install

You can install the software in two ways: source code or release one.

(1) For Source Code

Before you start to install this project, make sure that you have installed git in your computer.

use this command to get the source code to your computer:

git clone https://github.com/LaplaceFourior/download_somthing_from_web.git

You will run this project with source code.

(2) For Release

You can also download the release version of the software, and run it directly.

Usage

You can run the software in two ways, source code or release:

For Source Code:

(1)

This project is based on Python 3.10. Before you start to install, make sure that you have already installed Python 3.10.

(2)

If you have already installed Python 3.10, make sure that you can create virtual environment on you computer, After that, you can run this project with:

For Windows

double click start.bat

or

cd the project root folder, open a cmd and run:

    ./start.bat
For macos or linux

cd the project root folder, open a terminal and run:

    ./start.sh

the start script will build a venv in the root folder and install the required package with requirements.txt.

(3)

Then it will start a web application

copy the url: http://127.0.0.1:5000/ to a browser and enter.

then enter a url that you want to find resources in it, click scan and wait.

After returning a resources list, you can download which you want.

For Release:

(1)

After you download one release version,

for Windows:

double click

download_something_from_web.exe

in the root folder

or

cd the root folder and run in cmd

    ./download_something_from_web.exe
for Linux or MacOs:

cd the root folder, make sure the file:

download_something_from_web

has the permission to run, and then cd the root folder, in terminal run:

    ./download_something_from_web

(2)

See the step(3) above

Contributing

Thanks for your contribution to download_something_from_web !

Made with contrib.rocks.

License

MIT © Chenchou Yu.