Skip to content

Instantly share code, notes, and snippets.

@bf4
Last active December 15, 2015 18:19
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bf4/5303227 to your computer and use it in GitHub Desktop.
Save bf4/5303227 to your computer and use it in GitHub Desktop.
RubyTapas non-video files Downloader
@pvdev
Copy link

pvdev commented Apr 30, 2013

Hi,

Looks like downloads are attempted twice. Instead of

puts "downloading files"
download_episodes.each do |episode|
  download_episode(episode)
end

should it not just be

puts "downloading files"
download_episodes

Regards.

@bf4
Copy link
Author

bf4 commented Aug 4, 2013

Yeah, I noticed that but bothered fixing. Thank :)

@bf4
Copy link
Author

bf4 commented Aug 4, 2013

Andy Lindman tweets:

for i in {1..1052}; do wget --content-disposition --header "Cookie: ..." "https://rubytapas.dpdcart.com/subscriber/download?file_id=$i"; done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment