Coder Social home page Coder Social logo

minibear2333 / picture_urls_to_oss Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 5 KB

批量替换文件中所有的图片到阿里云oss,把文件中所有符合一定规则url的图片,下载下来,去重,批量上传阿里云oss,然后得到上传后的地址,批量替换。 支持语雀、腾讯云+社区、新浪oss、掘金图片下载转换

Home Page: https://coding3min.com

Python 100.00%

picture_urls_to_oss's Introduction

picture_urls_to_oss

批量替换文件中所有的图片到阿里云oss 把文件中所有符合一定规则url的图片,下载下来,去重,批量上传阿里云oss,然后得到上传后的地址,批量替换。

场景

因为我想语雀上我写的文章导出成markdown以后,由于图片可能做了放盗链,导致上传到我的博客,图片不显示了,网卡找了半天也没有找到合适的办法。

无奈,只能自己写一个。

  1. 使用的是wordpress做博客
  2. 图片域名是一样的,后面以"结尾

详细介绍见我的博客 https://coding3min.com/365.html

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.