whatsplay / whatsapp-play

Command line software through which you can play with your WhatsApp. It is having different options to play with your WhatsApp like message blast, online tracking, whatsapp chat..
MIT License
402 stars 219 forks source link

Google search for image sends screenshot of webpage successfully added. #340

Closed SinghHimadri closed 4 years ago

SinghHimadri commented 4 years ago

Issue that this pull request solves

330

Closes: # (issue number)

Proposed changes

Brief description of what is fixed or changed The target can write /image {query} and the bot will automatically search google images for the query and save that image in wplay/chatbotImages folder.Now the user will automatically be redirected to choose file user can choose the then the image screenshot is sent to the target. The function has been made compatible with pyppeteer the browser is open seacges google image takes screenshot and saves it.

Types of changes

Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply

Screenshots

Please attach the screenshots of the changes made in case of change in user interface Screenshot from 2020-05-18 00-40-18 The screenshot saved in wplay/chatbotfolder Screenshot from 2020-05-18 00-48-38 User redirected automatically to choose file Screenshot from 2020-05-18 00-39-55

WhatsApp Image 2020-05-18 at 12 51 26 AM

Other information

Any other information that is important to this pull request

rpotter12 commented 4 years ago

Codacy Here is an overview of what got changed by this pull request:


Complexity increasing per file
==============================
- wplay/chatbot.py  1

See the complete overview on Codacy

SinghHimadri commented 4 years ago

@rpotter12 Please review my PR.