[InetGet] - Always @error. was working!
#61
Posted 12 March 2007 - 07:29 PM
In fact thats working for only Collector Zone, return me the login page for Premium Zone.
I don't know if you saw that there is two links:
https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi <- Premium account [$]
https://ssl.rapidshare.com/cgi-bin/collectorszone.cgi <- Free account [Free]
I checked both,
With my collector's [second link] login & pw its working [return me Zone page]
With my premium's one.. [First Link] its returning me the login page [without any error in it]
Both look exactly the same! Maybe one is more secured?
Thank so much, im gonna try to understand this code and make the Premium zone work.
#62
Posted 12 March 2007 - 07:33 PM
have you verified that you're able to do what you want manually? i mean it is possible that they've blocked you by MAC id or something.....Wow, I don't know how that works, but thats working...
In fact thats working for only Collector Zone, return me the login page for Premium Zone.
I don't know if you saw that there is two links:
https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi <- Premium account [$]
https://ssl.rapidshare.com/cgi-bin/collectorszone.cgi <- Free account [Free]
I checked both,
With my collector's [second link] login & pw its working [return me Zone page]
With my premium's one.. [First Link] its returning me the login page [without any error in it]
Both look exactly the same! Maybe one is more secured?
Thank so much, im gonna try to understand this code and make the Premium zone work.
#63
Posted 12 March 2007 - 07:36 PM
AND
https://username:password@ssl.rapidshare.co...lectorszone.cgi
Aren't working. But the Curl code returns the logged in page... Dont know how.
#64
Posted 12 March 2007 - 07:42 PM
aren't working manually or programatically?https://username:password@ssl.rapidshare.co...premiumzone.cgi
AND
https://username:password@ssl.rapidshare.co...lectorszone.cgi
Aren't working. But the Curl code returns the logged in page... Dont know how.
#65
Posted 12 March 2007 - 07:50 PM
#66
Posted 12 March 2007 - 07:55 PM
odd. well trying to automate something that isn't working manually seems like a bit of a waste of time. you should try to identify why it's not working manually first, then troubleshoot/debug your script once you're sure that any remaining issues are indicative of a problem with the script.Those links, aren't working Manually [Both] But Piccaso's last script make one of them work [Collector].
#67
Posted 12 March 2007 - 07:58 PM
I didn't have time to understand why my links aren't working. [Returns me in both case the login page without login error]
Weird..
#68
Posted 12 March 2007 - 08:01 PM
Dim $sLogin = "user" Dim $sPassw = "pw" Dim $iPidCurl = Run(@ComSpec & " /c " & 'curl -k -d login=' & $sLogin & ' -d password=' & $sPassw _ & ' <a href='https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi' class='bbc_url' title='External link' rel='norewrite nofollow external'>https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi'</a>, @ScriptDir, @SW_HIDE,2+4) Dim $iPeek,$sOut While 1 $iPeek = StdoutRead($iPidCurl,0,True) If @error Then ExitLoop If $iPeek > 0 Then $sOut &= StdoutRead($iPidCurl,$iPeek) WEnd ConsoleWrite($sOut)
its called 'login' on the premium page and 'username' on the collectors thing...
edit:
http authentication does not work because rapidscare's cgi doesent accept it that way.
you have to send it as post data
Edited by piccaso, 12 March 2007 - 08:05 PM.
#69
Posted 12 March 2007 - 08:04 PM
So I've understood the whole script! Gennnnnius!
You're such a pro, I didn't understand that -d are the Form names. I though it was just a command.
THANKS
IT WORKS! Piccaso, I'm your Fan.
Edited by eHrgo, 12 March 2007 - 08:12 PM.
#70
Posted 12 March 2007 - 08:22 PM
#71
Posted 22 July 2008 - 03:51 PM
ok lets see for how long
Well for this long...
The curl function is still working..(if i try it in dos)
But it is not working when i put it in autoit.
runwait does work bt i cant get the stream out....
Please help...
#72
Posted 22 July 2008 - 04:02 PM
You will have to be more specific than this before we can help you.Well for this long...
The curl function is still working..(if i try it in dos)
But it is not working when i put it in autoit.
runwait does work bt i cant get the stream out....
Please help...
Post your scriptlet and whats going wrong with it.
Jos
Visit the SciTE4AutoIt3 Download page for the latest versions Forum Rules
Live for the present,
Dream of the future,
Learn from the past.
#73
Posted 22 July 2008 - 04:15 PM
Indeed you right sorry...try this one
Dim $sLogin = "user" Dim $sPassw = "pw" Dim $iPidCurl = Run(@ComSpec & " /c " & 'curl -k -d username=' & $sLogin & ' -d password=' & $sPassw _ & ' <a href='https://ssl.rapidshare.com/cgi-bin/collectorszone.cgi' class='bbc_url' title='External link' rel='nofollow external'>https://ssl.rapidshare.com/cgi-bin/collectorszone.cgi'</a>, @ScriptDir, @SW_HIDE,2+4) Dim $iPeek,$sOut While 1 $iPeek = StdoutRead($iPidCurl,0,True) If @error Then ExitLoop If $iPeek > 0 Then $sOut &= StdoutRead($iPidCurl,$iPeek) WEnd ConsoleWrite($sOut)
anyway this script above does not work anymore...
Imange to get it work if i change the flag to 3. but it only work for 1 or 2 times and then it stop please help.
Edit
well i see that also with flag 2+4 its working but only once every 5 attemptes
Edited by oren, 22 July 2008 - 04:16 PM.
#74
Posted 22 July 2008 - 04:25 PM
Dim $sLogin = "user" Dim $sPassw = "pw" Dim $iPidCurl = Run(@ComSpec & " /c " & 'curl -k -d username=' & $sLogin & ' -d password=' & $sPassw _ & ' <a href='https://ssl.rapidshare.com/cgi-bin/collectorszone.cgi' class='bbc_url' title='External link' rel='norewrite nofollow external'>https://ssl.rapidshare.com/cgi-bin/collectorszone.cgi'</a>, @ScriptDir, @SW_HIDE,2+4) Dim $sOut While 1 $sOut &= StdoutRead($iPidCurl) If @error Then ExitLoop WEnd While 1 $sOut &= StderrRead($iPidCurl) If @error Then ExitLoop WEnd ConsoleWrite($sOut)
Visit the SciTE4AutoIt3 Download page for the latest versions Forum Rules
Live for the present,
Dream of the future,
Learn from the past.
#75
Posted 22 July 2008 - 06:12 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users





