Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Python Making web bots

xyLotus

New Coder
Hello,
I'm here to ask a pretty simple question.
I want to make some bots like a Instagram Bot that posts images for example but, I know about about selenium and I don't want to program it with selenium ( probably ).
What I want to do is make a website bot without using the websites API. Modules are okay except selenium, like I said.
I want to make a bot that doesn't control your mouse in specific positions etc. A bot that just works in the background while you watch Youtube for example.
( If python isn't the best programming language to make web bot's be sure to tell me a better one )

-Lotus
 
Without API-s? Why do you want to do that? API-s are there as an interface to post on those platforms. And API-s are probably the only way to do it, available to us, regular mortals. We don't have access to low-level functions used to build Facebook and company anyway.
 
Without API-s? Why do you want to do that? API-s are there as an interface to post on those platforms. And API-s are probably the only way to do it, available to us, regular mortals. We don't have access to low-level functions used to build Facebook and company anyway.
Well API's have to be made somehow, and breaking the possibilities of what you can do with an API would be awesome, you could do so much more. And most of these API's are kinda sketchy. The official ones are good but not every website has an API
 
Ok then, what site are you aiming at?

As to programming, it is probably going to be Javascript becuse it is the most rudimentary web browser offer, but I also saw Pyton to Javascript transpilers if you really insist on Python.
 
Ok then, what site are you aiming at?

As to programming, it is probably going to be Javascript becuse it is the most rudimentary web browser offer, but I also saw Pyton to Javascript transpilers if you really insist on Python.
Python can use image search to click buttons, find text fields, etc. You can totally create a bot to post on Instagram or any other social network. Of course, it requires regular maintenance. If a website updates the look/design of their buttons, forms, etc, the Python bot will fail. Image search has its flaws because of that. You can use element searches or text searches to find text fields, buttons, links, etc. but even that is tricky. Facebook does a lot as does LinkedIn to prevent JavaScript and Python approaches to prevent bots. I agree that APIs are the best way to go 🙂
 

New Threads

Buy us a coffee!

Back
Top Bottom