Code Monkey home page Code Monkey logo

Comments (4)

JeanFred avatar JeanFred commented on July 18, 2024

On the back end this is not really hard − we already fetch the fullsize when requesting too big a size (since #2)
The UX aspect is what worries me − how to select this? Another argument --full-size``on the command line, exclusive with the--width` flag? But what about the file list option?

from commonsdownloader.

maflcko avatar maflcko commented on July 18, 2024

What about assuming the user wants the full size if no size is specified?

from commonsdownloader.

JeanFred avatar JeanFred commented on July 18, 2024

@MarcoFalke Thanks for chiming in! That’s a good question − CommonsDownloader started its life as a thumbnail grabber so this was the original assumption which we can certainly revisit :)

The issue I have with this is that Wikimedia Commons files can be quite big (and some are properly huge) − not sure it is a nice experience to fire CommonsDownloader and end up downloading by default megabytes and megabytes. What do you think?

from commonsdownloader.

maflcko avatar maflcko commented on July 18, 2024

It really depends on where or by whom your application is used...

But if you want to change the current behavior as little as possible, what about using --width=-1 to request the full size. (Same behavior as the actual mediawiki API)

from commonsdownloader.

Related Issues (12)

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.