Title: [Plugin: WP Web Scraper] Export in Html file?
Last modified: August 19, 2016

---

# [Plugin: WP Web Scraper] Export in Html file?

 *  [jumust](https://wordpress.org/support/users/jumust/)
 * (@jumust)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-web-scraper-export-in-html-file/)
 * Hi I’m using this code to grab all the posts content in the “main” tag:
    `<?php
   echo wpws_get_content('http://example.com','#main')?>`
 * It works exactly grabbing all posts. I’m using it in a custom page template but
   I would like to save it an html file.
 * As the Plugin Author said to me:
    `The plugin can extract all the desired HTML
   and save it some place - MySQL or a text file.`
 * How can I save the html extracted in a text file?
 * Thanks

The topic ‘[Plugin: WP Web Scraper] Export in Html file?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-web-scrapper.svg)
 * [WP Web Scraper](https://wordpress.org/plugins/wp-web-scrapper/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-web-scrapper/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-web-scrapper/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-web-scrapper/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-web-scrapper/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-web-scrapper/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [jumust](https://wordpress.org/support/users/jumust/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-web-scraper-export-in-html-file/)
 * Status: not resolved