Metadata-Version: 2.1
Name: fetchhtml
Version: 0.2
Summary: UNKNOWN
Home-page: UNKNOWN
License: UNKNOWN
Platform: UNKNOWN
Description-Content-Type: text/markdown
Requires-Dist: requests (>=2.23.0)
Requires-Dist: bs4 (>=0.0.1)
Requires-Dist: lxml

Package that stores HTML within a string variable for scraping purposes

## Installation
```python
pip3 install fetchhtml 

```

## Usage
```python 
from fetchhtml import get_html

```

## Saving HTML Document in directory
```python
# Get HTML page of google.com
google_html = get_html("https://www.google.com")

# Print HTML out to console
print(google_html)

# Find HTML element in HTML 
target_id = find_element_by_attribute_value(html, id="gbar")

# Prints element with attribute ID  
print(target_id)

# Print the text of target element 
print(target_id[0].text)

# Save HTML file
save_html(google_html, "google.html")


```



