CGI compatibility
This commit is contained in:
@@ -8,7 +8,7 @@ from goose3 import Goose
|
|||||||
|
|
||||||
cgitb.enable()
|
cgitb.enable()
|
||||||
|
|
||||||
goose = Goose({'enable_image_fetching': True})
|
goose = Goose({'enable_image_fetching': False})
|
||||||
|
|
||||||
def fetch_site(url):
|
def fetch_site(url):
|
||||||
return goose.extract(url=url)
|
return goose.extract(url=url)
|
||||||
|
|||||||
Reference in New Issue
Block a user