Permalink
Browse files

fix

  • Loading branch information...
1 parent 5fef146 commit 75dbc5a3eb9c080732781627dfd8adb074b0e9da @vijayp committed Jun 15, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 crawl_moviepostersdb.py
View
@@ -16,9 +16,10 @@ def save_this_url(self, event, *args, **kwargs):
if ('/poster' not in ustr):
return False
- if url.is_document() or (url.is_image() and re.search('[/]t_[^_]+_[^_.]*.jpg',ustr)):
+ if url.is_document() or url.is_cgi() or (url.is_image() and re.search('[/]t_[^_]+_[^_.]*.jpg',ustr)):
return True
+ print 'rejecting ', ustr
return False

0 comments on commit 75dbc5a

Please sign in to comment.