r/ScriptSwap • • Nov 15 '12

[VBScript] Install Fonts

6 Upvotes

http://pastebin.com/6xiC674h

I didn't create the script but thought it would nice to share.

I am using this script in conjunction with a batch file (pastebin) via LANDesk that will copy the fonts from a share to a local temp folder and install the fonts.

Sadly, this requires reboot in Win7, if someone can figure out a way that does modify the registry and does not require reboot, I would be in your debt.

If you are using this via LANDesk, you can create a script in the Manage Scripts distro tab and prefix each line in the batch file with "REMEXEC0=cmd /c " "REMEXEC1=cmd /c " "REMEXEC2=cmd /c " etc.


r/ScriptSwap • • Mar 10 '12

Batch convert anything into mp3 automatically by folder. (ffmpeg and zenity)

6 Upvotes

Use: Run and select folder. All files will be converted, and a progress bar will be displayed.

Download: http://www.mediafire.com/?w5tl425glrc1w5v

Source:

#!/bin/bash
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
in=$(zenity --file-selection --directory)
cd "$in"
no=$(ls -1 $in | wc -l)
FILES="$in/"
oo="0"
for file in "$FILES"*
do
filename=$(basename "$file")
extension=${filename##*.}
name=${filename%.*}
per=`expr $oo \* 100 / $no`
ffmpeg -i "$file" -vn -ar 44100 -ac 2 -ab 192 -f mp3 "$name".mp3 | zenity --progress --auto-close --percentage=$per --text="Converting $file..." --title="Make it mp3!"
oo=`expr $oo + 1`
done
zenity --info --text "encoding done"

r/ScriptSwap • • Mar 06 '12

[Python] Salted MD5 dictionary brute force

6 Upvotes
import sys,hashlib
hash = str(sys.argv[1])
salt = str(sys.argv[2])
dict = str(sys.argv[3])
with open(dict) as f:
	l = f.readlines()
    for line in f:
            hsh = hashlib.md5(line.replace('\n','') +salt).hexdigest()
            if hsh == hash:
                    print '\n Found Password: '+ line + '\n'
                    f.close()
                    sys.exit(1)

Usage: brute.py <hash to bruteforce> <salt> <dictionary>

Note to everyone: If you have any optimizations, feel free to write them in the comments!


r/ScriptSwap • • Mar 03 '12

[bash] Set display resolution semi-automatically (Nvidia only)

6 Upvotes

If you're using different display setups and you don't want to play with nvidia-settings all the time, this can come handy.

First, download and install disper.

Then use this short bash script to manage your configs:

#! /bin/bash

#cd to scripts dir
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done
cd -P "$( dirname "$SOURCE" )"

if [ $# -lt 1 ]; then
    echo error
    exit 1
fi

#create conf dirs
if [ ! -d "conf" ]; then
    mkdir "conf"
fi
if [ ! -d "auto-conf" ]; then
    mkdir "auto-conf"
fi

#set up the appropriate config file
if [ $# -lt 2 ]; then
    conf="./auto-conf/$(disper -l | md5sum | awk '{print $1}')"
else
    conf="./conf/$2.conf"
fi

#save the current configuration to the config file
if [ $1 == "save" ]; then
    disper -p > $conf
    echo saved
    exit 0
fi

#loads the appropriate configuration
if [ $1 == "load" ]; then
    if [ -e "$conf" ]; then
        cat "$conf" | disper -i
    else
        echo "Conf file missing: $conf"
        exit 1
    fi
fi

Call the script with "./script_name save" to save the current configuration or "./script_name load" to load the configuration saved for the current display setup. To make it really cool, add "script_name load" to autorun and you'll always boot to the correct display settings.

With this script you'll have to use nvidia-settings only once for each unique display setup.

If you're using different configurations for the same setup, you can use "./script_name save/load setup_name", where setup_name is your name for the current setup(something like "projector" or "projector_hd").


r/ScriptSwap • • Mar 02 '12

Firefox privacy/clean up wrapper

6 Upvotes

Description:

This script deletes some files/folders from your firefox and flash player profile before you launch firefox, and after you close it. it also runs bleachbit to do additional clean up. This resets firefox to a "clean" state without any cookies/session remnants.

Requirements:

Firefox obviously, bleachbit_cli optionally.

Setup:

Change your menu/launcher link for firefox to this script instead of the firefox binary, and modify your firefox profile path (in ~.mozilla/firefox/) to username.default (you need to change the name in profiles.ini as well)

Comments:

It's a bit crude since I was just copy-pasting the first line, but I think it's fine like that. You could do the rm stuff in a loop but then you'd lose flexibility.

If anyone knows of other commands this script should run or files to delete, I would appreciate it.

Script:

#!/bin/bash

FF_PROFILE=$USER.default

clean () {
  rm -rf $HOME/.macromedia/Flash_Player
  rm -rf $HOME/.adobe/Flash_Player
  rm -rf $HOME/.mozilla/firefox/Crash\ Reports
  rm -rf $HOME/.mozilla/firefox/$FF_PROFILE/Cache
  rm -rf $HOME/.mozilla/firefox/$FF_PROFILE/minidumps
  rm -rf $HOME/.mozilla/firefox/$FF_PROFILE/OfflineCache
  rm -rf $HOME/.mozilla/firefox/$FF_PROFILE/startupCache
  
  rm -f $HOME/.mozilla/firefox/$FF_PROFILE/cookies.sqlite
  rm -f $HOME/.mozilla/firefox/$FF_PROFILE/content-prefs.sqlite
  rm -f $HOME/.mozilla/firefox/$FF_PROFILE/downloads.sqlite 
  rm -f $HOME/.mozilla/firefox/$FF_PROFILE/sessionstore.js
  rm -f $HOME/.mozilla/firefox/$FF_PROFILE/webappsstore.sqlite
  rm -f $HOME/.mozilla/firefox/$FF_PROFILE/formhistory.sqlite
  bleachbit_cli firefox.* flash.* -d
}


clean
firefox
clean

exit 0

r/ScriptSwap • • Oct 18 '25

Blinter The Linter - A Cross Platform Batch Script Linter

Thumbnail
github.com
5 Upvotes

Yes, it's 2025. Yes, people still write batch scripts. No, they shouldn't crash.

What It Does

βœ… 158 rules across Error/Warning/Style/Security/Performance
βœ… Catches the nasty stuff: Command injection, path traversal, unsafe temp files
βœ… Handles the weird stuff: Variable expansion, FOR loops, multilevel escaping
βœ… 10MB+ files? No problem. Unicode? Got it. Thread-safe? Always.

Get It Now

pip install Blinter

Or grab the standalone .exe from GitHub Releases

One Command

python -m blinter script.bat

That's it. No config needed. No ceremony. Just point it at your .bat or .cmd files.


The first professional-grade linter for Windows batch files.
Because your automation scripts shouldn't be held together with duct tape.

πŸ“¦ PyPI β€’ βš™οΈ GitHub


r/ScriptSwap • • Nov 13 '24

Where can I trade my scripts?

5 Upvotes

Multi-Exchange Arbitrage Bot

EMA + MACD Strategy with Backtesting

Telegram Trade Alerts Bot

Simple Moving Average (SMA) + RSI Strategy Bot

Are a few scripts I have. I would like to trade them but where?


r/ScriptSwap • • Mar 21 '21

Script to stop and start server at specific times and days of the week

5 Upvotes

I created a script so that I can start my Minecraft Bedrock server (nukkit) and then exit from Putty:

!/bin/sh
screen -d -m -S nukkitx java -Xms1G -Xmx2G -XX:+UseG1GC -jar nukkit-1.0-SNAPSHOT.jar

But I want to make it so that the server will start at a certain time of the week and a certain time, and stop at a certain time as well. For example, I want the server to run from 8am to 8pm Monday to Saturday, and stop outside of those times and also stay stopped all day Sunday.

Can I get any help? I'm really new to scripting.


r/ScriptSwap • • Jun 20 '20

Wondering if anyone can help

Thumbnail self.bashscripts
5 Upvotes

r/ScriptSwap • • Oct 18 '19

Bget v0.4

5 Upvotes

Bget is a batch-file command-line tool for handling Windows scripts. It is built to be a companion to those who write, use and maintain Windows scripts. It helps those who use scripts easily download, update and remove scripts. It’s built for scripters, by scripters.


r/ScriptSwap • • Jul 13 '19

[Python] Find users who post on one subreddit, but also post to another subreddit

5 Upvotes

Here's a link to the source code.

It looks for the 100 people who made submissions on one subreddit, and checks if one of their hot 100 submissions have been made to another subreddit.


r/ScriptSwap • • Sep 29 '18

My college internet(ethernet) work on basis on logij sessions. Is there anyway that whenever my pc session expires it auto login.

5 Upvotes

We have open browser and click on random site then a login page appears and it auto expires in some 28k sec. It many times happened to me that my internet disconnected at very important moments while playing online game(DoTA mostly) so was wondering is anyway I could get just run some browser script or program that checks internet connection and if not available will try to log in.


r/ScriptSwap • • Feb 04 '18

Restic Backup Script

5 Upvotes

Using Andrew Keech's excellent Borg Back Up Script, I've adjusted to work with Restic.

Credit: https://blog.andrewkeech.com/posts/170718_borg.html

Script: https://pastebin.com/ydN9fJ4H

It backs up a home directory excluding downloads. Removes old backups according to the hourly/weekly/monthly/yearly strategy.

I like to check what the script output however you can remove the >> if not required

All credit goes to Andrew,

Let me know if it needs any work, checks etc

Thanks


r/ScriptSwap • • Jan 16 '18

Web Scrape Project Euler

5 Upvotes

I am practicing using 'nokogiri' so I wrote a small script that gets the problem from Project Euler. Any comments are welcome

#!/usr/bin/env ruby
# scrapeuler.rb
# 2018-01-16

require 'nokogiri'
require 'open-uri'

unless ARGV[0]
  puts "indicate problem number"
  exit
end

prob_num = ARGV[0].chomp.to_i 

base_url = "https://projecteuler.net"

prob_url = "#{base_url}/problem=#{prob_num}"

page = Nokogiri::HTML(open(prob_url))

heading = page.css('h2').text
content = page.css('div.problem_content p')

puts "Problem: #{prob_num} \n#{heading}"
puts "#{content[0].text}"
puts "#{content[1].text}"

r/ScriptSwap • • Jan 04 '18

Script to send text messages on specific dates

5 Upvotes

Does anyone know of any scripts that sends text messages on specific dates automatically. Could be used for sending messages on birthdays etc.


r/ScriptSwap • • Oct 30 '17

Script that downloads 100 images from google

5 Upvotes

I wrote a simple python script that downloads 100images from google based on searched keyword and properly organizes it in your current directory link here: https://github.com/nejcr/google-image-scrapper


r/ScriptSwap • • Mar 16 '17

[Bash] Bashrc functions for uptime and a timer

5 Upvotes

i prefer this layout for uptime output:

Since 07:11:25 - up 2 hours, 57 minutes

# Custom uptime
cuptime () {
  cuptime_multi_line=$(echo "Since"
    uptime -s | cut -d" " -f2
    echo "-"
    uptime -p)

  echo "$cuptime_multi_line" | tr '\n' ' '
  echo
}

Edit:

i find this timer convenient for my usage. looks like:

ctimer  10m  get drink
00:06:13

when complete there will be a notification popup saying "Timer finished" or "Do now: $task" depending on your command. the idea is for short task info, not a sentence. if there are more than 2 arguments (the specified time and task) the terminal will say "Error: Task has unescaped space".

# Custom timer
#  Usage: ctimer [minutes] [short task note]
#  Examples:
#  ctimer 10 get\ drink
#  ctimer 30
counting () {
  for ((i=minutes*60;i>=0;i--)); do
    clear
    echo "ctimer  ${minutes}m  $task"
    echo -ne "\r$(date -d"0+$i sec" +%H:%M:%S) "
    sleep 1
  done
  echo
}

ctimer () {
  minutes="$1"
  task="$2"
  if [ $# -eq 1 ]
  then
    counting
    notify-send "Timer finished                          " \
      -i appointment-soon -t 8000
  elif [ $# -eq 2 ]
  then
    counting
    notify-send "Do now:  $task                  " \
      -i appointment-soon -t 8000
  elif [ $# -gt 2 ]
  then
    echo "Error:  Task has unescaped space"
  fi
}

r/ScriptSwap • • Mar 14 '17

[Bash] Local data backup to two disks in paralell

5 Upvotes

Using this on Linux Mint 18.

i have it set to run as regular startup program. it presumes your disks are mounted at "/media/$USER", but you can easily specify their names. backup of $HOME with exclusions file, using rsync. it checks every 5 seconds for if both disks are mounted, so it will always be running. if there are no errors after backup, there will be a notification pop-up saying what free space is left on one of the disks (mine are both same size). it will open log file if there is an error (in the rsync section), i have this done via a terminal window asking if i want to re-run the script.

#!/bin/bash

disk_1_name="BACKUP ONE"
disk_2_name="BACKUP TWO"
exclusions_list="$HOME/Scripts/data_backup_excl"
err_log="$HOME/.Data-Backup-ERRORS.log"

# Function to call
#-------------------------------------------------------------------------------

my_sync () { 
  sleep 2
  mkdir -p \
    "$backup_dest/Desktop" \
    "$backup_dest/Videos"

  {
  # Sync
  rsync -a --delete \
    --exclude-from="$exclusions_list" \
    "$HOME/" \
    "$backup_dest"

  rsync -a --delete \
    "$HOME/.local/share/applications" \
    "$backup_dest/.local/share"

  } 2>> "$err_log"
}

# Function to call
#-------------------------------------------------------------------------------

sync_both_disks () {
  : > "$err_log"
  (
    backup_dest="/media/$USER/$disk_1_name"
    my_sync
  ) &
  (
    backup_dest="/media/$USER/$disk_2_name"
    my_sync
  ) &
  wait
}

# Function to call
#-------------------------------------------------------------------------------

# Check every 30 seconds for if the backup disk
# has been removed, so the script can continue
wait_for_disk_removal () {
  while [ -e "/media/$USER/$disk_1_name" ] ||
        [ -e "/media/$USER/$disk_2_name" ]
  do
    sleep 30
  done
}

#-------------------------------------------------------------------------------

while true; do
  # When disks are attached
  if [ -e "/media/$USER/$disk_1_name" ] &&
     [ -e "/media/$USER/$disk_2_name" ]
  then
    sync_both_disks
    
    # When error log is zero size
    if [ ! -s "$err_log" ]
    then
      # Get disk space info
      remaining=$(df -hHP "/media/$USER/$disk_1_name" \
        | tail -1 \
        | tr -s ' ' \
        | cut -d' ' -f4)
      notify-send "Backup completed:  $remaining  Free space   " \
        -i usb-creator-gtk -t 8000
      wait_for_disk_removal
    else
      sed -i -e '1i\====  Error during data backup  ====\' "$err_log"
      sed -i -e '2i\\' "$err_log"; sed -i -e '3i\\' "$err_log"
      sleep 3
      # Opens log file if there is an error
      nohup x-terminal-emulator -e "$HOME/Scripts/data_backup_err.sh" \
        &> /dev/null &
      sleep 5
      wait_for_disk_removal
    fi
  fi

  sleep 5
done

this is my exclusions file contents, you will need to decide on your own, paths are relevant to the source, it will still work if you dont have one of the excluded locations:

.adobe
.cache
.config/chromium
.config/google-chrome
.config/gtk-2.0
.config/gtk-3.0
.config/ibus
.config/mono.addins
.config/pulse
.config/skypeforlinux
.config/Skype
.config/SpiderOakONE
.config/Trolltech.conf
.config/upstart
.dbus
.dvdcss
.ecryptfs
.gnome2_private
.gnupg
.gstreamer-0.10
.gvfs
.icons
.java
.local
.macromedia
.mozilla
.pki
.Private
.python-eggs
.Skype
.sylpheed-2.0
.themes
.thumbnails
.thunderbird
.Trash-0
.Trash-1000
.wine
.*.log
.bash_history
.bash_logout
.dmrc
.gksu.lock
.gtkrc-2.0
.gtkrc-xfce
.ICEauthority
.profile
.sudo_as_admin_successful
.Xauthority
.xsession-errors
Desktop
Downloads
VirtualBox VMs

for the secondary script in the case of errors, "$HOME/Scripts/data_backup_err.sh", you will want to alter the content of the "cat", "kill" and "nohup" lines:

#!/bin/bash
echo -ne "\e[8;027;090t"

# Display error log contents
cat "$HOME/.Data-Backup-ERRORS.log"

echo -ne "\e[1m\e[34m"
echo
echo -e "  Scroll up if needed to view long log file. "
echo -ne "\e[0m"

setterm -cursor off

while true; do
  echo -ne "\e[1m\e[34m"
  echo
  echo -e "  Re-run the backup ? "
  echo
  echo -e "    y = yes "
  echo -e "    n = no "
  echo
  echo -ne "\e[0m"
  echo -n "  "; read answer

  echo -ne "\e[8;010;048t"
  clear

  # When answer is yes
  if echo "$answer" | grep -iq "^y"
  then
    echo -ne "\e[1m\e[34m"
    echo
    echo -e "  Re-running backup now... "
    echo -ne "\e[0m"
    # Exits backup script
    kill $(pidof -x data_backup.sh) &> /dev/null
    sleep 2
    # Launches backup script
    nohup "$HOME/Scripts/data_backup.sh" &> /dev/null &

    echo -ne "\e[1m\e[34m"
    echo
    echo -e "  Closing this window. "
    echo -ne "\e[0m"
    sleep 5
    setterm -cursor on
    exit
  # When answer is no
  elif echo "$answer" | grep -iq "^n"
  then
    echo -ne "\e[1m\e[34m"
    echo
    echo -e "  No action taken. "
    echo -ne "\e[0m"
    sleep 2
    setterm -cursor on
    exit
  # When answer is neither of the above
  else
    echo -ne "\e[1m\e[34m"
    echo
    echo -e "  Please try again... "
    echo -ne "\e[0m"
    sleep 2
    clear
  fi
done

r/ScriptSwap • • Apr 09 '16

[JS - Chrome Bookmark] Redirect current Google search to an Amazon search

5 Upvotes

https://gist.github.com/braeden123/4a8da392badfd55697eddf69883f34ff

TO USE: Copy Code > CTRL-D > [Edit] > Paste the code into the URL field and add a name

NOTE: It should also work for any other browsers which support JS bookmarklets


r/ScriptSwap • • Jan 23 '16

[bash] Scripts to backup your files and configs (ubuntu)

5 Upvotes

r/ScriptSwap • • Dec 28 '15

Rewrite Windows script (bat file) to Linux script (for use with Unraid)

5 Upvotes

Hi! I originally posted in r/PleX, and got pointed in this direction. I want to build and set up a new media server for my home using Unraid. I want to use Plex to consume media, but I also want to use a VPN to protect my privacy (torrents, among other things). The problem with VPN+Plex is that the VPN causes remote access to the server to fail, and a Windows script written by XFlak (found here: https://xflak40.wordpress.com/apps/) has been the solution on my old server. On my new server I want to use Unraid instead of Windows, and thus I need a new script to be able to access my media remotely.

Is there anyone here that can help me out? The script I've been using in windows is as follows:

@echo off setlocal set PATH=%SystemRoot%\system32;%SystemRoot%\system32\wbem;%SystemRoot% chcp 437>nul
echo VPN Bypass for Plex Media Server echo by XFlak echo.
::get Default Gateway ipconfig|findstr /I /C:"Default Gateway"|findstr /I /C:"1" >"%temp%\gateway.txt" set /p gateway= <"%temp%\gateway.txt" set gateway=%gateway:*: =% ::echo %gateway% ::If gateway is detected incorrectly, override it by uncommenting the below like (delete ::) and input your correct gateway ::set gateway=192.168.2.1
echo Getting plex.tv's current IP addresses... echo. echo Note: Log of plex.tv's routed IP's saved here: echo %userprofile%\AppData\Local\Plex Media Server\PermittedPlexIPs.txt echo.
nslookup "plex.tv"|findstr /I /V "Server: Address: Name: timeout" >"%temp%\temp.txt" findstr /I /C:" " "%temp%\temp.txt" >"%temp%\plex.tv.txt"
echo.
cd /d "%temp%" for /F "tokens=*" %%A in (plex.tv.txt) do call :list %%A goto:donelist
:list
set PlexIP=%* set PlexIP=%PlexIP:* =% echo %PlexIP%
if not exist "%userprofile%\AppData\Local\Plex Media Server\PermittedPlexIPs.txt" goto:skipcheck
findstr /I /C:"%PlexIP%" "%userprofile%\AppData\Local\Plex Media Server\PermittedPlexIPs.txt">nul IF NOT ERRORLEVEL 1 (echo IP already routed, skipping...) & (goto:EOF) :skipcheck
echo route -p add %PlexIP% mask 255.255.255.255 %gateway% route -p add %PlexIP% mask 255.255.255.255 %gateway% echo.
echo %PlexIP% >>"%userprofile%\AppData\Local\Plex Media Server\PermittedPlexIPs.txt"
goto:EOF
:donelist
::clean no longer used IPs
echo. echo Removing routed IPs no longer used by plex.tv echo.
if exist "%userprofile%\AppData\Local\Plex Media Server\PermittedPlexIPs2.txt" del "%userprofile%\AppData\Local\Plex Media Server\PermittedPlexIPs2.txt">nul if not exist "%userprofile%\AppData\Local\Plex Media Server" goto:doneclean if not exist "%userprofile%\AppData\Local\Plex Media Server\PermittedPlexIPs.txt" goto:doneclean
cd /d "%userprofile%\AppData\Local\Plex Media Server"
for /F "tokens=*" %%A in (PermittedPlexIPs.txt) do call :clean %%A goto:doneclean
:clean
set PlexIP=%*
findstr /I /C:"%PlexIP%" "%temp%\plex.tv.txt" >nul IF ERRORLEVEL 1 goto:remove
echo IP still used: %PlexIP% echo %PlexIP% >>"%userprofile%\AppData\Local\Plex Media Server\PermittedPlexIPs2.txt"
goto:EOF
:remove echo IP no longer used: route delete %PlexIP% route delete %PlexIP%
goto:EOF
:doneclean
if exist "%userprofile%\AppData\Local\Plex Media Server\PermittedPlexIPs.txt" del "%userprofile%\AppData\Local\Plex Media Server\PermittedPlexIPs.txt">nul
if exist "%userprofile%\AppData\Local\Plex Media Server\PermittedPlexIPs2.txt" move /y "%userprofile%\AppData\Local\Plex Media Server\PermittedPlexIPs2.txt" "%userprofile%\AppData\Local\Plex Media Server\PermittedPlexIPs.txt">nul
echo. echo Finished, exiting... @ping 127.0.0.1 -n 3 -w 1000> nul
::pause
exit
::Other route commands ::route print ::route -p add 54.241.0.0 mask 255.255.0.0 192.168.2.1 ::route delete 54.241.0.0 mask 255.255.0.0 ::route -f

r/ScriptSwap • • Nov 29 '15

A script to auto-crop images with a right click for triple/quad monitor wallpapers (after struggling to find a proper solution).

5 Upvotes

Here is the script I'll try to add a function to auto-set the wallpapers on each screens but so far I haven't found any bashable command that actually does that in Plasma 5

That's my first git :)

edit : if you know a way to setup a wallpaper from the terminal and working with Plasma 5 (feh doesn't) feel free to yell it at me


r/ScriptSwap • • Sep 21 '15

[Python] Mute/Unmute Windows on Lock/Unlock

5 Upvotes

I wrote this the other day to mute my Window's PC when I lock it and vise versa. Notes of consideration is this requires execution with elevated rights in order to start/stop AudioSrv.

You can find it on my Github!


r/ScriptSwap • • Sep 14 '15

[Python2/Python3/Shell] Swap usage of processes in Linux

5 Upvotes

I found that my old swap usage script wasn't working any more, so I wrote another one.

Python2 version, tested on CentOS
Python3 version, tested on Arch Linux
Shell version, tested on both, a little slower

Try piping into sort -nk2


r/ScriptSwap • • Jul 25 '15

A script to rip audio from youtubes 'up next' links

5 Upvotes

https://gist.github.com/neeasade/24822fe4ac96edb39187

you can define how many urls it will follow. depends on cURL, grep, youtube-dl, ffmpeg.