Leboncoin Electronics Data Validator

via Freelancer ·

Budget / Salary€30–250
TypeFreelance project
LocationRemote
Posted1 hour ago
I need an automated crawler that scans Leboncoin’s Electronics category and submit it on my website. this is the task.
1) have an account created on lister.fr. (already the case)
2) login to account (already done)
3) bot starts here: Go to any electronics products (bot should be able to let me choose zip code and category to crowl)
4) use a created favorit link with this text

javascript:!function()%7Bfunction%20e(e)%7Breturn(e%7C%7C%22%22).toString().replace(%2F%5Cs%2B%2Fg%2C%22%20%22).trim()%7Dfunction%20t(e)%7Bvar%20t%3Ddocument.querySelector('meta%5Bproperty%3D%22'%2Be%2B'%22%5D%2Cmeta%5Bname%3D%22'%2Be%2B'%22%5D')%3Breturn%20t%3Ft.getAttribute(%22content%22)%3Anull%7Dvar%20r%3D%7Btitle%3Anull%2Cdescription%3Anull%2Cprice%3Anull%2Cimages%3A%5B%5D%2Cpostal_code%3Anull%2Ccity%3Anull%2Csource%3Alocation.hostname%2Curl%3Alocation.href%7D%3Btry%7Bvar%20i%3Ddocument.getElementById(%22__NEXT_DATA__%22)%3Bif(i)%7Bvar%20n%3DJSON.parse(i.textContent)%2Co%3Dn%26%26n.props%26%26n.props.pageProps%2Cc%3Do%26%26(o.ad%7C%7Co.adview%7C%7Co.data)%3Bc%26%26c.subject%26%26(r.title%3Dc.subject%2Cr.description%3Dc.body%7C%7Cnull%2Cc.price%26%26c.price.length%3Fr.price%3DNumber(c.price%5B0%5D)%3A%22number%22%3D%3Dtypeof%20c.price%26%26(r.price%3Dc.price)%2Cc.images%26%26(c.images.urls_large%7C%7Cc.images.urls)%26%26(r.images%3D(c.images.urls_large%7C%7Cc.images.urls).slice(0%2C10))%2Cc.location%26%26(r.postal_code%3Dc.location.zipcode%7C%7Cnull%2Cr.city%3Dc.location.city%7C%7Cnull))%7D%7Dcatch(e)%7B%7Dif(!r.title)try%7Bfor(var%20a%3Ddocument.querySelectorAll('script%5Btype%3D%22application%2Fld%2Bjson%22%5D')%2Cl%3D0%3Bl%3Ca.length%3Bl%2B%2B)%7Bvar%20p%3DJSON.parse(a%5Bl%5D.textContent)%3Bif(Array.isArray(p)%26%26(p%3Dp%5B0%5D)%2Cp%26%26(%22Product%22%3D%3D%3Dp%5B%22%40type%22%5D%7C%7Cp.name))%7Br.title%3Dp.name%7C%7Cr.title%2Cr.description%3Dp.description%7C%7Cr.description%3Bvar%20s%3DArray.isArray(p.offers)%3Fp.offers%5B0%5D%3Ap.offers%3Bs%26%26s.price%26%26(r.price%3DNumber(s.price))%3Bvar%20u%3Dp.image%3B%22string%22%3D%3Dtypeof%20u%26%26(u%3D%5Bu%5D)%2CArray.isArray(u)%26%26(r.images%3Du.map(function(e)%7Breturn%22string%22%3D%3Dtypeof%20e%3Fe%3Ae.url%7D).filter(Boolean).slice(0%2C10))%3Bbreak%7D%7D%7Dcatch(e)%7B%7Dif(r.title%7C%7C(r.title%3Dt(%22og%3Atitle%22)%7C%7Cdocument.title)%2Cr.description%7C%7C(r.description%3De(window.getSelection%26%26window.getSelection().toString())%7C%7Ct(%22og%3Adescription%22)%7C%7Ct(%22description%22))%2C!r.price)%7Bvar%20g%3D(t(%22product%3Aprice%3Aamount%22)%7C%7Cdocument.body.innerText.match(%2F(%5Cd%5B%5Cd%5Cs%E2%80%AF%5D%7B0%2C6%7D)%5Cs%3F%E2%82%AC%2F)%7C%7C%5B%5D)%5B1-(t(%22product%3Aprice%3Aamount%22)%3F1%3A0)%5D%3Bg%26%26(r.price%3DNumber(String(g).replace(%2F%5B%5Cs%E2%80%AF%5D%2Fg%2C%22%22)))%7Dif(!r.images.length%26%26t(%22og%3Aimage%22)%26%26(r.images%3D%5Bt(%22og%3Aimage%22)%5D)%2Cr.title%3De(r.title).slice(0%2C80)%2Cr.description%3D(r.description%7C%7C%22%22).toString().trim().slice(0%2C5e3)%2Cr.title)%7Bvar%20d%3Dbtoa(unescape(encodeURIComponent(JSON.stringify(r)))).replace(%2F%5C%2B%2Fg%2C%22-%22).replace(%2F%5C%2F%2Fg%2C%22_%22).replace(%2F%3D%2B%24%2F%2C%22%22)%3Bwindow.open(%22https%3A%2F%2Flister.fr%2Fdeposer%23import%3D%22%2Bd%2C%22_blank%22)%7Delse%20alert(%22Impossible%20de%20trouver%20une%20annonce%20sur%20cette%20page.%20Ouvrez%20la%20page%20d%E2%80%99une%20annonce%2C%20puis%20cliquez%20%C3%A0%20nouveau.%22)%7D()%3B

and click on it. this link will send you to lister.fr site and fill up all information.

5) submit product creation by clicking submit.

Please do not bid randomly just to get my attention. I won't accept any automatic bidding.
I need this to be done in less than 1 day. You can create a demo account on lister.fr to test.
php javascript python web scraping software architecture web development data extraction automation api development bot development
Apply on Freelancer →

Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.