Open Skuwwy opened 1 year ago
I am glad you find it useful.
Issue with emojis has been addressed earlier. The underlying driver throws this error when it encounters certain emojis. It has to do with encoding issues when sending text (with certain emjois) to a textarea on Chrome. Firefox doesn't have this problem, however, I've put a hold on development for Firefox for some time. I will revist the encoding issue with emjois soon.
Not commenting on the same user more than once - this would be a good addition
Avoid interacting with posts containing certain tags - currently the --matchtag, --matchtagnum can be used to filter out posts based on the tags. Although, adding this option seems totally logical.
Thank you for your kind words and suggestions. Keep them coming.
Thanks @shine-jayakumar , looking forward to it!
Is there an existing function to simply let the bot go through my home feed and like a predefined number of posts? (Except sponsored)
@shine-jayakumar , Maybe this code will help solve the emoji problem :
text_element = driver_trader.find_element_by_xpath('xpath')
text = 'āŖš¢š'
driver.execute_script("arguments[0].innerHTML = '{}'".format(text),text_element)
text_element.send_keys('.')
text_element.send_keys(Keys.BACKSPACE)
Reference : https://stackoverflow.com/questions/51706256/sending-emojis-with-seleniums-send-keys
Hello, loving all the new updates. The bot works flawlessly! I have one issue and two feature suggestions.
I've noticed that the bot throws an error when a comment from the list is only emojis. For example "šš".
Here's the error:
Can this be fixed?
Suggestions:
I will keep this same thread to add other feature requests if I can think of any.
Keep up the amazing work on this!