crash.software
Projects
Pull Requests
Issues
Builds
maigret
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
maigret
Commits
4f9dace1
🤬
Sign In
Merge
pull request #50
from soxoj/favicons
Favicons added to sites list
soxoj
committed with
GitHub
4 years ago
4f9dace1
2 parents
40d16e8d
cdec3200
Total 3 files
Show one by one
maigret/resources/data.json
Diff is too large to be displayed.
sites.md
Diff is too large to be displayed.
■ ■ ■
■
■ ■
utils/update_site_data.py
skipped 120 lines
121
121
note = ''
122
122
if site.disabled:
123
123
note = ', search is disabled'
124
-
site_file.write(f'1. [{site}]({url_main})*: top {valid_rank}{tags}*{note}\n')
124
+
125
+
favicon = f"![](https://www.google.com/s2/favicons?domain={url_main})"
126
+
site_file.write(f'1.{favicon} [{site}]({url_main})*: top {valid_rank}{tags}*{note}\n')
125
127
db.update_site(site)
126
128
127
129
site_file.write(f'\nAlexa.com rank data fetched at ({datetime.utcnow()} UTC)\n')
skipped 4 lines
All occurrences
Please wait...
Page is in error, reload to recover