mirror of
https://codeberg.org/ashley/poke
synced 2026-03-03 09:23:44 +00:00
make it two trys to be faster
This commit is contained in:
@@ -35,7 +35,7 @@ module.exports = async function (video_id) {
|
||||
*/
|
||||
|
||||
async function parsexml(id) {
|
||||
for (let i = 0; i < 3; i++) {
|
||||
for (let i = 0; i < 2; i++) {
|
||||
try {
|
||||
const player = await fetch(`${new_api_url}?v=${id}`, headers);
|
||||
var h = await player.text();
|
||||
|
||||
Reference in New Issue
Block a user