このコミットが含まれているのは:
@@ -38,12 +38,12 @@ def fetch_video_info (
|
|||||||
return None
|
return None
|
||||||
title = '-'.join (title_tag.text.split ('-')[:(-1)]).strip ()
|
title = '-'.join (title_tag.text.split ('-')[:(-1)]).strip ()
|
||||||
|
|
||||||
# type: ignore
|
tags_str: str = (bs.find ('meta', attrs = { 'name': 'keywords' })
|
||||||
tags_str: str = bs.find ('meta', attrs = { 'name': 'keywords' }).get ('content')
|
.get ('content')) # type: ignore
|
||||||
tags = tags_str.split (',')
|
tags = tags_str.split (',')
|
||||||
|
|
||||||
# type: ignore
|
description = (bs.find ('meta', attrs = { 'name': 'description' })
|
||||||
description = bs.find ('meta', attrs = { 'name': 'description' }).get ('content')
|
.get ('content')) # type: ignore
|
||||||
except (AttributeError, TypeError):
|
except (AttributeError, TypeError):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|||||||
新しい課題から参照
ユーザをブロックする