a space for technical discussion of the building of a bot that posts in the style of Lisa McBushpawg
a space for technical discussion of the building of a bot that posts in the style of Lisa McBushpawg
part one:
the login, starting chat
Code:br.open("http://www.rubycalabwr.com/forums/login.php?do=login")
br["vb_login_username"] = "bushpawg"
br["vb_login_password"] = "P@th3th1c"
Can I help?
part 0
the py header:
Code:import os
import sys
import random
import mechanize
import time
import string
# Mechanize browser and set user agent
br = mechanize.Browser()
br.set_handle_robots(False)
br.addheaders = [('user-agent', ' Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3'),
('accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8')]
part 1.5
login func:
Code:def login():
print "[+]Logging in."
try:
br.open("http://www.rubycalaber.com/forums/login.php?do=login")
except Exception as e:
print "\nCould not open target URL, please reference the error message below: "
print e
Don't you need just 4 lines since that's all she ever says
Pythong fucking sucks, you should use node.js which is more active and mantained
In that case, I made a simple example
https://untitled-tmq8389c4l30.runkit.sh
If you type / with name after of url like that https://untitled-tmq8389c4l30.runkit.sh/m0nde
Try with Lisa name
get on messenger bot
https://i.imgur.com/UgQMBqQ.png
I was trolled
out of curiosity i have been looking at programming job adverts and almost every time they want you proficient in 2, 3, 4, some times 5 different programs..
- what is the deal with that?
- do you have to spend a lot of time learning a shit tonne of languages (plus get work experience) just to make it to interview?
- kind of seems excessive to want one guy write in a hand full of languages, are programmers just too costly so they want to get the best bang for buck humanly possible?
- isnt that unreasonably causing them to have a lot less suitable candidates
Spath
I do not believe these questions are related to interview, you are supposed to understand how programming works, especially C as fundament of programming. When they ask you with an user-story, "I want to save list videos of porn that I will watch these videos later and I don't want to be registered" then this idea you're supposed to write this in any language and anywhere so no limits, preferably on browser.