Skip to content

Update freeview.co.uk: fix 403 on program details - #3292

Merged
brokenstream merged 2 commits into
iptv-org:masterfrom
ToRvaLDz:fix/freeview-user-agent
Oct 8, 2026
Merged

brokenstream merged 2 commits into
iptv-org:masterfrom
ToRvaLDz:fix/freeview-user-agent

Conversation

@ToRvaLDz

@ToRvaLDz ToRvaLDz commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Since 2026-10-01 freeview.co.uk responds with 403 ("Freeview - Access Restricted" WAF page) to requests using axios' default User-Agent. The api/tv-guide call still works, but every api/program?pid=... call in loadProgramDetails() fails, the error is swallowed by .catch(console.log), and all programmes end up without a description.

This sends a browser User-Agent on the details request, the same string other sites in the repo already use.

Grab of BBC One London (64257#4164), 1 day:

programmes with <desc> 403 errors
before 24 0 24
after 24 24 0
npm test freeview.co.uk

 PASS  sites/freeview.co.uk/freeview.co.uk.test.js
  ✓ can generate valid url
  ✓ can parse response
  ✓ can handle empty guide

@brokenstream
brokenstream merged commit 8c23cfe into iptv-org:master Oct 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants