修了一堆奇怪的bug 加入了分享和直链,方便服务器用。 一句话安装: pip install onedrivecmd 代码还在https://github.com/cnbeining/onedrivecmd 。 Onedrivecmd now comes with sharing and direct link support. To install: pip install onedrivecmd Still open-sourced at https://github.com/cnbeining/onedrivecmd .
There is no excerpt because this is a protected post.
Error from Flask: code 400, message Bad HTTP/0.9 request type This is due to feeding HTTPS to Flask. Solution: Set HTTPS, use HTTP or use Nginx to… Read more »
https://github.com/cnbeining/onedrivecmd 又撸了一个东西玩。 MS经常给EDU邮箱,但是Linux下没有工具,也就是说有巨大备份需求的大户反而跑不了。 按megacmd,照猫画虎,撸一个这玩意。 MS的SDK挺难用的,文档挺语焉不详的。但是幸好没遇到什么很大的需要debug的东西。 老样子,欢迎PR。 AGPL,麻烦想偷的自己琢磨琢磨先。
Speech side: Audio Segmenting: http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0144610#sec008 Then run FFMpeg with -s and -t with subprocess Google Speech API: https://cloud.google.com/speech/reference/rest/v1beta1/speech/syncrecognize curl ‘https://speech.googleapis.com/v1beta1/speech:syncrecognize?key=AIzaSyBmmqjUsStJat65IP7KgKuH2cz6rRvlIr8’ -H ‘Referer: https://cloud.google.com/’ -H ‘Origin: https://cloud.google.com’ -H ‘User-Agent: Mozilla/5.0 (Macintosh; Intel… Read more »
没什么要说的,换了个key,继续续命。 不行了再把新算法拿出来。
没想到又把我挤兑到用老Key了。 https://github.com/cnbeining/Biligrab
有人提议,我就写个。 老规矩,GPLv2,自己测试,风险自担。 https://gist.github.com/cnbeining/b77a4f5762a78fb3878c #!/usr/bin/env python #coding:utf-8 # Author: Beining –<i@cnbeining.com> # Purpose: Auto reply Acfun’s msg # Created: 01/05/2016 # License: GPLv2 import sys import unittest import requests… Read more »
原作者的gists死了,备份一下以免灭失。 https://kirito.me/python/download-bilibili-historical-danmu.html #!/usr/bin/env python # -*- coding=utf-8 -*- # 哔哩哔哩历史弹幕 (XML) 下载器 # 使用:downdanmu.py av314 import StringIO import datetime import gzip import json import os import re import urllib2… Read more »