Fix osn.com

This commit is contained in:
Aleksandr Statciuk 2022-01-13 20:19:09 +03:00
parent 59f0f5cd5a
commit 6ce6e2d44b
2 changed files with 13 additions and 1 deletions

View file

@ -9,6 +9,10 @@ module.exports = {
site: 'osn.com',
request: {
method: 'POST',
headers: {
'Content-Type': 'application/json; charset=UTF-8',
Referer: 'https://www.osn.com'
},
data({ channel, date }) {
const [selectedCountry, channelCode] = channel.site_id.split('#')
return {