We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4249d1 commit 4aaa324Copy full SHA for 4aaa324
PyPortal_NASA/nasa.py
@@ -1,6 +1,7 @@
1
+import re
2
import time
3
+
4
import board
-import re
5
6
from adafruit_pyportal import PyPortal
7
@@ -21,7 +22,7 @@
21
22
23
# This translates a url in parsed json for YouTube videos to a url which
24
# provides a single image for the video
-# url with or without translation is added as "TR-url"
25
+# url with or without translation is added as "TR-url"
26
def youtube_video_to_image(parsed_json):
27
url = parsed_json.get("url", "")
28
# use a reasonably flexible regex to extract video id
0 commit comments