OSN Error 500 Same Geolocation
OSN Error 500 Same Geolocation
when i run this line
npm run grab -- --site=osn.com --lang=ar
i got this issue :
`
PS C:\Users\Sensei\Desktop\EPG\epg\sites\osn.com> npm run grab -- --site=osn.com --lang=ar
grab npx tsx scripts/commands/epg/grab.ts --site=osn.com --lang=ar
(node:27776) ExperimentalWarning: --experimental-loader may be removed in the future; instead use register():
--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("file%3A///C%3A/Users/Sensei/Desktop/EPG/epg/node_modules/tsx/dist/loader.mjs", pathToFileURL("./"));'
(Use node --trace-warnings ... to show where the warning was created)
starting...
config:
output: guide.xml
maxConnections: 1
gzip: false
site: osn.com
lang: ar
loading channels...
found 63 channel(s)
run #1:
[1/126] osn.com (ar) - DWR - Aug 7, 2024 (0 programs)
ERR: Request failed with status code 500
[2/126] osn.com (ar) - DWR - Aug 8, 2024 (0 programs)
ERR: Request failed with status code 500
[3/126] osn.com (ar) - TLCArabia.us - Aug 8, 2024 (0 programs)
ERR: Request failed with status code 500
[4/126] osn.com (ar) - TLCArabia.us - Aug 7, 2024 (0 programs)
ERR: Request failed with status code 500
[5/126] osn.com (ar) - TheFilipinoChannelMiddleEast.us - Aug 8, 2024 (0 programs)
ERR: Request failed with status code 500
[6/126] osn.com (ar) - TheFilipinoChannelMiddleEast.us - Aug 7, 2024 (0 programs)
ERR: Request failed with status code 500
[7/126] osn.com (ar) - TeleRadyoGlobal.ph - Aug 8, 2024 (0 programs)
ERR: Request failed with status code 500
[8/126] osn.com (ar) - TeleRadyoGlobal.ph - Aug 7, 2024 (0 programs)
ERR: Request failed with status code 500
[9/126] osn.com (ar) - StarWorldMiddleEast.ae - Aug 8, 2024 (0 programs)
ERR: Request failed with status code 500
Terminate batch job (Y/N)? Y
`
I read here but OSN website guide i can access via browser
Most be geo-locked. It is working for me.
Try to see if you can access osn.com from your IP or run the program through Proxy/VPN.
Originally posted by @PopeyeTheSai10r in https://github.com/iptv-org/epg/issues/2282#issuecomment-1868125650
Try this OSN folder from my own fix at https://github.com/iptv-org/epg/blob/1d9e9479c5d226387c75bc8a4783dbee3144fb9c/sites/osn.com
Try this OSN folder from my own fix at https://github.com/iptv-org/epg/blob/1d9e9479c5d226387c75bc8a4783dbee3144fb9c/sites/osn.com
Thanks for your reply , i still getting the issue
Duplicate https://github.com/iptv-org/epg/issues/2282