Closed tangor86 closed 2 weeks ago
This is my config file if needed:
{
"app_id": 11111111111111,
"app_hash": "xxxxxxxxxxxxxxx",
"request_interval_ms": 1000,
"session_file_path": "tg.session",
"out_dir_path": "history",
"history": [
{"id": xxxx}
],
"stories": "none",
"media": [
{"type": "channel"}
],
"history_limit": {
"20000": {"type": "channel"}
},
"dump_account": "off",
"dump_contacts": "off",
"dump_sessions": "off"
}
PS: i only export channels for now
Preview currently requires a history/account
file with current user's info (controlled by "dump_account"
). In general, it should not be required, but as a temporary workaround you can run the dumper once with -dump_account=write
to create this account
file.
huge thanks it works with "dump_account": "write" !
hello,
I run http preview like this: tg_history_dumper -config "C:\Users\XXXXXXXX\go\bin\tg_history_dumper.json" -preview-http 127.0.0.1:9000
Then i go to the host and I see as below which is correct:
But when i click to the specific chat (any) and got navigated: http://127.0.0.1:9000/chats/2241725579
I have error like this:
Is it a bug or i am doing something wrong?
P.S: I do have all necessary files created after the export in the "history" folder: