mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
#2368 fix version path pickx.be
This commit is contained in:
parent
677640d119
commit
79a6c2ea78
1 changed files with 5 additions and 1 deletions
|
@ -132,7 +132,11 @@ module.exports = {
|
||||||
function fetchApiVersion() {
|
function fetchApiVersion() {
|
||||||
return new Promise(async (resolve, reject) => {
|
return new Promise(async (resolve, reject) => {
|
||||||
try {
|
try {
|
||||||
const response = await axios.get('https://px-epg.azureedge.net/version', {
|
|
||||||
|
// https://px-epg.azureedge.net/version is deprecated
|
||||||
|
// probably the version url will be changed around over time
|
||||||
|
const versionUrl = 'https://www.pickx.be/api/s-3b36540f3cef64510112f3f95c2c0cdca321997ed2b1042ad778523235e155eb'
|
||||||
|
const response = await axios.get(versionUrl, {
|
||||||
headers: {
|
headers: {
|
||||||
'Origin': 'https://www.pickx.be',
|
'Origin': 'https://www.pickx.be',
|
||||||
'Referer': 'https://www.pickx.be/'
|
'Referer': 'https://www.pickx.be/'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue