GithubHelp home page GithubHelp logo

Comments (10)

ramcrys avatar ramcrys commented on July 23, 2024 3

After thinking about this, I speculate that what we are trying to achieve is actually somewhat "illegal". It's illegal in the sense that companies like Google are trying with their best to prevent spammers from using automatic scripts like this.

So, though a useful tool in nature, I think it's best to actually stop it :D Personal tool at home is another story, but this won't do on Github.

Yesterday I tried to find such a tool/script, but after second thought, it's pretty risky.

from gmail-generator.

seanturner026 avatar seanturner026 commented on July 23, 2024 1

I'm also having a different issue with a crash after trying to open firefox. Maybe an anaconda problem?

> Opening Firefox...
Traceback (most recent call last):
  File "gmail_generator.py", line 180, in <module>
    if open_firefox() :
  File "gmail_generator.py", line 45, in open_firefox
    _location_=pyautogui.center(_start_button_)
  File "/anaconda/lib/python3.6/site-packages/pyscreeze/__init__.py", line 407, in center
    return (coords[0] + int(coords[2] / 2), coords[1] + int(coords[3] / 2))
TypeError: 'NoneType' object is not subscriptable

from gmail-generator.

stav121 avatar stav121 commented on July 23, 2024

Hey man,

That's probably something to do with PyAutoGUI, I would try to look for an answer there.

from gmail-generator.

stav121 avatar stav121 commented on July 23, 2024

I'll investigate the issue soon, I haven't really run this script in months so I'll give it a go again and find the issue.

from gmail-generator.

var-che avatar var-che commented on July 23, 2024

I have the same problem as Sean. Any updates on this bug?

from gmail-generator.

stav121 avatar stav121 commented on July 23, 2024

First chance I get I will fully update the script. I'm just kinda busy those days.

from gmail-generator.

stav121 avatar stav121 commented on July 23, 2024

(Closed it accidentally)

from gmail-generator.

ramcrys avatar ramcrys commented on July 23, 2024

@unix121 Pal, you are doing it in a too overly complex way.
First, why finding the Firefox browser by trying to click on the OS menu ?
Why not simply this:

firefox_path = "C:/Program Files/Mozilla Firefox/firefox.exe"
cmdline = [firefox_path]
subprocess.Popen(cmdline)

For locating the form, the same problem. You should have some way to find a form with the specific ID / class in the page ...

I think all the crashing cases are due to this, I'm not sure exactly what you did with the images. Code just fail at those parts.

from gmail-generator.

stav121 avatar stav121 commented on July 23, 2024

Hello @ramcrys ,
truth be told, the script is extremely outdated so it's here only for archiving purposes. If you are interested in bringing it back to life you are welcome to make changes and make a PR (or just fork the project and continue the way to like it). The script was written like years ago and I've not used it in years :)

from gmail-generator.

stav121 avatar stav121 commented on July 23, 2024

@ramcrys , as mentioned in the about section of the repository, this script is for research purposes. The way that you chose to use the software is completely up to you.

from gmail-generator.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.