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

tvtv.us fails with status code 403 #2353

Closed
satellitester opened this issue Apr 11, 2024 · 2 comments
Closed

tvtv.us fails with status code 403 #2353

satellitester opened this issue Apr 11, 2024 · 2 comments
Labels
broken guide There's a problem with the guide

Comments

@satellitester
Copy link

Site

tvtv.us

Description

$  npm run grab -- --site=tvtv.us --gzip

> grab
> npx tsx scripts/commands/epg/grab.ts --site=tvtv.us --gzip

(node:15232) 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///home/me/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: true
  site: tvtv.us
loading channels...
  found 2299 channel(s)
run #1:
  [1/4598] tvtv.us (en) - 33691 - Apr 11, 2024 (0 programs)
    ERR: Request failed with status code 403
  [2/4598] tvtv.us (en) - 33691 - Apr 12, 2024 (0 programs)
    ERR: Request failed with status code 403
  [3/4598] tvtv.us (en) - 83157 - Apr 12, 2024 (0 programs)
    
@satellitester satellitester added the broken guide There's a problem with the guide label Apr 11, 2024
@PopeyeTheSai10r
Copy link
Collaborator

The HTTP 403 Forbidden response status code indicates that the server understands the request but refuses to authorize it.

@freearhey
Copy link
Collaborator

Most likely it's a matter of geo-blocking, but at the moment everything works fine without a VPN:

npm run grab --- --site=tvtv.us       

> grab
> npx tsx scripts/commands/epg/grab.ts --site=tvtv.us

starting...
config:
  output: guide.xml
  maxConnections: 1
  gzip: false
  site: tvtv.us
loading channels...
  found 2299 channel(s)
run #1:
  [1/4598] tvtv.us (en) - 33691 - Dec 27, 2024 (24 programs)
  [2/4598] tvtv.us (en) - 33691 - Dec 28, 2024 (23 programs)
  [3/4598] tvtv.us (en) - 83157 - Dec 28, 2024 (47 programs)
  [4/4598] tvtv.us (en) - 5StarMaxEast.us - Dec 28, 2024 (14 programs)
  ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken guide There's a problem with the guide
Development

No branches or pull requests

3 participants