This commit is contained in:
Kurt Bestor 2019-07-27 12:47:39 +09:00
parent 03e6ae83ea
commit 8fa0a2fc42
3 changed files with 5 additions and 4 deletions

1
FUNDING.yml Normal file
View File

@ -0,0 +1 @@
patreon: KurtBestor

View File

@ -4,6 +4,8 @@
<h1 align="center">Hitomi Downloader</h1>
[![GitHub release](https://img.shields.io/github/release/KurtBestor/Hitomi-Downloader-issues.svg)](https://github.com/KurtBestor/Hitomi-Downloader-issues/releases/latest)
[![GitHub downloads](https://img.shields.io/github/downloads/KurtBestor/Hitomi-Downloader-issues/latest/total.svg)](https://github.com/KurtBestor/Hitomi-Downloader-issues/releases/latest)
[![GitHub downloads](https://img.shields.io/github/downloads/KurtBestor/Hitomi-Downloader-issues/total.svg)](https://github.com/KurtBestor/Hitomi-Downloader-issues/releases)
- [Download](https://github.com/KurtBestor/Hitomi-Downloader-issues/releases/latest)
- [Issues](https://github.com/KurtBestor/Hitomi-Downloader-issues/issues)

View File

@ -32,10 +32,8 @@ class Downloader_gelbooru(Downloader):
type = 'gelbooru'
URLS = ['gelbooru.com']
MAX_CORE = 32
_id = None
def init(self):
self._id = None
self.type = 'gelbooru'
self.single = False
#self.user_agent = downloader.hdr['User-Agent']
self.url = self.url.replace('gelbooru_', '')
if 'gelbooru.com' in self.url.lower():
@ -116,7 +114,7 @@ def get_imgs(url, title=None, customWidget=None):
imgs = []
url_imgs = set()
for p in range(100):
for p in range(500): #1017
url = setPage(url, p)
print_(url)
html = downloader.read_html(url)