epg/sites/tv.yandex.ru
Toha 29bdcc94c3
Update tv.yandex.ru guide.
```sh
npm run grab -- --site=tv.yandex.ru

> grab
> npx tsx scripts/commands/epg/grab.ts --site=tv.yandex.ru

starting...
config:
  output: guide.xml
  maxConnections: 1
  gzip: false
  site: tv.yandex.ru
loading channels...
  found 1 channel(s)
run #1:
  [1/1] tv.yandex.ru (ru) - 3ABNRussia.ru - Nov 26, 2024 (86 programs)
  saving to "guide.xml"...
  done in 00h 01m 22s
```
2024-11-26 21:34:47 +07:00
..
__data__ Update tv.yandex.ru TV guide api. 2023-11-29 12:12:54 +07:00
readme.md Update tv.yandex.ru guide. 2024-11-26 21:34:47 +07:00
tv.yandex.ru.channels.xml Update tv.yandex.ru guide. 2024-11-26 21:34:47 +07:00
tv.yandex.ru.config.js Update tv.yandex.ru guide. 2024-11-26 21:34:47 +07:00
tv.yandex.ru.test.js Update tv.yandex.ru guide. 2024-11-26 21:34:47 +07:00

tv.yandex.ru

https://tv.yandex.ru/

This site is protected by captcha, so if you hit by an error Got captcha, please goto https://tv.yandex.ru and update cookies!, update site configuration in tv.yandex.ru.config.js by heading to this site and use browser Developer Tools and replace matching cookies. The Cookie will likely lasting for one year.

To enable debugging while updating channel list or grabbing the guide, set DEBUG environment to site:tv.yandex.ru or site:*.

On Windows with Command Prompt:

set DEBUG="site:tv.yandex.ru"

On Windows with PowerShell:

$env:DEBUG="site:tv.yandex.ru"

On Unix-like OSes:

export DEBUG="site:tv.yandex.ru"

Download the guide

npm run grab -- --site=tv.yandex.ru

Update channel list

npm run channels:parse -- --config=sites/tv.yandex.ru/tv.yandex.ru.config.js --output=sites/tv.yandex.ru/tv.yandex.ru.channels.xml

Test

npm test -- tv.yandex.ru