aboutsummaryrefslogtreecommitdiffstats
path: root/ldrize_cooperation_fetch_flv.js
diff options
context:
space:
mode:
Diffstat (limited to 'ldrize_cooperation_fetch_flv.js')
-rw-r--r--ldrize_cooperation_fetch_flv.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/ldrize_cooperation_fetch_flv.js b/ldrize_cooperation_fetch_flv.js
index e1f520a..42d5347 100644
--- a/ldrize_cooperation_fetch_flv.js
+++ b/ldrize_cooperation_fetch_flv.js
@@ -215,11 +215,8 @@ function NiconicoMylistHandler(url, title){
Deferred.wait(count++ * 5).next(function(est){
return Deferred.http.get(nicoWatchEndPoint + videoId).next(function(watchResult){
var html = parseHTML(watchResult.responseText, ['img', 'script']);
- Firebug.Console.log(html);
var csrfToken = getElementsByXPath('//input[@name="csrf_token"]', html)[0].value;
- Firebug.Console.log(csrfToken);
var mylists = getElementsByXPath('id("mylist_add_group_id")/option', html).map(function(element) [element.innerHTML, element.value]);
- Firebug.Console.log(mylists);
var params = [['ajax', '1'], ['mylist', 'add'], ['mylist_add', '“o˜^'], ['csrf_token', csrfToken], ['group_id', groupId]].map(function(p) p[0] + "=" + encodeURIComponent(p[1])).join("&");
return Deferred.wait(count++ * 5).next(function(est){