hacks/scrape-jwztv/recents.sh

18 lines
701 B
Bash
Raw Normal View History

2022-01-09 11:56:45 +00:00
#!/bin/bash
curl 'https://www.dnalounge.com/musicvideos/jwztv/recent+queue/' \
-H 'Connection: keep-alive' \
-H 'sec-ch-ua: "Google Chrome";v="95", "Chromium";v="95", ";Not A Brand";v="99"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36' \
-H 'sec-ch-ua-platform: "macOS"' \
-H 'Accept: */*' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Referer: https://www.dnalounge.com/musicvideos/' \
-H 'Accept-Language: en-US,en;q=0.9' \
--compressed | jq . > $(date -u +"%Y%m%dT%H%M%SZ").recents.json
sleep 3600