/arquivos_rtp_downloader

[PT] Um programa para fazer download de videos do RTP Arquivos || [EN] A program to download videos from RTP Arquivos.

Primary LanguageRustMIT LicenseMIT

Arquivos RTP downloader

Rust

Um programa para fazer download de videos do RTP Arquivos.

A program to download videos from RTP Arquivos.

Table of Contents

PT

Instruções em Português.

Este programa tem 2 versões, uma com uma interface gráfica (artp-dl-gui.exe) e outra para ser executada na consola (artp-dl.exe).

A interface gráfica é a seguinte:

Dark Theme

Light Theme

Basta copiar os links do site dos Arquivos RTP, inserir na caixa de texto e adicionar. Quando estiveram todos os links pretendidos, clicar em Download. O programa irá fazer o download dos videos para a mesma pasta do executável. Durante o download o programa fica irresponsivo até terminar. Se algum dos links for inválido e programa irá fechar.

Como dar build

Para criar o executavel é necessário ter a linguagem Rust instalada e executar:

cargo build --release

Como executar

O nome do executável é artp-dl. E para se fazer download dos videos é necessário executar o seguinte comando:

artp-dl.exe link1 link2 link3 ...

O programa faz download de 3 videos em simultâneo e pode-se especificar qualquer quantidade de links para se fazer download. O programa trata de fazer o download de todos os videos automaticamente.

Os videos vão para a pasta de onde o código for executado e terão o formato .ts.

EN

Instructions in English.

This program has 2 versions, one with a graphical user interface (artp-dl-gui.exe) and another to be executed through the command line (artp-dl.exe).

The interface looks like this:

Dark Theme

Light Theme

You just need to copy the links from Arquivos RTP, paste it into the text box and add the link. After all the links are inserted, click on Download. The program will download all the videos into the folder of the executable. During the download the program stays irresponsive. If one of the links is invalid, the program will crash.

How to build

To build this project, you need Rust installed and run:

cargo build --release

How to build for multiple platforms

Install the target rust toolchain with:

rustup target add x86_64-apple-darwin

and then:

cargo build --release --target x86_64-apple-darwin

How to run

The executable is called artp-dl. And to download videos you just have to run:

artp-dl.exe link1 link2 link3 ...

The program downloads 3 videos in parallel and you can specify any amount of links to download. The program will handle all the links automatically.

The videos downloaded will go to the current working directory on the .ts format.