Skip to content

devshashtag/sheypoor-post-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

about

this app helps you to collect PUBLIC DATA from sheypoor posts with json format


home


collector status-done view


collector status-done view

requirements

  • npm
  • nodejs

npm dependencies

  • axios
  • cheerio
  • express

install

git clone "https://github.com/DevsHashtag/sheypoor-post-collector.git"

cd sheypoor-post-collector

npm install

npm run server

goto: http://localhost:8080/


how to use

  1. select a city

home dropdown

  1. set start page, end page that you want to download posts ( min: 1, max: 10000)

home page-numbers valid-ranges

  1. click on جستجو(search) and wait for app to download data

collector view

  1. after a while you can see data loaded for each page

collector post link

  1. you can click on download button at any moment or you can wait for app to finish downloading

collector download

  1. you can go back if you want and start over but all downloaded posts will be lost unless you downloaded it as json

Errors

due to api limit after a while you'll get a error message ( every 10 page ) and you have to change your ip to continue:

  • if you are with wifi you have to restart you'r wifi to get new ip
  • if you are with mobile networks you have to simply turn off and turn on your mobile data

click on continue to download other pages

collector alert limit


if you dont have internet turn on, you'll get this error and app is waiting for you to turn it on

collector alert error

screenshots

more screenshots