Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difference between html-file of on-line export and command export #126

Closed
moi427 opened this issue May 31, 2024 · 7 comments
Closed

Difference between html-file of on-line export and command export #126

moi427 opened this issue May 31, 2024 · 7 comments

Comments

@moi427
Copy link

moi427 commented May 31, 2024

First of all: this is a really a great program to make Skype backups, very happy with it being able to backup the conversations (since april 2017) with my son who lives in the USA!

I first ran the backup on-line via the program (v5.5 on W10), but now I created a batchjob that runs via the scheduler to run sync and backup automatically on a weekly basis.
To my surprise there's a difference between the created backup via this batch and when I run it on-line from Skyperious, I haven't been able to find an explanation for this behavior.
When running the export on-line, I get all photos and videos in the export html-files (as a kind of thumbnails you can enlarge), but when I run the export via the batchjob there's only a link to those pictures and videos.
And yes, the on-line export takes in case of the chats with my son quite some time, but for me that's not a problem at all since it's a treasure to me.
Example line in the batch export html-file:
"To view this shared photo, go to: https://api.asm.skype.com/v1/objects/xxxxxxxxxxxxxxx/views/imgpsh_fullsize"
The link opens properly, but why can't I get the html-file with the photos/videos included like in the on-line export version?
If this is intended behavior, perhaps it's possible to include a parameters to chose for the "full version" or this "small version", like [-v {full, small}].

B.t.w. the batchcommands I'm running after the sync:
RMDIR "D:\xxx\yyy\zzz\Skyperious\Export from NAME" /S/Q (this to get every time the same directoryname created, it can't be updated)
skyperious export D:\xxx\yyy\zzz\Skyperious\Skyperious\SkypeID.main.db -u aaaaa -p bbbbb -t html -o D:\xxx\yyy\zzz\Skyperious
(The addition of my -o parameter doesn't have effect, it's just for my clarity).

@suurjaak
Copy link
Owner

Glad to hear the program is helping people!

(By online export I assume you mean exporting from Skyperious graphical user interface)

Your issue seems to be that the command-line interface is not getting the password to log in to Skype online for downloading the media. The export command does not support giving the password on the command-line directly (and neither the username).

You can see the command-line parameters for export here: https://suurjaak.github.io/Skyperious/help.html#export, relevant ones here are:

  --ask-password        prompt for Skype password on HTML export to download
                        shared media
  --store-password      store entered password in configuration

For bypassing the password prompt, you can run the export once with
--ask-password --store-password
so that Skyperious stores your password for this database in its configuration file. Or run the graphical interface once, log in to Skype online and check the "Remember password" checkbox - again gets saved in configuration.

(Password is stored in obfuscated form, not quite plain text.)

@moi427
Copy link
Author

moi427 commented Jun 1, 2024 via email

@suurjaak
Copy link
Owner

suurjaak commented Jun 1, 2024

It isn't possible to include username and password also to the export command like the sync command in an update of the program?

At the moment I'm not even sure why I did not include this option in the first place. Maybe I thought that export already had too many arguments.

I will make the password arguments the same across different commands in the next released version.

@moi427
Copy link
Author

moi427 commented Jun 1, 2024 via email

@suurjaak
Copy link
Owner

suurjaak commented Jun 2, 2024

The newly released Skyperious v5.6 now supports --password argument for the export command.

@suurjaak suurjaak closed this as completed Jun 2, 2024
@moi427
Copy link
Author

moi427 commented Jun 3, 2024 via email

@moi427
Copy link
Author

moi427 commented Jun 3, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants