File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -504,7 +504,9 @@ def parse_submission_page(sub_page: BeautifulSoup) -> dict[str, Any]:
504504 tag_favorites : Optional [Tag ] = sub_page .select_one (".submission-page-stats > div:nth-child(3) > div:nth-child(1)" )
505505 tag_rating : Optional [Tag ] = sub_page .select_one (".submission-page-stats > div:nth-child(4) > div:nth-child(1)" )
506506 tag_type : Optional [Tag ] = sub_page .select_one ("div#submission_page[class^='page-content-type']" )
507- tag_fav : Optional [Tag ] = sub_page .select_one ('#submission-options > a[href^="/fav/"], #submission-options > a[href^="/unfav/"]' )
507+ tag_fav : Optional [Tag ] = sub_page .select_one (
508+ '#submission-options > a[href^="/fav/"], #submission-options > a[href^="/unfav/"]'
509+ )
508510 tag_category : Optional [Tag ] = sub_page .select_one (
509511 ".submission-content-stats > span:nth-child(2) > span:nth-child(1)"
510512 )
You can’t perform that action at this time.
0 commit comments