NguyenDanPhuong / MangaRipper

This software helps you download manga (Japanese Comic) from several websites for your offline viewing.
MIT License
189 stars 43 forks source link

[Request] Custom Plugins #104

Open eksynn opened 6 years ago

eksynn commented 6 years ago

can you make it easy to create our own plugins? instead of DLLs, maybe ini or another easily-editable file format, or something. it would make it easier for the user to fix things without having to wait for the app to be updated, as well as to allow users to share plugins for specific websites...

thanks in advance! i really hope this gets implemented.

GambitKZ commented 6 years ago

Well, I think it's impossible. Even if they implement the same interface, their internals is very different. All we can do is to put some extensions into the configuration file. But for now, the only additions I can see is additional urls for the websites. However, the boss here is @NguyenDanPhuong

NguyenDanPhuong commented 6 years ago

It's nice to have but I don't know how to make it because as @GambitKZ said. Every sites are different

JedBurke commented 6 years ago

@eksynn I had a similar idea a while back, users would be able to direct how the application runs with a configuration file. But I was stuck on which format to use. Both JSON and XML can't store regex patterns without escaping them. It makes it hard to read especially for beginners and non-programmers. Besides for arrays, I'm happy to say the INI format works nicely for the job.

Thanks for mentioning it, I may have continued overlooking it.