Giter Site home page Giter Site logo

md-imglocalize's Introduction

Hi there 👋

I’m currently learning website design and deeplearning algorithms. Welcome to my website🌐, here you can find my blog and notes☺️!

GitHub stats

Languages and Tools

python JavaScript Git pytorch jupyter git ubuntu

md-imglocalize's People

Contributors

cl4ysmith avatar joinme avatar yellowandgreen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

md-imglocalize's Issues

对特殊的图片地址如何解决

使用现有程序难以对下面这种图片地址进行本地化下载,请问如何做才能适配,谢谢。

https://cubox.pro/c/filters:no_upscale()?imageUrl=https%3A%2F%2Fimg.laoda.de%2Fi%2F2022%2F03%2F31%2Fhi43i6_7.webp&valid=true

不明原因导致无法下载图片

归档.zip
zip文件中有5个md文件,将其放入一个文件夹,运行 python3 main.py --md_path /Users/test/tmp/
会导致csdn14af361bbd21d4d3和csdne255a0a883bf25b3的资源无法下载,json文件中也没有,每次都是这俩文件资源文件夹是空的,稳定复现
经过测试,单独处理一个文件或删除csdn1b12088942bc3a47及csdn2c63cb3b09ea3526会正常

Python 3.9.13 macM1proarm64

有些图片下载失败但是没报错

有些图片下载失败了,在 assets 文件夹中找不到对应的文件,但是在 log 里也没发现报错。已测试这些图片链接可以正常访问,希望能加上断点续传功能,比如说记录图片链接和随机生成的文件名之间的对应关系,然后在下次运行的时候先读取,如果不存在这个文件就重新下载。

On Linux Md-ImgLocalize creates MDPATH\Test.md

Given a directory called MDPATH that contains Test.md

After invoking python3 main.py --md_path ~/Desktop/MDPATH --modify_source

the program does not modify Test.md

Instead it creates a file MDPATH\Test.md alongside directory MDPATH rather than modifying Test.md inside the folder.

This looks like it's caused by a programming error. On Linux the forward slash / is the proper way to separate a directory from a filename. In this case the program is using \ which is very Windows-esque.

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.