eHrgo Posted March 12, 2007 Author Share Posted March 12, 2007 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. Sorry for my Bad English. Link to comment Share on other sites More sharing options...
seandisanti Posted March 12, 2007 Share Posted March 12, 2007 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.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..... Link to comment Share on other sites More sharing options...
eHrgo Posted March 12, 2007 Author Share Posted March 12, 2007 https://username:password@ssl.rapidshare.co...premiumzone.cgiANDhttps://username:password@ssl.rapidshare.co...lectorszone.cgiAren't working. But the Curl code returns the logged in page... Dont know how. Sorry for my Bad English. Link to comment Share on other sites More sharing options...
seandisanti Posted March 12, 2007 Share Posted March 12, 2007 https://username:password@ssl.rapidshare.co...premiumzone.cgiANDhttps://username:password@ssl.rapidshare.co...lectorszone.cgiAren't working. But the Curl code returns the logged in page... Dont know how.aren't working manually or programatically? Link to comment Share on other sites More sharing options...
eHrgo Posted March 12, 2007 Author Share Posted March 12, 2007 Those links, aren't working Manually [both] But Piccaso's last script make one of them work [Collector]. Sorry for my Bad English. Link to comment Share on other sites More sharing options...
seandisanti Posted March 12, 2007 Share Posted March 12, 2007 Those links, aren't working Manually [both] But Piccaso's last script make one of them work [Collector].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. Link to comment Share on other sites More sharing options...
eHrgo Posted March 12, 2007 Author Share Posted March 12, 2007 Yep .. But its working... 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.. Sorry for my Bad English. Link to comment Share on other sites More sharing options...
piccaso Posted March 12, 2007 Share Posted March 12, 2007 (edited) that's because the form names are different. Dim $sLogin = "user" Dim $sPassw = "pw" Dim $iPidCurl = Run(@ComSpec & " /c " & 'curl -k -d login=' & $sLogin & ' -d password=' & $sPassw _ & ' https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi', @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 March 12, 2007 by piccaso CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
eHrgo Posted March 12, 2007 Author Share Posted March 12, 2007 (edited) Ow!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.THANKSIT WORKS! Piccaso, I'm your Fan. Edited March 12, 2007 by eHrgo Sorry for my Bad English. Link to comment Share on other sites More sharing options...
piccaso Posted March 12, 2007 Share Posted March 12, 2007 ok lets see for how long CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
oren Posted July 22, 2008 Share Posted July 22, 2008 ok lets see for how long muttleyWell 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... Link to comment Share on other sites More sharing options...
Developers Jos Posted July 22, 2008 Developers Share Posted July 22, 2008 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...You will have to be more specific than this before we can help you.Post your scriptlet and whats going wrong with it.Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
oren Posted July 22, 2008 Share Posted July 22, 2008 (edited) try this oneDim $sLogin = "user" Dim $sPassw = "pw" Dim $iPidCurl = Run(@ComSpec & " /c " & 'curl -k -d username=' & $sLogin & ' -d password=' & $sPassw _ & ' https://ssl.rapidshare.com/cgi-bin/collectorszone.cgi', @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) Indeed you right sorry... 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 July 22, 2008 by oren Link to comment Share on other sites More sharing options...
Developers Jos Posted July 22, 2008 Developers Share Posted July 22, 2008 You need to read both the STDOUT and STDERR. try: Dim $sLogin = "user" Dim $sPassw = "pw" Dim $iPidCurl = Run(@ComSpec & " /c " & 'curl -k -d username=' & $sLogin & ' -d password=' & $sPassw _ & ' https://ssl.rapidshare.com/cgi-bin/collectorszone.cgi', @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) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
oren Posted July 22, 2008 Share Posted July 22, 2008 Thanks man you the great.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now