diff --git a/udemy/_session.py b/udemy/_session.py index 9651fba..5d12b66 100644 --- a/udemy/_session.py +++ b/udemy/_session.py @@ -44,7 +44,7 @@ def _set_auth_headers(self, access_token='', client_id=''): self._headers['X-Udemy-Authorization'] = "Bearer {}".format(access_token) def _get(self, url): - session = self._session.get(url, headers=self._headers, timeout=15) + session = self._session.get(url, headers=self._headers) if session.ok or session.status_code in [502, 503]: return session if not session.ok: