1791 posts Don't Worry, Be Happy
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Located in United States
  • Made it to the Authors' Hall of Fame
+8 more
FinalDestiny says

Also this

                    $statement_url_requests[] = $this->main_marketplace . "/user/".$this->username."/download_statement_as_csv?month=".$xm.'&year='.$xy;

becomes

                    $statement_url_requests[] = $this->main_marketplace . "/statement.csv?month=".$xm.'&year='.$xy;

for the statement

331 posts No! It's not a 5 minute job!
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Has sold $250,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+14 more
WebFactory says

True :) Forgot to update that because it seemed trivial compared to other problems :D

3106 posts
  • Located in Australia
  • Helps us moderate the forums
  • Has been part of the Envato Community for over 5 years
  • Helped several times protecting Envato Market against copyright violations
+16 more
dtbaker Moderator says
20 posts
  • Has sold $1,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in Spain
+1 more
j3dlab says

Good Work! Any updates?

3106 posts
  • Located in Australia
  • Helps us moderate the forums
  • Has been part of the Envato Community for over 5 years
  • Helped several times protecting Envato Market against copyright violations
+16 more
dtbaker Moderator says

Reviews are in: https://github.com/dtbaker/envato-scraper

Array
(
    [rating_id] => 1706646
    [rating_url] => /ratings/1706646
    [buyer] => -removed-
    [stars] => 5
    [review] =>  -removed-
    [item_id] => 476282
    [item_name] => Jump Eco HTML - Slider - Single product shop
    [item_url] => /item/jump-eco-html-slider-single-product-shop/476282
    [date] => 17 hours ago
    [date_estimate] => 2014-01-30
)
etc..

I’m gonna try and link this in with my PHP support system. So I can see their review next to their support emails, and even tailor the email autoresponders based on the status of a users review. Or even add an automatic footer message to every email if that user hasn’t left a rating/review yet.

331 posts No! It's not a 5 minute job!
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Has sold $250,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+14 more
WebFactory says

Hi, The regexp that parses individual ratings has a bug. It doesn’t return the “Main reason:” and “Extra comments from the buyer:” details. Do you perhaps have a fix or should we do a commit? :)

3106 posts
  • Located in Australia
  • Helps us moderate the forums
  • Has been part of the Envato Community for over 5 years
  • Helped several times protecting Envato Market against copyright violations
+16 more
dtbaker Moderator says

Hi, The regexp that parses individual ratings has a bug. It doesn’t return the “Main reason:” and “Extra comments from the buyer:” details. Do you perhaps have a fix or should we do a commit? :)

Sorry I wasn’t subscribed to this thread. Am now. Yep I have very little time at the moment, if you have a regex fix then go for it :)

Also, I think some things have changed with the login procedure. My script stopped working, but haven’t had time to debug fully. Anyone else using this? Still working?

https://github.com/dtbaker/envato-scraper/
331 posts No! It's not a 5 minute job!
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Has sold $250,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+14 more
WebFactory says

Login was acting strange for about 2 days but it seems to be back to normal :)

We’ll commit a fix for the comments.

3106 posts
  • Located in Australia
  • Helps us moderate the forums
  • Has been part of the Envato Community for over 5 years
  • Helped several times protecting Envato Market against copyright violations
+16 more
dtbaker Moderator says
I noticed a (new?) form on the marketplace sites when landing from account.envato.com that gets automatically submitted when you login to a marketplace, similar to this:
<form accept-charset="UTF-8" action="verify_token" id="verify_token" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="?" /><input name="authenticity_token" type="hidden" value="blahblahblah" /></div> <input id="token" name="token" type="hidden" value="blahblahblah" /> <p> Now signing you into ThemeForest. <input name="commit" type="submit" value="Click here" /> if you aren't automatically redirected. </p> </form><script> document.getElementById("verify_token").submit() </script>
No longer a server side redirect, seems to need another form submit during the login procedure. That’s all I can find at the moment as to why my login isn’t working.

Edit: Yep, dirty quick fix

if(
    preg_match('#verify_token#',$response) &&
    preg_match('#"authenticity_token" type="hidden" value="([^"]+)"#',$response,$verify_auth) &&
    preg_match('#"token" type="hidden" value="([^"]+)"#',$response,$verify_token)
){
    $verify_result = $this->get_url($marketplace_url.'/sso/verify_token',array(
        "authenticity_token" => $verify_auth[1],
        "token" => $verify_token[1],
        "utf8" => '?',
        "commit" => 'Click here',
    )); 
}

this code is a bit different to the one on github, yell if your login stops working as well and I’ll find out where to wack this code in github :)

331 posts No! It's not a 5 minute job!
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Has sold $250,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+14 more
WebFactory says

Haven’t looked at it since that update we did 6 months ago. We barely made it work then :( We’ve been using that version without any major problems. But if they really made another big change I don’t know if we’ll be able to hack trough that :( It’s becoming more and more complex. On the other hand there’s no news on and API updates so we don’t really have a choice.

by
by
by
by
by
by