Giter VIP home page Giter VIP logo

image_downloader's Introduction

Image_Downloader

목적

  • 이미지를 입력받아 네이버에서 이미지 20장 다운로드

주요기능

  1. 원하는 이미지를 입력받을 수 있음
  2. 네이버에서 크롤링하여 20장이 jpg파일로 다운로드됨
  3. 파일명은 입력받은 이미지명과 숫자를 순서대로 출력함.

미리보기

Image_Downloader

이미지를 검색하여 20장 다운로드

상세내용

import requests
from bs4 import BeautifulSoup

BeautifulSoup 를 임포트하여 웹스크래핑

       with open("image_{}_{}.jpg".format(x, idx + 1), "wb") as f:
              f.write(image_res.content)

input값으로 받은 x값과 enmuerate로 증가하는 idx를 이미지 파일명으로 입력함

image_downloader's People

Contributors

haesoo-y avatar

Stargazers

HoJin avatar

Watchers

 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.