Python path setting (#2409)

* Add python package
* Add python path backend config
* Add python path to system settings page
* Apply python path to script scrapers and plugins
This commit is contained in:
WithoutPants
2022-03-24 09:22:41 +11:00
committed by GitHub
parent 329b611348
commit 0cd9a0a474
17 changed files with 147 additions and 53 deletions

View File

@@ -830,6 +830,10 @@ func (mockGlobalConfig) GetScraperExcludeTagPatterns() []string {
return nil
}
func (mockGlobalConfig) GetPythonPath() string {
return ""
}
func TestSubScrape(t *testing.T) {
retHTML := `
<div>