update
This commit is contained in:
@@ -58,7 +58,7 @@ async function extractEpisodes(url) {
|
||||
const html = await response.text();
|
||||
const episodes = [];
|
||||
|
||||
const episodeRegex = /<a[^>]+id="([^"]+)"[^>]*>[\s\S]*?<div class='[^']*watch2 bc'[^>]*>(\d+)<\/div>/g;
|
||||
const episodeRegex = /<a[^>]+id="([^"]+)"[^>]*>[\s\S]*?<div class='watch2[^']*'>(\d+)<\/div>/g;
|
||||
|
||||
let match;
|
||||
while ((match = episodeRegex.exec(html)) !== null) {
|
||||
@@ -75,7 +75,6 @@ async function extractEpisodes(url) {
|
||||
|
||||
episodes.reverse();
|
||||
|
||||
console.log(episodes);
|
||||
return JSON.stringify(episodes);
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"name": "50/50",
|
||||
"icon": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ3122kQwublLkZ6rf1fEpUP79BxZOFmH9BSA&s"
|
||||
},
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"language": "English (SUB)",
|
||||
"streamType": "HLS",
|
||||
"quality": "720p",
|
||||
|
||||
Reference in New Issue
Block a user