def process_item(self, item, spider):  
url = URLObject(item["<STR_LIT:url>"])<EOL>if url.path.startswith("<STR_LIT>"):<EOL><INDENT>raise DropItem(u"<STR_LIT>".format(url=url))<EOL><DEDENT>else:<EOL><INDENT>return item<EOL><DEDENT>
Check for DRF urls.