-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathconfig.js
35 lines (34 loc) · 1.14 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
const mobileUserAgent =
'Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3452.0 Mobile Safari/537.36'
module.exports = {
// twitter: {
// consumerKey: '',
// consumerSecret: '',
// token: '',
// tokenSecret: '',
// userId: '',
// },
resource: { maxSize: 50 * 1024 * 1024 },
sites: [
// {
// url: 'twitter.com',
// userAgent: mobileUserAgent,
// accounts: {
// default: {
// username: 'main',
// password: 'password1',
// },
// sub: {
// username: 'sub',
// password: 'password2',
// },
// },
// login: [
// ['goto', 'https://mobile.twitter.com/#'],
// ['input', 'input[name="session[username_or_email]"]', '$username'],
// ['input', 'input[name="session[password]"]', '$password'],
// ['submit', '[role=button]'],
// ],
// },
],
}