On Mac, Homebrew is the de-facto package manager, and Homebrew Cask is the app manager. I’m going to use Cask to install Java 7 and 8.
Install Homebrew Cask first if you haven’t:
brew update
brew tap caskroom/cask
| see: https://github.com/woodongwong/tvfix |
| port: 7890 | |
| socks-port: 7891 | |
| allow-lan: true | |
| mode: Rule | |
| log-level: silent | |
| external-controller: 127.0.0.1:9090 | |
| dns: | |
| enable: true | |
| ipv6: false | |
| listen: 127.0.0.1:5450 |
| // 練習用 axios | |
| // --- 第 8 關 --- /lv8?token={HsifnAerok} | |
| // 我昨天在整理書籍的時候發現有一本書的 ISBN 編號跟系統內的對不上,仔細看了一下發現我當時輸入系統時 key 錯了。 | |
| // 哎呀,人老了就是這樣,老是會看錯。 | |
| // 那本書的名字裡面有個「我」,作者的名字是四個字,key 錯的 ISBN 最後一碼為 7,只要把最後一碼改成 3 就行了。 | |
| // 對了!記得要用新的系統喔,舊的已經完全廢棄不用了。 | |
| const axios = require('axios'); |
| #EXTM3U | |
| #EXTINF:0,NTV News24 | |
| http://www.news24.jp/livestream/index.m3u8 | |
| #EXTINF:0,GSTV | |
| https://gemstv.wide-stream.net/gemstv01/smil:gemstv01.smil/chunklist.m3u8 | |
| #EXTINF:0,NHK World Japan live | |
| https://nhkworld.webcdn.stream.ne.jp/www11/nhkworld-tv/global/2003458/live.m3u8 | |
| #EXTINF:0,ウェザーニュース | |
| http://movie.mcas.jp/mcas/wn1_2/master.m3u8 | |
| #EXTINF:0,WOWOWシネマ |
| ''' | |
| 需要 Python 3.6 + requests | |
| ''' | |
| import requests | |
| from math import ceil | |
| from urllib import parse | |
| import time | |
| class favlist(): |
| # Automatically created by: scrapy startproject | |
| # | |
| # For more information about the [deploy] section see: | |
| # https://scrapyd.readthedocs.io/en/latest/deploy.html | |
| [settings] | |
| default = tutorial.settings | |
| [deploy] | |
| #url = http://localhost:6800/ |
| { | |
| "id": 19, | |
| "title": "Thriller", | |
| "artist": "Michael Jackson", | |
| "cover": "https://goo.gl/3f8L6c", | |
| "year": 1982, | |
| "label": "Epic Records", | |
| "genre": "Pop", | |
| "length": "42:19", | |
| "track_list": [ |
| ::-webkit-input-placeholder { | |
| /* WebKit browsers */ | |
| color: #ddd; | |
| } | |
| :-moz-placeholder { | |
| /* Mozilla Firefox 4 to 18 */ | |
| color: #ddd; | |
| } |
| [ | |
| { | |
| "request": { | |
| "action": "list", | |
| "id": "seen" | |
| }, | |
| "source": "filmtipset.se", | |
| "user": { | |
| "name": "peterhellberg", | |
| "id": "113654" |