From f324d93777db2465b0af46b97e8abf42d9402fc4 Mon Sep 17 00:00:00 2001 From: muflax Date: Wed, 16 Nov 2011 08:59:43 +0100 Subject: [PATCH] cover drafts as well --- backup-video.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup-video.rb b/backup-video.rb index b95e91b..b20deef 100755 --- a/backup-video.rb +++ b/backup-video.rb @@ -11,7 +11,7 @@ hosts = [ "video.google.com", ] -urls = `grep -horP 'http://.*(#{hosts.join "|"})[^\"]*\\b' content/ | sort -u` +urls = `grep -horP 'http://.*(#{hosts.join "|"})[^\"]*\\b' content/ drafts/ | sort -u` Dir.chdir "video-backup" urls.split.each do |url|