mirror of
https://github.com/sussy-code/providers.git
synced 2026-08-11 17:41:34 +00:00
fix soaper
ahhh its ip locked now
This commit is contained in:
parent
f6ff4761f4
commit
98cb4612bd
1 changed files with 5 additions and 2 deletions
|
|
@ -71,6 +71,9 @@ const universalScraper = async (ctx: MovieScrapeContext | ShowScrapeContext): Pr
|
|||
body: formData,
|
||||
headers: {
|
||||
referer: `${baseUrl}${showLink}`,
|
||||
'User-Agent':
|
||||
'Mozilla/5.0 (iPhone; CPU iPhone OS 18_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1',
|
||||
'Viewport-Width': '375',
|
||||
},
|
||||
});
|
||||
|
||||
|
|
@ -132,8 +135,8 @@ export const soaperTvScraper = makeSourcerer({
|
|||
id: 'soapertv',
|
||||
name: 'SoaperTV',
|
||||
rank: 140,
|
||||
disabled: true,
|
||||
flags: [flags.CORS_ALLOWED],
|
||||
disabled: false,
|
||||
flags: [flags.CORS_ALLOWED, flags.IP_LOCKED],
|
||||
scrapeMovie: universalScraper,
|
||||
scrapeShow: universalScraper,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue