25 images on first page hub docker

This commit is contained in:
asamihassan 2022-02-06 17:33:03 +05:00
parent 1966d4a27f
commit 1ac3c11fcd
3 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -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)