Web Crawler vs Html Parser












-1















What is the difference between web crawler and parser?



In java there are some name for fetching libraries . For example , they name nutch as a crawler and jsoup as a parser .




Are they do the same purpose?




Are they fully similar for the job?



thanks










share|improve this question



























    -1















    What is the difference between web crawler and parser?



    In java there are some name for fetching libraries . For example , they name nutch as a crawler and jsoup as a parser .




    Are they do the same purpose?




    Are they fully similar for the job?



    thanks










    share|improve this question

























      -1












      -1








      -1








      What is the difference between web crawler and parser?



      In java there are some name for fetching libraries . For example , they name nutch as a crawler and jsoup as a parser .




      Are they do the same purpose?




      Are they fully similar for the job?



      thanks










      share|improve this question














      What is the difference between web crawler and parser?



      In java there are some name for fetching libraries . For example , they name nutch as a crawler and jsoup as a parser .




      Are they do the same purpose?




      Are they fully similar for the job?



      thanks







      java web-crawler jsoup crawler4j






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 14 '18 at 16:40









      Ahmed SakrAhmed Sakr

      336




      336
























          2 Answers
          2






          active

          oldest

          votes


















          1














          The jsoup library is a Java library for working with real-world HTML. It is capable of fetching and working with HTML. However, it is not a Web-Crawler in general as it is only capable of fetching one page at a time (without writing a custom program (=crawler) using jsoup to fetch, extract and fetch new urls).



          A Web crawler uses a HTML parser to extract URLs from a previously fetched Website and adds this newly discovered URL to its frontier.



          A general sequence diagram of a Web crawler can be found in this answer: What sequence of steps does crawler4j follow to fetch data?



          To summarize it:



          A HTML parser is a necessary component of a Web crawler for parsing and extracting URLs from given HTML input. However, a HTML parser alone, is not a Web crawler as it lacks some necessary features such as maintaining previously visted URLs, politeness, etc.






          share|improve this answer































            0














            This is easily answered by looking this up on Wikipedia:




            A parser is a software component that takes input data (frequently
            text) and builds a data structure




            https://en.wikipedia.org/wiki/Parsing#Computer_languages




            A Web crawler, sometimes called a spider or spiderbot and often
            shortened to crawler, is an [Internet bot] that systematically browses
            the World Wide Web, typically for the purpose of Web indexing (web
            spidering).




            https://en.wikipedia.org/wiki/Web_crawler






            share|improve this answer
























            • But I didn't understand the major difference between them ?

              – Ahmed Sakr
              Nov 14 '18 at 19:14











            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53304955%2fweb-crawler-vs-html-parser%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            The jsoup library is a Java library for working with real-world HTML. It is capable of fetching and working with HTML. However, it is not a Web-Crawler in general as it is only capable of fetching one page at a time (without writing a custom program (=crawler) using jsoup to fetch, extract and fetch new urls).



            A Web crawler uses a HTML parser to extract URLs from a previously fetched Website and adds this newly discovered URL to its frontier.



            A general sequence diagram of a Web crawler can be found in this answer: What sequence of steps does crawler4j follow to fetch data?



            To summarize it:



            A HTML parser is a necessary component of a Web crawler for parsing and extracting URLs from given HTML input. However, a HTML parser alone, is not a Web crawler as it lacks some necessary features such as maintaining previously visted URLs, politeness, etc.






            share|improve this answer




























              1














              The jsoup library is a Java library for working with real-world HTML. It is capable of fetching and working with HTML. However, it is not a Web-Crawler in general as it is only capable of fetching one page at a time (without writing a custom program (=crawler) using jsoup to fetch, extract and fetch new urls).



              A Web crawler uses a HTML parser to extract URLs from a previously fetched Website and adds this newly discovered URL to its frontier.



              A general sequence diagram of a Web crawler can be found in this answer: What sequence of steps does crawler4j follow to fetch data?



              To summarize it:



              A HTML parser is a necessary component of a Web crawler for parsing and extracting URLs from given HTML input. However, a HTML parser alone, is not a Web crawler as it lacks some necessary features such as maintaining previously visted URLs, politeness, etc.






              share|improve this answer


























                1












                1








                1







                The jsoup library is a Java library for working with real-world HTML. It is capable of fetching and working with HTML. However, it is not a Web-Crawler in general as it is only capable of fetching one page at a time (without writing a custom program (=crawler) using jsoup to fetch, extract and fetch new urls).



                A Web crawler uses a HTML parser to extract URLs from a previously fetched Website and adds this newly discovered URL to its frontier.



                A general sequence diagram of a Web crawler can be found in this answer: What sequence of steps does crawler4j follow to fetch data?



                To summarize it:



                A HTML parser is a necessary component of a Web crawler for parsing and extracting URLs from given HTML input. However, a HTML parser alone, is not a Web crawler as it lacks some necessary features such as maintaining previously visted URLs, politeness, etc.






                share|improve this answer













                The jsoup library is a Java library for working with real-world HTML. It is capable of fetching and working with HTML. However, it is not a Web-Crawler in general as it is only capable of fetching one page at a time (without writing a custom program (=crawler) using jsoup to fetch, extract and fetch new urls).



                A Web crawler uses a HTML parser to extract URLs from a previously fetched Website and adds this newly discovered URL to its frontier.



                A general sequence diagram of a Web crawler can be found in this answer: What sequence of steps does crawler4j follow to fetch data?



                To summarize it:



                A HTML parser is a necessary component of a Web crawler for parsing and extracting URLs from given HTML input. However, a HTML parser alone, is not a Web crawler as it lacks some necessary features such as maintaining previously visted URLs, politeness, etc.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 10 '18 at 10:20









                rzorzo

                3,20421754




                3,20421754

























                    0














                    This is easily answered by looking this up on Wikipedia:




                    A parser is a software component that takes input data (frequently
                    text) and builds a data structure




                    https://en.wikipedia.org/wiki/Parsing#Computer_languages




                    A Web crawler, sometimes called a spider or spiderbot and often
                    shortened to crawler, is an [Internet bot] that systematically browses
                    the World Wide Web, typically for the purpose of Web indexing (web
                    spidering).




                    https://en.wikipedia.org/wiki/Web_crawler






                    share|improve this answer
























                    • But I didn't understand the major difference between them ?

                      – Ahmed Sakr
                      Nov 14 '18 at 19:14
















                    0














                    This is easily answered by looking this up on Wikipedia:




                    A parser is a software component that takes input data (frequently
                    text) and builds a data structure




                    https://en.wikipedia.org/wiki/Parsing#Computer_languages




                    A Web crawler, sometimes called a spider or spiderbot and often
                    shortened to crawler, is an [Internet bot] that systematically browses
                    the World Wide Web, typically for the purpose of Web indexing (web
                    spidering).




                    https://en.wikipedia.org/wiki/Web_crawler






                    share|improve this answer
























                    • But I didn't understand the major difference between them ?

                      – Ahmed Sakr
                      Nov 14 '18 at 19:14














                    0












                    0








                    0







                    This is easily answered by looking this up on Wikipedia:




                    A parser is a software component that takes input data (frequently
                    text) and builds a data structure




                    https://en.wikipedia.org/wiki/Parsing#Computer_languages




                    A Web crawler, sometimes called a spider or spiderbot and often
                    shortened to crawler, is an [Internet bot] that systematically browses
                    the World Wide Web, typically for the purpose of Web indexing (web
                    spidering).




                    https://en.wikipedia.org/wiki/Web_crawler






                    share|improve this answer













                    This is easily answered by looking this up on Wikipedia:




                    A parser is a software component that takes input data (frequently
                    text) and builds a data structure




                    https://en.wikipedia.org/wiki/Parsing#Computer_languages




                    A Web crawler, sometimes called a spider or spiderbot and often
                    shortened to crawler, is an [Internet bot] that systematically browses
                    the World Wide Web, typically for the purpose of Web indexing (web
                    spidering).




                    https://en.wikipedia.org/wiki/Web_crawler







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 14 '18 at 16:45









                    maio290maio290

                    2,014514




                    2,014514













                    • But I didn't understand the major difference between them ?

                      – Ahmed Sakr
                      Nov 14 '18 at 19:14



















                    • But I didn't understand the major difference between them ?

                      – Ahmed Sakr
                      Nov 14 '18 at 19:14

















                    But I didn't understand the major difference between them ?

                    – Ahmed Sakr
                    Nov 14 '18 at 19:14





                    But I didn't understand the major difference between them ?

                    – Ahmed Sakr
                    Nov 14 '18 at 19:14


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53304955%2fweb-crawler-vs-html-parser%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    List item for chat from Array inside array React Native

                    Thiostrepton

                    Caerphilly