Git Product home page Git Product logo

imagedownloader's Introduction

CYYImageDownloader

使用說明

  1. 在terminal 輸入 python3 CYYImageDownloader.py 開啟
  2. 開啟後直接輸入網址即可
  3. 若要結束程式,請輸入 'q' 再按開始下載或是直接點選結束程式

輸入網址範例

版本

Version 7.0.1

更新內容

Version6.3.1: 修正 Dcard 留言 bug, 修正 pixnet 檔名錯誤問題

Version6.3.2: 修正 imgur 圖片下載

Version6.3.3: 使用 imghdr 判斷圖片類型,修正小問題

Version6.3.4: 修正圖片下載問題

Version7.0.1: 修復 Instagram 下載問題, Ptt word 輸出錯誤

注意事項

  1. 僅支援 PTT, Dcard, Instagram, Pixnet 網址,其餘網址皆會視為無效網址
  2. 請勿拿來做非法事項
  3. 若有任何 bug,歡迎告知

TODO List

  1. 下載 gif 圖片的功能
  2. 輸出不同的 Error Code,來辨識出錯項目

需求

  • 以下為我使用的 package 的版本
    • Python 3.7.6
    • python-docx: 0.8.10
    • bs4: 0.0.1
    • requests: 2.23.0
    • Pillow: 6.1.0
    • beautifulsoup4: 4.6.3

免責聲明

此程式為本人寫來自用的,若有發生任何問題,本人一概不負責

參考

Imgur album 正則表達式 使用 imghdr 判斷圖片

imagedownloader's People

Contributors

iamch15542 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

imagedownloader's Issues

Instagram 無法下載

感謝好東西 🙏

測過 Dcard、PTT、Pixnet 都可以下載。
但 Instagram 雖顯示「下載成功!」,但實際上沒有下載任何東西。

`ModuleNotFoundError: No module named 'docx'` `'exceptions'` `'bs4'` (Solved)

在 macOS Catalina 10.15.7
直接運行會依序發生以下錯誤:
ModuleNotFoundError: No module named 'docx'
ModuleNotFoundError: No module named 'exceptions'
ModuleNotFoundError: No module named 'bs4'

經過 Google 後,依序安裝:
pip3 install docx
pip3 install python-docx
pip3 install beautifulsoup4
可以解決,成功運行。

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.