Save html source into file (remove html=0 not working?)
[setup]
enabled=1
default checked=0
engine type=Moja
fixed url=https://github.com
[URL]
type=url
[some_data]
type=extract
front=<
remove html=0
[STEP1]
link type=Comment-Contextual
write file="C:\Users\x\x\test.txt" "%some_data%"
Output in attachment.
Output in attachment.
Comments
Is there a better approach to get source?
write file="C:\Users\x\x\test.txt" "%some_data%</html>"
2. What if html looks like that...:
<html>
<head>
<body>
My article is about <html> and </html> tags.
</head>
</body>
</html>
3. What's better way to get source of page? Looks simple if you save them while debugging...
2. What if html looks like that...:
<html>
<head>
<body>
My article is about <html> and </html> tags.
</head>
</body>
important stuff
</html>
My extracted data will be:
<html>
<head>
<body>
My article is about <html> and </html>
Is that correct?