Welcome, Guest
Discussion and Sharing of Web Comics

TOPIC: Webcomic Request (Closet Space)

Webcomic Request (Closet Space) 1 year 7 months ago #45298

  • Golden6677
  • Golden6677's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Hello,

I've had success using the webcomic helper in the past but found one that didn't work over at closetspace (www.dolari.org/cs/index.htm).

The script failed to find a regular expression to predict the next pages, but they and the image addresses follow a straight numerical pattern.


Any help is appreciated.
The administrator has disabled public write access.

Webcomic Request (Closet Space) 1 year 7 months ago #45299

  • Fuzzyluzzi
  • Fuzzyluzzi's Avatar
  • Offline
  • Gold Boarder
  • Posts: 301
  • Thank you received: 44
  • Karma: 10
Script worked for me with no problem. Just had to use the Image URL for Next. Hope this helps.
Attachments:
The administrator has disabled public write access.
The following user(s) said Thank You: Golden6677

Webcomic Request (Closet Space) 1 year 7 months ago #45300

  • Golden6677
  • Golden6677's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Thanks for getting to it so quickly.

I tried creating my own with that advice and still failed; however, the cbw posted works fine. I'll have to reverse engineer the code to see if I can make sense of these regular expressions to write cbw's by hand next time.


EDIT: comicrack choked at page 270 and did not run completely to the end of the series. On the surface there doesn't appear to be a coding error with a loop or much of a pattern differentiating 270 from 271. The one clear change is the format changes to *.png
Last Edit: 1 year 7 months ago by Golden6677. Reason: update
The administrator has disabled public write access.

Webcomic Request (Closet Space) 1 year 7 months ago #45305

  • Fuzzyluzzi
  • Fuzzyluzzi's Avatar
  • Offline
  • Gold Boarder
  • Posts: 301
  • Thank you received: 44
  • Karma: 10
I've played with it a little bit. For some reason, whenever I attempt to adjust the code beyond 270, it only pulls one page and won't advance. It's very odd. It has been handling many image formats throughout the run, so I don't see why that would be an issue. Maybe someone else would know what is throwing it off.

<?xml version="1.0" encoding="utf-8"?>
<WebComic>
  <Info>
    <Format>Web Comic</Format>
    <Web>http://www.dolari.org</Web>
    <Series>Closet Space</Series>
  </Info>
  <Images>
    <Image Url="?http://www.dolari.org/cs/1.htm">
      <Parts>
        <Part>src\s*=\s*(?(["'])["'](?&lt;link&gt;(?:http://(?:www\.)?dolari\.org)?\.*/?comics/[^"']+)["']|(?&lt;link&gt;(?:http://(?:www\.)?dolari\.org)?\.*/?comics/[^\s&lt;&gt;]+))</Part>
        <Part>&lt;a\s[^&lt;&gt;]*href\s*=\s*(?(["'])["'](?&lt;link&gt;[^"']+)["']|(?&lt;link&gt;[^\s&lt;&gt;]+))[^&lt;&gt;]*&gt;[\s\n\r\t]*&lt;img\s[^&lt;&gt;]*src\s*=\s*["']?\.*/?\.\./images/csnext\.gif["']?</Part>
      </Parts>
    </Image>
  </Images>
</WebComic>
The administrator has disabled public write access.

Webcomic Request (Closet Space) 1 year 7 months ago #45316

  • Stonepaw
  • Stonepaw's Avatar
  • Offline
  • Moderator
  • Posts: 921
  • Thank you received: 268
  • Karma: 173
The site has a really inconsistent next link. Looks like it's generated in frontpage or some really bad page generator.

I played around a bit and I think I have it working:
Attachments:
The administrator has disabled public write access.
Time to create page: 0.374 seconds

Who's Online

We have 279 guests and 7 members online