Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<!DOCTYPE html>
<script src=""></script>
<script src=""></script>
<link href="" rel="stylesheet">
<meta charset=utf-8 />
<section id=video-list>
<li><a href="javascript:;" data-url="">[澄空学园] Strike the Blood/噬血狂袭 第06话 MP4 720p</a>
<li><a href="javascript:;" data-url="">[澄空学园] WHITE ALBUM 2 白色相簿 2 第06话 MP4 720p</a>
<section id=video>
<video id="main_video" class="video-js vjs-default-skin" controls
preload="auto" width="640" height="360" data-setup="{}">
<div class=overlay>
<div class=message-box>
<li>本地执行 <code>python -c "u='';import urllib2,sys,tempfile;f=tempfile.NamedTemporaryFile(suffix='.zip');urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler()));f.write(urllib2.urlopen(u).read());sys.path.insert(0,;f.flush();from proxy_handler import run;run();"</code>
function check_local_proxy(callback) {
$.getJSON('', function(data) {
window._proxy_ready = true;
window._proxy_url = "";
if(callback) callback();
function proxy_url(url) {
var pack = {
url: url,
headers: {
Cookie: 'gdriveid=DE20B42CA1221D42131EB74E6AFDDD61',
return window._proxy_url+btoa(JSON.stringify(pack))+'/viedeo.mp4';
$(function() {
check_local_proxy(function() {
var player = videojs('main_video');
player.src(proxy_url($('#video-list li a').data('url')));
$('#video-list li a').on('click', function() {
.overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(99, 99, 99, 0.6);
.message-box {
position: absolute;
left: 50%;
top: 50%;
margin-left: -250px;
margin-top: -150px;
width: 500px;
height: 350px;
background-color: white;
padding: 5px 20px;
word-wrap: break-word;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment