Feature/add random range - #144
Conversation
|
thanks for this PR! for now, i still dont know if i want to go this approach for one reason: we should integrate the randomness into instapy because there is one big issue with the gui approach: the randomness only occurs one time at "script creation". sometimes, or almost everytime, you want instapy to keep generating random numbers for example if you want to calculate the sleep time from image like to image like. this wouldn't be possible with this approach :) but i am open for new suggestions if this could be solveable in gui but right now i think the nicer way is to change instapy source code :) |
Fix #121
Idea:
Right now, every time we use the bot, we need to select a specific number for each action(posts to like, people to follow, precentage of private people to follow, etc). It can be an indication to instagram that we are using a bot and also forces the user to make multiple templates for things that can easily be randomized.
The way to solve it is randomize the number used each time - if the user desire it.
This mr contains the following:
auth.pyandconf.pyto print errors in stderr (before that, the errors did not print properly)bot.py- handle the new range option, and also the old ones - for backward compatibilityinput_components.jsx- handle the web side of the change, it is visible on every setting page or template that requires int - note that this is the first time I wrote p/react and used css code so please don't go easy on me.