diff --git a/README.md b/README.md index fa35fd6..ba8128e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Active development for this script has ended. Issues will no longer be looked in # PyInstaLive -![Version 4.0.0](https://img.shields.io/badge/Version-3.3.0-orange.svg) +![Version 4.0.0](https://img.shields.io/badge/Version-4.0.0-orange.svg) ![Python 3.6+](https://img.shields.io/badge/Python-3.6%2B-3776ab.svg) diff --git a/pyinstalive/download.py b/pyinstalive/download.py index 318ad47..43b7260 100644 --- a/pyinstalive/download.py +++ b/pyinstalive/download.py @@ -227,7 +227,7 @@ def update_stream_data(self, from_thread=False): if globals.config.download_comments: globals.comments.retrieve_comments() helpers.write_data_json() - if from_thread and len(stream_heartbeat.get("cobroadcasters")) > 0: + if from_thread and len(stream_heartbeat.get("cobroadcasters", [])) > 0: self.get_guest_status() if not from_thread or (last_stream_status != stream_status): if from_thread: diff --git a/setup.py b/setup.py index e2d50e4..2fd92d0 100644 --- a/setup.py +++ b/setup.py @@ -2,9 +2,8 @@ __author__ = 'dvingerh' __email__ = 'dirk.ving@gmail.com' -__version__ = '3.3.0' +__version__ = '4.0.0' -_api_extensions_version = '0.3.9' long_description = 'This Python script enables you to download ongoing Instagram livestreams as a video file.' @@ -21,7 +20,6 @@ ] }, install_requires=[ - 'instagram_private_api_extensions @ https://github.com/ping/instagram_private_api_extensions/archive/%(api)s.tar.gz#egg=instagram_private_api_extensions-%(api)s' % {'api': _api_extensions_version}, 'argparse', 'configparser' ],