| 日時: | 2018-08-08 |
|---|---|
| 作者: | @voluntas |
| バージョン: | 18.08.0 |
| url: | https://sora.shiguredo.jp/ |
この記事が良いと思ったらこの記事に Star を是非
| 日時: | 2018-08-08 |
|---|---|
| 作者: | @voluntas |
| バージョン: | 18.08.0 |
| url: | https://sora.shiguredo.jp/ |
この記事が良いと思ったらこの記事に Star を是非
| package main | |
| import ( | |
| "io" | |
| "log" | |
| "os" | |
| "os/exec" | |
| "io/ioutil" | |
| "bytes" | |
| ) |
We have moved: https://github.com/magnetikonline/linuxmicrosoftievirtualmachines
Due to the popularity of this Gist, and the work in keeping it updated via a Gist, all future updates will take place at the above location. Thanks!
| #!/usr/bin/env ruby | |
| #coding:utf-8 | |
| require 'mechanize' | |
| alice = Mechanize.new | |
| page = alice.get ARGV[0] | |
| url = CGI.unescape page.root.xpath('//*[@id="flash-player-embed"]')[0]['flashvars'].split('&flv_url=').last.split('&').first | |
| title = page.root.xpath('//div[@id="main"]/h2')[0].inner_text.to_s+'.flv' |
| #!/usr/bin/env python | |
| import hashlib | |
| from collections import defaultdict | |
| from io import BufferedReader, FileIO | |
| from aribgaiji import GAIJI_MAP | |
| """ | |
| TSファイルから字幕を取り出すスクリプト。 |