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

Avistaz torrent provider broken #11657

Open
motelsolo opened this issue Mar 18, 2024 · 0 comments
Open

Avistaz torrent provider broken #11657

motelsolo opened this issue Mar 18, 2024 · 0 comments

Comments

@motelsolo
Copy link

Can someone help I'm getting this error message using the latest version.
Trying to use avistaz provider.

2024-03-18 10:43:11 ERROR TORNADO :: [c5a1e37] Uncaught exception in APIv2: AttributeError("'NoneType' object has no attribute 'get'")
Request: POST /medusa/api/v2/providers/internal/operation
With body:
{"type":"TESTPROVIDER","providerId":"avistaz"}
Traceback (most recent call last):
File "/home//.medusa/ext/tornado/web.py", line 1704, in _execute
result = await result
File "/home/
/.medusa/ext/tornado/gen.py", line 769, in run
yielded = self.gen.throw(exc_info) # type: ignore
File "/home/
/.medusa/medusa/server/api/v2/base.py", line 64, in async_call
content = yield IOLoop.current().run_in_executor(executor, prepared)
File "/home/
/.medusa/ext/tornado/gen.py", line 762, in run
value = future.result()
File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(self.args, **self.kwargs)
File "/home/
/.medusa/medusa/server/api/v2/providers.py", line 187, in post
return self._test_provider(data)
File "/home/
/.medusa/medusa/server/api/v2/providers.py", line 374, in _test_provider
result = provider.search(dict(RSS=['']))
File "/home/
/.medusa/medusa/providers/torrent/html/avistaz.py", line 60, in search
if not self.login():
File "/home/
**/.medusa/medusa/providers/torrent/html/avistaz.py", line 150, in login
token = html.find('input', attrs={'name': '_token'}).get('value')
AttributeError: 'NoneType' object has no attribute 'get'

@medariox medariox changed the title Need help Avistaz torrent provider broken Apr 3, 2024
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

1 participant