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

Coding a submitter

Discussion in 'General Scripting Chat' started by raku980, Jan 4, 2012.

  1. raku980

    raku980 Newbie

    Joined:
    Jan 6, 2010
    Messages:
    47
    Likes Received:
    12
    I have some experience in C++,Java and PHP coding. Now it's time, that I want to write something like submitter to sites like digg, but less popular. It will have login info and post content (and maybe some details like categories etc) and should submit it. Can you suggest me where to start? Should it be in PHP or what?

    Thanks!
     
  2. xpwizard

    xpwizard Junior Member

    Joined:
    Nov 6, 2010
    Messages:
    198
    Likes Received:
    122
    Code it in whatever you feel most comfortable in.

    There is no "best" language to use. It's best to just code in what you know and what is right for the situation.

    Example:
    - For a personal bot where you only need one or a few threads, then PHP and CURL are a great combination.
    - If you plan to sell the bot, then it may be best to go with desktop based language.
    - Etc...
     
    • Thanks Thanks x 2
  3. raku980

    raku980 Newbie

    Joined:
    Jan 6, 2010
    Messages:
    47
    Likes Received:
    12
    Thanks. Firstly I'll go for personal bot with PHP + curl.
    At the beginning, IMO I should get some info, which my browser send to server of i.e. digg when I'm trying to post something, am i right? Or how should I do it?
     
  4. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,880
    Likes Received:
    1,932
    Must have software for bot programming:
    Fiddler2
    Charles
    I also use Live HTTP Headers in Firefox.

    Any of these 3 will show you the exact data to POST along with the other information & data types required. Charles I find more helpful as it will log exact content as you go through it all and you can use the Find feature to find the exact session variables that you may need to extract from pages.
     
    • Thanks Thanks x 1
  5. qxxxp

    qxxxp Junior Member

    Joined:
    May 3, 2009
    Messages:
    185
    Likes Received:
    82
    Occupation:
    President of Planet Earth
    Location:
    /index.php
    Home Page:
    there are a lot of desktop submitters.. you could try a server based submitter (php/c++). The problem of desktop submitters is that you need to be in front of your software to control it... (scrapebox) or even you need to buy a fast windows server to get good results (xrumer)...

    if the submitter is server based and works in background, i can just add some projects, click on start and close my browser... I will come back later and see the results.
    Personally I have written some submitters in the past (for myself and years ago a submitter for tgp sites) in .net and php, I loved the server based set-and-forget version a lot.
     
    • Thanks Thanks x 1
  6. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,880
    Likes Received:
    1,932
    This is my opinion also but when creating software that needs to be distributed / sold there is usually a lot more support involved in server side applications & it tends to reduce the total number of sales also unfortunately.
     
    • Thanks Thanks x 1
  7. raku980

    raku980 Newbie

    Joined:
    Jan 6, 2010
    Messages:
    47
    Likes Received:
    12
    Thank you guys - I'll go for server based version : )
    It'll be for me only. Educational aspect of a coding something useful is an additional positive aspect.
     
  8. xpwizard

    xpwizard Junior Member

    Joined:
    Nov 6, 2010
    Messages:
    198
    Likes Received:
    122
    A couple more:

    - Tamper data for Firefox (allows you to view/edit what's being posted in realtime).
    - Network tools/Developer tools in Chrome/Chromium/any webkit based browser


    I prefer the developer tools in Chromium as it gives a better layout/gui (instead of raw text like Live HTTP Headers).
    And I agree with gimmie4free in regards to Charles. Great tool.
     
    • Thanks Thanks x 1
  9. raku980

    raku980 Newbie

    Joined:
    Jan 6, 2010
    Messages:
    47
    Likes Received:
    12
    I started using Charles - seems like a nice tool.
    What should I track while posting a content to web 2.0? Headers?
     
  10. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,880
    Likes Received:
    1,932
    Track the URL that the data is sent to, the data that is being posted, the content-type, the referring URL & any other potential additional data that is being sent.
     
    • Thanks Thanks x 1