codelucas / newspaper

newspaper3k is a news, full-text, and article metadata extraction in Python 3. Advanced docs:
https://goo.gl/VX41yK
MIT License
13.89k stars 2.1k forks source link

How do I set the cache directory to the current project root path #944

Open huangsiyuan924 opened 1 year ago

huangsiyuan924 commented 1 year ago

Hi,how do I set the cache directory to the current project root path

huangsiyuan924 commented 1 year ago

I edit 'setting.py' set tempfile.gettempdir() to other directory.