Skip to content

Hegre Media Downloader allows you to download a list of contents by providing a URL containing a list of content

License

Notifications You must be signed in to change notification settings

ZMarkC/hegre-media-downloader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Contributors Issues Stargazers Forks Apache License 2.0

Hegre Media Downloader

Hegre Media Downloader allows you to download a list of contents by providing a file containing a list of URLs.

Getting Started

This tool is distributed for educational purposes, and we are not responsible for any abuse that may occur.

Prerequisites

  1. First, decide what content you want to download. You can download single items, a list of items, a whole year, or the whole site.

Example URLs :

If you have a custom list, add it to a text file in the same directory as the script.

  1. When you are done, you need to go to your terminal and download the dependency if you haven't already done so.
sudo apt install pv screen whiptail
sudo yum install pv screen newt

Usage

To use this tool, simply download the script and follow these steps.

wget https://github.com/baptiste313/hegre-media-downloader/raw/main/hegre-media-downloader.sh
bash hegre-media-downloader.sh --url https://www.hegre.com/?year=2022 --create-links yes --thumbnail yes --download

In the default configuration, the script also fetches the thumbnails.

If you need, the images are the same name as the video file you can use its two commands after the end of the download.

for line in *.mp4; do printf "%s\n" "$line"; done | sed 's/.mp4/.jpg/' > new_name.txt
paste -d' ' <(ls *.jpg) new_name.txt | xargs -n2 echo

Contributing

If you have a suggestion that would make this better, please fork the repo and create a pull request. Don't forget to give the project a star! Thanks again!

Acknowledgments

About

Hegre Media Downloader allows you to download a list of contents by providing a URL containing a list of content

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%