is there any streaming file format that works like this :
- make an http post or get
- scrap html source
- get the url
- play
what i can do with python so far is this :
import sys
import requests
from bs4 import BeautifulSoup
import subprocess
# make request with requests
# scraping with BeautifulSoup
# get the url (url = http://streamsource)
# play it via media player classic
MPC_path = '\\Program Files\\MPC-HC\\mpc-hc.exe'
video_path = url
subprocess.call([MPC_path, video_path])
but is there a file format that is supported in kodi/xbmc and created to do this kind of work?
Unlike M3U, that uses the url directly