Hi, please can you tell me how can I do for scrape all url on google with a specific keyword search? because I think that I wrong.
Thanks
Just enter your keyword in the keyword box and scrape. I don't understand the question, can you be more specific?
If there is more then 1000 results then you need to add other keywords or letters or numbers on to the end of your keyword. This forces google to return different sets of results from its database. Then just remove duplicate urls when you are done.
Yes - but it's a very complicated way and can cause many files being overwritten - let's say we have folders when we store harvested files, extracted links - when we close scrapebox and run those bat file again it starts counting from 1 - am I right?
It would be much easier if there was an option in automator to save file adding a number - checking if there is not such one in the whole directory. Or/And another solution - the save/export file option would be able just to append insted of recreating file - it's lacking now and when we want to have everyting in one place it would be much easier to maintain.
I guess it can look complicated, but batch files are quite simple, probably the simplest of the simple. I can tell you from someone who has tried to run an IM business for years without knowing how to code a full language (Ive known batch files I guess since I messed around in DOS in grade school 20 years ago) but once you learn its exponentially simpler. Ive learned python and 1 single script I wrote earlier this year will save me 60 hours of work this year. Thats over a week of work, even if you work 60 hour weeks. A machine does it for me while I sleep and while I play with my kids and while I do anything else.
Learning to write a batch file is akin to learning what the acronym SEO stands for, if you want to succeed in IM, IMHO.
The reason I say that is the flexibility that it gives you is like nothing else. Apply a little extra effort, which may be no more then googling for existing code and hacking at it (which is what I do for batch files because just about everything you can think of is already made, so why reinvent the wheel). At the end of the day it takes a little work, but you could do all kinds of things. Like harvest and then have your file incremented and then call another automator job to process taht file while your first job loops or archive it off in dropbox or I don't even know. The sky is the limit.
Invest 30 mins a day for 2 weeks on learning batch files and you will have a basic skill you can use for the rest of your life to do work for you. It took me months to learn python, and Im still learning. Im a quick study at most things, but coding doesn't come easy for me, in fact its one of the hardest things I have ever had to learn frankly. Its no easy for me and it takes a serious amount of work. I have little time for it as well, which makes it worse. However I can say that just this year I have written scripts that will save me more time just in 2015 then it took me to learn python. Plus Ill make more money. Seriously Ill work less and make more when its said and done. And I will know a language, and I can use that to scale for the rest of my life. My 2 cents.
I think that code won't overwrite the files. It checks if there are existing files in the format filename_1.txt it goes to check for filename_2.txt.. and so on until it gets to the unused number and it will continue from there.
While it seems like a solution, I myself too think it's not an elegant one. I can't think of what can go wrong with it now, but I'm sure something messy can come up, like stopping the automator job manually after the bat was executed and before the harvest has started and stuff like that... Anything can happen as long as it's not integrated into scrapebox.
EDIT: Actually when I look at the code better now, this won't work like this. The file proxies.txt should not be just copied, but renamed to proxies_1.txt. The harvester does not overwrite proxies.txt with each finished harvesting session, but it append the urls to the existing ones inside proxies.txt. So what needs to be done is to rename the file after the session has finished for the code to work properly.
Come on guys, this can't be that hard to do it's a simple feature and will do an amazing job if implemented. Definitely belongs into the automator to make it perfect for harvesting.
If you use the export urls from harvester function, it overwrites. Also you can just add a line like this
del /q %location%
Make that the last line and it will delete the original file after it has copied it to the new file name with a number.
Alternatively there is probably a a rename command, I think its REN
Edit: Yes its REN
https://technet.microsoft.com/en-us/library/bb490987.aspx
so you could rename the original file, thus it would be the same as copy and deleting it.
Im not saying that as a license holder that you don't have the right to request that SB build in a function that will do all this for you. What I am saying is that if you think in terms of "how can I solve this" instead of "why can't THEY solve this" then you change your attitude from being locked down to being creative and thats when things start to happen. Often you take the first step and that lights a spark and then you wind up doing not only what you set out to do, but doing something greater and you would have never go there if you just worked inside the box rather then outside the box (no pun intended).
Yes I probably sound like Im preaching what my motivational audio books say, Zig Ziglar was great. But its true, I know it, because its happened to me and it keep happening. I learned python for 1 reason, so I could automate 1 thing that I couldn't do and now I have discoved all kinds of things along the way and I have scripts running on several servers. With each new script I save a little more time and my products get a little better. My user experience on my websites, with my products, the quality of my products, how many links I can build in a given time, how well I can rank a site, it all gets better, while I spend less time. Its a total win win.
Plus frankly I love completing a script and watching it run. I finished 1 yesterday and it would have taken me literally 20-30 mins 1 time per week to do it. Not a lot of time, but then I also have to remember to do it. The crazy thing is it took python less then 1 second to do all the work. It took me less then 2 hours to figure out how to script it. In 1 months time Ill break even, after that Ill save 2 hours per month, and I don't have to remember to do it. Do that times 5 and Im saving 10 hours a month or 120 hours per year. If you want to work "only" 40 hours a week as the standard full time US job is, then that would be working 3 weeks less and getting the same pay in 1 year. In other words its like giving myself 3 weeks of vacation because my computers do the work, and I get paid the same.
Its insane to think about it, how much time I have lost over the years. Actually thats how Scrapebox started in the first place. They were doing manual SEO tasks and they wrote it to help themselves, then sold it to a few friends to justify the time to add extra features etc.. and then it blew up and here we are.
Anyway, my 2 cents. Do with it what you will.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Edit: Another thing I did was I have a automator script that runs in a loop. I built a python script that when launched will start up Scrapebox and start that automator job and then monitor it. If Scrapebox crashes it will restart Scrapebox (and by way of how it works the files that would have caused the crash are changed out for new ones so it won't crash again for the same reason) and restart the automator job and then also give me a running report with a timestamp of each crash and restart as well as a count of how many times its crashed.
I work with a lot of urls that could be sketchy or problematic and on occasion the content on one of those urls crashes Scrapebox and thus this solution makes it entirely hands off. That way when I go on vacation for 3 weeks I can rest assured that everything will stay running.
(not that I would ever go on vacation for 3 weeks, I don't ever take even 1 day off, but hey at least my automator scripts are always running.)