The KISS Twitch bot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 regels
196 B

  1. #!/usr/bin/env python3
  2. def parse_tags(tags_str: str) -> {str: str}:
  3. tags_list = []
  4. for tag in tags_str.split(";"):
  5. tags_list.append((tag.split("=")))
  6. return dict(tags_list)