Git Product home page Git Product logo

google_image_searcher's Introduction

Google_Image_Searcher

1. requirements

  • selenium
  • beautifulsoup4
  • requests
  • Chrome & webdriver(under the Python Script folder)

2. How does it work

The mirror website is : https://images.wjbaike.site/imghp (目前该镜像网站会自动重导向到google.com.hk,需要能够访问google才能进行搜索, 可使用VPN或者 浏览器插件)

Its main steps are as follows:

3. How to use

  1. 在main.py 同目录下新建一个upload文件夹(或者可以在初始化的时候指定自己的上传文件夹名称)
  2. 在upload文件夹中上传自己的图片
  3. 运行main.py,即可在同目录下的download(可自定义)文件夹中获取搜索到的图片(暂且仅获取搜索页面的第一页)

⭐ 建议使用最新版本 ⭐

4. New features

  • version 2

    • 自定义睡眠时间

      根据用户的网络情况,用户可以更改爬取网页时等待网页加载完全的时间,默认为6s

    • 支持两种模式(以后版本中已经撤销)

      • 文件模式

        图片文件直接放在upload文件夹下面

      • 文件夹模式

        图片以不同的文件夹位于upload文件夹下面,即upload文件夹下面的文件夹里面包含图片

  • version 3

    • 自动识别上传文件夹下的为包含图片的文件夹还是直接为图片,但目前仅支持upload文件夹中的文件夹必须是包含图片,如果包含其他的文件夹,不能再进行递归
  • version 4

    • 自动递归识别文件夹中的内容,无论图片位置如何放置,皆可进行搜索
  • version 4.1

    • 在version 4 由于镜像问题进行改进,并添加进度条显示,由于含有插件Ghelper, 速度大幅度提升
  • version 5

    • 将配置放置在json文件中,更加灵活

version 自动识别图片类型文件 upload模式(file/folder) 递归upload文件夹下载图片
1
2
3
4
5 ✔(可自定义)

更新:

2020/6/26: 镜像网站可以正常访问,点击这里

google_image_searcher's People

Contributors

junhaideng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.