# Report results
BKMK_WRITER=flad db2bkmk.py &&
check_dups.py -s -l check_dups.txt >/dev/null &&
-check_title.py -s -l check_title.txt &&
check_redirects.py -s -l check_redirects.txt &&
+check_title.py -s -l check_title.txt &&
bkmk-sort &&
# Write results to the bookmarks files
__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2023 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2023, 2024 PhiloSoft Design"
__license__ = "GNU GPL"
pass
if report_stats:
- print("Broytman check_redirects, Copyright (C) 2023 PhiloSoft Design")
+ print("Broytman check_redirects, Copyright (C) 2023, 2024 PhiloSoft Design")
if args:
sys.stderr.write("check_redirects: too many arguments\n")
object = root_folder.linear[object_no]
if object.isBookmark:
- if hasattr(object, "error") or \
- object.href.startswith('place:'): # Firefox SmartBookmarks
+ if (hasattr(object, "error") or
+ object.href.startswith('place:') # Firefox SmartBookmarks
+ or ('%s' in object.href)
+ ):
continue
if hasattr(object, "moved"):
__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2002-2023 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2002-2024 PhiloSoft Design"
__license__ = "GNU GPL"
pass
if report_stats:
- print("Broytman check_title, Copyright (C) 2002-2023 PhiloSoft Design")
+ print("Broytman check_title, Copyright (C) 2002-2024 PhiloSoft Design")
if args:
sys.stderr.write("check_title: too many arguments\n")
object = root_folder.linear[object_no]
if object.isBookmark:
- if hasattr(object, "moved") or hasattr(object, "error") or \
- object.href.startswith('place:'): # Firefox SmartBookmarks
+ if (hasattr(object, "moved") or hasattr(object, "error") or
+ object.href.startswith('place:') # Firefox SmartBookmarks
+ or ('%s' in object.href)
+ ):
continue
if hasattr(object, "real_title") \