RefreshCapcha

Author Topic: Trying to make a script for scarywater  (Read 13295 times)

Offline Quantum

  • Ascended One
  • Hero Member
  • *****
  • Posts: 782
  • Karma: +206/-0
  • Daniel Jackson is looking at you!
    • View Profile
Trying to make a script for scarywater
« on: October 17, 2006, 06:19:39 am »
So, I give my first serious crack at making a script and I get stuck just trying to put the search URL in  ::)

Site: http://a.scarywater.net/

I try searching for 'Death note' and this is the URL I get: http://a.scarywater.net/search  ???

Help appreciated, I'd still like to give this script a go, so if you'd let me finish it off I would be rather happy.
Daniel: "This tastes like chicken."
Carter: "So what's wrong with it?"
Daniel: "It's macaroni and cheese."

deckkeeper

  • Guest
Re: Trying to make a script for scarywater
« Reply #1 on: October 17, 2006, 06:45:25 am »
Try using http://a.scarywater.net/search?query=%SEARCH%

important source code:
Code: [Select]
<div class="smallbutton">
   <form method="post" class="form" enctype="multipart/form-data" action="/search">
    <div>
     <input type="hidden" name="type" value="search"></input>
     <input type="text" size="15" maxlength="50" name="query"></input><br />
     <input type="submit" name="Search" value="Search"></input>
    </div>
   </form>
  </div>
The search form uses "http://a.scarywater.net/search" and gives it the value of variable "query". To do it manually, add ?, then the variable name, then the value. Example: to search for "hellsing", do "http://a.scarywater.net/search?query=hellsing".

Offline Quantum

  • Ascended One
  • Hero Member
  • *****
  • Posts: 782
  • Karma: +206/-0
  • Daniel Jackson is looking at you!
    • View Profile
Re: Trying to make a script for scarywater
« Reply #2 on: October 17, 2006, 07:02:21 am »
Ahh cool thank  ;D

Been along time since I messed about in the realms of HTML
Daniel: "This tastes like chicken."
Carter: "So what's wrong with it?"
Daniel: "It's macaroni and cheese."

Offline chip!

  • Bad Ass
  • Administrator
  • Unstoppable
  • *****
  • Posts: 2301
  • Karma: +629/-6
    • View Profile
Re: Trying to make a script for scarywater
« Reply #3 on: October 17, 2006, 09:44:10 am »
ahhhhhhhhhhh something i forgot to document?!


ok for POST type searches, if the standard "GET" request doesnt work (depends on how strict the site is about the search request), put "POST" in front of the search url..  so in this case, try:

POSThttp://a.scarywater.net/search?type=search&query=%SEARCH%



edit:   well  I guess the standard "GET" does work for this site.. but for other sites it might not (like "TodoTorrents.com")..  It all depends on how the site reads the search parameters..  but yeah, I guess you dont need to use "POST" in this case :P
« Last Edit: October 17, 2006, 09:50:40 am by chip! »
  -  https://convivea.com  -   And...  boom goes the dynamite.

Offline chip!

  • Bad Ass
  • Administrator
  • Unstoppable
  • *****
  • Posts: 2301
  • Karma: +629/-6
    • View Profile
Re: Trying to make a script for scarywater
« Reply #4 on: October 19, 2006, 06:25:57 am »
anyway, how's this going?
  -  https://convivea.com  -   And...  boom goes the dynamite.

Offline Quantum

  • Ascended One
  • Hero Member
  • *****
  • Posts: 782
  • Karma: +206/-0
  • Daniel Jackson is looking at you!
    • View Profile
Re: Trying to make a script for scarywater
« Reply #5 on: October 19, 2006, 08:00:47 am »
anyway, how's this going?

Oh what little time I've had to put in to it has gone really well. Think if I get another 20 mins to sit down and have a go at it it will be finished. But I'm 3 weeks in to my final year at uni and work is mental (what I get for choosing the hardest modules), plus I'm helping running an Anime society, helping sort out events and stuff and I'm looking after my mums house at the moment which adds to travel time.

So I'm really sorry, when scripts were so well introduced by you I expected to be piling out as many as you were but it's just not worked out like that.

I have a lot of free time tomorrow, but equally a lot of work to do to fill it up, I'll try my best to make some time though :).
« Last Edit: October 19, 2006, 08:02:26 am by Quantum »
Daniel: "This tastes like chicken."
Carter: "So what's wrong with it?"
Daniel: "It's macaroni and cheese."

Offline chip!

  • Bad Ass
  • Administrator
  • Unstoppable
  • *****
  • Posts: 2301
  • Karma: +629/-6
    • View Profile
Re: Trying to make a script for scarywater
« Reply #6 on: November 08, 2006, 08:56:50 am »
Oh no worries, I was just wondering if there was anything I could do to make it easier to write scripts.. since its hard for me to say until we have a couple other people writing them and provide feedback on the process..  but yeah, dont worry about not having any free time.. I certainly know what thats like, being in my senior year at my university  :-\

just gimme a hollar if you have any questions..  this reminds me I need to go update the documentation because since build 49, I introduced "If then else" capabilities to the scripts (as seen in the latest Mininova.org Script)...   which definitely makes the engine more powerful and able to adapt to more situations..
  -  https://convivea.com  -   And...  boom goes the dynamite.

Offline Bovski

  • Head Cider Tester
  • Hero Member
  • *****
  • Posts: 673
  • Karma: +189/-0
  • High Five Me
    • View Profile
    • Warez The Index
Re: Trying to make a script for scarywater
« Reply #7 on: December 31, 2006, 03:44:29 am »
Could be you missed out type=search its a hidden item

http://a.scarywater.net/search?type=search&query=good

the site is still a pain as you will see if you try the link above the results arn't linked to torrents but more results