Create python Web App that manipulate page HTML

Job ID: 34628571

Budget: $10 – $30 USD

Hi

I want you create python web app to use it as chrome extension (dont worry about chrome extension, Google only requeires you add the "manifest.json" in the project with some informations to allow you to add it to chrome web store, the main concern is they only accept javascript, so you probably will need to compile from python to javascript using Brython or something like it).

Requirements:
1. Search result page modifitions:
1.1 - When user is at any result page of the category "carros-vans-e-utilitarios" like this one "https://rs.olx.com.br/regioes-de-porto-alegre-torres-e-santa-cruz-do-sul/autos-e-pecas/carros-vans-e-utilitarios/renault/logan" then extension automatically modify the html and css to add the modification to each result of the page, as you see in the image with the link below.
- Original: https://drive.google.com/file/d/1miLn3yLP-1XuMlCCNY70UYNy-sueh_LE/view?usp=sharing
- With modification: https://drive.google.com/file/d/1FOclXJfYx3dqqK3vpA-HxgboMjJQHhAd/view?usp=sharing

1.2 - How to get the data of each car:
- Model name: Acess the car page, check the html section like this "Modelo","value":"HONDA CIVIC SEDAN SI 2.0 16V 192CV"
- Fipe: Acess the car page, check the html section like this: ""fipePrice":67498}"
- Margem: Calcule with this formula: Fipe price - Car price
- Preço / Fipe: Calcule with this formula (Car price / Fipe price)*100

2. Car page
2.1 When user is at the car page, like this: "https://rs.olx.com.br/regioes-de-porto-alegre-torres-e-santa-cruz-do-sul/autos-e-pecas/carros-vans-e-utilitarios/kia-optima-ex-2-4-at-2013-1064827918" then modify the page html and css to add the modification you see below:
- Original: https://drive.google.com/file/d/1g9L-NhmGWhDKjiQ-pqwmfwRJCswohAg5/view?usp=sharing
- With modification: https://drive.google.com/file/d/1b8TBVjnBCIwH0qjpgOIdXCnM4oGcI4nS/view?usp=sharing
2.2 Get the data at the same way you saw on 1.2

3. We need you do the code using only python that is the language we work, as we need to add the extension on chrome web store, so you will probably need compile it to javascript or find other way to can add to chrome web store.
Related categories: JavaScript Python CSS HTML Google Chrome