Hello, I'm working on Eclipse-SWT's webkit2 port.
On webkit2: I'm trying to just grab the text/html of a website, such that it is as close to the original html. I tried: webkit_web_view_save (..) but it produces an MHTML that is different from the original. For example '<script>' tags are stripped out. With webkit1 we did it via: source = webkit_web_frame_get_data_source(webkit_web_view_get_ main_frame(webview); data = webkit_web_data_source_get_data(source) But on Webkit2 these functions don't exist anymore. I haven't tried: webkit_web_resource_get_data() yet. (Does that do it differently or same as view_save()?). Any suggestions/snippets/advice? Thank you -- Leo Ufimtsev Software Engineer Red Hat <https://www.redhat.com> 90 Eglinton Ave E #502, Toronto, ON M4P 2Y3 [email protected] CHAT: - IRC: http://webchat.freenode.net/?channels=#swt - MatterMost: https://mattermost.eclipse.org/eclipse/channels/platform-swt <https://red.ht/sig>
_______________________________________________ webkit-gtk mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-gtk
