LinksNotMatching being ignored?

I’m using the following plugin to search Netflix for “Retribution”. It correctly finds the five matching titles, but includes three other “Netflix Friends” pages, which I am explicitly disallowing via LinksNotMatching. However, I cannot get it to remove those three pages. Is there something wrong with my plugin that LinksNotMatching is being ignored? Thanks, John


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Name</key>
	<string>Netflix</string>
	<key>Info</key>
	<string>Netflix 1.0 ©2005 John Wiegley</string>
	<key>Description</key>
	<string>Searches Netflix.</string>
	<key>Version</key>
	<string>1.0</string>
	<key>Identifier</key>
	<string>com.johnwiegley.netflix.plugin</string>
	<key>EngineUrl</key>
	<string>http://www.netflix.com/Search?v1=_agentQuery_&amp;search_submit.x=0&amp;search_submit.y=0&amp;type=title&amp;row=_agentOffset_&amp;dtl=1</string>
	<key>EncodingUrl</key>
	<string>UTF-8</string>
	<key>Start</key>
	<integer>0</integer>
	<key>OffsetPerPage</key>
	<integer>50</integer>
	<key>ResultsPerPage</key>
	<integer>50</integer>
	<key>FilterSimilarPages</key>
	<false/>
	<key>LinksMatching</key>
	<array>
		<string>*netflix.com/MovieDisplay*</string>
	</array>
	<key>LinksNotMatching</key>
	<array>
		<string>*netflix.com/Suggestion*</string>
	</array>
	<key>LinksStart</key>
	<string>Movie Matches</string>
	<key>TitleStart</key>
	<string>&lt;div class="title" style="margin-bottom:5px"&gt;</string>
	<key>TitleEnd</key>
	<string>&lt;/div&gt;</string>
	<key>DateStart</key>
	<string>&lt;span class=year&gt;(</string>
	<key>DateEnd</key>
	<string>)&lt;/span&gt;</string>
	<key>Keyword</key>
	<string>netflix</string>
</dict>
</plist>

In the currently shipping version there is a bug related to the wildcard resolving mechanism in LinksNotMatching. This is fixed in the upcoming version 2.

Actually, I found the bug: LinksNotMatching applies only to links found on the initial search page, and not to links that appear in descendent pages.

No, that’s intended - LinkNotMatching, LinksMatching and LinksStart/End apply only to pages containing search results.