Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
destroyallsoftware cheap screencast downloader
require 'rss'
#this assumes you have a cookies.txt with cookies... later ill add a signin method..
class Link
attr_accessor :link,:title,:date
def initialize(link,title,date)
@link = link
@title = title
@date = date
def filename
def download
p %x(wget -c #{} --load-cookies cookies.txt -O #{self.filename})
rss_string = open('').read
rss = RSS::Parser.parse(rss_string, false)
links = {|item|"/download",item.title,item.pubDate)}
links.each do |link| end

This comment has been minimized.

Copy link

commented Feb 13, 2013


This comment has been minimized.

Copy link
Owner Author

commented Apr 5, 2018

@bf4 lol just saw your message, this one is shorter, but I don't know if it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.