mirror of
https://github.com/JoseDeFreitas/awesome-youtubers.git
synced 2024-12-22 13:55:08 -05:00
Test image getter
This commit is contained in:
parent
a4709a29ac
commit
2f78345cf4
@ -58,6 +58,7 @@ def get_channel(channel):
|
||||
@api_channels.route("/channels/<channel>/image.svg")
|
||||
def img_channel(channel):
|
||||
""" Returns the YouTube score in a svg image. """
|
||||
|
||||
if channel in channels:
|
||||
return f"""
|
||||
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
|
||||
|
Loading…
Reference in New Issue
Block a user