added --follow-tags and --ignore-tags

This commit is contained in:
Tim Rühsen
2014-09-09 13:18:32 +02:00
parent 8744c35d9f
commit a85b163ee9
9 changed files with 348 additions and 23 deletions

View File

@ -39,7 +39,7 @@ static void html_parse_localfile(const char *fname)
char *data;
if ((data = mget_read_file(fname, NULL))) {
MGET_HTML_PARSED_RESULT *res = mget_html_get_urls_inline(data);
MGET_HTML_PARSED_RESULT *res = mget_html_get_urls_inline(data, NULL, NULL);
if (res->encoding)
printf("URI encoding '%s'\n", res->encoding);