| 全国 | |
|---|---|
| ラジオNIKKEI第1 | RN1 |
| ラジオNIKKEI第2 | RN2 |
| 放送大学 | HOUSOU-DAIGAKU |
| 北海道・東北 | |
| HBCラジオ | HBC |
| STVラジオ | STV |
| AIR-G'(FM北海道) | AIR-G |
| FM NORTH WAVE | NORTHWAVE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!python3 | |
| #-*- coding: utf-8 -*- | |
| import appex, console, json, requests | |
| from bs4 import BeautifulSoup | |
| #slack | |
| slack_webhook = "SlackのWebhook URL" | |
| def slack(data, url): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!python3 | |
| # coding: utf-8 | |
| from objc_util import NSBundle, ObjCClass | |
| import os, json | |
| import console | |
| import requests | |
| HOST = "インスタンス" | |
| CLIENT_NAME = "クライアント名" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! python3 | |
| # -*- coding: utf-8 -*- | |
| import appex | |
| import os, sys | |
| import shutil | |
| from ast import literal_eval | |
| from bs4 import BeautifulSoup as BS | |
| from urllib.parse import urlparse, urljoin | |
| from urllib.request import urlopen |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| # Usage: cron ->"29,59 * * * * sleep 45; python radiko.py" | |
| import os | |
| from datetime import * | |
| import yaml | |
| # rec_radiko.sh | |
| rec_radiko = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| # Usage: linelive.py <title> <url> | |
| import os, sys | |
| import lxml.html | |
| import requests | |
| from ast import literal_eval | |
| ffmpeg = "/usr/local/bin/ffmpeg" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!python3 | |
| #-*- coding: utf-8 -*- | |
| import appex, twitter, dialogs, console | |
| import requests | |
| gyazo_cgi = 'ここは各々' | |
| def upload(img): | |
| files = {'imagedata': img} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import sys | |
| import md5 | |
| import cgi | |
| import os | |
| url = "ここは各々" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!python3 | |
| #-*- coding: utf-8 -*- | |
| from objc_util import NSBundle, ObjCClass | |
| import console | |
| import webbrowser | |
| import urllib.parse | |
| NSBundle.bundleWithPath_('/System/Library/Frameworks/MediaPlayer.framework').load() | |
| MPMusicPlayerController = ObjCClass('MPMusicPlayerController') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!python3 | |
| #-*- coding: utf-8 -*- | |
| import appex, twitter, dialogs, console | |
| from ast import literal_eval | |
| import requests | |
| access_token = 'YOUR_ACCESS_TOKEN' | |
| UPLOAD = 'https://upload.gyazo.com.api/upload' |