a4k-openproject / script.module.openscrapers

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

Check scraper enabled/disabled before importing the scraper's class and adding to sourceDict. #120

Closed Tikipeter closed 4 years ago

Tikipeter commented 4 years ago

This change will mean only enabled scrapers will import and be added to the sourceDict.

Previous implementation would import ALL available scrapers, add them to the sourceDict, and then remove the ones not enabled.

I have seen a slow down in starting the scrapers in the last few days. This should help, even if just a little bit..

reddit-reaper commented 4 years ago

cool thanks for the work @Tikipeter future reference please push anything new to dev branch :)