#!/bin/bash # 分析下载页面 echo "=== Page size ===" wc -c /tmp/dl_page.html echo "=== All URLs containing download/zip/native ===" grep -oiE 'https?://[^"'\'' <>]+(download|\.zip|native|cubism)[^"'\'' <>]*' /tmp/dl_page.html | sort -u | head -40 echo "=== Script sources ===" grep -oiE ']*src="[^"]*"' /tmp/dl_page.html | head -20 echo "=== Data attributes ===" grep -oiE 'data-[a-z]+="[^"]*"' /tmp/dl_page.html | head -20 echo "=== Form actions ===" grep -oiE ']*action="[^"]*"' /tmp/dl_page.html | head -10 echo "=== Any cubism.live2d URLs ===" grep -oiE 'https?://[a-z.]*live2d[^"'\'' <>]*' /tmp/dl_page.html | sort -u | head -30 echo "=== DONE ==="