Skip to content

yarmat/twitter-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instruction

0 - run install

npm install

1 - Import dump db to your mysql.

twitter.sql

2 - Change settings DB connection (index.js)
const sequelize = new Sequelize('db_name', 'db_user', 'db_password', {
    dialect: 'mysql',
    operatorsAliases: false
});

3 - Setting proxy servers
config/proxy.js

4 - Setting UserAgents

config/userAgent.js

5 - Setting imgur.com

config/imgur.js
    login: 'login',
    password: 'password',
    client_id: 'client_id'

6 - In DB you can see three tables: accounts, tweets and tweets_removed
6.1 - refresh tweets table
6.2 - refresh tweets_removed table
6.3 - setting accounts table
7 - run script
node index.js

Releases

No releases published

Packages

No packages published