Custom Import routine

Ask any support / help / issues / problem or question related to any of our other products
Post Reply
User avatar
martin@rootjazz
Site Admin
Posts: 30006
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Custom Import routine

Post by martin@rootjazz »

Coming in next updates is ability to custom import accounts.

Format:

Code: Select all

line1:<spec>
line2+: <accs>
Format must be CSV (comma)

Columns can be:
username
password
proxy
email
pop
phone
notes
tags
cookiesbase64
cookies
WARNING: notes cannot contain a comma
For multiple tags use a space


You can manually specify the order, example

Code: Select all

username,password,email
dave6235467,p455word1,dave6235467@gmail.com
dave123678,p455word1,dave123678@gmail.com
dave9326867,p455word1,dave9326867@gmail.com

or

Code: Select all

username,password,phone,notes,tags
dave6235467,p455word1,+1 72362563, a new account for testing, testing niceh1
dave123678,p455word1,44 867378463784,established account, moneyacc
dave9326867,p455word1,93 987436437,aged acc, moneyacc

so whatever order you specify the <spec> line is how the import lines are read in





Regards,
Martin
User avatar
martin@rootjazz
Site Admin
Posts: 30006
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Custom Import routine

Post by martin@rootjazz »

Cookie spec supported via token

cookiesbase64


Cookies should be JSON formatted list then base64 encoded. This seems to be becoming a sort of standard spec for cookies in import files. Not everywhere uses, to be honest most don't but it is probably the best and used more often than other custom specs


so cookies:

Code: Select all

[
{
    "domain": ".twitter.com",
    "expirationDate": 1718727529.0,
    "hostOnly": true,
    "httpOnly": false,
    "name": "guest_id_marketing",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "session": false,
    "storeId": null,
    "value": "v1%3A165123123127144419",
    "id": 1
  },
  {
    "domain": ".twitter.com",
    "expirationDate": 1718727529.0,
    "hostOnly": true,
    "httpOnly": false,
    "name": "guest_id_ads",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "session": false,
    "storeId": null,
    "value": "v1%3A161231231212317144419",
    "id": 1
  },
  {
    "domain": ".twitter.com",
    "expirationDate": 1718727529.0,
    "hostOnly": true,
    "httpOnly": false,
    "name": "personalization_id",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "session": false,
    "storeId": null,
    "value": "\"v1_Iskis12312312N3SQ==\"",
    "id": 1
  }
}
]
then base64 encoded become

Code: Select all

ewogICAgImRvbWFpbiI6ICIudHdpdHRlci5jb20iLAogICAgImV4cGlyYXRpb25EYXRlIjogMTcxODcyNzUyOS4wLAogICAgImhvc3RPbmx5IjogdHJ1ZSwKICAgICJodHRwT25seSI6IGZhbHNlLAogICAgIm5hbWUiOiAiZ3Vlc3RfaWRfbWFya2V0aW5nIiwKICAgICJwYXRoIjogIi8iLAogICAgInNhbWVTaXRlIjogIk5vbmUiLAogICAgInNlY3VyZSI6IHRydWUsCiAgICAic2Vzc2lvbiI6IGZhbHNlLAogICAgInN0b3JlSWQiOiBudWxsLAogICAgInZhbHVlIjogInYxJTNBMTY1MTIzMTIzMTI3MTQ0NDE5IiwKICAgICJpZCI6IDEKICB9LAogIHsKICAgICJkb21haW4iOiAiLnR3aXR0ZXIuY29tIiwKICAgICJleHBpcmF0aW9uRGF0ZSI6IDE3MTg3Mjc1MjkuMCwKICAgICJob3N0T25seSI6IHRydWUsCiAgICAiaHR0cE9ubHkiOiBmYWxzZSwKICAgICJuYW1lIjogImd1ZXN0X2lkX2FkcyIsCiAgICAicGF0aCI6ICIvIiwKICAgICJzYW1lU2l0ZSI6ICJOb25lIiwKICAgICJzZWN1cmUiOiB0cnVlLAogICAgInNlc3Npb24iOiBmYWxzZSwKICAgICJzdG9yZUlkIjogbnVsbCwKICAgICJ2YWx1ZSI6ICJ2MSUzQTE2MTIzMTIzMTIxMjMxNzE0NDQxOSIsCiAgICAiaWQiOiAxCiAgfSwKICB7CiAgICAiZG9tYWluIjogIi50d2l0dGVyLmNvbSIsCiAgICAiZXhwaXJhdGlvbkRhdGUiOiAxNzE4NzI3NTI5LjAsCiAgICAiaG9zdE9ubHkiOiB0cnVlLAogICAgImh0dHBPbmx5IjogZmFsc2UsCiAgICAibmFtZSI6ICJwZXJzb25hbGl6YXRpb25faWQiLAogICAgInBhdGgiOiAiLyIsCiAgICAic2FtZVNpdGUiOiAiTm9uZSIsCiAgICAic2VjdXJlIjogdHJ1ZSwKICAgICJzZXNzaW9uIjogZmFsc2UsCiAgICAic3RvcmVJZCI6IG51bGwsCiAgICAidmFsdWUiOiAiXCJ2MV9Jc2tpczEyMzEyMzEyTjNTUT09XCIiLAogICAgImlkIjogMQogIH0KfQ==

https://www.base64encode.org/





--------------------------------


Token
cookies

namevalue pair with cookie separator : and namevalue format
n=v

Code: Select all

cookie1_name=cookie1_value:cookie2_name=cookie2_value:cookie3_name=cookie3_value
Post Reply