コード例 #1
0
ファイル: test.py プロジェクト: skayt/python-media-crawler
 def add_to_queue(self, url, links, cid, cur_depth):
     '''
     Count found links (how many were added to queue).
     '''
     self.count_adds += len(links)
     MediaCrawler.add_to_queue(self, url, links, cid, cur_depth)
コード例 #2
0
ファイル: test.py プロジェクト: DabHands/python-media-crawler
 def add_to_queue(self, url, links, cid, cur_depth):
     '''
     Count found links (how many were added to queue).
     '''
     self.count_adds += len(links)
     MediaCrawler.add_to_queue(self, url, links, cid, cur_depth)
コード例 #3
0
ファイル: test.py プロジェクト: skayt/python-media-crawler
 def __init__(self):
     MediaCrawler.__init__(self)
     self.count_adds = 0
     self.count_media = 0
     self.db_name = "test_tmp.db"
     self.print_messages = False
コード例 #4
0
ファイル: test.py プロジェクト: DabHands/python-media-crawler
 def __init__(self):
     MediaCrawler.__init__(self)
     self.count_adds = 0
     self.count_media = 0
     self.db_name = "test_tmp.db"
     self.print_messages = False