Skip to content

Commit

Permalink
[extractor:muchohentai] update regex with new URL part
Browse files Browse the repository at this point in the history
  • Loading branch information
gan-of-culture committed Oct 15, 2023
1 parent 7d6036e commit ebfa2b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extractors/muchohentai/muchohentai.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ import (
)

const site = "https://muchohentai.com/"
const urlPart = "Ygh1ZX"

var reEpisodeURL = regexp.MustCompile(site + `aBo4Rk/\d+/`)
var reEpisodeURL = regexp.MustCompile(site + urlPart + `/\d+/`)
var reServerPrefixes = regexp.MustCompile(`va\d\d`)
var reSrcURLBaseParts = regexp.MustCompile(`(https://)"[^"]+"([^"]+)`) // 1=https 2=second part of domain
var reSrcURLParts = regexp.MustCompile(`\\/wp-content[^"]+`) // 1=m3u8 2=subs 3=thumbs
Expand Down

0 comments on commit ebfa2b9

Please sign in to comment.