softashell / iqdb_tagger Goto Github PK
View Code? Open in Web Editor NEWSearch IQDB from CLI
License: MIT License
Search IQDB from CLI
License: MIT License
get the rating (safe, questionable, explicit) tags
quote from rachmadaniHaryono#3
actually, i think something that would do this script some good and see more use. would be allowing the urls or post ids of the sites be saved in text files for the user.
on a per site basis. allowing the user to download the file itself instead of just tag them. which means it will be a bit easier to get better versions if it is better.
urls can be done when the dev adds the import option for the queues maybe.
before then the ids would be better i would think.
tags are great, but its not good if you have a shit copy aswell.
fasttracking getting the same image at better quality should always be a good thing to strive for i think
do think the urls should be saved in a text file per site to split them apart. makes sense now atleast. then again.. that shouldnt be an issue once the dev is done with his stuff.
Why not just on one file but sorted by domain?
easier to control + a and paste queries?
if ids are used then prefixes for "id:" should be used for the sites that support it.
hope the dev manages to do the import part soon though as it would remove the need to parse content as a whole for many things.
e: the search did return more than 1000 ids, but it only process it one by one and didn't reach the limit stated on hydrus client api
Hello, iqdb_tagger crashes on Windows during file upload procedure. I've been able to fix that on my copy by adding "delete=False" to NamedTemporaryFile parameters but I'm not a python developer so I don't know if this is a good fix or not.
ERROR:flask.app:Exception on / [POST]
Traceback (most recent call last):
File "c:\users\~~~~\appdata\local\programs\python\python37-32\lib\site-packages\flask-1.0.3-py3.7.egg\flask\app.py", line 2311, in wsgi_app
response = self.full_dispatch_request()
File "c:\users\~~~~\appdata\local\programs\python\python37-32\lib\site-packages\flask-1.0.3-py3.7.egg\flask\app.py", line 1834, in full_dispatch_request
rv = self.handle_user_exception(e)
File "c:\users\~~~~\appdata\local\programs\python\python37-32\lib\site-packages\flask_restful-0.3.6-py3.7.egg\flask_restful\__init__.py", line 273, in error_router
return original_handler(e)
File "c:\users\~~~~\appdata\local\programs\python\python37-32\lib\site-packages\flask-1.0.3-py3.7.egg\flask\app.py", line 1737, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "c:\users\~~~~\appdata\local\programs\python\python37-32\lib\site-packages\flask-1.0.3-py3.7.egg\flask\_compat.py", line 36, in reraise
raise value
File "c:\users\~~~~\appdata\local\programs\python\python37-32\lib\site-packages\flask-1.0.3-py3.7.egg\flask\app.py", line 1832, in full_dispatch_request
rv = self.dispatch_request()
File "c:\users\~~~~\appdata\local\programs\python\python37-32\lib\site-packages\flask-1.0.3-py3.7.egg\flask\app.py", line 1818, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "c:\users\~~~~\appdata\local\programs\python\python37-32\lib\site-packages\flask_admin-1.5.3-py3.7.egg\flask_admin\base.py", line 69, in inner
return self._run_view(f, *args, **kwargs)
File "c:\users\~~~~\appdata\local\programs\python\python37-32\lib\site-packages\flask_admin-1.5.3-py3.7.egg\flask_admin\base.py", line 368, in _run_view
return fn(self, *args, **kwargs)
File "c:\users\~~~~\appdata\local\programs\python\python37-32\lib\site-packages\iqdb_tagger\views.py", line 33, in index
form.file.data.save(temp.name)
File "c:\users\~~~~\appdata\local\programs\python\python37-32\lib\site-packages\werkzeug\datastructures.py", line 2799, in save
dst = open(dst, "wb")
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\~~~~\\AppData\\Local\\Temp\\tmpc_41uzok'
try to screenshot a few parts of the webms and search iqdb-tagger
it could use ffmpeg and use first/middle/last frame of the webm
this function will export the existing database entries to json
requirement:
version
entry (use 1
for now)I was looking to run it without hydrus with the cli but i get a Hydrus module not found error
consider these before going to tkinter/wx/qt/web
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.