Spaces:
Sleeping
Sleeping
Download scratch/test_variations.js from TXAVLOG/dptxa-proxy: direct link, hf CLI and curl.
- Browser
- Download file 795 Bytes
-
https://huggingface.co/spaces/TXAVLOG/dptxa-proxy/resolve/main/scratch/test_variations.js
- Command line
-
hf download hf://spaces/TXAVLOG/dptxa-proxy/scratch/test_variations.js
-
curl -L -o test_variations.js https://huggingface.co/spaces/TXAVLOG/dptxa-proxy/resolve/main/scratch/test_variations.js
795 Bytes
| async function test() { | |
| const variations = [ | |
| 'https://v7.kkphimplayer7.com/20260514/LGQKiMAz/preview.jpg', | |
| 'https://v7.kkphimplayer7.com/20260514/LGQKiMAz/thumb.jpg', | |
| 'https://v7.kkphimplayer7.com/20260514/LGQKiMAz/index.jpg', | |
| 'https://v7.kkphimplayer7.com/20260514/LGQKiMAz/preview.png' | |
| ]; | |
| for (const url of variations) { | |
| try { | |
| const response = await fetch(url, { | |
| headers: { | |
| 'Referer': 'https://v7.kkphimplayer7.com/', | |
| 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' | |
| } | |
| }); | |
| console.log(`URL: ${url} -> Status: ${response.status}`); | |
| } catch (err) { | |
| console.error(`URL: ${url} -> Error: ${err.message}`); | |
| } | |
| } | |
| } | |
| test(); | |