hoppas0 / imgsearch Goto Github PK
View Code? Open in Web Editor NEW基于PicImageSearch写出来的以图搜图小程序,并且可以批量下载其中的pixiv图片
基于PicImageSearch写出来的以图搜图小程序,并且可以批量下载其中的pixiv图片
Having an additional folder for any files that have failed downloading would be nice as it could help separate and delete the old files that have not been downloaded by the original source. For example, having PixivImage folder are the successful downloads while having an additional folder like FailedImages that has all the images that are not in PixivImage. This could be done by copying the file from the source folder, like Tu, and then placed into the FailedImages folder.
When trying to run the source code on my computer, I found it to be difficult to replicate the same executable you made through auto-py-to-exe since I have manually find and install all libraries involved. For example, I have to pip install loguru and other files not mentioned in the python code. Unfortunately, I was unable to replicate it as I could not find all the installations made on the project. Having a file name "requirements.txt" that contains all pip installations would be great. This would allow other people to run the program on their computer.
Since the addition the requirements.txt, it helped download all dependencies that are required for the project. As a result, it allows the program to open the window prompt normally. However, after clicking the automatically download button, the program would crash. The image below is the result of the crash
Text version of the image:
Unhandled exception in script
Failed to execute script 'main' due to unhandled exception:
'NoneType' object has no attribute 'short_remaining'
Traceback (most recent call last):
File "main.py", line 249, in
File "asyncio\runners.py", line 190, in run
File "asyncio\runners.py", line 118, in run
File "asyncio\base_events.py", line 653, in run_until_complete
File "main.py", line 230, in run
AttributeError: 'NoneType' object has no attribute 'short_remaining'
Additionally to the problem, some files are missing from the auto-py-to-exe result.
Missing folders:
cchardet
frozenlist
numpy
psutil
Missing files:
_elementtree
All files containing api-ms-win
libopenblas64__v0.3.21-gcc_10_3_0.dll
ucrtbase.dll
Inside GetPixivImg.py, line 30 (# name = url.split("/")[-1]), which is commented out, allows the images downloaded from Pixiv to maintain their same pixiv file name. For example, it will keep the a file name of 123456789.p0.png. Having a release of main.rar with this line of code will be greatly appreciated.
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.