Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,207,347 members, 7,998,664 topics. Date: Saturday, 09 November 2024 at 10:52 PM

How I Crawled Leads From Jiji - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / How I Crawled Leads From Jiji (721 Views)

How I Crawled Leads From The Most Difficult Nigerian Site / How Much Will It Cost To Build A Website Like Jiji? / Scraping Jiji Ideas (2) (3) (4)

(1) (Reply) (Go Down)

How I Crawled Leads From Jiji by DataMina: 6:50pm On Oct 24, 2023
Hello Nairalanders,

I want to share my experience in crawling leads from Jiji. As a web scraping enthusiast, I've tackled various sites, but this one proved to be difficult. This is because the phone numbers are in the product detail page and you have to be logged in to get it. Another issue I faced was that the website is loaded with java script and uses infinite scrolling.

I was able to circumvent these road blocks by using selenium to login to the site with my personal details after which I saved the cookies as a json file. As the cite uses infinite scrolling I scraped all the sellers url links to a csv file. I then read the url links so as to crawl the site using the links.

Remember my login details have been saved as cookies in a json file, In the process of crawling the site again using the URLs, I applied the cookies from the json file. The crawler visited each seller's detail page using the saved URL links and clicked the "Show Contact" button to extract the contact information.

Retailers specializing in second-hand items like laptops can leverage this approach coupled with applied analytics on the scraped the data to gain swift access to mouth-watering deals, faster than regular visitor

You can check out the code for executing the project in my github repo: https://github.com/StephDAnalyst/JijiLeadScraping

1 Like

Re: How I Crawled Leads From Jiji by MarySocial: 7:37am On Oct 25, 2023
How can the data benefit my business?
Re: How I Crawled Leads From Jiji by GOSPELTRUTH31: 7:55am On Oct 25, 2023
How can I make money from this
Re: How I Crawled Leads From Jiji by DataMina: 10:36am On Oct 25, 2023
GOSPELTRUTH31:
How can I make money from this
How it works often on Upwork or Fiverr clients make request to scrap specific websites or leads for cold email marketing.
Re: How I Crawled Leads From Jiji by GOSPELTRUTH31: 2:20pm On Oct 25, 2023
DataMina:

How it works often on Upwork or Fiverr clients make request to scrap specific websites or leads for cold email marketing.

Do you offer classes online
Re: How I Crawled Leads From Jiji by DataMina: 3:25pm On Oct 25, 2023
GOSPELTRUTH31:


Do you offer classes online
Nope I don't but I am only interested in landing webscraping gigs. To learn webscraping, you can check out freecodecamp on YouTube
Re: How I Crawled Leads From Jiji by landiqa(m): 5:28pm On Oct 25, 2023
DataMina:
Hello Nairalanders,

I want to share my experience in crawling leads from Jiji. As a web scraping enthusiast, I've tackled various sites, but this one proved to be difficult. This is because the phone numbers are in the product detail page and you have to be logged in to get it. Another issue I faced was that the website is loaded with java script and uses infinite scrolling.

I was able to circumvent these road blocks by using selenium to login to the site with my personal details after which I saved the cookies as a json file. As the cite uses infinite scrolling I scraped all the sellers url links to a csv file. I then read the url links so as to crawl the site using the links.

Remember my login details have been saved as cookies in a json file, In the process of crawling the site again using the URLs, I applied the cookies from the json file. The crawler visited each seller's detail page using the saved URL links and clicked the "Show Contact" button to extract the contact information.

Retailers specializing in second-hand items like laptops can leverage this approach coupled with applied analytics on the scraped the data to gain swift access to mouth-watering deals, faster than regular visitor

You can check out the code for executing the project in my github repo: https://github.com/StephDAnalyst/JijiLeadScraping


Finally. Your contact please
Re: How I Crawled Leads From Jiji by airsaylongcome: 6:09pm On Oct 25, 2023
OP,

Word of advice, never use your personal login details for webscrapping

1 Like

Re: How I Crawled Leads From Jiji by DataMina: 8:43pm On Oct 25, 2023
landiqa:


Finally. Your contact please
0813six3six5six03
Re: How I Crawled Leads From Jiji by DataMina: 7:26am On Oct 26, 2023
airsaylongcome:
OP,

Word of advice, never use your personal login details for webscrapping
Yea thanks I have changed that
Re: How I Crawled Leads From Jiji by blaskikv: 1:30pm On Oct 26, 2023
Is webscraping lucrative?
Re: How I Crawled Leads From Jiji by BlackhatMentor: 1:32pm On Oct 26, 2023
blaskikv:
Is webscraping lucrative?

Sure
Re: How I Crawled Leads From Jiji by Felixitie(m): 10:34pm On Oct 26, 2023
blaskikv:
Is webscraping lucrative?

Data Extraction! Absolutely, especially if you can by pass anti bots/capcha mechanism on website + being able to integrate the data into a database and automation
Re: How I Crawled Leads From Jiji by Felixitie(m): 10:43pm On Oct 26, 2023
DataMina:
Hello Nairalanders,

I want to share my experience in crawling leads from Jiji. As a web scraping enthusiast, I've tackled various sites, but this one proved to be difficult. This is because the phone numbers are in the product detail page and you have to be logged in to get it. Another issue I faced was that the website is loaded with java script and uses infinite scrolling.

I was able to circumvent these road blocks by using selenium to login to the site with my personal details after which I saved the cookies as a json file. As the cite uses infinite scrolling I scraped all the sellers url links to a csv file. I then read the url links so as to crawl the site using the links.

Remember my login details have been saved as cookies in a json file, In the process of crawling the site again using the URLs, I applied the cookies from the json file. The crawler visited each seller's detail page using the saved URL links and clicked the "Show Contact" button to extract the contact information.

Retailers specializing in second-hand items like laptops can leverage this approach coupled with applied analytics on the scraped the data to gain swift access to mouth-watering deals, faster than regular visitor

You can check out the code for executing the project in my github repo: https://github.com/StephDAnalyst/JijiLeadScraping


Great job! Being able to handle the infinite scrolling on jiji page, different websites with different technicalities when it comes to data extraction. I did a project for a client recently, Airbnb and zillow, omoh the zillow gave me wahala small, reasons were, all the Web elements did not load except you scroll the page bit by bit down to the button, and to be able to scroll the page you have to minimise the driver window., very interesting.
Nice one op.
Re: How I Crawled Leads From Jiji by DataMina: 10:43pm On Oct 26, 2023
BlackhatMentor:


Sure
It sells on Upwork and Fiverr like pure water but being able to break through is the issue
Re: How I Crawled Leads From Jiji by DataMina: 11:11pm On Oct 26, 2023
Felixitie:


Great job! Being able to handle the infinite scrolling on jiji page, different websites with different technicalities when it comes to data extraction. I did a project for a client recently, Airbnb and zillow, omoh the zillow gave me wahala small, reasons were, all the Web elements did not load except you scroll the page bit by bit down to the button, and to be able to scroll the page you have to minimise the driver window., very interesting.
Nice one op.
Thanks. You are right there is no one perfect fit all to scraping. If it was that straight forward the client wouldn't have needed your service 👌

Re: How I Crawled Leads From Jiji by bassdow: 9:23am On Oct 31, 2023
blaskikv:
Is webscraping lucrative?
see question Ooo. why you think elonMusk dey do everything possible to discourage it on twitter ?

That doesn't mean such skill is for everyone, before una go begin overFocus on am. To bebst of ma knowledge, every sector pays well - you just need be atleast good enough

(1) (Reply)

Server Question / I Need A Professional''s Guilde. / How Do I Use This In Several Programs

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 28
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.