a4k-openproject / script.module.openscrapers

OpenScrapers Project
GNU General Public License v3.0
102 stars 40 forks source link

Error:Loading module: provider | No module named xbmc #104

Closed f2ca1bb6 closed 4 years ago

f2ca1bb6 commented 4 years ago

happens when running scrape-test.py.

minimal setup to reproduce:

import sys
import os
sys.path.append(os.path.join(os.path.curdir, 'lib'))
from lib import openscrapers
openscrapers.sources(None, True)
reddit-reaper commented 4 years ago

yeah known issue, only way to bypass is to import mock_kodi to avoid import issues into your python environment to avoid issues. i haven't fixed it yet so it can do that though

reddit-reaper commented 4 years ago

we'll also be changing our scraper package soon to v2 so i would just wait on that