-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmoa.jp downloader #1
Comments
You can use the following bash script to merge image. ls p*i*.jpg > file_list.txt
grep -Eo '^p[0-9]+' file_list.txt | sort -u > p_list.txt
xargs -a p_list.txt -P 8 -I {} convert {}i1.jpg {}i2.jpg -crop +0-5 {}i3.jpg -append {}.jpg
mkdir i
var=$(pwd)
zip "${var##*/}_raw" p*i*.jpg
mv p*i*.jpg i
mv file_list.txt p_list.txt i
perl-rename 's/p(\d{1})\.jpg/p00\1\.jpg/g' *.jpg
perl-rename 's/p(\d{2})\.jpg/p0\1\.jpg/g' *.jpg
rm -r i
zip "${var##*/}" *.jpg && rm *.jpg |
Thank you very much
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
…On Mon, Jul 20, 2020 at 5:04 PM yingziwu ***@***.***> wrote:
1. open and log in cmoa.jp <https://www.cmoa.jp>.
2. open MY本棚 <https://www.cmoa.jp/mypage/mypage_top/>.
3. Open the purchased comic.
4. In reader view, open the first page and click the upper right
button.
5. Turn pages manually until you reach the last page.
6. Click the upper right button again. Now you wil get a zip
compression.
You can use the following bash script to merge image.
ls p*i*.jpg > file_list.txt
grep -Eo '^p[0-9]+' file_list.txt | sort -u > p_list.txt
xargs -a p_list.txt -P 8 -I {} convert {}i1.jpg {}i2.jpg -crop +0-5 {}i3.jpg -append {}.jpg
mkdir i
var=$(pwd)
zip "${var##*/}_raw" p*i*.jpg
mv p*i*.jpg i
mv file_list.txt p_list.txt i
perl-rename 's/p(\d{1})\.jpg/p00\1\.jpg/g' *.jpg
perl-rename 's/p(\d{2})\.jpg/p0\1\.jpg/g' *.jpg
rm -r i
zip "${var##*/}" *.jpg && rm *.jpg
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APKNPJA6Y3IPO5DW6UH3H7LR4RTJRANCNFSM4O42LPNQ>
.
|
I keep on getting this
[image: msedge_T2ECcnQUaa.png]
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Mon, Jul 20, 2020 at 5:23 PM Suno Honmy <[email protected]>
wrote:
… Thank you very much
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#m_8891300331256803401_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Mon, Jul 20, 2020 at 5:04 PM yingziwu ***@***.***> wrote:
>
> 1. open and log in cmoa.jp <https://www.cmoa.jp>.
> 2. open MY本棚 <https://www.cmoa.jp/mypage/mypage_top/>.
> 3. Open the purchased comic.
> 4. In reader view, open the first page and click the upper right
> button.
> 5. Turn pages manually until you reach the last page.
> 6. Click the upper right button again. Now you wil get a zip
> compression.
>
> You can use the following bash script to merge image.
>
> ls p*i*.jpg > file_list.txt
>
> grep -Eo '^p[0-9]+' file_list.txt | sort -u > p_list.txt
>
> xargs -a p_list.txt -P 8 -I {} convert {}i1.jpg {}i2.jpg -crop +0-5 {}i3.jpg -append {}.jpg
>
>
>
>
>
> mkdir i
>
> var=$(pwd)
>
> zip "${var##*/}_raw" p*i*.jpg
>
> mv p*i*.jpg i
>
> mv file_list.txt p_list.txt i
>
>
>
> perl-rename 's/p(\d{1})\.jpg/p00\1\.jpg/g' *.jpg
>
> perl-rename 's/p(\d{2})\.jpg/p0\1\.jpg/g' *.jpg
>
>
>
> rm -r i
>
> zip "${var##*/}" *.jpg && rm *.jpg
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#1 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/APKNPJA6Y3IPO5DW6UH3H7LR4RTJRANCNFSM4O42LPNQ>
> .
>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do you use the cmoa.jp downloader???
The text was updated successfully, but these errors were encountered: