25 images on first page hub docker
This commit is contained in:
parent
1966d4a27f
commit
1ac3c11fcd
3 changed files with 1 additions and 1 deletions
BIN
db.sqlite3
BIN
db.sqlite3
Binary file not shown.
Binary file not shown.
|
@ -18,7 +18,7 @@ class DockerhubCrawler(models.Model):
|
|||
split_string = self.url.split("/")
|
||||
#print(split_string)
|
||||
self.api_url = 'https://hub.docker.com/v2/repositories/' + split_string[len(split_string)-2] +'/' \
|
||||
+ split_string[len(split_string)-1] + '/tags/?page=1&page_size=2'
|
||||
+ split_string[len(split_string)-1] + '/tags/?page=1&page_size=25'
|
||||
super(DockerhubCrawler, self).save(*args, **kwargs)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue