Railscasts downloader script
run it to download all railscasts, re-run it to update with newly released ones. Just run it in the folder where you want to keep them. yes, I could have used the word run a couple more times.
it's on github
#!/usr/bin/ruby require 'rss' p 'Downloading rss index' rss_string = open('http://feeds.feedburner.com/railscasts').read rss = RSS::Parser.parse(rss_string, false) videos_urls = rss.items.map { |it| it.enclosure.url }.reverse videos_filenames = videos_urls.map {|url| url.split('/').last } existing_filenames = Dir.glob('*.mov') missing_filenames = videos_filenames - existing_filenames p "Downloading #{missing_filenames.size} missing videos" missing_videos_urls = videos_urls.select { |video_url| missing_filenames.any? { |filename| video_url.match filename } } missing_videos_urls.each do |video_url| filename = video_url.split('/').last p filename p %x(wget #{video_url} -O #{filename}.tmp ) p %x(mv #{filename}.tmp #{filename} ) end p 'Finished synchronization'
Trackbacks
Usa el siguiente link para crear un trackback desde tu propio sitio:
http://maximilianoguzman.com.ar/trackbacks?article_id=5
Thanks, for the info. I have been looking this for quite long.
Thank you very Much!!! I was trying to doing the job with wget, but I guess is enough. Cheers!!
Thanks for the script!
Awesome! Very useful script!
I know that writing ruby scripts is important for gathering knowledge, but I have shorter solution http://niczsoft.com/2010/01/download-all-railscasts/ using wget :)
I figured out a much quicker way to do this.
if you’re using Firefox install the Flashgot addon
Go to http://feeds.feedburner.com/railscasts Right click and select Flashgot all than pick the files / filetypes you want (there should be a checkbox for it say .mov (200) 300) or how many episodes there were and just click Ok and proceed like with any other download.
Hope it helps
PS should work with any equivalent software
Unfortunately, the script no longer works.
Couldn’t resist https://github.com/kulbirsaini/Railscasts-Sync :-)
PS : That “it’s on github” link is too small.. I saw that after creating my own repo :|
This is the greatest topic I have read today
Great read! You might want to follow up to this topic???
Thanks for this great post. Did you do it all on your own? This must’ve taken a lot of time
It’s very straightforward to find out any topic on web as compared to textbooks, as I found this paragraph at this website.
Hola amigos, que alegría de estar aqui en su sitio web. Les participo mi deseo en su tema, hablemos de rastreo satelital para vehiculos ahora
I think this is one of the most significant information for me. And i am glad reading your article. But wanna remark on few general things, The website style is wonderful, the articles is really great : D. Good job, cheers
Hmm is anyone else encountering problems with the images on this blog loading?
I’m trying to figure out if its a problem on my end or if it’s the blog. Any feedback would be greatly appreciated.
Magnificent beat ! I wish to apprentice even as you amend your website, how could i subscribe for a blog site? The account aided me a appropriate deal. I have been a little bit familiar of this your broadcast provided shiny clear idea
Magnificent beat ! I wish to apprentice even as you amend your website, how could i subscribe for a blog site? The account aided me a appropriate deal. I have been a little bit familiar of this your broadcast provided shiny clear idea
Hello it’s me, I am also visiting this website daily, this web page is really pleasant and the people are genuinely sharing good thoughts.
What’s up everyone, it’s my first visit at this web page, and post is genuinely fruitful in favor of me, keep up posting these articles. Www.parafia.radom.
pl
Hi there, just wanted to say, I liked this article. It was funny. Keep on posting!
Spot on with this write-up, I honestly think this amazing site needs far more attention. I’ll probably be returning to see more, thanks for the info!
I don’t know whether it’s just me or if perhaps everybody else experiencing problems with your site. It appears as if some of the written text on your content are running off the screen. Can somebody else please provide feedback and let me know if this is happening to them too? This might be a problem with my web browser because I’ve had this happen previously. Appreciate it
It’s an remarkable post for all the online people; they will take benefit from it I am sure.
Over the course of the entire Dukan diet process, low impact physical exercises, such walking, are recommended to achieve weight-loss. They stay in the market for a month or two, earn money and disappear. After all, you are not just choosing a diet, but a lifestyle you can stay committed to.
You can also play Sonic, and Tails or Sonic and Tails or Knuckles. To that, it adds a more taut suspension, a 10-millimeter-lower ride height, four-wheel disc brakes and 17-inch wheels. (This particular restaurant has great service and meticulously packs to-go orders with the same sides and sauces served to dining room patrons.
You can also play Sonic, and Tails or Sonic and Tails or Knuckles. To that, it adds a more taut suspension, a 10-millimeter-lower ride height, four-wheel disc brakes and 17-inch wheels. (This particular restaurant has great service and meticulously packs to-go orders with the same sides and sauces served to dining room patrons.
When it needs maintenance it gets maintenance at the right point. Apartments, condos, businesses and offices would do well with this system. If you need help finding a wireless internet access vendor.
Wonderful Railscasts downloader script guide! I’m naturally captured by your skills in creating. The idea reminded me of a content article regarding Bitterly Someone said a few hours earlier. However, sweet piece… appreciate your writing.
Hello there, I do believe your site may be having internet browser compatibility issues.
When I take a look at your web site in Safari, it looks fine but when opening in Internet Explorer, it’s got some overlapping issues. I merely wanted to give you a quick heads up! Aside from that, wonderful site!
Thank you for every other informative blog. The place else could I get that kind of info written in such a perfect way? I have a undertaking that I’m simply now operating on, and I have been on the glance out for such information.
Thanks a ton! It a impressive website.
Thanks a ton! It a impressive website.