bilibili_sunday 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -44,7 +44,8 @@ module BilibiliSunday
44
44
  cid: cid,
45
45
  status: status,
46
46
  downloads: load_yaml(status_yaml_path(cid)) || [],
47
- path: concat_completed?(cid) ? concat_output_file_path(cid) : nil
47
+ path: concat_completed?(cid) ? concat_output_file_path(cid) : nil,
48
+ path: comments_path(cid)
48
49
  }
49
50
  end
50
51
 
@@ -216,6 +217,10 @@ module BilibiliSunday
216
217
  File.join(@work_path, 'cache')
217
218
  end
218
219
 
220
+ def comments_path(cid)
221
+ "http://comment.bilibili.tv/#{cid}.xml"
222
+ end
223
+
219
224
  def video_ext(cid)
220
225
  # TODO better way of identifying file types
221
226
  downloads = load_yaml(downloads_yaml_path(cid))
@@ -1,3 +1,3 @@
1
1
  module BilibiliSunday
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bilibili_sunday
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-23 00:00:00.000000000 Z
12
+ date: 2013-11-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler