# Ruby Tidy API for HTML::Tag

**URL:** <https://www.ruby-forum.com/t/ruby-tidy-api-for-html-tag/110976>\
**Category:** Ruby\
**Created:** [August 1, 2007, 5:27pm UTC](https://www.ruby-forum.com/t/ruby-tidy-api-for-html-tag/110976 "2007-08-01T17:27:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thebarge](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b38774/32.png) [@thebarge](https://www.ruby-forum.com/u/thebarge)\
**Post date:** [August 1, 2007, 5:27pm UTC](https://www.ruby-forum.com/t/ruby-tidy-api-for-html-tag/110976/1 "2007-08-01T17:27:17Z")

</div>

I’m trying to use the scrAPI to scrape a website. It apparently uses  
Tidy and using a selector returns an HTML::Tag object. Anyone know  
where the API is for an HTML::Tag object? I can’t seem to figure out  
how to get the tag name and I’ve been looking for the API but can’t seem  
to find it.

Thanks!
