added basic backup script for videos
parent
cc0bfd7ac7
commit
3b1c494895
|
@ -2,3 +2,4 @@
|
|||
|
||||
tmp/
|
||||
out/
|
||||
video-backup
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env ruby
|
||||
# coding: utf-8
|
||||
# Copyright muflax <mail@muflax.com>, 2011
|
||||
# License: GNU GPL 3 <http://www.gnu.org/copyleft/gpl.html>
|
||||
|
||||
hosts = [
|
||||
"youtube.com/v",
|
||||
"youtube.com/watch",
|
||||
"vimeo.com",
|
||||
"dailymotion.com",
|
||||
"video.google.com",
|
||||
]
|
||||
|
||||
urls = `grep -horP 'http://.*(#{hosts.join "|"})[^\"]*\\b' content/ | sort -u`
|
||||
|
||||
Dir.chdir "video-backup"
|
||||
urls.split.each do |url|
|
||||
puts "backing up #{url}..."
|
||||
system "cclive -c --max-retries 0 '#{url}'"
|
||||
end
|
|
@ -6,10 +6,10 @@ episteme: :broken
|
|||
---
|
||||
|
||||
<div align="center"><object width="420" height="315"><param name="movie"
|
||||
value="http://www.youtube.com/v/PZBqsqvfj0Y?version=3&hl=en_US"></param><param
|
||||
value="http://www.youtube.com/v/PZBqsqvfj0Y"></param><param
|
||||
name="allowFullScreen" value="true"></param><param name="allowscriptaccess"
|
||||
value="always"></param><embed
|
||||
src="http://www.youtube.com/v/PZBqsqvfj0Y?version=3&hl=en_US"
|
||||
src="http://www.youtube.com/v/PZBqsqvfj0Y"
|
||||
type="application/x-shockwave-flash" width="420" height="315"
|
||||
allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
|
||||
|
||||
|
@ -272,12 +272,14 @@ overcoming of death. In no meaningful way does Jesus die; his body dies, but the
|
|||
transformation continues independent of it, as we will see now. In stark
|
||||
contrast to Mark, John continues after Jesus' death.
|
||||
|
||||
<div align="center"><object width="480" height="327"><param name="movie"
|
||||
WWvalue="http://www.dailymotion.com/swf/video/xnryl?theme=none" /><param
|
||||
<div align="center">
|
||||
<object width="480" height="327"><param name="movie"
|
||||
WWvalue="http://www.dailymotion.com/swf/video/xnryl" /><param
|
||||
name="allowFullScreen" value="true" /><param name="allowScriptAccess"
|
||||
value="always" /><embed type="application/x-shockwave-flash" width="480"
|
||||
height="327" src="http://www.dailymotion.com/swf/video/xnryl?theme=none"
|
||||
allowfullscreen="true" allowscriptaccess="always"></embed></object></div>
|
||||
height="327" src="http://www.dailymotion.com/swf/video/xnryl"
|
||||
allowfullscreen="true" allowscriptaccess="always"></embed></object>
|
||||
</div>
|
||||
|
||||
> Now very early on the first day of the week, while it was still dark, Mary
|
||||
> Magdalene came to the tomb and saw that the stone had been moved away from the
|
||||
|
|
Loading…
Reference in New Issue