Forum › A suggetion

GendoIkari Uploader
Tsuglenda
joined Aug 10, 2011

Could you create and host a textfile with the links to all the sources of the chapters of a manga in a series on the series pages.
I mean a Wget-list so a text file that just has the links on seperate lines so like
http://www.dynasty-scans.com/reader/sources/series/blarg/[foo]blargv1_c1.zip
http://www.dynasty-scans.com/reader/sources/series/blarg/[foo]blargv1_c2.zip

and so on? It would make downloading things a lot easier.

MrEngenious Admin
Puff
Dynasty Scans
joined Oct 8, 2010

We've had plenty of occasions where it's been suggested that there be some easier method of obtaining download links for mass download. I never remember what becomes of them. Always a good time to bring it up again (assuming our tech support man harawa has free time to join in the discussion).

joined Jul 20, 2012

Not quite what you're asking for but I wrote a python 3 script, dynscrape, that uses the Beautiful Soup 4 module to create a list for "wget -i".

#!/usr/bin/python
import bs4, re, sys, urllib.request

# get url argument.
if len(sys.argv) != 2:
    print("usage: ./dynscrape <url>")
    raise SystemExit
url = sys.argv[1]

# Set cookie to bypass age check: "Cookie: ageVerify=1"
req = urllib.request.Request(url)
req.add_header('Cookie', 'ageVerify=1')
# Download url text.
page_text = urllib.request.urlopen(req).read()

# parse page.
soup = bs4.BeautifulSoup(page_text)

# in the content div find anchors that contain .zip filenames.
zipre = re.compile('\.zip$')
for div in soup.body.find_all('div', 'contents'):
    for link in div.find_all('a'):
        if zipre.search(link.get('href')):
            print("http://dynasty-scans.com", link.get('href'), sep='')

Run providing an url:

$ ./dynscrape http://dynasty-scans.com/reader/series/blarg >blarg-list
$ wget -i blarg-list
GendoIkari Uploader
Tsuglenda
joined Aug 10, 2011

I'm not very fond of python but I'll try it out. It's slightly a moot point now since the series I was looking at has been licensed. I hate running down python modules it's a lot of work to find the source and compile it for something that should be built into the language to begin with.

omnscient0 Admin
Apple
Dynasty Scans
joined Oct 1, 2010

The issue is more if we want to do this then if we can. We have had a myriad of hosts issue as it is. If we make it easier for people to download mass amounts of chapter, it could make future problems more likely to crop up.

To reply you must either login or sign up.