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"
npm run grab --- --site=tv.yandex.ru
npm run channels:parse --- --config=sites/tv.yandex.ru/tv.yandex.ru.config.js --output=sites/tv.yandex.ru/tv.yandex.ru.channels.xml
npm test --- tv.yandex.ru