Find Jobs
Hire Freelancers

Answer a Playwright Question

$10-30 USD

In Progress
Posted over 1 year ago

$10-30 USD

Paid on delivery
I am trying to scrape a webpage, however the HTML that playwright is producing in Python does not match what I can inspect in DevTools. I just need a little help with this code. #import playwright from playwright.sync_api import sync_playwright url = '[login to view URL]' #open url with sync_playwright() as p: browser = [login to view URL](headless=False) page = browser.new_page() #enable javascript [login to view URL](url) #enable javascript #load the page and wait for the page to load page.wait_for_load_state("networkidle") #get the html content html = page.inner_html("body") print(html) #close browser [login to view URL]() I'm attempting to find these elements <div class="block"> <div class="basic"> <p class="shop">Nakano</p> <p class="itemno">sp4d-00HXGIKJ (0200343351)</p> </div> <div class="pic"> <div class="thum"> <a href="/order/detailPage/item?itemCode=1084122883&amp;ref=list&amp;categoryCode=07&amp;keyword=naruto&amp;lang=en"> <img src="[login to view URL] "> </a> </div> </div> <div class="title"> <p> <a href="/order/detailPage/item?itemCode=1084122883&amp;ref=list&amp;categoryCode=07&amp;keyword=naruto&amp;lang=en"> Plex DPCF Haruno Sakura Reboru ring of the eyes </a> </p> </div> <div class="addalert addalert-text-en"> <a href="javascript:addMypageList('1084122883', 1);">Alert</a> </div> <div class="soldout"> <p>Sold Out</p> </div> <div class="price"> <p> 20,000 yen </p> </div> <div class="price_range"> </div> <div class="category"> <p> </p> </div> </div> Essentially the title, price, link, etc. Normally I don't have difficulties with that part, but I cannot figure out how to get playwright to load that so I can parse through the response with BeautifulSoup. If you know how to do this with Selenium or Requests, I will take that as well.
Project ID: 34768387

About the project

6 proposals
Remote project
Active 2 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello sir, I am an expert in web scraping and automation. I can scrap any website and organize data in excel or csv file. I can handle this issue and me your code working fine. Please contact me for more details. Thank you
$20 USD in 1 day
5.0 (10 reviews)
3.8
3.8
6 freelancers are bidding on average $23 USD for this job
User Avatar
Hi,Hope you are doing well! I have checked your requirement, yes I can do it, because I already work on similar requirement in past. If you have interested in my proposal, please contact me. I will do my best in order to complete your project. Thanks for your attention. Best regards Faizan Maqbool
$30 USD in 1 day
5.0 (44 reviews)
5.9
5.9
User Avatar
Hello I read ur description very carefully and i have experienced this kind of project 2 months ago I can finish ur project on time you want. I have gone through your project description. I find myself as a perfect fit for this job. I am working as a Python Developer from last 2 year. Some of my expertise is in the fields: 1. Web Scraping/Web Automation - Selenium, Scrapy, Requests, Beautifulsoup 2. AI and ML 3. Web Designing 4. Wordpress 5. Data Science 6. C/C++ 7. SQL I will be available 24/7 to assist you during the project. So lets discuss more about it over chat. Best Regard
$40 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Fenton, United States
5.0
1
Payment method verified
Member since Sep 27, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.