mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-25 18:30:23 +00:00
Filter invalid mozilla bookmark urls from places.sqlite
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3869 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
4306d6a4b6
commit
1abc2c504d
1 changed files with 2 additions and 1 deletions
|
|
@ -291,7 +291,8 @@ class FileUrl (urlbase.UrlBase):
|
|||
c = conn.cursor()
|
||||
try:
|
||||
sql = """SELECT moz_places.url, moz_places.title
|
||||
FROM moz_places WHERE hidden=0"""
|
||||
FROM moz_places WHERE hidden=0
|
||||
AND moz_places.url NOT LIKE 'place:%'"""
|
||||
c.execute(sql)
|
||||
for url, name in c:
|
||||
url_data = get_url_from(url, self.recursion_level+1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue