The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Scripting Question by carthax2006-11-19 12:55:59
  © 1993-2005 Wizards of the Coast, Inc. by Cokish2005-03-08 06:51:26
    This is for personal use, for now. by carthax2005-03-08 06:56:56
      just pointing out the obvious. by Cokish2005-03-08 07:13:35
        I tried Wget, but it apparently doesn't like ASP by carthax2005-03-08 07:19:22
          Also: try 'Save Page As' in firefox by Cokish2005-03-08 07:46:01
            I would need to install Firefox. :-) by carthax2005-03-08 07:47:15
              And it doesn't work but for one page... by carthax2005-03-08 08:12:56
                wget is a very raw interface. by Cokish2005-03-08 08:38:15
                  Uhhh.... What language is that? by carthax2005-03-08 08:42:58
                    Never mind by Cokish2005-03-08 08:58:22
                      VB - I wrote a program a while back to strip stuff by carthax2005-03-08 09:02:51
                        And looking for that program, I'm wondering if it by carthax2005-03-08 09:07:12
                          Rewriting is fun. Your code will imprvoe by Cokish2006-11-19 12:55:59
                            Almost, but not quite, what I wanted by carthax2005-03-08 10:59:12
                              Ah. That would require some scripting by Cokish2005-03-08 11:24:21
                                I'll set up a VB program that writes them all out by carthax2005-03-08 11:41:51
                                Here is my script by Cokish 2005-03-08 12:02:57
#!/bin/bash

for i in `cat list` ; do
   fname=`echo $i | sed -e "s/[^_a-zA-Z0-9]//g" `
   echo "card: $i >> $fname "
   wget "http://gatherer.wizards.com/gathererlookup.asp?$i" -O $fname.out
done

It still need a 'list' file.
Here is a part of it:
@set=FourthEdition&name=abomination
@set=Legends&name=abomination
@set=Weatherlight&name=aboroth
It is basically the last part of the URL.
My list seems incomplete but I could mail it to you ?

If REALLY in problems, mail me at the email in my diary.

I'll stop now (will read posts later/tommorrow)
[ Reply ]
                                leave out '@'. For some reason it worked anyway by Cokish2005-03-08 12:14:25

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)