Ignore license links for purposes of meme tracking
This commit is contained in:
parent
484d3c7d7a
commit
1e830f9101
@ -126,7 +126,7 @@ for name in glob.glob(os.path.join(cache, '*')):
|
||||
|
||||
# identify the unique links
|
||||
entry_links = []
|
||||
for node in doc.xpathEval("//*[@href and not(@rel='source')]"):
|
||||
for node in doc.xpathEval("//*[@href and not(@rel='source') and not(@rel='license')]"):
|
||||
parent = node.parent
|
||||
while parent:
|
||||
if parent.name == 'source': break
|
||||
|
Loading…
Reference in New Issue
Block a user