According to researches by the adsmember team
इंस्टाग्राम बॉट बनाने के लिए अजगर, सेलेनियम और क्रोम वेब ड्राइवर का उपयोग करें! यह स्क्रिप्ट इंस्टाग्राम पर लॉग इन करेगी और एक विशिष्ट हैशटैग के साथ पोस्ट पर लाइक और कमेंट करेगी। हम बॉट को PythonAnywhere पर भी तैनात करेंगे ताकि आप इसे 24/7 चला सकें! कृपया ध्यान दें कि यह शैक्षिक उद्देश्यों के लिए है। इंस्टाग्राम पर बॉट का इस्तेमाल करना उनके नियमों और शर्तों के खिलाफ है! हम क्रोम वेब ड्राइवर, सेलेनियम और हमारे पायथन वर्चुअल वातावरण को स्थापित करके शुरू करेंगे। फिर, हम इंस्टाग्राम में लॉग इन करेंगे। इसके बाद, हम हैशटैग विधि द्वारा लाइक और कमेंट को लागू करेंगे। अंत में, हम इसे pyvirtualdisplay का उपयोग करके PythonAnywhere पर परिनियोजित करेंगे। सहायक कड़ियाँ: कोड:
PythonAnywhere में सेलेनियम का उपयोग करना:
माई कोडिंग गियर: ️ कीबोर्ड – एप्पल मैजिक कीबोर्ड –
💻 लैपटॉप – एप्पल मैकबुक प्रो (2018 / 15 इंच) –
️ मॉनिटर – सैमसंग CF390 सीरीज –
माई कैमरा गियर: कैमरा – कैनन ईओएस एम 50 –
विस्मयकारी कैमरा लेंस – सिग्मा (16mm / f1.4) –
मेरा पसंदीदा सॉफ्टवेयर: ️ फाइनल कट प्रो –
मेरा समर्थन करें: 👨🏼 भत्तों तक पहुंच प्राप्त करने के लिए इस चैनल से जुड़ें – 💸 मुझे गिटहब पर प्रायोजित करें –
मैं कौन हूँ? मैं बेंजामिन कार्लसन, एक डेवलपर, छात्र, और CT, USA में रहने वाला YouTube निर्माता हूं। मैं प्रोग्रामिंग, कंप्यूटर विज्ञान और उत्पादकता पर वीडियो बनाता हूं। मैंने एक प्रोग्रामिंग ट्यूटोरियल वेबसाइट भी शुरू की जिसे कॉफ़ीक्लास कहा जाता है () जो इस YouTube चैनल का पूरक है। अंत में, मेरे पास एक समाचार पत्र है ( जहां मैं अपने हाल के वीडियो, लेखन, और ऐसी किसी भी चीज़ के बारे में अपडेट भेजता हूं, जिस पर मैं वर्तमान में काम कर रहा हूं या जो मुझे दिलचस्प लगती है। आप हर 2 से 3 सप्ताह में ईमेल की उम्मीद कर सकते हैं। मेरे साथ जुड़ें: 📧 ईमेल – [email protected] 🚅 वेबसाइट –
️ मध्यम – बेंजामिनकार्लसन न्यूज़लेटर –
अगर आपको मुझसे संपर्क करने की आवश्यकता है, तो सबसे अच्छा तरीका ईमेल है। मैं सभी को जवाब देने की कोशिश करता हूं लेकिन इसमें कुछ समय लग सकता है! अस्वीकरण: उपरोक्त में से कुछ लिंक सहबद्ध लिंक हैं। इसका मतलब है कि मुझे आपके लिए बिना किसी खर्च के एक छोटा सा कमीशन मिल सकता है। यह मुझे इस तरह के वीडियो पोस्ट करना जारी रखने की अनुमति देता है! #पायथन #बॉट #ऑटोमेशन
source
This doesn't work anymore. My thinking is that both chrome and firefox know you are using a bot and instagram doesn't allow you to connect after several succesful attempts. Even if the password and username are correct, Instagram says I cannot connect to my instagram page. You need to clear the cache and cookies to succesfully log in
Hey trust that you're well would I be able to scrape users and then use that data to comment/Dm people?
when the script runs it pulls up instagram but doesn't do anything. any idea why?
Great code – is there a way to list in Python the xpath , css, id whatever "paths" available on a page ?
U should create new one. Many things are changed
I am have a error while it running on pythonanywhere.
" Firefox is binary path " ,how do fix ?
Hello, Why chrome closes after a few seconds?
Thanks dude it , really works
Awesome man! Thank you 👏🏻
Awesome
Thanks for the awesome video, Benjamin. I followed your instructions well and it worked. However, when I changed the word for the hashtag into Korean(programming –> 한복), the bot stopped on the page with the list of posts for the hashtag. So I just wonder this code works only for English or if there are any options that I could change the language. Once again. Thank you so much!
I keep getting an "accept cookies" popup whenever my script tries to login, and it fails because I don't know how to close the cookie window on instagram by coding it in the script.
Can you help?
Hi so I'm on windows, do I have to make the virtualenv at powershell?
Hey Benjamin, thanks for the video. I happen to use the selenium to click google ads automatically and charge them. I happen to try this code but on getting the code line : filter(condition,links) I ran into an error stating that links is not iteratable and when I checked it happens to be a web elements and has only one item which attribute reference of the first image. How then did you code run? Please explain. Thanks
Sir What’s the difference between the Selenium and SelectorsHub?
is it ok to deploy the app which involves password on the pythonanywhere?
mkvirtualenv myvirtualenv –python=/usr/bin/python3.6
Can it work in Windows also cause I am getting that 'mv' is not recognised as an internal or external command.
Or it works in mac only
Hey, how can we make this work with a list of hashtags, also can you help with making this a docker container ?
Beautiful work. How long have you been programming with Python?
man, thanks a bunch. I started off with having no idea in python to understanding it now. Because of you.
great post!
Honestly one of the best tutorial videos on how to program an instagram bot! Clear and easy understandble structure. Thanks for sharing your knowledge and code! Highly appriciate it. Keep your work up! You got yourself a new fan. Will try out your code on my instagram this evening and let you know how it works out for me 🙂
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":".RxpZH"}
(Session info: chrome=80.23.45.33)
requested to solve this error > this rise because the comments are disable on this post help me and solve this problem
help me my code through a error which says that comment box not found(this error occurs when the comments are disable for some post ) make a loop if it fails to run please help me<>
pythonanywhere deployment starts from 13:32
fI have over 400 email addresses and could you create 400 instagram accounts where you mark your main account and let these 400 accounts run all bots at the same time?
I'm having problems when it gets to "python3 bot.py" is it because I'm on windows?IT keeps saying "python3: can't open file 'bot': [Errno 2] No such file or directory"
Can I run this on windows?