Use CachedSession for session
@@ -37,8 +37,8 @@ def plex_server(self):
@memoize
def session(self):
- import requests
- session = requests.Session()
+ from requests_cache import CachedSession
+ session = CachedSession()
return session
