Code Monkey home page Code Monkey logo

spam-bot-3000's People

Contributors

toadlybroodle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

spam-bot-3000's Issues

detailed setup

can you explain like I'm 5 how to set this up properly?

No module

Traceback (most recent call last):
File "twatBot.py", line 5, in
import tweepy
ImportError: No module named tweepy

praw.exceptions.InvalidURL Invalid URL: https://i.reddit.it/someimage.jpg

Going to try to assist as much as I can to find a solution for this one. Scraped everything alright...I believe. But was unable to submit promotions. Raised the following error:

spam-bot-3000.py:371: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if ret_code is 3:
spam-bot-3000.py:396: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if ret_code is 0:
spam-bot-3000.py:398: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif ret_code is 2:
spam-bot-3000.py:400: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif ret_code is 3:
spam-bot-3000.py:498: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if ret_code is 2: # HTTPError returned from query, move onto next query
spam-bot-3000.py:677: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if ret_code is 3:
spam-bot-3000.py:688: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif ret_code is 2: # automation detected
spam-bot-3000.py:691: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif ret_code is 3: # serious error returned, terminate activity
Authenticating...
2020Jul22 06:07:38 Authenticated as: Some user
Traceback (most recent call last):
  File "spam-bot-3000.py", line 735, in <module>
    main(sys.argv[1:])
  File "spam-bot-3000.py", line 722, in main
    replyReddit()
  File "spam-bot-3000.py", line 130, in replyReddit
    submission = reddit.submission(url=pd[1])
  File "/usr/local/lib/python3.8/site-packages/praw/reddit.py", line 800, in submission
    return models.Submission(self, id=id, url=url)
  File "/usr/local/lib/python3.8/site-packages/praw/models/reddit/submission.py", line 540, in __init__
    self.id = self.id_from_url(url)
  File "/usr/local/lib/python3.8/site-packages/praw/models/reddit/submission.py", line 427, in id_from_url
    raise InvalidURL(url)
praw.exceptions.InvalidURL: Invalid URL: https://i.redd.it/xxxxx.jpg

I believe that it is scraping not the post link but the contents of the post itself.

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.