Extract just one section of a webpage (Python or PHP)

Job Description:

In the attached HTML pages extract the (valid JSON) part only (Python or PHP).

Starts with : {\"data\":{\"question\":{\"pagedListDataConnection\"

Ends somewhere here :

{\"minSeq\":\"0\",\"channel\":\"main-w-chan51-8888-react_uzonmseebkkzidac-MRb2\",\"channelHash\":\"17978758530268586595\",\"boxName\":\"chan51-8888\",\"baseHost\":\"[login to view URL]\",\"targetUrl\":\"\",\"enableWebsocket\":true},\"broadcastData\":{\"categoryToDepkeys\":{\"Viewer:isUniversalLoggedIn:Vmlld2VyQDA6MA==\":[\"LIUS:d1a97be745ad05203c316c52e05659bc\",\"LIUB:51c686f136238887af1ffc4ce43bb59d\"]},\"depkeyToVersion\":{\"LIUS:d1a97be745ad05203c316c52e05659bc\":0,\"LIUB:51c686f136238887af1ffc4ce43bb59d\":0}}}";

Make sure whatever you extract is valid JSON (move end point of extract around so JSON is valid). You can test here.

[login to view URL]

I need a working script where i provide the file location and get back the JSON only (in another file location).

Færdigheder: Python, PHP, JavaScript, Web Skrabning, Software Arkitektur

Om klienten:
( 244 bedømmelser ) San Francisco, United States

Projekt ID: #33827746

12 freelancere byder i gennemsnit $43 timen for dette job


Can you please share the source to extract the json data? Is the web page publicly accessible and not using captcha verification?

$30 USD på 1 dag
(247 bedømmelser)

Hi there!, Hope all good there. I read your project details and I'm very interested to hear from you to discuss more asap. I can generally complete the work within 0-2 days but we can discuss the time. You can see some Flere

$28 USD på 1 dag
(599 bedømmelser)

Hey, I am a python programmer, expert at web scraping and automation. I can build you a custom tool that gets you the JSON you want from those pages. Please feel free for more details. Kind Regards!

$30 USD på 1 dag
(38 bedømmelser)

Hello I am web scraper using php Please start chat with me for scraping Thanks Jaffer I.

$30 USD på 1 dag
(43 bedømmelser)

Hello I am a python developer with more than 2 years of experience. I have done many projects in past. I am mainly creating Web applications, REST services, client-server apps, and data-oriented apps with Python, and D Flere

$200 USD in 7 dage
(1 bedømmelse)

HI. I have similar experience about *Finding JSON in txt file**.I have seen these error during the making JSON converter. So I have fixing experience about that. **Only 2 hour is needed** Let's start. Thanks

$20 USD på 1 dag
(0 bedømmelser)