1.31b: Fix to detect <frame> tags, and fix commenting out USE_COLOR
- Compilation with USE_COLOR commented out now works as expected. - Fix to detect <frame> tags.
This commit is contained in:
parent
095e83d582
commit
a4a2b9130c
|
@ -1,3 +1,10 @@
|
|||
Version 1.31b:
|
||||
--------------
|
||||
|
||||
- Compilation with USE_COLOR commented out now works as expected.
|
||||
|
||||
- Fix to detect <frame> tags.
|
||||
|
||||
Version 1.30b:
|
||||
--------------
|
||||
|
||||
|
|
|
@ -699,7 +699,8 @@ void scrape_response(struct http_request* req, struct http_response* res) {
|
|||
FIND_AND_MOVE(dirty_url, cur_str, "src=");
|
||||
|
||||
} else if (ISTAG(cur_str, "object") || ISTAG(cur_str, "embed") ||
|
||||
ISTAG(cur_str, "applet") || ISTAG(cur_str, "iframe")) {
|
||||
ISTAG(cur_str, "applet") || ISTAG(cur_str, "iframe") ||
|
||||
ISTAG(cur_str, "frame")) {
|
||||
|
||||
link_type = 3;
|
||||
FIND_AND_MOVE(dirty_url, cur_str, "src=");
|
||||
|
|
2
config.h
2
config.h
|
@ -23,7 +23,7 @@
|
|||
#ifndef _HAVE_CONFIG_H
|
||||
#define _HAVE_CONFIG_H
|
||||
|
||||
#define VERSION "1.30b"
|
||||
#define VERSION "1.31b"
|
||||
|
||||
#define USE_COLOR 1 /* Use terminal colors */
|
||||
|
||||
|
|
34
debug.h
34
debug.h
|
@ -46,23 +46,23 @@
|
|||
# define cBRI "\x1b[1;37m"
|
||||
# define cRST "\x1b[0m"
|
||||
#else
|
||||
# define cBLK
|
||||
# define cRED
|
||||
# define cGRN
|
||||
# define cBRN
|
||||
# define cBLU
|
||||
# define cMGN
|
||||
# define cCYA
|
||||
# define cNOR
|
||||
# define cGRA
|
||||
# define cLRD
|
||||
# define cLGN
|
||||
# define cYEL
|
||||
# define cLBL
|
||||
# define cPIN
|
||||
# define cLCY
|
||||
# define cBRI
|
||||
# define cRST
|
||||
# define cBLK ""
|
||||
# define cRED ""
|
||||
# define cGRN ""
|
||||
# define cBRN ""
|
||||
# define cBLU ""
|
||||
# define cMGN ""
|
||||
# define cCYA ""
|
||||
# define cNOR ""
|
||||
# define cGRA ""
|
||||
# define cLRD ""
|
||||
# define cLGN ""
|
||||
# define cYEL ""
|
||||
# define cLBL ""
|
||||
# define cPIN ""
|
||||
# define cLCY ""
|
||||
# define cBRI ""
|
||||
# define cRST ""
|
||||
#endif /* ^USE_COLOR */
|
||||
|
||||
#ifdef LOG_STDERR
|
||||
|
|
Loading…
Reference in New Issue