epg
epg copied to clipboard
rtb.gov.bn is broken
Site
rtb.gov.bn
Description
npm run grab -- --site=rtb.gov.bn
> grab
> npx tsx scripts/commands/epg/grab.ts --site=rtb.gov.bn
staring...
config:
output: guide.xml
maxConnections: 1
gzip: false
site: rtb.gov.bn
loading channels...
found 3 channel(s)
run #1:
[1/6] rtb.gov.bn (ms) - RTBAneka.bn - Nov 26, 2023 (0 programs)
ERR: read ECONNRESET
[2/6] rtb.gov.bn (ms) - RTBAneka.bn - Nov 27, 2023 (0 programs)
ERR: read ECONNRESET
[3/6] rtb.gov.bn (ms) - RTBPerdana.bn - Nov 27, 2023 (0 programs)
ERR: read ECONNRESET
There is no link to the guide on the website at the moment either: https://www.rtb.gov.bn/SitePages/Programme%20Guide.aspx
The guide is now distributed as an image: https://www.rtb.gov.bn/SiteCollectionImages/SitePages/Programme%20Guide/genre_rancangan_saluran_rtb_22_04_2024_image.jpeg
We may be able to convert image to text with tesseract.js. I have no experience with using that, but it is one option we have. Otherwise, I would say we remove the source.
That would be too costful in terms of resources anyway, if we tried going the tesseract route.