Skip to content

Instantly share code, notes, and snippets.

Yoshihiro Ohsuka oh-sky

Block or report user

Report or block oh-sky

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View nicovideo_rtmpe.txt
## STEP0. はじめに
http://www.nicovideo.jp/watch/1380872606
上記の動画を例にDL方法を解説する
## STEP1. パラメータの取得
http://flapi.nicovideo.jp/api/getflv/1380872606
上記URLをログインした状態(Cookieが設定されている状態)でGETする
View Base64Email.php
<?php
App::uses('CakeEmail', 'Network/Email');
class Base64Email extends CakeEmail {
protected function _renderTemplates($content) {
$rendered = parent::_renderTemplates($content);
array_walk($rendered, function(&$val, $key) {
$val = chunk_split(base64_encode($val), 76, "\n");
});
You can’t perform that action at this time.