Results 1 to 21 of 21

Thread:

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    AMD FAN abu_m's Avatar
    Join Date: Dec:2007
    Location: BG
    Posts: 118

    , , , .
    : ++ , ( .) , . : " " , . .

  2. #2
    ɐ-əpoɔᴉu⋂ ɐ ə anrieff's Avatar
    Join Date: Apr:2004
    Location: Sofia
    Posts: 8,448
    (.. , commandline ).

    html , wget, ( cookie- ). help- wget .

    html- . .

    scheduled tasks.

    -
    , . .
    "640K ught to be enough for anybody" - Bill Gates, 1981
    ::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel

  3. #3
    relative dude Skydive's Avatar
    Join Date: Nov:2002
    Location: /
    Posts: 2,863
    a - Perl Python.
    C++ ?
    :
    1. , LWP::UserAgent HTTP::Cookies , . , .
    2. (GET) , html- .
    3. , .

  4. #4
    Registered User 's Avatar
    Join Date: Feb:2006
    Location:
    Posts: 653
    . , .

  5. #5
    AMD FAN abu_m's Avatar
    Join Date: Dec:2007
    Location: BG
    Posts: 118
    : , , .
    skydive: , ++, . .
    anrief, !!!

  6. #6
    ɐ-əpoɔᴉu⋂ ɐ ə anrieff's Avatar
    Join Date: Apr:2004
    Location: Sofia
    Posts: 8,448
    , Python/Perl -.
    , . C++ ,
    , . .
    "640K ught to be enough for anybody" - Bill Gates, 1981
    ::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel

  7. #7
    Eclipse Plugin Developer aphex's Avatar
    Join Date: Mar:2003
    Location: Karlsruhe
    Posts: 546
    , , ,
    We are drowning in information, but starving for knowledge and time!

  8. #8
    Registered User
    Join Date: Nov:2005
    Location:
    Posts: 3,317
    Quote Originally Posted by aphex View Post
    , , ,
    , ...

  9. #9
    XaMaB's Avatar
    Join Date: Nov:2001
    Location:
    Posts: 20,387
    Vuze ( Azureus) . , .
    : XaMaB; . 0.42

    In God we Trust (all others must submit a X.509 certificate). , ()

  10. #10

    Join Date: Sep:2005
    Location: Sofia
    Posts: 18,517
    Quote Originally Posted by XaMaB View Post
    Vuze ( Azureus) . , .
    Vuze . API-, .

  11. #11
    Registered User
    Join Date: Dec:2005
    Location:
    Posts: 219
    Quote Originally Posted by abu_m View Post
    : " " , .
    - , RSS. ( ) . , RSS.

  12. #12
    Registered User
    Join Date: Dec:2007
    Location:
    Posts: 655
    "C++": , tracker RSS feed , . feed- , , RSS. POSIX regular expressions ( "Windows") "Bison" ( XML RSS; RSS, !). HTTP "libcurl" ( wrapper "C++", "extern "C"), feed- torrent . -, "libtorrent" (AKA "rb-libtorrent") "libTorrent" ( ) "BitTorrent".

    .. , , , - "Perl"/"Python".

  13. #13
    Registered User 's Avatar
    Join Date: Feb:2006
    Location:
    Posts: 653
    . @abu_m, . . zamunda, TV . IE, . WebBrowser , IE .
    :


    . :


    Open .
    :
    Code:
    using System;
    using System.Text;
    using System.Windows.Forms;
    using System.IO;
    using System.Collections.Specialized;
    
    namespace WebBrowserRequest
    {
        public partial class Form1 : Form
        {
            public Form1()
            {
                InitializeComponent();
            }
    
            private void btnGetTorrent_Click(object sender, EventArgs e)
            {
                if (txtSearchPattern.Text != string.Empty)
                {
                    // Search only in TV Serials cathegory.
                    webBrowser.Navigate(string.Format("http://zamunda.net/browse.php?search={0}&cat=7&incldead=1", txtSearchPattern.Text.Replace(" ", "+")));
                }
                else
                {
                    MessageBox.Show("Type in some search criteria.");
                }
            }
    
            private void webBrowser_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
            {
                GetTorrent();
            }
    
            private void GetTorrent()
            {
                // Get all A tags.
                HtmlElementCollection ec = webBrowser.Document.GetElementsByTagName("a");
    
                StringCollection torrents = new StringCollection();
                for (int i = 0; i < ec.Count; i++)
                {
                    string link = ec[i].GetAttribute("href");
                    if (link.Contains(".torrent"))
                    {
                        if (IsSearchedTorrent(link))
                        {
                            torrents.Add(link);
                        }
                    }
                }
    
                // Download the torrent.
                webBrowser.Navigate(torrents[0]);
                //System.Diagnostics.ProcessStartInfo p = new System.Diagnostics.ProcessStartInfo(@"C:\Program Files\uTorrent\uTorrent.exe", string.Format(@"C:\{0}", Path.GetFileName(torrents[0])));
                //System.Diagnostics.Process.Start(p);
            }
    
            private bool IsSearchedTorrent(string torrentLink)
            {
                string[] searchWords = txtSearchPattern.Text.Split(new string[] { " " }, StringSplitOptions.None);
                for (int i = 0; i < searchWords.Length; i++)
                {
                    if (!torrentLink.ToLower().Contains(searchWords[i].ToLower()))
                    {
                        return false;
                    }
                }
    
                return true;
            }
        }
    }
    .
    Attached Files

  14. #14
    ɐ-əpoɔᴉu⋂ ɐ ə anrieff's Avatar
    Join Date: Apr:2004
    Location: Sofia
    Posts: 8,448
    [joke]
    , :
    Code:
    ... string.Format(@"C:\{0} ...
    , Format C: ,
    [/joke]
    , . .
    "640K ught to be enough for anybody" - Bill Gates, 1981
    ::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel

  15. #15
    Registered User 's Avatar
    Join Date: Feb:2006
    Location:
    Posts: 653
    Quote Originally Posted by anrieff View Post
    [joke]
    , :
    Code:
    ... string.Format(@"C:\{0} ...
    , Format C: ,
    [/joke]
    , -. @abu_m , . . . , , .
    -, ,

  16. #16
    ɐ-əpoɔᴉu⋂ ɐ ə anrieff's Avatar
    Join Date: Apr:2004
    Location: Sofia
    Posts: 8,448
    , . . - , ,
    , . .
    "640K ught to be enough for anybody" - Bill Gates, 1981
    ::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel

  17. #17
    relative dude Skydive's Avatar
    Join Date: Nov:2002
    Location: /
    Posts: 2,863
    Quote Originally Posted by anrieff View Post
    ... , ,
    ! : " , ?"... : ", , - !"

  18. #18
    Registered User
    Join Date: Dec:2007
    Location:
    Posts: 655
    , abu_m ( "C++" ), , .

    , . "BitTorrent".

  19. #19
    Registered User 's Avatar
    Join Date: Feb:2006
    Location:
    Posts: 653
    , uTorrent Rss Feed, rss. zamunda, arena piratebay ...

  20. #20
    Registered User
    Join Date: Dec:2007
    Location:
    Posts: 655
    , : "The Pirate Bay" feed- , "Zamunda"- .
    Last edited by AK-85; 2nd October 2008 at 19:30.

  21. #21
    Eclipse Plugin Developer aphex's Avatar
    Join Date: Mar:2003
    Location: Karlsruhe
    Posts: 546
    arena RSS, .
    We are drowning in information, but starving for knowledge and time!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |