matt1484 / bl3_auto_vip

Borderlands3 Auto VIP/Shift Code Redemption System
Apache License 2.0
81 stars 19 forks source link

Add ability to read text activities #10

Closed matt1484 closed 5 years ago

matt1484 commented 5 years ago

Need to add a way to get non-code related points

squatto commented 5 years ago

It’s a lot more involved, but you could use a headless browser for this. I put some time into an auto code redeemer a bit ago that was using Laravel Dusk for the interaction. Another great option would be Puppeteer.

You could use the same strategy for the code redemption as well.

matt1484 commented 5 years ago

I originally was using puppeteer

matt1484 commented 5 years ago

However I can automate the reading of the text links since I think it’s just api calls based on what I’ve seen as well as the code

squatto commented 5 years ago

If all that they are looking for is to hit the URL for the text link, then you can definitely do it without a headless browser. I wonder if you could watch a YouTube video with the headless browser?

matt1484 commented 5 years ago

I’m not sure. Only problem with a headless browser is that it adds a lot of dependencies, and it may not be feasible for iOS/Android. So far I haven’t needed a headless browser either, but we will see what challenges arise.

squatto commented 5 years ago

If you ended up going the headless browser route you’d either have to deal with dependencies or move everything to something like AWS Lambda. That’s a whole new game though, since you’d start incurring costs.

matt1484 commented 5 years ago

Yeah. Trying to keep it free for the most part. As much as I love AWS

squatto commented 5 years ago

Can’t say that I blame you there! Hopefully it’s just as simple as hitting the URL and they aren’t relying on pixel trackers and correlating them with link clicks, or something convoluted like that.

matt1484 commented 5 years ago

finished in v2.1