Skip to content
This repository was archived by the owner on Feb 25, 2024. It is now read-only.
This repository was archived by the owner on Feb 25, 2024. It is now read-only.

[BUG] upload_video.py not working? #1414

@kushpvo

Description

@kushpvo

Example file

examples/videos/upload_video.py

Describe the bug

The log does say that the video was upload. It always renames the file and adds "REMOVE ME" at the end - all the behaviour is same as photos/upload_photos.py

But, on the instagram account, it never uplaods the video.

Log

2020-04-10 13:39:41,929 - INFO - LOGIN FLOW! Just logged-in: False
2020-04-10 13:39:43,446 - INFO - Logged-in successfully as '****'!
2020-04-10 13:39:43,449 - INFO - Checking 60s.mp4
2020-04-10 13:39:43,449 - INFO - Uploading video `60s.mp4` with caption: `2`
2020-04-10 13:39:45,879 - INFO - Started uploading '/Users/kushpvo/Desktop/******/media/60s.mp4'
Analizing `/Users/kushpvo/Desktop/******/media/60s.mp4`
FOUND w:720, h:1280, rotation=0, ratio=0.5625
Vertical video
Cropping video
2020-04-10 13:40:10,063 - INFO - Video '/Users/kushpvo/Desktop/*****/media/60s.mp4' uploaded
2020-04-10 13:40:10,064 - INFO - Succesfully uploaded: 60s.mp4
2020-04-10 13:40:10,065 - INFO - Total requests: 35

To Reproduce

(EXAMPLE:) Steps to reproduce the behavior:

  1. Run file: examples/videos/upload_video.py

Expected behavior

The video should get uploaded to the instagram account
Version

Python version (python -v): 3.7.4

Operating System :Linux and MacOS (tried on both)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions