Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Plugin or Addon in python to be able to use web scraping #29

Closed
kodi-rc opened this issue Nov 27, 2020 · 1 comment
Closed

Comments

@kodi-rc
Copy link

kodi-rc commented Nov 27, 2020

Feature request: Plugin or Addon in python to be able to use web scraping [html request, beautifulsoup, regex, etc ...] and thus create the links at run time with the content that was extracted from html pages.

Because it is very common for live video links to have tokens that expire daily.
And using web scraping makes it easy to capture that link with token at run time

In a similar way as with Kodi addons.

For example, a fixed list would be created with
name, logo, group and a 'URL for Scraping'

Then this 'URL for Scraping' would be manipulated by a Python script and would return the link of the media file to be played.


URL for Scraping:
https://redecanaistv.com/assistir-sbt-online-24-horas-ao-vivo_8a0548907.html

Video link after web scraping:
https://streaming.belugacdn.link/a/hls1/sbt.m3u8?expires=1606600451&token=a1a5f40f1926bcd0a444f079caaae5e6

@kodi-rc kodi-rc changed the title Feature request: Plugin or Addon in python to be able to use web scraper Feature request: Plugin or Addon in python to be able to use web scraping Nov 27, 2020
@clefebvre
Copy link
Member

That's beyond the scope, I'm sorry.

@ghost ghost mentioned this issue Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants