Hello,
I have few problems concerning the installation.
But first I'd like to ask will this be able to show and update all new podcasts for example from aamulypsy to the feed. Or do I need to manually enter all the episodes (links) I want into the feed?
This would be a game changer for me since now I have to manually find the .mp4 url by inspecting the network connections at supla.fi and paste the url to my LMS (logitech media server).
I am trying to run the program on windows and I have python installed.
However it is giving me an error when trying to run it:
`C:\supla-rssproxy-master>python supla_rssproxy/main.py --config-file podcast.json
[2019-10-03 13:02:07.804632] Fetching 3482381
Traceback (most recent call last):
File "C:\python\lib\site-packages\urllib3\connection.py", line 157, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "C:\python\lib\site-packages\urllib3\util\connection.py", line 61, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "C:\python\lib\socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11001] getaddrinfo failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\python\lib\site-packages\urllib3\connectionpool.py", line 672, in urlopen
chunked=chunked,
File "C:\python\lib\site-packages\urllib3\connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "C:\python\lib\site-packages\urllib3\connectionpool.py", line 994, in _validate_conn
conn.connect()
File "C:\python\lib\site-packages\urllib3\connection.py", line 334, in connect
conn = self._new_conn()
File "C:\python\lib\site-packages\urllib3\connection.py", line 169, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x0000020497A2B908>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\python\lib\site-packages\requests\adapters.py", line 449, in send
timeout=timeout
File "C:\python\lib\site-packages\urllib3\connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "C:\python\lib\site-packages\urllib3\util\retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='supla-prod-component-api.nm-services.nelonenmedia.fi', port=443): Max retries exceeded with url: /api/component/2600350?offset=0¤t_primary_content=podcast¤t_series_content_order_direction=desc¤t_series_id=2256169&app=supla&client=web (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x0000020497A2B908>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "supla_rssproxy/main.py", line 261, in
main()
File "C:\python\lib\site-packages\click\core.py", line 764, in call
return self.main(*args, **kwargs)
File "C:\python\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "C:\python\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\python\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "supla_rssproxy/main.py", line 250, in main
rss_data = get_rss_data(supla_id)
File "supla_rssproxy/main.py", line 106, in get_rss_data
episodes, series_name = fetch_series(supla_id)
File "supla_rssproxy/main.py", line 79, in fetch_series
return fetch_episodes_json(series_id), series_name
File "supla_rssproxy/main.py", line 59, in fetch_episodes_json
first_req = json.loads(requests.get(url, params=params).text)
File "C:\python\lib\site-packages\requests\api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "C:\python\lib\site-packages\requests\api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "C:\python\lib\site-packages\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "C:\python\lib\site-packages\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "C:\python\lib\site-packages\requests\adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='supla-prod-component-api.nm-services.nelonenmedia.fi', port=443): Max retries exceeded with url: /api/component/2600350?offset=0¤t_primary_content=podcast¤t_series_content_order_direction=desc¤t_series_id=2256169&app=supla&client=web (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x0000020497A2B908>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))`
I installed click (pip3 install click) and requests (pip3 install requests) because they were missing.
Do I need to install something else for it to work?
I am very amateur when it comes to command prompt but I am willing to learn.
Thank you very much!