Remove duplicated url in history

This commit is contained in:
Rémi Oudin 2018-02-26 17:46:49 +01:00
parent 379b53e6ce
commit 89d1f8301a

View file

@ -187,7 +187,6 @@ def generate_partial_history(user, t_start):
timestamp = t_start timestamp = t_start
result = [] result = []
basis = generate_first_url(user) basis = generate_first_url(user)
result.append(PartialHistoryEntry(basis, timestamp))
t_start += 5 * random.weibullvariate(1, 1.5) t_start += 5 * random.weibullvariate(1, 1.5)
crawler = crawl.CrawlingThread(basis) crawler = crawl.CrawlingThread(basis)
crawler.start() crawler.start()