Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tvprofil.com #2341

Open
SupMaMates opened this issue Mar 13, 2024 · 1 comment · May be fixed by #2371
Open

Fix tvprofil.com #2341

SupMaMates opened this issue Mar 13, 2024 · 1 comment · May be fixed by #2371
Labels
broken guide Error in the EPG

Comments

@SupMaMates
Copy link

Site

tvprofil.com

Description

everything 0 channels fresh ip, can you test?

image

@SupMaMates SupMaMates added the broken guide Error in the EPG label Mar 13, 2024
@SupMaMates
Copy link
Author

New fixed

only thing that changed is

function buildQuery(site_id, date) {
const query = {
datum: date.format('YYYY-MM-DD'),
kanal: site_id,
callback: 'cb'
}

let c = 4
const a = query.datum + query.kanal + c
const ua = query.kanal + query.datum

let i = a.length,
b = 2

for (let j = 0; j < ua.length; j++) c += ua.charCodeAt(j)
while (i--) {
b += (a.charCodeAt(i) + c * 2) * i
}

b = b.toString()
const key = 'b' + b.charCodeAt(b.length - 1)

query[key] = b

return new URLSearchParams(query).toString()
}

PopeyeTheSai10r added a commit that referenced this issue May 11, 2024
@PopeyeTheSai10r PopeyeTheSai10r linked a pull request May 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken guide Error in the EPG
Development

Successfully merging a pull request may close this issue.

1 participant