Skip to content

Commit 0589643

Browse files
committed
Fix file character encoding
1 parent 866c812 commit 0589643

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ldrize_cooperation_fetch_flv.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function NiconicoMylistHandler(url, title){
218218
var csrfToken = getElementsByXPath('//input[@name="csrf_token"]', html)[0].value;
219219
var mylists = getElementsByXPath('id("mylist_add_group_id")/option', html).map(function(element) [element.innerHTML, element.value]);
220220

221-
var params = [['ajax', '1'], ['mylist', 'add'], ['mylist_add', '“o˜^'], ['csrf_token', csrfToken], ['group_id', groupId]].map(function(p) p[0] + "=" + encodeURIComponent(p[1])).join("&");
221+
var params = [['ajax', '1'], ['mylist', 'add'], ['mylist_add', '登録'], ['csrf_token', csrfToken], ['group_id', groupId]].map(function(p) p[0] + "=" + encodeURIComponent(p[1])).join("&");
222222
return Deferred.wait(count++ * 5).next(function(est){
223223
return Deferred.http.post(nicoWatchEndPoint + videoId, params).next(function(mylistResult){
224224
liberator.log(mylistResult.responseText);

0 commit comments

Comments
 (0)