Find Jobs
Hire Freelancers

Write some Software

$30-250 USD

Anuluar
Postuar almost 9 years ago

$30-250 USD

Paguhet në dorëzim
Chatango Bot ([login to view URL]) Python Script based on [login to view URL] This code might also help: [login to view URL] I believe this project should take 5 billable hours at most if you know your way around Python2 and MySQL. Most of the difficult functions you can import from the links above. This project mainly consists of conditional statements and MySQL inserts/updates, with some minor writing to files. The GitHub script will already get the username and message for you, as well as have the basic outline of the bot. You should not have to scrape the website. There might be a function to get the IP Address as well, check ch.py. Chatango displays an IP Address with each user message. Example Chatango Post: [login to view URL] *Writes chatango usernames and messages to a new log file each day, Eastern Time (ET) *Assigns a Special ID based on their Chatango name *Calculates and inserts user points based on words typed per line per x minutes *Inserts/updates the Chatango username,IP address, special id and points in a MySQL table every x minutes using the sched and time modules. *Reports conflicting Chatango username/ip address combinations to [login to view URL] *Must be able to run on Debian 7.0 64bit Minimal with Python2 Need variables for the following [example numbers]: *Number of letters per word needed to count towards each point. [5] *Number of min. words per line needed to count towards each point. [3] *Number of min. unique words per line needed to count towards each point. [10] *Number of min. messages needed to count towards each point. [20] *Time in between each calculation and update [x=60] For example, if a user sent at least 20 messages that each had at least 3 words that were at least 5 letters OR at least 20 messages that had at least 10 unique words of any length per message, they would get a 1 point for those 60 minutes. Either type of message will receive credit towards the total 20 message. Only 1 point max per x minutes. The image above would not get credit for it's message given the example numbers, and the user would still need 20 good messages to get 1 point for those x minutes. SQL Table: The SQL table will have 7 columns: an Auto Incremented ID, Date (just put 150101), Chatango_Username, Special_ID*, IP_Address, Total_Points, and Votes_Left (Just put 0) Special ID* The Special ID is made by reading 2 random lines from [login to view URL], and 1 random line for [login to view URL] (attached). They must be unique for each Chatango Username. The format is "Adjective Adjective Animal". Every x minutes the SQL Table is updated: *Use the sched and time module to run the update every x minutes. *Every new chatango name that sent any message in chat will be given a Special ID and inserted into the table along with their IP Address *Every chatango name who meets the requirements receives one (1) point. *If a Chatango name is getting a point and does not have the matching IP address listed in the table: write the Chatango name, old IP, and new IP address to a [login to view URL] file. *Update the IP Address in the MySQL table.
ID e Projektit: 7658476

Rreth projektit

1 propozim
Projekt në distancë
Aktive 9 yrs ago

Po kërkoni të fitoni para?

Përfitimet e ofertës për Freelancer

Vendosni buxhetin dhe afatin tuaj
Paguhuni për punën tuaj
Përshkruani propozimin tuaj
Është falas të regjistrohesh dhe të bësh oferta për punë
1 Profesionisti ofron mesatarisht $100 USD për këtë punë
Avatari i Përdoruesit
A proposal has not yet been provided
$100 USD në 3 ditë
0,0 (0 përshtypje)
0,0
0,0

Rreth klientit

Flamuri i UNITED STATES
Dockweiler, United States
0,0
0
Mënyra e pagesës u verifikua
Anëtar që nga maj 12, 2015

Verifikimi i klientit

Faleminderit! Ne ju kemi dërguar me email një lidhje për të kërkuar kredinë tuaj falas.
Ndodhi një gabim gjatë dërgimit të email-it tuaj. Ju lutemi provoni përsëri.
Përdorues të regjistruar Punë të postuara
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Po ngarkohet shikimi paraprak
Leja u dha për Geolocation.
Seanca e hyrjes ka skaduar dhe ke dalë. Hyr sërish.