Hrefer Proxy Sync Script for the Proxy Service
The SEO Bay Xrumer Forum and SEO Community.
+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 26
  1. #1
    Big Boss kensai is a name known to all kensai is a name known to all kensai is a name known to all kensai is a name known to all kensai is a name known to all kensai is a name known to all
    Reputation:
    635

    Join Date
    8th Dec 2010
    Posts
    2,221
    Thanks
    378
    Thanked 638 Times in 309 Posts

    Hrefer Proxy Sync Script for the Proxy Service



    This is the 1st version (and possibly last :P) of my proxy sync script for Windows.

    Seeing as many of you are Windows guys that dont have a lot of experience in automating things via scripts etc, and having many requests about providing such a tool to help you out, I've decided to quickly write this small batch file that automatically:

    * Downloads the proxy list
    * Copies it in the Hrefer folder
    * Stops Hrefer
    * Starts Hrefer.

    Hrefer then automatically resumes (by checking in its "Parsing options" the checkbox next to "Auto Resumption Parsing After Program Starting") and continues from where it was stopped using the new proxy list you just acquired from me.

    In order to have the script run, follow these instructions:

    1) Download and extract the zip file from [Only registered and activated users can see links. ] to a directory in your disk C, for example on C:\ProxySynch

    2) Inside the ProxySynch directory, there is a file called ProxySynch.bat. Open it with a text editor (notepad etc)

    3) This is how the script looks like:

    @echo on

    wget --user=YOUR_USERNAME --password=YOUR_PASSWORD -O xproxy.txt [Only registered and activated users can see links. ] && xcopy /Y /D xproxy.txt c:\PATH_TO_HREFER\xproxy.txt && pskill -t hrefer3.85.exe & psexec -ihd c:\PATH_TO_HREFER\hrefer3.85.exe
    4) Change the following self-explanatory values: YOUR_USERNAME, YOUR_PASSWORD, PATH_TO_HREFER. *IMPORTANT* When Botmaster releases a new version of Hrefer, the hrefer3.85.exe needs to be changed to the new name of the Hrefer executable file.

    5) Run cronsm.exe. Its a small utility that will make sure that the above script will be run on scheduled time intervals (I suggest every 2 or 3 hours). Its icon is a small black square with the C letter in it.

    6) Once cronsm.exe is running, it will be located in the taskbar. Right click it and select Configure and then Add Script. A window will pop up, Add a "Script name" (for example ProxySynch or whatever) and in the Script file" browse and locate the ProxySynch.bat file. Press OK.
    Next, Right Click again the cronsm icon and click on "Schedule". Tick Enabled. Delete the last Line and replace it with this (if you want to run it every 3 hours):

    * */3 * * * ?ProxySynch

    7) Dont forget to tick the Checkbox next to "Auto Resumption Parsing After Program Starting" in Hrefer. You can find that in "Parsing options". If you wish, change the Parsing delay (time before Hrefer Auto-Resumes to 5 seconds. That will make sure that Hrefer will resume from where it was stopped after 5 seconds of its startup.

    8) Finally, change the "Save Every: 5 minutes" option in Hrefer to 1 minute. So as to not lose any links when we stop the program automatically.

    9) Enjoy the service! If you have any questions let me know on TheSEOBay.com

    FYI, the following well known utilities are included in the archive. Check them out in order to understand more about how the batch file works:

    * PsExec. Part of PStools. More info: [Only registered and activated users can see links. ]
    * PsKill. Part of PStools. More info: [Only registered and activated users can see links. ]
    * Wget for Windows. More info: [Only registered and activated users can see links. ]
    * CronSM. More info: [Only registered and activated users can see links. ]


    .BR
    Kensai

    The script is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
    Based on a work at [Only registered and activated users can see links. ].

    Similar Threads:
    Last edited by kensai; 06-08-2014 at 22:28. Reason: URLs changed

  2. The Following 3 Users Say Thank You to kensai For This Useful Post:

    Akash (21-07-2012), chpperman (13-02-2014), Smoke (20-07-2012)

  3. #2
    Guardian Smoke will become famous soon enough
    Reputation:
    88

    Join Date
    17th Mar 2011
    Location
    Paradise
    Posts
    755
    Thanks
    247
    Thanked 88 Times in 75 Posts
    Awesome

    Thanks
    I can not code However I am Aces at copy and pasting !

    [Only registered and activated users can see links. ] |

    Come and get the Best [Only registered and activated users can see links. ] on the market !

  4. #3
    Recruit zdhhxj is an unknown quantity at this point
    Reputation:
    1

    Join Date
    21st Nov 2011
    Posts
    4
    Thanks
    0
    Thanked 1 Time in 1 Post
    How to get the access the username and password??????


  5. #4
    Guardian Smoke will become famous soon enough
    Reputation:
    88

    Join Date
    17th Mar 2011
    Location
    Paradise
    Posts
    755
    Thanks
    247
    Thanked 88 Times in 75 Posts
    Quote Originally Posted by zdhhxj View Post
    How to get the access the username and password??????
    [Only registered and activated users can see links. ]

    [Only registered and activated users can see links. ] |

    Come and get the Best [Only registered and activated users can see links. ] on the market !

  6. #5
    Recruit ultimahub is an unknown quantity at this point
    Join Date
    9th Nov 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I registered and clicked on the link. Then it asks for username and password.

    I put in the username and password for my login to this site but it didnt work.

    Please help

    Thanks


  7. #6
    Big Boss kensai is a name known to all kensai is a name known to all kensai is a name known to all kensai is a name known to all kensai is a name known to all kensai is a name known to all
    Reputation:
    635

    Join Date
    8th Dec 2010
    Posts
    2,221
    Thanks
    378
    Thanked 638 Times in 309 Posts
    That is a paid service. Here are the details and fees:

    [Only registered and activated users can see links. ]


  8. #7
    Deckhand NewJack is an unknown quantity at this point
    Reputation:
    4

    Join Date
    23rd Dec 2011
    Posts
    48
    Thanks
    11
    Thanked 4 Times in 4 Posts

    Hrefer isn't restarting

    ProxySync seems to be working fine except it's not restarting Hrefer. I have hrefer in the "G" drive rather than "C" if that makes any difference (I wrote the path correct I think)....
    wget --user=***** --password=******** -O xproxy.txt [Only registered and activated users can see links. ] && xcopy /Y /D xproxy.txt G:\hrefer385\xproxy.txt && pskill -t hrefer3.85.exe & psexec -ihd G:\hrefer385\hrefer3.85.exe


  9. #8
    Deckhand NewJack is an unknown quantity at this point
    Reputation:
    4

    Join Date
    23rd Dec 2011
    Posts
    48
    Thanks
    11
    Thanked 4 Times in 4 Posts
    This fixed it:
    [Only registered and activated users can see links. ]


  10. #9
    Big Boss kensai is a name known to all kensai is a name known to all kensai is a name known to all kensai is a name known to all kensai is a name known to all kensai is a name known to all
    Reputation:
    635

    Join Date
    8th Dec 2010
    Posts
    2,221
    Thanks
    378
    Thanked 638 Times in 309 Posts
    @newjack: Good to see you found the solution


  11. #10
    Recruit nbhead is an unknown quantity at this point
    Join Date
    18th Jul 2013
    Posts
    8
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Thanks for the script, but I am having some problems with it.

    Hrefer starts fine, but for some reason the xproxy.txt is only put in the ProxySynch folder and NOT in the HRefer folder.

    The path to xproxy.txt and hrefer3.85.exe in the batch file are the same and since hrefer3.85.exe is started, I guess the problem is not that specific line of code, but alas I have no idea what the issue can be...

    Thanks in advance for your help.

    <edit> Just found another issue with my install.

    When Hrefer is running and I manually run the ProxySynch script, it opens a second Hrefer. So it doesn't close Hrefer.

    FYI, I am on a VPS with Windows Web Server 2008 R2
    </edit>

    Last edited by nbhead; 24-07-2013 at 05:53.


 

Visitors found this page by searching for:

hrefer proxy

hrefer save every minutes

hrefer xproxy.txt auto

hrefer deletes all my proxies

hrefer wget

hrefer3.85

bash script for hrefer proxies

hrefer save links every five minutes

cronsm.exe

parsing options hrefer

theseobay.com proxy hrefer auto

Tags for this Thread