Parse HTML string with Python

I have a directory that is populated with a web application. The web application happens to be an angular framework, but that doesn't matter.

What I need is for someone to write a python script to insert HTML element attributes to every html element. The algorithm will look something like this:

1. Find all HTML documents in the directory at any level of the directory.

2. Open an HTML document

3. Assign an attribute to every element in the body of that html. This is specific to each file. In a file named [login to view URL] we would make element have the 'qaid' property like this: <div qaid="home001"></div> Notes on this: i. The value of qaid should be applied to every element in the HTML body.

ii. The value should be the file name with a unique ascending numeric value appended behind. The value must be padded so that it always has 4 digits.

iii. The app is an angular framework, so it must be done in a way that does not interfere with any of the elements other attributes.

examples in "[login to view URL]"

<mat qaid="procmon0001" [(ngModel)]="toggle" type="checkbox" *ngIf="toggle; else prompt" #prompt>

Congratulations, you've reached the secret bonus level!


<ng-template qaid="procmon0002" #prompt>

Click the checkbox above to reveal hidden content!


This doesn't have to be perfect. I am a software engineer, I can test it and dial it in. I just need a jump start on this done ASAP. Will pay handily. I've attached a directory for you to work against. Please note the examples I provided here in this description, they will not be found in the directory attached but are important test cases.

Taidot: Python, HTML

Näytä lisää: parse html table dom, python parse html, net parse html string, what is the solution to mc012 1 jpg mc012 2 jpg mc012 3 jpg mc012 4 jpg mc012 5 jpg, python parse json string, python parse xml string, angular2 parse html string, parse html string in angular 2, python requests parse html, python parse html beautifulsoup, python parse html table, java parse html string, python parse html with javascript, python parse html email, c# parse html string, best way to parse html in python, php parse html string, python parse html from url, what is the product mc012-1 jpg mc012-2 jpg mc012-3 jpg mc012-4 jpg mc012-5 jpg

Tietoa työnantajasta:
( 4 arvostelua ) Springfield, United States

Projektin tunnus: #30628450

Myönnetty käyttäjälle:

(3 Arvostelua)

23 freelanceria on tarjonnut keskimäärin $132 tähän työhön

(88 arvostelua)

Hi, I have read your opinion carefully. I am python expert. I have experience of 5 years and have done several projects before. I can develop your project with full perfection. Let me go on, you can get the best projec Lisää

$200 USD 3 päivässä
(16 arvostelua)

Hello I am an expert in python and programming I know html, css and javascript I can make a parser that recursively opens all the html files can i use regex or work with string handling in python I can deliver the Lisää

$220 USD 1 päivässä
(16 arvostelua)

Python Expert I'm interested in your job. Do you want to build python script to insert attributes to every HTML elements? I am very familiar in this field so if you hire me I will server full time service with high-qu Lisää

$150 USD 3 päivässä
(10 arvostelua)

Hello, Sir. I read your opinion seriously. I have experience of 5 years and done similar projects before. As a man of trust, I can develop your project with full perfection. Let me go on, you can get the best project t Lisää

$100 USD 1 päivässä
(9 arvostelua)

Dear Hiring Manager. I am a senior Python engineer with 7+ years experience. So far, I have worked on various types of project such as dating, Q&A, CRM, Video Streaming, etc. I gained almost Python framework and I have Lisää

$30 USD 7 päivässä
(10 arvostelua)

Hi, there. I am a python expert. it is cake for me. I can start work now. best regards Daria

$50 USD 7 päivässä
(8 arvostelua)

Software Development using Python language is my top skill and I really love it. I will do my best for you as I have extremely excited my previous clients with my perfect results. As you can see in my profile, I have Lisää

$120 USD 1 päivässä
(4 arvostelua)

Hello,How are you? I have read your project very carefully. I'm a python expert and I was AWARDed the title of EXPERT in Kaggle, the Largest Machine Learning and Data Science Community of Google LLC. I have been pytho Lisää

$140 USD 2 päivässä
(3 arvostelua)

hello, Sir I read your project description carefully. I have rich experiences in Python, numpy, scipy, pandas, sklearn, keras, tensorflow, algorithm, C#, Image Processing, Machine learning, deep learning, etc. So I can Lisää

$150 USD 7 päivässä
(5 arvostelua)

Hi, I can help you write a script that will walk through the directories and make the needed edits. Kindly send a message to discuss this further. Thanks.

$30 USD 1 päivässä
(4 arvostelua)

Hi  Nice to meet you. I want you to be safe from COVID. I am Python, Selenium, DOM parse expert and I only apply to jobs when I know I can do it. I am confident that I will deliver you the best solution possible and wi Lisää

$150 USD 5 päivässä
(1 arvostelu)

Hello Nice to meet you. I am Python, javascript, jQuery, Selenium, Automation bot expert and I only apply to jobs when I know I can do it. I am confident that I will deliver you the best solution possible and will exce Lisää

$140 USD 7 päivässä
(3 arvostelua)

Hi, there. As a talented python expert with 5+ years of experience in that magic world I feel confident to make highly tech based website. I have worked several fabulous python projects(Flask, Django, etc). I have ric Lisää

$140 USD 2 päivässä
(2 arvostelua)

Dear Client. What I don't understand is that we don't know what tools we use to do the work. I recommend Python/SELENIUM. Please contact me

$140 USD 7 päivässä
(2 arvostelua)

Hi There, I want to work further on your Python Development requirement. I have excellent Developers with 8+ Year experience to take care of your work. Please accept my request to discuss further. Thanks & Regards,

$200 USD 5 päivässä
(0 arvostelua)

Greetings, I checked your post with title "Parse HTML string with Python". I am familiar to python. I want to discuss your project in detail. Hope to hear from you soon

$110 USD 3 päivässä
(1 arvostelu)

Yes. I can provide within 1 day. I have done a lot of jobs with it. So I can help you. Hope to work with you. Thanks. Please send me a mesaget.

$100 USD 1 päivässä
(0 arvostelua)

Dear Client I’d like to thank you for posting project. I have just read your requirement. My major skill is HTML, CSS, JAVASCRIPT, BOOTSTRAP, [login to view URL] I am a senior developer with 9+ years experiences of web. Lisää

$140 USD 3 päivässä
(0 arvostelua)

Hi, there I just read your job posting and very interested in your job. I think it is possible for me, because I have rich experience similar projects. Also, I am very happy to meet you because you are also engineer. Lisää

$120 USD 7 päivässä
(0 arvostelua)