#!/bin/bash # Filename: clean-scrape.sh # Version.: 05082018 # Author..: robz # Clean list of magnet links from "showRSS.info" page source scrape. # Add to your file browser scripts directory for right click usage. # Usage: In the web browser, right click - "View Page Source" - "Select All" # left click - drag to desktop - right click - run script cd '/home/robz/Desktop' [ -e 'dropped text.txt' ] || exit sed '/1080p\|720p/d;/href="magnet/!d;s/.*href="//;s/" .*//' 'dropped text.txt' \ | sort -t= -k3 -o 'dropped text.txt' mv 'dropped text.txt' 'add-magnet.txt' exit
Mint Serena 64 bit using the Mate desktop environment. Most of the following scripts will run on this machine, although some have only been tested with the Gnome desktop. Extra software requirements can be met by the Ubuntu and safe PPA repositories. Scripts may be re-written or added to from time to time, the date serves as the version number. Syntax highlighting on these pages is provided by GVim's "Convert to HTML" option.
Clean Scrape
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment