Disable pylint warning for download()
This commit is contained in:
parent
ebff2205b1
commit
2f53debffa
@ -303,7 +303,7 @@ def get_session(user, passwd):
|
|||||||
def download(name, session, profile_pic_only=False, download_videos=True,
|
def download(name, session, profile_pic_only=False, download_videos=True,
|
||||||
fast_update=False, sleep_min_max=[0.25,2], quiet=False):
|
fast_update=False, sleep_min_max=[0.25,2], quiet=False):
|
||||||
"""Download one profile"""
|
"""Download one profile"""
|
||||||
# pylint:disable=too-many-arguments
|
# pylint:disable=too-many-arguments,too-many-branches
|
||||||
# Get profile main page json
|
# Get profile main page json
|
||||||
data = get_json(name, session)
|
data = get_json(name, session)
|
||||||
if len(data["entry_data"]) == 0 or "ProfilePage" not in data["entry_data"]:
|
if len(data["entry_data"]) == 0 or "ProfilePage" not in data["entry_data"]:
|
||||||
|
Loading…
Reference in New Issue
Block a user