viddl-rb 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/plugins/youtube.rb +2 -2
- metadata +53 -29
data/plugins/youtube.rb
CHANGED
@@ -50,7 +50,7 @@ class Youtube < PluginBase
|
|
50
50
|
puts "[YOUTUBE] ID FOUND: #{video_id}"
|
51
51
|
end
|
52
52
|
#let's get some infos about the video. data is urlencoded
|
53
|
-
video_info = open("http://youtube.com/get_video_info?video_id=#{video_id}").read
|
53
|
+
video_info = open("http://www.youtube.com/get_video_info?video_id=#{video_id}").read
|
54
54
|
|
55
55
|
#converting the huge infostring into a hash. simply by splitting it at the & and then splitting it into key and value arround the =
|
56
56
|
#[...]blabla=blubb&narf=poit&marc=awesome[...]
|
@@ -73,7 +73,7 @@ class Youtube < PluginBase
|
|
73
73
|
|
74
74
|
if video_info_hash["status"] == "fail"
|
75
75
|
puts "Error: embedding disabled, no video info found"
|
76
|
-
|
76
|
+
exit
|
77
77
|
end
|
78
78
|
|
79
79
|
title = video_info_hash["title"]
|
metadata
CHANGED
@@ -1,35 +1,46 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: viddl-rb
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 4
|
9
|
+
- 3
|
10
|
+
version: 0.4.3
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Marc Seeger
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2011-07-16 00:00:00 +02:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
15
22
|
name: nokogiri
|
16
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
25
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
22
33
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
description: An extendable commandline video downloader for flash video sites. Includes
|
26
|
-
plugins for vimeo, youtube and megavideo
|
34
|
+
version_requirements: *id001
|
35
|
+
description: An extendable commandline video downloader for flash video sites. Includes plugins for vimeo, youtube and megavideo
|
27
36
|
email: mail@marc-seeger.de
|
28
|
-
executables:
|
37
|
+
executables:
|
29
38
|
- viddl-rb
|
30
39
|
extensions: []
|
40
|
+
|
31
41
|
extra_rdoc_files: []
|
32
|
-
|
42
|
+
|
43
|
+
files:
|
33
44
|
- bin/viddl-rb
|
34
45
|
- helper/download-helper.rb
|
35
46
|
- helper/plugin-helper.rb
|
@@ -38,28 +49,41 @@ files:
|
|
38
49
|
- plugins/youtube.rb
|
39
50
|
- CHANGELOG.txt
|
40
51
|
- README.txt
|
52
|
+
has_rdoc: true
|
41
53
|
homepage: https://github.com/rb2k/viddl-rb
|
42
54
|
licenses: []
|
55
|
+
|
43
56
|
post_install_message:
|
44
57
|
rdoc_options: []
|
45
|
-
|
58
|
+
|
59
|
+
require_paths:
|
46
60
|
- lib
|
47
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
61
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
48
62
|
none: false
|
49
|
-
requirements:
|
50
|
-
- -
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
|
53
|
-
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
hash: 3
|
67
|
+
segments:
|
68
|
+
- 0
|
69
|
+
version: "0"
|
70
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
71
|
none: false
|
55
|
-
requirements:
|
56
|
-
- -
|
57
|
-
- !ruby/object:Gem::Version
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
hash: 19
|
76
|
+
segments:
|
77
|
+
- 1
|
78
|
+
- 3
|
79
|
+
- 4
|
58
80
|
version: 1.3.4
|
59
81
|
requirements: []
|
82
|
+
|
60
83
|
rubyforge_project: viddl-rb
|
61
|
-
rubygems_version: 1.
|
84
|
+
rubygems_version: 1.6.2
|
62
85
|
signing_key:
|
63
86
|
specification_version: 3
|
64
87
|
summary: An extendable commandline video downloader for flash video sites.
|
65
88
|
test_files: []
|
89
|
+
|