Skip to content

Instantly share code, notes, and snippets.

View DannsOT's full-sized avatar
🌴
On vacation

DannsOT

🌴
On vacation
View GitHub Profile
@Nominom
Nominom / shonenripperjson.py
Last active July 17, 2025 11:49
New version of pocket.shonenmagazine.com ripper
# Original script by drdaxxy
# https://gist.github.com/drdaxxy/1e43b3aee3e08a5898f61a45b96e4cb4
# Thanks to ToshiroScan for fixing after a shonen update broke this.
# And QPDEH for helping fix the black bars issue with some manga.
# This script has been tested to work with python 3.10
# To install required libraries:
#
# pip install requests
@drdaxxy
drdaxxy / shonenmagazine.py
Created November 9, 2017 20:36
pocket.shonenmagazine.com ripper
#!/usr/bin/env python2
# requires lxml, requests, cssselect, pillow
import sys
import os
from io import BytesIO
from lxml import html
import requests
from PIL import Image