/couchpotato/core/providers/torrent/torrentleech/__init__.py

https://github.com/craigshaw/CouchPotatoServer · Python · 34 lines · 32 code · 2 blank · 0 comment · 0 complexity · 7c872dd169b2a204096b93a547229bb2 MD5 · raw file

  1. from .main import TorrentLeech
  2. def start():
  3. return TorrentLeech()
  4. config = [{
  5. 'name': 'torrentleech',
  6. 'groups': [
  7. {
  8. 'tab': 'searcher',
  9. 'subtab': 'providers',
  10. 'list': 'torrent_providers',
  11. 'name': 'TorrentLeech',
  12. 'description': 'See <a href="http://torrentleech.org">TorrentLeech</a>',
  13. 'wizard': True,
  14. 'options': [
  15. {
  16. 'name': 'enabled',
  17. 'type': 'enabler',
  18. 'default': False,
  19. },
  20. {
  21. 'name': 'username',
  22. 'default': '',
  23. },
  24. {
  25. 'name': 'password',
  26. 'default': '',
  27. 'type': 'password',
  28. },
  29. ],
  30. },
  31. ],
  32. }]