[1-8-4] 管理 > Networkテスト > ラジコ詳細認証
ラジコ詳細認を行います。
----------------------------------------
4. ラジコとの認証テスト(詳細)
=== nslookup radiko.jp
/usr/bin/nslookup
--- cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 127.0.0.53
--- nslookup
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: radiko.jp
Address: 203.211.199.120
=== radiko_hls (mode=2)
--- auth1
wget -d -t 10 -T 5 --connect-timeout=5 --waitretry=5 --inet4-only --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"   --header="pragma: no-cache" --header="X-Radiko-App: pc_html5" --header="X-Radiko-App-Version: 0.0.1" --header="X-Radiko-User: dummy_user" --header="X-Radiko-Device: pc" --no-check-certificate --save-headers  https://radiko.jp/v2/api/auth1 -O /home/mapi/rfriends3/tmp/auth_202306070056591675689.fms1.dat
--- fms1
HTTP/1.1 200 OK
Server: nginx
Date: Tue, 06 Jun 2023 15:56:59 GMT
Content-Type: text/plain
Content-Length: 25
Connection: keep-alive
vary: Origin
x-radiko-apptype: pc
x-radiko-apptype2: pc
x-radiko-authtoken: fnTGvm1QA3XQpqzt_KD0FA
x-radiko-authwait: 0
x-radiko-delay: 15
x-radiko-keylength: 16
x-radiko-keyoffset: 12
x-request-id: PYO1ouuwtmo614k1fP0uiPcUVjwAcoBp
x-cloud-trace-context: c3fc4ea853ea19812973e5fa0dcf1b64
via: 1.1 google
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
x-frame-options: SAMEORIGIN
please send a part of key
--- auth2
wget -d -t 5 --inet4-only --no-check-certificate --user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0"  --header="pragma: no-cache" --header="X-Radiko-App: pc_html5" --header="X-Radiko-App-Version: 0.0.1" --header="X-Radiko-User: dummy_user" --header="X-Radiko-Device: pc" --header="X-Radiko-AuthToken: fnTGvm1QA3XQpqzt_KD0FA" --header="X-Radiko-PartialKey: YjM1MmUxZWYyZmQ2NmMzMg==" --no-check-certificate  https://radiko.jp/v2/api/auth2 -O /home/mapi/rfriends3/tmp/auth_202306070056591675689.fms2.dat
--- fms2
JP13,東京都,tokyo Japan
--- token
authtoken  : fnTGvm1QA3XQpqzt_KD0FA
partialkey : YjM1MmUxZWYyZmQ2NmMzMg==
nowarea    : JP13,東京都,tokyo Japan