diff options
Diffstat (limited to 'fetchyoutube.js')
-rw-r--r-- | fetchyoutube.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchyoutube.js b/fetchyoutube.js index 427a2bd..8d77f06 100644 --- a/fetchyoutube.js +++ b/fetchyoutube.js @@ -45,7 +45,7 @@ let filepath = arg.string; let as = content.document.defaultView.wrappedJSObject.swfArgs; let title = doc.title.replace(/^YouTube - /, ''); - // XXX $B:#$,!"(Bfmt=22 $B$8$c$J$+$C$?$i3NG'$7$?J}$,NI$$!)(B + // XXX 今が、fmt=22 じゃなかったら確認した方が良い? let fmt = /^22/.test(as.fmt_map) ? '22' : '18'; let url = 'http://www.youtube.com/get_video?fmt=' + fmt + '&video_id=' + as.video_id + '&t=' + as.t; |