Skip to content
Snippets Groups Projects
Commit c6491fbc authored by vcday's avatar vcday
Browse files

push to url queue

parent 926d6f54
Branches
No related tags found
No related merge requests found
......@@ -23,9 +23,8 @@ add_executable(crawler-parser-test
parser/Parser.cpp
util/Stemmer.cpp
util/Tokenizer.cpp
util/stringProcessing.cpp)
util/stringProcessing.cpp
indexer/Indexer.cpp)
add_executable(crawler-parser-indexer-test
main.cpp
......@@ -46,8 +45,6 @@ add_executable(crawler-parser-indexer-test
util/stringProcessing.cpp
indexer/Indexer.cpp)
add_executable(StringProcessingTest
util/stringProcessing.cpp
util/Stemmer.cpp
......
......@@ -79,9 +79,7 @@ void Parser::parse ( StreamReader* reader, Tokenizer *tokenizer )
}
if ( isValid( url ) )
{
ParsedUrl pUrl = ParsedUrl( url );
urlFrontier->Push( pUrl );
//cout << url << endl;
pushToUrlQueue( url, currentUrl, anchorText, true );
}
}
// check if line is title
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment