# How to generate a Gramps xml file outside of Gramps?

**URL:** <https://gramps.discourse.group/t/how-to-generate-a-gramps-xml-file-outside-of-gramps/2013>\
**Category:** Development\
**Created:** [December 4, 2021, 2:01pm UTC](https://gramps.discourse.group/t/how-to-generate-a-gramps-xml-file-outside-of-gramps/2013 "2021-12-04T14:01:34Z")\
**Posts on this page:** 1\
**Showing post:** 40

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [December 19, 2021, 2:43pm UTC](https://gramps.discourse.group/t/how-to-generate-a-gramps-xml-file-outside-of-gramps/2013/40 "2021-12-19T14:43:53Z")

</div>

> [@ennoborg](#):
>
> I’d love to see a web scraping program that creates Gramps XML extracts from my favorite sites, just like @PLegoux suggested.

Yeah, a BeautifulSoup or Selenium add-on for Gramps would be nice for Gramps. ( [html - Use Python to Scrape for Data in Family Search Records - Stack Overflow](https://stackoverflow.com/questions/68400516/use-python-to-scrape-for-data-in-family-search-records) or [Web Scraping Tutorial Using Selenium & Python (+ examples) | ScrapingBee](https://www.scrapingbee.com/blog/selenium-python/) )

But data scraping makes wonder how (or whether) to integrate the data with your painstakingly curated Tree? In many cases, there is an attraction to doing prospecting trips in your research to collect leads. But while collecting, you’re well aware that most of the leads won’t pan out. You just want keep them neat and accessible, not fold them into your Tree prematurely.

---

_[View the full topic](https://gramps.discourse.group/t/how-to-generate-a-gramps-xml-file-outside-of-gramps/2013)._
