epg icon indicating copy to clipboard operation
epg copied to clipboard

rtb.gov.bn is broken

Open freearhey opened this issue 2 years ago • 1 comments

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

freearhey avatar Nov 26 '23 14:11 freearhey

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

freearhey avatar Jan 19 '25 16:01 freearhey

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.

PopeyeTheSai10r avatar Jun 22 '25 21:06 PopeyeTheSai10r

That would be too costful in terms of resources anyway, if we tried going the tesseract route.

BellezaEmporium avatar Jul 30 '25 23:07 BellezaEmporium