mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-20 09:52:50 +01:00
apply formatting
This commit is contained in:
parent
6d20f7dc69
commit
25f44777c0
@ -488,7 +488,7 @@ def extract_follower_count(webpage):
|
||||
..., 'require', ..., ..., ..., '__bbox', 'require', ..., ..., ..., '__bbox', 'result', 'data'), expected_type=dict) or []
|
||||
|
||||
followers = get_first(post, ('user', 'profile_header_renderer', 'user', 'profile_social_context', 'content', ..., 'text',
|
||||
lambda k, v: k == 'text' and isinstance(v, str) and v.endswith('followers'))) or None
|
||||
lambda k, v: k == 'text' and isinstance(v, str) and v.endswith('followers'))) or None
|
||||
if not isinstance(followers, str):
|
||||
return None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user