diff --git a/twitter/__version__.py b/twitter/__version__.py index f5739e9..f588815 100644 --- a/twitter/__version__.py +++ b/twitter/__version__.py @@ -1,5 +1,5 @@ __title__ = "twitter-api-client" __description__ = "Implementation of Twitter's v1, v2, and GraphQL APIs." -__version__ = "0.10.3" +__version__ = "0.10.4" __author__ = "Trevor Hobenshield" __license__ = "MIT" \ No newline at end of file diff --git a/twitter/scraper.py b/twitter/scraper.py index 6c81ccd..8663ebf 100644 --- a/twitter/scraper.py +++ b/twitter/scraper.py @@ -812,6 +812,7 @@ def _validate_session(self, *args, **kwargs): return _session # no session, credentials, or cookies provided. use guest session. - self.logger.warning(f'{RED}This is a guest session, some endpoints cannot be accessed.{RESET}\n') + if self.debug: + self.logger.warning(f'{RED}This is a guest session, some endpoints cannot be accessed.{RESET}\n') self.guest = True return session