dvingerh / PyInstaLive

Python script to download Instagram livestreams.
MIT License
547 stars 111 forks source link

The ffmpeg or the instagram api don't sanitised correctly #73

Closed dognk closed 5 years ago

dognk commented 5 years ago

Fill in this template completely. Issues not following this template will be closed and ignored.

Check the boxes below by filling [ ] with an x so it looks like [x].

Use the Preview button to ensure the template is filled in correctly.

I am using:

To report a bug, fill in the information below.

Required files

Please attach the log file of the user you were trying to download (if applicable) and the `pyinstalive.default.log 20190918_luz_vanee_18079388923119320_1568861980_live_downloads.txt

` log file.
If your issue is related to assembling segment files please also include the JSON file and a zipped segment files directory.
If any of these files exceed the Github upload size limit in size please use WeTransfer or a similar service to upload these files.

PyInstaLive information

Run pyinstalive --info and paste its output below. Don't forget to omit your username and password.

Example:

$ pyinstalive --info
---------------------------------------------------------------------------
[I] PYINSTALIVE (SCRIPT V3.1.8 - PYTHON V3.6.3) - 09-18-2019 10:05:04 PM
---------------------------------------------------------------------------
[I] To see all the available arguments, use the -h argument.

[I] PyInstaLive version:        3.1.8
[I] Python version:             3.6.3
[I] FFmpeg framework:           Available
[I] Cookie files:               2 (dd.pol.json matches config user)
[I] CLI supports color:         No
[I] Command to run at start:    None
[I] Command to run at finish:   None
[I] Config file contents:

    [pyinstalive]
    username = xxx
    password = xxx
    download_path = C:\Users\nikotz\live
    download_lives = true
    download_replays = false
    download_comments = false
    show_cookie_expiry = false
    log_to_file = false
    ffmpeg_path =
    run_at_start =
    run_at_finish =
    use_locks = True
    clear_temp_files = true
    do_heartbeat = True
    proxy =
    verbose = False
    skip_merge = true

[I] End of PyInstaLive information screen.
---------------------------------------------------------------------------
Command used

pyinstalive -df pyinstalive .-as

Behavior

the assamble is no working

Steps to reproduce issue

when send a multi download of lives they not assamble in the end

To ask a question, fill in the information below.

Question

If i now the problem (the ffmpeg is corrupt and dont sanitised correctly) how i make a command to run in the end to delete the json (corrupt) and assamble the files automatic or what is the best way to install what version of ffmpeg pd: i make 10 installations of ffmpeg and not solve the issue

dvingerh commented 5 years ago

Theres no "corruption" with ffmpeg. I can't solve the problem because it's a bug in the dependency and not my script. See https://github.com/notcammy/PyInstaLive/issues/69#issuecomment-516528363

It's not much work to manually delete the json file and use the assemble command. If you really want to automate it then go learn a bit of Python and write a script for it.

dognk commented 5 years ago

ok tnks 4 your help