Giter Site home page Giter Site logo

html_theif's Introduction

๐Ÿฑโ€๐Ÿ‘ค

problem

์•„๋ž˜์˜ ๊ทœ์น™์„ ๋”ฐ๋ผ, ์›น ํŽ˜์ด์ง€ ๋˜๋Š” ์ปค๋งจ๋“œ๋ผ์ธ์—์„œ ํ…Œ์ŠคํŠธ ๊ฐ€๋Šฅํ•œ ํ”„๋กœ๊ทธ๋žจ์„ ์ œ์ถœํ•ฉ๋‹ˆ๋‹ค.

# ์ž…๋ ฅ๊ทœ์น™
   - ์‚ฌ์šฉ์ž๋กœ๋ถ€ํ„ฐ 3๊ฐ€์ง€ ์ž…๋ ฅ์„ ๋ฐ›์Šต๋‹ˆ๋‹ค.
   - URL(ํฌ๋กค๋ง ํ•ด์˜ฌ ์ฃผ์†Œ), 
   - TYPE(ํฌ๋กค๋ง ํ•ด์˜จ ํ…์ŠคํŠธ์˜ ํƒ€์ž…. 'txt'; htmlํƒœ๊ทธ ํฌํ•จ/ 'html'; html ํƒœ๊ทธ ์ œ์™ธ), 
   - Length of Unit(์ถœ๋ ฅ๋‹จ์œ„).
 
 # ์ถœ๋ ฅ๊ทœ์น™
   - ์›น ํŽ˜์ด์ง€์˜ ๋ชจ๋“  ๊ธ€์ž๋ฅผ ํฌ๋กค๋ง. ๋‹จ, ์˜์–ด์™€ ์ˆซ์ž๋งŒ ์ถœ๋ ฅ์— ์‚ฌ์šฉ.
   - ์˜ˆ์‹œ์™€ ๊ฐ™์€ ํ˜•ํƒœ์˜ ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ ์ถœ๋ ฅ. (e.g. ์ˆซ์ž: 012..., ์˜์–ด: AaBbCc..)
   - ์˜์–ด์™€ ์ˆซ์ž๊ฐ€ Mix์‹œ ๊ต์ฐจ์ถœ๋ ฅ. (e.g. '์˜์–ด-์ˆซ์ž-์˜์–ด'์ˆœ)
   - ์ถœ๋ ฅ๋‹จ์œ„๋ฅผ ๊ธฐ์ค€์œผ๋กœ ๋ชซ๊ณผ ๋‚˜๋จธ์ง€๋ฅผ ๋‚˜๋ˆ„์–ด ์ถœ๋ ฅ.

Solution

Dependencies

  • Python 3.6
  • bs4 0.0.1
  • beautifulsoup4 4.6.x
  • requests 2.x
  • Flask 1.0.x

How to run

  1. Git Clone
  2. app.py ์‹คํ–‰
  3. 'Running on {{local host ์ฃผ์†Œ}}' ๋ฉ”์„ธ์ง€๊ฐ€ ๋œจ๋ฉด, ํ•ด๋‹น ์ฃผ์†Œ๋กœ ์ ‘์†.
  4. ์›นํŽ˜์ด์ง€์— ๋ฌธ์ œ๊ฐ€ ์žˆ๋‹ค๋ฉด, command.py๋ฅผ ์‹คํ–‰ํ•ด ์ปค๋งจ๋“œ ์ฐฝ์—์„œ ํ…Œ์ŠคํŠธํ•ด ๋ณผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

html_theif's People

Contributors

hon9g 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.