File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,8 +128,8 @@ def get_all_sources_and_licenses(session, media_type):
128128 valid_sources .add (source )
129129 else :
130130 LOGGER .warning (
131- f"Skipping source { source } : "
132- f"not available in /{ media_type } / endpoint"
131+ f"Skipping source { source } :"
132+ f" not available in /{ media_type } / endpoint"
133133 )
134134 LOGGER .info (
135135 f"Found { len (valid_sources )} valid sources for { media_type } "
@@ -161,10 +161,10 @@ def query_openverse(session):
161161 "&format=json&page=1"
162162 )
163163 LOGGER .info (
164- "Fetching Openverse data: "
165- f"media_type={ media_type } | "
166- f"_nasource={ source_name } | "
167- f"license={ license } "
164+ "Fetching Openverse data:"
165+ f" media_type={ media_type } |"
166+ f" _nasource={ source_name } |"
167+ f" license={ license } "
168168 )
169169 try :
170170 response = session .get (url )
@@ -229,7 +229,7 @@ def main():
229229 LOGGER .info ("Starting Openverse Fetch Script..." )
230230 records = query_openverse (session )
231231 write_data (args , records )
232- LOGGER .info (f"Fetched { len (records )} unique Openverse records" )
232+ LOGGER .info (f"Fetched { len (records )} unique Openverse records. " )
233233
234234
235235if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments