Jump to content

RapidQueuer 2.4.4


Datenshi
 Share

Recommended Posts

A Idea for improvement:

Change the open link list and open error links to buttons (not use # for a button)

Done :)

I have an idea. Ive been to sites before with rapidshare links that are behind links so you cannot just copy them into RadpidQueuer. Mayhaps you could make it so that we can copy a web address and RadpidQueuer will grab the source of that page and get all of the rapidshare links off of it, perhaps this could come with a dialog box to deselect undisired links.

Thats a great idea, I've tried this quickly before but the problem was since there's no way of knowing the end of the link it's gonna cause problems.

This problem is the same reason the "monitor clipboard" feature doesn't work with two or more links in the same line, like "http://rapidhare.com/files/2352344/filename1.rarhttp://rapidhare.com/files/324234/filename2.rar" there's no way of knowing that ".rar" is the extension for the first file and not ".rarhttp", since the HTML source is formatted far from what we actually see in the browser, this further complicates it. lets say the source shows something like this.. "http://rapidhare.com/files/2352344/filename.rar<br>" the <br> would be a linebreak in HTML but RQ would think its part of the file extension so it'll be added like "http://rapidhare.com/files/2352344/filename.rar<br>" in the linklist.

Anyway, that was my conclusion last time i attempted this but I'm gonna try it again and see if i can figure out a way this time :) thanks

Update: Looks like i got this pretty much done, just need a good way of implementing it with the gui.

Btw. If there's someone here that's good with RegExp strings I'll be greatful if you could take a look at the current one in RQ and see if it can be improved.

Edited by Datenshi
Link to comment
Share on other sites

  • 4 weeks later...
  • Replies 278
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Post for version update:

New Rapidshare API usage(big improvement).

Rapidshare recently documented their API found here this allowed for a more efficient download "engine", and is not used. This also fixed a real annoying bug causing no Rapidpoint to be awarded to whoever uploaded the file.

Commandline support

Well this doesn't need that much explanation other then how to use it, all the params are documented on the opening post in this thread, or by writing -help at the commandline.

This feature will allow for scheduling of jobs with Windows built in scheduler or any other software doing the same thing.

Possibility to add links during downloads, by Clipboard and/or File.

This allows for importing links using a clipboard or a file filled with links, the clipboard is not monitored during downloads so, when you click it in the tray menu it will scan whatever you have in the clipboard for links, if it finds anything I'll ask you if u wish to add it to the download queue. The file import allows for importing .txt files containing multiple links, the format of this file is the same for the "linklist.dat", make sure no links stick together. This should be used if there's a large amount of links to be added. Notice that no question will be asked whether or not you with to add the files that were found, it'll add them as soon as it finds them.

These links will not be written to the Linklist until exit of RQ. New links are added directly to the links array.

A last chance to abort PC Shutdown before it actually does.

Other then the toggable shutdown option in tray added this version, there's also a 30sec msgbox that will appear just before the PC shutdown is sent.

If "ok" is pressed in the msgbox the shutdown will be canceled, if not the msgbox will timeout after 30sec and send the shutdown request.

URL source scanner.(cookies+redirects supported).

Alright, this one is a pretty big feature. The URL scanner allows for scanning a websites sourcecode in search for Rapidshare links, it'll list them in a nice list for you to select whichever links you'd like to add to the linklist. If also supports Cookies, which are often used on sites that require registration such as a forum. Lastly the URL Scanner is allowed to follow redirects 5 times, its limited to 5 because any site redirecting that much is horrible and should be avoided, if 5 redirects are reached on the same website its expected to be an endless loop and will return no links found.

15min wait is challenged every 2min, sometimes RS don't enforce this.

I added this because i found that sometimes, Rapidshare did not actually enforce the 15min cooldown between downloads, this will make sure no time is wasted.

It basically just checks if Rapidshare is still denying download from your IP every 2min.

Report any bugs with 2.3 by PM or in this thread. Enjoy!

Edited by Datenshi
Link to comment
Share on other sites

I use this all the time and I would recommend a link checker that would just be perfect instead of me and others having to go to rapidshare and goto link checker manually copy/paste my links to see if they exist or not.

You don't have to do that, RQ filters out links that don't work. It'll even write them out to the Errorlinks file like this:

"[2009/08/21]-[18:08:38] -- > http://rapidshare.com/files/138494237/someFile1.rar ## File not found"

then move on to the next file in the list.

Edited by Datenshi
Link to comment
Share on other sites

  • 2 weeks later...

Wow! I hadn't checked the thread for a while, since the 2.2 version was working so well and was shocked to find my name as a contributer on the 2.3 version. What an honor! That's very, very generous of you. Thank you for that and of course for writing such a fantastic program.

Link to comment
Share on other sites

Hello Datenshi, thx for this great app, works like a charm :D .

Currently my isp blocks (in reality slows down) rapidshare and megaupload downloads, so when a link that i try to download has "rapidshare" or "megaupload" in it, or in the http referer, it goes SLOWWWW!!!, the only way around this is to use the ip instead of the hostname, and to remove the referer (or never have it xD)

Previously i was using jdownloader, but there wasn't any way that i could implement a workaround in it, but in rapidqueuer it was a matter of milliseconds xD, i just changed this:

$DownloadFinalLink = "http://rs"&$ServerID&$APIMirror&".rapidshare.com/files/"&$FileID&$TicketNR[0]&$Filename

With this:

TCPStartup()$
RDomain = TCPNameToIP("rs"&$ServerID&$APIMirror&".rapidshare.com")
$DownloadFinalLink = "http://"&$RDomain&"/files/"&$FileID&$TicketNR[0]&$Filename

And voilà, full speed back again. The other great feature is the reset ip, i just changed the function with my code and all done, goodbye 15 minutes waiting xD

So here a few features suggestions:

-Make the "links found" column able to order the links alphabetically

-Be able to deselect "ip change between downloads" on the tray icon

-Some kind of speed/bandwidth control

-Resume capabilities?, maybe something with curl, never tried it but it has this parameter:

-C/--continue-at <offset>

Continue/Resume a previous file transfer at the given offset. The given offset is the exact number of bytes that will be skipped, counting from the beginning of the source file before it is transferred to the destination. If used with uploads, the FTP server command SIZE will not be used by curl.

Use "-C -" to tell curl to automatically find out where/how to resume the transfer. It then uses the given output/input files to figure that out.

If this option is used several times, the last one will be used.

Cheers

Link to comment
Share on other sites

Hey d2038, nice to hear you like it :D it's great that RQ is fairly easy to modify to fit peoples different situations better, there's so many "weird" things it's impossible to think of every scenario :D

So here a few features suggestions:

-Make the "links found" column able to order the links alphabetically

-Be able to deselect "ip change between downloads" on the tray icon

-Some kind of speed/bandwidth control

-Resume capabilities?, maybe something with curl, never tried it but it has this parameter:

The first 2 could most likely be done fairly easy, the other 2 I'm not so sure about..The Bandwidth control i pretty much have no idea how to do :D And the problem with the Resume Capability is that Rapidshares server doesn't allow for specific offset requests as a Free RS user, that means when i send "GET blabla.rar at Offset 30000bytes" It wouldn't answer me back. It's intentionally disabled by RS to get people to buy Premium accounts for resume.

So basically that's pretty much impossible to implement unless Rapidshare changed as to allow resume for Free accounts. Good ideas nonetheless. :D

Link to comment
Share on other sites

Hey d2038, nice to hear you like it :D it's great that RQ is fairly easy to modify to fit peoples different situations better, there's so many "weird" things it's impossible to think of every scenario :D

The first 2 could most likely be done fairly easy, the other 2 I'm not so sure about..The Bandwidth control i pretty much have no idea how to do :D And the problem with the Resume Capability is that Rapidshares server doesn't allow for specific offset requests as a Free RS user, that means when i send "GET blabla.rar at Offset 30000bytes" It wouldn't answer me back. It's intentionally disabled by RS to get people to buy Premium accounts for resume.

So basically that's pretty much impossible to implement unless Rapidshare changed as to allow resume for Free accounts. Good ideas nonetheless. :D

Oh i wasn't aware of the resume limitation, maybe i was confused with megaupload... :D

About the speed control, the only way i see to do this is to find some app with command line parameters, i tried to find some kind of autoit functions but i didn't find any.

The sort "links found" column could be done with _GUICtrlListView_SimpleSort(limited) or _GUICtrlListView_SortItems

I implemented the deselect ip refresh, it was merely a copy/paste of the deselect shutdown feature, i changed this:

$TrayShutdownToggle = TrayCreateItem("Shutdown On Finish")
TrayItemSetOnEvent(-1,"TrayShutdownToggle")
If BitAND(GUICtrlRead($CheckboxShutdown), $GUI_CHECKED) = $GUI_CHECKED Then TrayItemSetState($TrayShutdownToggle, 1)
$TrayQuit = TrayCreateItem("Quit")
TrayItemSetOnEvent(-1, "TrayExit")
TraySetToolTip("RapidQueuer")
TrayTip("RapidQueuer","Use tray for control.",5,16)

With this:

$TrayShutdownToggle = TrayCreateItem("Shutdown On Finish")
TrayItemSetOnEvent(-1,"TrayShutdownToggle")
If BitAND(GUICtrlRead($CheckboxShutdown), $GUI_CHECKED) = $GUI_CHECKED Then TrayItemSetState($TrayShutdownToggle, 1)
$TrayIPRefreshToggle = TrayCreateItem("Refresh Ip")
TrayItemSetOnEvent(-1,"TrayIPRefreshToggle")
If BitAND(GUICtrlRead($CheckboxIPRefresh), $GUI_CHECKED) = $GUI_CHECKED Then TrayItemSetState($TrayIPRefreshToggle, 1)
$TrayQuit = TrayCreateItem("Quit")
TrayItemSetOnEvent(-1, "TrayExit")
TraySetToolTip("RapidQueuer")
TrayTip("RapidQueuer","Use tray for control.",5,16)

An added this function:

Func TrayIPRefreshToggle() ; Allows to enable/disable this feature during download if the user changes his/her mind.
    Select
         Case BitAND(GUICtrlRead($CheckboxIPRefresh), $GUI_CHECKED) = $GUI_CHECKED
              TrayItemSetState($TrayIPRefreshToggle, 4) ; tray unchecked
              GUICtrlSetState($CheckboxIPRefresh,$GUI_UNCHECKED)
         Case BitAND(GUICtrlRead($CheckboxIPRefresh), $GUI_UNCHECKED) = $GUI_UNCHECKED
              TrayItemSetState($TrayIPRefreshToggle, 1) ; tray checked
              GUICtrlSetState($CheckboxIPRefresh,$GUI_CHECKED)
    EndSelect
Endfunc

Another feature that could be implemented is "preferred mirrors", pick your favorites 2-3 rapishare mirrors. An easy way to select a mirror its to change the $DownloadFinalLink variable with the mirror you like, but if that mirrors fails or isn't available the download fails.

Cheers.

Link to comment
Share on other sites

  • 2 weeks later...

Hello

I am in need of your help, please help me out.

I am from India, here we have BSNL Broadband Connection, it can be used for internet connectivity.

I want a program which I can use for downloading files from RAPIDSHARE like RapidQueuer, the only feature which is not available in the program is it can not disconnect my Connectivity and run it again to get Internet again with new IP Address and auto start downloading RAPIDSHARE files.

Please help me out of this problem.

Thanking you.

Link to comment
Share on other sites

Another feature that could be implemented is "preferred mirrors", pick your favorites 2-3 rapishare mirrors. An easy way to select a mirror its to change the $DownloadFinalLink variable with the mirror you like, but if that mirrors fails or isn't available the download fails.

Cheers.

Yeah, the mirror used atm is what the API "recommends", i thought about a user option to select a constant mirror. But i discarded the idea based on the same possible issue you posted. I'm not sure whether its going to cause problems with certain downloads, mainly because i don't know if they always mirror the same files across all mirrors. I might add it later, with an option defaulting to AUTO...that way the user could always switch back to AUTO(api recommended) if it causes problems.

Hello

I am in need of your help, please help me out.

I am from India, here we have BSNL Broadband Connection, it can be used for internet connectivity.

I want a program which I can use for downloading files from RAPIDSHARE like RapidQueuer, the only feature which is not available in the program is it can not disconnect my Connectivity and run it again to get Internet again with new IP Address and auto start downloading RAPIDSHARE files.

Please help me out of this problem.

Thanking you.

Hello, I'm not sure that I'll be able to help you as well as you want, quite frankly I've never heard of BSNL Broadband, then again i don't live in India :D I would assume it's some kind of cable modem? If the DHCP Refresh option does not work, it most likely requires the modem itself to be reset in order to get a new IP address. The problem with that is, the modem probably needs a custom tcp packet sent to the modem in order for it to automatically reset and request a new IP from your internet provider, this would be different for most modem types around the world, and it would be close to impossible for me to code it all, especially when i don't have access to these modems myself. Earlier in this thread, there was a guy who wanted to reset his cable modem to refresh the IP, he used another application that someone else did to do the modem reset. He did that by changing DHCP refresh function to run the external application and wait for it to reset the modem. ("Pizzi" on Page 5 in this thread)

I would try google and look for something that restarts your modem or tells it to request a new IP. Once you find that i can help you customize the code for it.

Edited by Datenshi
Link to comment
Share on other sites

Hello

Thanks for your response.

It rather help me a lot, but now the only problem is how to run a *.bat file after every successful download of 1ST Rapidshare file.

Actually, I need to run a different program after downloading 1st file, then run the program and again auto start the second file of Rapidshare.

Please help me out from this.

Please provide me the location to place the command in RapidQueuer.

1st file

run .bat file

2nd file

run .bat file

3rd file

run .bat file

.

.

.

.

.

.

.

in this way

Thanks for your response.

Link to comment
Share on other sites

Name the Batfile "reconnect.bat" and place is in RapidQueuer folder, then something like this should work.

Replace:

Func DHCP_IPRefresh() ; Handles release and requesting of new IP between downloads, requires direct DHCP connection to ISP
    ProgressSet(0, "DHCP:" & @CRLF & "Releasing(" & @IPAddress1 & ")and Requesting a new IP.", "-")
    TraySetToolTip("RapidQueuer" & @CRLF & "DHCP: Releasing(" & @IPAddress1 & ")and Requesting a new IP.")
    Run("ipconfig /release", "", @SW_HIDE) ; Releases current IP
    Sleep(2000)
    $TimerTimeout = TimerInit()
    Run("ipconfig /renew", "", @SW_HIDE) ; Requests new IP from ISP DHCP server
    Do
        Sleep(2000)
        If TimerDiff($TimerTimeout) > 900000 Then
            MsgBox(0, "Timed Out", "RapidQueuer waited 15min for DHCP server to renew IP." & @CRLF & "IP Renew is useless in this case and the option should not be enabled. Blame ISP!")
            Exit
        EndIf
    Until Ping("www.google.com") > 0 Or Ping("www.rapidshare.com") > 0 ; try both in case one is down.
EndFunc

With:

Func DHCP_IPRefresh() ; Modified for External IP reset bat
    ProgressSet(0, "DHCP:" & @CRLF & "Releasing(" & @IPAddress1 & ")and Requesting a new IP.", "-")
    TraySetToolTip("RapidQueuer" & @CRLF & "DHCP: Releasing(" & @IPAddress1 & ")and Requesting a new IP.")
    Run(@Scriptdir&"\reconnect.bat", "", @SW_HIDE) ; reconnect.bat Place it in RapidQueuer folder.
    $TimerTimeout = TimerInit()
    Do
        Sleep(2000)
        If TimerDiff($TimerTimeout) > 900000 Then
            MsgBox(0, "Timed Out", "RapidQueuer waited 15min for DHCP server to renew IP." & @CRLF & "IP Renew is useless in this case and the option should not be enabled. Blame ISP!")
            Exit
        EndIf
    Until Ping("www.google.com") > 0 Or Ping("www.rapidshare.com") > 0 ; try both in case one is down.
EndFunc

Then recompile, And when using RapidQueuer, tick "DHCP Refresh" in options. This will

1. Download first file

2. Run Bat wait for internet to start working again(IP reset might take a while)

3. Download second file with new IP

4. Run bat again

5. Download third file with new IP

Edited by Datenshi
Link to comment
Share on other sites

Hello My new Friend,

Thank you for helping me with your valuable suggestion/reply.

It helped me a lot.

Thanks

Thanks

Thanks

Thanks

Thanks

Thanks

Thanks

Thanks

Thanks

Thanks

Thanks

Thanks

Thanks

Thank you very much and very sorry for the delay in response.

\Thanks/

Link to comment
Share on other sites

Hello My new Friend,

Thank you for helping me with your valuable suggestion/reply.

It helped me a lot.

Thanks

Thanks

Thanks

Thanks

Thanks

Thanks

Thanks

Thanks

Thanks

Thanks

Thanks

Thanks

Thanks

Thank you very much and very sorry for the delay in response.

\Thanks/

But the only problem / error is this:

[2009/10/02]-[04:32:01] -- > http://rapidshare.com/files/236014551/Quantum_of_Solace.part34.rar ## Unexpected Filesize, lost connection or the download was damaged

[2009/10/02]-[04:35:22] -- > http://rapidshare.com/files/236014511/Quantum_of_Solace.part35.rar ## Unexpected Filesize, lost connection or the download was damaged

[2009/10/02]-[04:40:51] -- > http://rapidshare.com/files/236014551/Quantum_of_Solace.part34.rar ## Unexpected Filesize, lost connection or the download was damaged

I'm unable to download any file from now.

I need more of your help

Link to comment
Share on other sites

I wonder what game he is trying to download (illeagely?)

Have you ever thought of makeing this support other sites like megaupload or mediafire? Or make different versions for the different sites?

0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e

Link to comment
Share on other sites

Hey,

Is the source code shown in post one exactly that in the executable? Because whenever i try and use the source code to download it always comes up with the error "Can not get IP of rapidshare"...however if using the same link in the executable, it works fine, everytime. I have tried many different links, even your "Thanks.rar" by using the source code, and the error still comes up.

If you are free, or anyone else on here, could try it just to see if its not just me and my wierd ways.

Thanks in advance! Also, love the program!! :-)

Instant Lockerz Invite - www.instantlockerzinvite.co.uk
Link to comment
Share on other sites

Hi , haven't had access to internet for the past 2 weeks so that's why i wasn't responding..anyway I'll check if there's problems.

The source code is the exact copy, the exe includes the design.dat(gui image) tho, which shouldn't cause the "Can not get IP of rapidshare" error, that error is generated if the Hostname to IP function fails.

There may have been changes to AutoIT that's causing the issue, i'll look into it. You might want to try it with AutoIT 3.3.0.0 as that's the version i used to code it.

Edited by Datenshi
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...