@miralipd/html_tag_value_extractor
v0.1.1
Published
For Extract value of tag html for example : <p>It is test</p> => it is test
Downloads
3
Maintainers
Readme
��#� �H�t�m�l�-�T�a�g�-�V�a�l�u�e�-�E�x�t�r�a�c�t�o�r�
�
�#� �M�i�r�a�l�i�P�D�
�
�
�
�#�#� �I�n�s�t�a�l�l�
�
��
��s�h�
�
�n�p�m� �i�n�s�t�a�l�l� �@�m�i�r�a�l�i�p�d�/�h�t�m�l�_�t�a�g�_�v�a�l�u�e�_�e�x�t�r�a�c�t�o�r�
�
�
��
�
�
�
�
�#�#� �A�P�I�
�
��
��j�s�
�
�r�e�q�u�i�r�e�(�"�@�m�i�r�a�l�i�p�d�/�h�t�m�l�_�t�a�g�_�v�a�l�u�e�_�e�x�t�r�a�c�t�o�r�"�)� �=�>� �O�b�j�e�c�t�
�
�e�x�t�r�a�c�t�.�b�y�T�a�g�(�d�a�t�a�,�t�a�g�,�r�e�m�o�v�e�A�d�d�i�t�i�o�n�a�l�=�[�]�)� �=�>� �s�t�r�i�n�g�,�s�t�r�i�n�g�,� �a�r�r�a�y�
�
�e�x�t�r�a�c�t�.�b�y�C�l�a�s�s�(�d�a�t�a�,�t�a�g�,�v�a�l�u�e�,�r�e�m�o�v�e�A�d�d�i�t�i�o�n�a�l�=�[�]�)� �=�>� �s�t�r�i�n�g�,�s�t�r�i�n�g�,�s�t�r�i�n�g�,�a�r�r�a�y�
�
�e�x�t�r�a�c�t�.�b�y�I�d�(�d�a�t�a�,�t�a�g�,�v�a�l�u�e�,�r�e�m�o�v�e�A�d�d�i�t�i�o�n�a�l�=�[�]�)� �=�>� � �s�t�r�i�n�g�,�s�t�r�i�n�g�,�s�t�r�i�n�g�,�a�r�r�a�y�
�
�
��
�
�
�
�
�#�#� �E�x�a�m�p�l�e�
�
��
��j�s�
�
�c�o�n�s�t� �h�t�m�l�T�a�g�E�x�t�r�a�c�t�o�r� �=� �r�e�q�u�i�r�e�(�"�@�m�i�r�a�l�i�p�d�/�h�t�m�l�_�t�a�g�_�v�a�l�u�e�_�e�x�t�r�a�c�t�o�r�"�)�;�
�
�c�o�n�s�t� �d�a�t�a� �=� �"�<�p�>�T�h�i�s� �i�s� �P�a�r�a�g�r�a�p�h�<�/�p�>�"�;�
�
�c�o�n�s�t� �t�a�g� �=� �"�p�"�;�
�
�c�o�n�s�t� �r�e�s�u�l�t� �=� �h�t�m�l�T�a�g�E�x�t�r�a�c�t�o�r�.�b�y�T�a�g�(�d�a�t�a�,�t�a�g�)�;�
�
�c�o�n�s�o�l�e�.�l�o�g�(�"�R�e�s�u�l�t� �:� �"�,�r�e�s�u�l�t�)�/�/�T�h�i�s� �i�s� �P�a�r�a�g�r�a�p�h�
�
�
��
�
�
�
�
�#�#� �L�i�c�e�n�s�e�
�
�M�I�T�