httplib.HTTP = MyHTTP
+def cut_long_str(s):
+ if s:
+ if len(s) > 50:
+ return s[:50] + '...'
+ return s
+
+
def run():
print("Broytman check_urls, Copyright (C) 2010-2024 PhiloSoft Design")
strftime(bookmark.last_modified),
getattr(bookmark, 'size', None),
getattr(bookmark, 'md5', None),
- bookmark.icon_href, bookmark.icon, bookmark.charset,
+ bookmark.icon_href, cut_long_str(bookmark.icon),
+ bookmark.charset,
)
)