vstavrinov / acestream_search Goto Github PK
View Code? Open in Web Editor NEWacestream m3u playlist, xml epg or json data.
License: GNU General Public License v3.0
acestream m3u playlist, xml epg or json data.
License: GNU General Public License v3.0
(venv) PS V:\DEV\Projects\Python\acestream_search\acestream_search> python .\acestream_search.py
Traceback (most recent call last):
File "V:\DEV\Projects\Python\acestream_search\acestream_search\acestream_search.py", line 1, in
from . import version
ImportError: attempted relative import with no known parent package
Upgraded to last version 1.6.1 and I am having this error: Version 1.4.1 was working good. However following versions do not seem to work for me!: Using Acestream ver 3.1.28
#EXTM3U
Traceback (most recent call last):
File "/Users/el/.pyenv/versions/3.9.0/bin/acestream_search", line 8, in
sys.exit(cli())
File "/Users/el/.pyenv/versions/3.9.0/lib/python3.9/site-packages/acestream_search/acestream_search.py", line 334, in cli
for chunk in main(args):
File "/Users/el/.pyenv/versions/3.9.0/lib/python3.9/site-packages/acestream_search/acestream_search.py", line 321, in main
for page in pager(args):
File "/Users/el/.pyenv/versions/3.9.0/lib/python3.9/site-packages/acestream_search/acestream_search.py", line 307, in pager
for item in page:
File "/Users/el/.pyenv/versions/3.9.0/lib/python3.9/site-packages/acestream_search/acestream_search.py", line 252, in convert_json
for channels in get_channels(args):
File "/Users/el/.pyenv/versions/3.9.0/lib/python3.9/site-packages/acestream_search/acestream_search.py", line 241, in get_channels
chunk = fetch_page(args, query)['result']['results']
File "/Users/el/.pyenv/versions/3.9.0/lib/python3.9/site-packages/acestream_search/acestream_search.py", line 168, in fetch_page
return json.loads(urlopen(url).read().decode('utf8'))
File "/Users/el/.pyenv/versions/3.9.0/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/Users/el/.pyenv/versions/3.9.0/lib/python3.9/urllib/request.py", line 523, in open
response = meth(req, response)
File "/Users/el/.pyenv/versions/3.9.0/lib/python3.9/urllib/request.py", line 632, in http_response
response = self.parent.error(
File "/Users/el/.pyenv/versions/3.9.0/lib/python3.9/urllib/request.py", line 561, in error
return self._call_chain(*args)
File "/Users/el/.pyenv/versions/3.9.0/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/Users/el/.pyenv/versions/3.9.0/lib/python3.9/urllib/request.py", line 641, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 500: Internal Server Error
Hello, there is a problem when getting the EPG in the request http://localhost:8000/search.m3u?xml_epg=1
<?xml version="1.0" encoding="utf-8" ?>
<tv>
<channel id="261997">
<display-name lang="ru">Setanta Live 1 [RU]</display-name>
</channel>
<programme start="20230525220000 +0300" stop="20230526000000 +0300" channel="261997">
<title lang="ru">Футбол. Чемпионат Англии. Премьер-лига. Брайтон энд Хоув Альбион - Манчестер Сити. Прямая трансляция.</title>
</programme>
I couldn't find the EPG shaper. The request can be terminated without the closing </tv>
tag, the data is not usable.
I can't print the results directly into a file which would be more practical than copy the terminal output as:
acestream_search > streams.m3u
will output the following error:
Traceback (most recent call last): File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Python310\Scripts\acestream_search.exe\__main__.py", line 7, in <module> File "C:\Python310\lib\site-packages\acestream_search\acestream_search.py", line 335, in cli print(chunk) File "C:\Python310\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 8298-8301: character maps to <undefined>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.