1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can python be used to code bots like tweet marketing robot or twt dom?

Discussion in 'Black Hat SEO Tools' started by Ninjasaywhat, Oct 26, 2013.

  1. Ninjasaywhat

    Ninjasaywhat Newbie

    Joined:
    Aug 3, 2013
    Messages:
    29
    Likes Received:
    7
    Home Page:
    Hey guys, the title says it all! Please let me know. And if not, would it require something such as C#?
     
  2. mingu

    mingu Junior Member

    Joined:
    Aug 16, 2013
    Messages:
    123
    Likes Received:
    21
    yes you can create codes.. use have some library files like twitterbot..
     
  3. Ninjasaywhat

    Ninjasaywhat Newbie

    Joined:
    Aug 3, 2013
    Messages:
    29
    Likes Received:
    7
    Home Page:
    Could someone please point me in the direction of a helpful site?
     
  4. dannyduberstein

    dannyduberstein Junior Member

    Joined:
    Nov 1, 2011
    Messages:
    189
    Likes Received:
    105
    its not going to be as effective in coding a "pretty bot", aesthetically pleasing with a nice gui. but it can make something just as efficient. Me personally i hate python's indentation, but its a pretty good language to learn if your interested in botting.
     
  5. Mad Pierrot

    Mad Pierrot Newbie

    Joined:
    Oct 29, 2013
    Messages:
    9
    Likes Received:
    1
    No reason you can't. Python has really good selection of webscaping libraries. There's Mechanize, Requests, urllib3, bindings for Selenium Webdriver and it has several good libraries built right in as part of the standard library. Though if you need javascript support I haven't found anything very usable.

    why not? python has bindings to major gui libraries (QT, GTK, WX) and there's also the regular old Tkinter library.
     
  6. innosoft

    innosoft Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 25, 2008
    Messages:
    1,633
    Likes Received:
    639
    Occupation:
    Software Developer, SEO
    Location:
    Office
    Home Page:
    many bots are coded using python.. its one of best language for coding bots.. well i cant say that c# isnt.. it just depends on preference.
     
  7. KirtiD

    KirtiD Newbie

    Joined:
    Jun 13, 2013
    Messages:
    49
    Likes Received:
    15
    Location:
    Beed
    spynner 2.15 support AJAX,JAVA Script as well

    personally I have not used it but it support both java script and ajax
     
  8. Ninjasaywhat

    Ninjasaywhat Newbie

    Joined:
    Aug 3, 2013
    Messages:
    29
    Likes Received:
    7
    Home Page:
    Okay, cool. Thanks for the input guys. The reason I ask about Python, rather than C# is because codeacademy.com offers a python option and NOT a C# option.

    Anyone know of any bot making tutorials with python they can recommend?
     
  9. divok

    divok Senior Member

    Joined:
    Jul 21, 2010
    Messages:
    1,015
    Likes Received:
    634
    Location:
    http://twitter.com/divok
    Plan your application ,Split your app into modules . Then find solutions to each module .
     
    • Thanks Thanks x 1
  10. Mad Pierrot

    Mad Pierrot Newbie

    Joined:
    Oct 29, 2013
    Messages:
    9
    Likes Received:
    1
    Back a few months I tested out everything python browser that supported Javascript I could find (spynner, ghost, PyPhantomjs, zope) unfortunately they all failed when it came to running more than one instance of them at once.
     
  11. KirtiD

    KirtiD Newbie

    Joined:
    Jun 13, 2013
    Messages:
    49
    Likes Received:
    15
    Location:
    Beed
    btw I read some where python is very good language for threading as compare to any other language it support multi thread as well as multitasking ,I agree that it may possible that although paython support multi threading but these modules are not supporting multi threading

    Also can u share your thought which is best spynner, ghost, PyPhantomjs, zope mean more powerful

    It will really help all of us if you share any small code of web automation by considering Ninjasaywhat request
     
  12. jamb0ss

    jamb0ss Junior Member

    Joined:
    Feb 9, 2012
    Messages:
    125
    Likes Received:
    45
    Occupation:
    Bots programming
    For dealing with AJAX you don't need browser emulation with JS support. Everything you need is HTTP traffic monitor (for example HttpFox for Firefox or Wireshark) for catching requests and repeating them (often with X-Requested-With HTTP header = XMLHttpRequest). For native JS support you can use Selenium WevDriver. Try "requests" lib for working with HTTP protocol. It's a very simple tool. If you have any questions - just pm me. Good luck. Python is watching you ;)
     
  13. FutureKingOfScrapers

    FutureKingOfScrapers Newbie

    Joined:
    Sep 1, 2013
    Messages:
    43
    Likes Received:
    5
    Do you have any good python examples of using AJAX? I haven't been able to find anything that uses real working sites. Most of the tutorials use hypothetical examples so I can't test if im actually doing it right.
     
    Last edited: Nov 3, 2013
  14. Jannes

    Jannes Newbie

    Joined:
    Jan 9, 2010
    Messages:
    35
    Likes Received:
    15
    It's all about sending the right POST with the right variables, to the right url.
     
  15. MafiaBoss

    MafiaBoss Elite Member

    Joined:
    May 5, 2012
    Messages:
    1,522
    Likes Received:
    1,031
    Occupation:
    Currently Un-Occupied
    Location:
    In granny's Basement
    Home Page:
    fcuk Yeah..................
     
  16. Ninjasaywhat

    Ninjasaywhat Newbie

    Joined:
    Aug 3, 2013
    Messages:
    29
    Likes Received:
    7
    Home Page:
    And you guys recommend Python over using ubot studio?
     
  17. devde

    devde Registered Member

    Joined:
    Jan 5, 2013
    Messages:
    76
    Likes Received:
    23
    you can have a look at github, lots of resources there