What is the recursive process in the scrape tab?

Ask any support / help / issues / problem or question related to Soundcloud Manager
Post Reply
JasperJones
Posts: 166
Joined: Sat Jan 14, 2017 12:17 pm

What is the recursive process in the scrape tab?

Post by JasperJones »

Hey!

I am curious on what the Recursive process will do in the scrape tab?

Thanks
User avatar
martin@rootjazz
Site Admin
Posts: 34345
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: What is the recursive process in the scrape tab?

Post by martin@rootjazz »

it was a pre-cursor to custom search.

It will recursively scrape followers
so enter a profile
1) scrape 100 followers from the profile
2) from each 100 results, scrape 100 of their followers
3) from the 10000 results from (2) scrape 100 followers from each
etc etc

until you get your requested N results
JasperJones
Posts: 166
Joined: Sat Jan 14, 2017 12:17 pm

Re: What is the recursive process in the scrape tab?

Post by JasperJones »

Thanks, I didn't see in the docs and googled the word and didn't know how it applied.

Thanks again.
User avatar
martin@rootjazz
Site Admin
Posts: 34345
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: What is the recursive process in the scrape tab?

Post by martin@rootjazz »

"recursive" in programming, means something that feeds back to itself. So the results of function are fed back into itself to get more results.

something like this

Code: Select all

totalResults = new List

function GetFollowers(profileUrl)
   results = SearchFollowers(profileUrl);
   totalResults.add(results)
   for each result in results
       GetFollows(result)
note that the GetFollowers function calls itself, so it "recurses" to infinity (unless we break out at some point)
JasperJones
Posts: 166
Joined: Sat Jan 14, 2017 12:17 pm

Re: What is the recursive process in the scrape tab?

Post by JasperJones »

That is impressive. Yes, the function works extremely well.
Post Reply