mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-07 06:24:35 +00:00
Merge pull request #50 from soxoj/favicons
Favicons added to sites list
This commit is contained in:
+1756
-1660
File diff suppressed because it is too large
Load Diff
@@ -121,7 +121,9 @@ Rank data fetched from Alexa by domains.
|
|||||||
note = ''
|
note = ''
|
||||||
if site.disabled:
|
if site.disabled:
|
||||||
note = ', search is disabled'
|
note = ', search is disabled'
|
||||||
site_file.write(f'1. [{site}]({url_main})*: top {valid_rank}{tags}*{note}\n')
|
|
||||||
|
favicon = f""
|
||||||
|
site_file.write(f'1.{favicon} [{site}]({url_main})*: top {valid_rank}{tags}*{note}\n')
|
||||||
db.update_site(site)
|
db.update_site(site)
|
||||||
|
|
||||||
site_file.write(f'\nAlexa.com rank data fetched at ({datetime.utcnow()} UTC)\n')
|
site_file.write(f'\nAlexa.com rank data fetched at ({datetime.utcnow()} UTC)\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user