ccloli / E-Hentai-Downloader

Download E-Hentai archive as zip file
GNU General Public License v3.0
1.84k stars 138 forks source link

archive file name as URL #170

Closed hellomynameisleo closed 3 years ago

hellomynameisleo commented 3 years ago

I use Calibre for my archives with a customized plugin that perfectly fetches metadata if you have the title name as a URL instead.

Could there be an added option for the downloader to instead grab the URL such as "https://e-hentai.org/g/1709342/04f30ea79e/" instead of "[Takanashi Ringo] Cynical Dog [English] [Digital]" into the archive file name instead? Since the URL contains special characters such as ":" and "/" the downloader plugin can convert those characters to "q" and "l" instead to make "httpsqlle-hentai.orglgl1709342l04f30ea79el" where I can use regex to convert it back in Calibre then fetch the metadata without any errors. Or make make an option where the archive name is the end of the URL such as "1709342 04f30ea79e" then I can use regex as well to convert to a full URL.

Would be greatly helpful as I really like Calibre more than the other alternatives due to the vast features and customizablilty it provides.

yingziwu commented 3 years ago

I think you need Calibre plugin. https://blog.bgme.me/posts/use-calibre-to-manage-your-doujinshi-2/

Besides, the plugin mention above need to do some modifications, such as add proxy support, update match rule to fit e-hentai new interview.

hellomynameisleo commented 3 years ago

I think you need Calibre plugin. https://blog.bgme.me/posts/use-calibre-to-manage-your-doujinshi-2/

Besides, the plugin mention above need to do some modifications, such as add proxy support, update match rule to fit e-hentai new interview.

that the one I use, as I already mentioned I use a plugin. It is inaccurate without using URL names. Its a flawed metaplugin that I had to snip a bit of code out to fetch misc metadata, the use of URLs is preffered due to how wonky it is on using title names for getting metadata, even getting errors unable to fetch, this doesn't happen on the use of URLs.

ccloli commented 3 years ago

Actually, you can set zip name on Settings as httpsqlle-hentai.orglgl{gid}|{token}l if you like. ---原始邮件--- 发件人:"CRft20"<notifications@github.com> 发送时间:2020年8月18日 星期二 上午3:36 收件人:"ccloli/E-Hentai-Downloader"<E-Hentai-Downloader@noreply.github.com> 抄送:"Subscribed"<subscribed@noreply.github.com> 主题:[ccloli/E-Hentai-Downloader] archive file name as URL (#170)

I use Calibre for my archives with a plugin that perfectly fetches metadata if you have the title name as a URL instead.

Could there be an added option for the downloader to instead grab the URL such as "https://e-hentai.org/g/1709342/04f30ea79e/&quot;&nbsp;instead&nbsp;of&nbsp;&quot;[Takanashi&nbsp;Ringo]&nbsp;Cynical&nbsp;Dog&nbsp;[English]&nbsp;[Digital]&quot;&nbsp;into&nbsp;the&nbsp;archive&nbsp;file&nbsp;name&nbsp;instead?&nbsp;Since&nbsp;the&nbsp;URL&nbsp;contains&nbsp;special&nbsp;characters&nbsp;such&nbsp;as&nbsp;&quot;:&quot;&nbsp;and&nbsp;&quot;/&quot;&nbsp;the&nbsp;downloader&nbsp;plugin&nbsp;can&nbsp;convert&nbsp;those&nbsp;characters&nbsp;to&nbsp;&quot;q&quot;&nbsp;and&nbsp;&quot;l&quot;&nbsp;instead&nbsp;to&nbsp;make&nbsp;&quot;httpsqlle-hentai.orglgl1709342l04f30ea79el&quot;&nbsp;where&nbsp;I&nbsp;can&nbsp;use&nbsp;regex&nbsp;to&nbsp;convert&nbsp;it&nbsp;back&nbsp;in&nbsp;Calibre&nbsp;then&nbsp;fetch&nbsp;the&nbsp;metadata&nbsp;without&nbsp;any&nbsp;errors.

Would be greatly helpful as I really like Calibre more than the other alternatives due to the vast features and customizablilty it provides.

— You are receiving this because you are subscribed to this thread. Reply to this email directly,view it on GitHub, orunsubscribe.

hellomynameisleo commented 3 years ago

Actually, you can set zip name on Settings as httpsqlle-hentai.orglgl{gid}|{token}l if you like. ---原始邮件--- 发件人:"CRft20"<notifications@github.com> 发送时间:2020年8月18日 星期二 上午3:36 收件人:"ccloli/E-Hentai-Downloader"<E-Hentai-Downloader@noreply.github.com> 抄送:"Subscribed"<subscribed@noreply.github.com> 主题:[ccloli/E-Hentai-Downloader] archive file name as URL (#170) I use Calibre for my archives with a plugin that perfectly fetches metadata if you have the title name as a URL instead. Could there be an added option for the downloader to instead grab the URL such as "https://e-hentai.org/g/1709342/04f30ea79e/" instead of "[Takanashi Ringo] Cynical Dog [English] [Digital]" into the archive file name instead? Since the URL contains special characters such as ":" and "/" the downloader plugin can convert those characters to "q" and "l" instead to make "httpsqlle-hentai.orglgl1709342l04f30ea79el" where I can use regex to convert it back in Calibre then fetch the metadata without any errors. Would be greatly helpful as I really like Calibre more than the other alternatives due to the vast features and customizablilty it provides. — You are receiving this because you are subscribed to this thread. Reply to this email directly,view it on GitHub, orunsubscribe.

thanks, much appriciated. Didn't know it could already do this.