Code Monkey home page Code Monkey logo

xin_picture_downloader's Introduction

XIN_Picture_Downloader 1.1.1

XIN 강의의 사진과 영상(음성)을 자동으로 다운로드 해주는 프로그램입니다.

음성 다운로드 시에는 오래걸리니 왜 안움직이지? 오류났나? 하고 프로그램 종료하는 불상사가 없길 바랍니다.

질문은 여기 로 남겨주세요

업데이트 내역

  • 1.1.1 cp949 오류 업데이트 - 2021. 03. 07.
  • 1.1 PDF Conversion 업데이트 - 2020. 05. 26.
  • 1.0 Release - 2020. 05. 19.

컴알못을 위한 사용법 1.1

  1. 파이썬 설치하기

  2. 이 버튼을 눌러 다운로드 하기

  3. 다운로드 하고 바탕화면으로 옮기자.

  4. 이 링크로가서 설치까지만 하고, 이 링크로 가서 하나 더 설치하자.

  5. 윈도우+R을 눌러 cmd 작성 후 엔터

  6. 이제 검은 창이 뜨는데 cd C:\\Users\\컴퓨터이름\\Desktop\\XIN_Picture_Downloader 을 해주자

  7. XIN 강의의 html 파일을 가져와야한다.

6-1. XIN 강의로 들어가서 F12를 누른다.

6-2. 왼쪽에 창이 하나 뜨는데 Elements를 누른다.

6-3. <html class= 라고 써진데에서 우클릭을 하고 Edit as HTML 을 눌러준다.

6-4. Ctrl+A(전체선택) 후 Ctrl+C(복사) 한다.

6-5. 다운로드한 파일의 data 폴더 아래의 xinhtml.txt 파일에 Ctrl+V(붙여넣기) 한다.

  1. 아까 그 검은 창에서 python ./main.py 를 해주자

잘 모르겠다면 위에 issues를 눌러 질문을 남기거나 컴잘알에게 물어보자.

나름 파이썬 다뤄봤다는 사람을 위한 사용법 1.1

  1. Python을 설치한다

Add Python3.x to PATH 는 꼭 클릭한다.

  1. 해당 repository를 git으로 clone 또는 download한다

  2. 터미널을 이용하여 해당 폴더에 접근한다.

혹은 탐색기를 C://xxx/XIN_Picture_Downloader 에 위치시킨 후 주소창을 클릭한 후 "cmd ."을 입력하고 Enter를 입력한다

  1. 다음과 같이 라이브러리를 설치한다.

BeautifulSoup4와 Pillow가 이미 깔려있으신 개발자 분께서는 이 과정을 스킵하셔도 됩니다.

pip install -r requirement.txt

또는

pip3 install -r requirement.txt
  1. XIN 강의의 html을 긁어오자.

4-1. XIN 강의로 들어가서 F12를 누른다.

4-2. Elements를 누르고 <html class=에서 우클릭을 하고 Edit as HTML을 누른다.

4-3. Ctrl+A(전체선택) 후 Ctrl+C(복사) 한다.

4-4. data 폴더 아래의 xinhtml.txt 파일에 Ctrl+V(붙여넣기) 한다.

  1. 다음 명령어를 이용하여 프로그램을 돌린다

python ./main.py

xin_picture_downloader's People

Contributors

detegice avatar

Stargazers

 avatar Jeonghoon Rho avatar  avatar Jun Gyeom Kim avatar  avatar

Watchers

James Cloos avatar  avatar

xin_picture_downloader's Issues

오류가 생겼습니다

Traceback (most recent call last):
File "C:\Users\rkdgu\Desktop\XIN_Picture_Downloader-master\main.py", line 4, in
url = getpics.getUrl("./data/xinhtml.txt")
File "C:\Users\rkdgu\Desktop\XIN_Picture_Downloader-master\getpics.py", line 9, in getUrl
atxt = f.read()
UnicodeDecodeError: 'cp949' codec can't decode byte 0xec in position 399: illegal multibyte sequence
라고 뜨면서 다운이 안되네요 혹시 pillow를 다운할떄 https://blog.naver.com/youngayo1/221800375340 방식으로 했는데 이게 문제인가요?

오류가 생겼습니다

Pictures Downloading...
Traceback (most recent call last):
File "C:\Users\rkdgu\Desktop\XIN_Picture_Downloader-master\main.py", line 4, in
url = getpics.getUrl("./data/xinhtml.txt")
File "C:\Users\rkdgu\Desktop\XIN_Picture_Downloader-master\getpics.py", line 33, in getUrl
im1.save("./download/slide.pdf", save_all=True, append_images=imgs)
UnboundLocalError: local variable 'im1' referenced before assignment
라는 오류가 생겼는데 어떻게 해야할까요?

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.