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

Video upload (take 2) #929

Closed
wants to merge 9 commits into from
Closed

Commits on Apr 8, 2019

  1. Video Upload

    Michael Chacaton authored and David Laban committed Apr 8, 2019
    Copy the full SHA
    c3a7643 View commit details
    Browse the repository at this point in the history
  2. video upload within combined api.upload_media method

    * And safe import urllib in both py2/3
    
    * rename methods to match API
    * DRY max sizes, put in class in case twitter changes them
    * use single media_upload for image and video, send to standard or
    * chunked upload based on mime type and size
    
    * finalize needs ModelParser, not RawParser
    fitnr authored and David Laban committed Apr 8, 2019
    Copy the full SHA
    66d24b2 View commit details
    Browse the repository at this point in the history
  3. fix file type sanity check in upload

    fitnr authored and David Laban committed Apr 8, 2019
    Copy the full SHA
    dc25eb1 View commit details
    Browse the repository at this point in the history
  4. update default chunk size to 1MB from 4K

    Add minimum chunk size of 16K, keeps number of chunks under 999
    fitnr authored and David Laban committed Apr 8, 2019
    Copy the full SHA
    ed9cef4 View commit details
    Browse the repository at this point in the history
  5. allow media_upload with file objects

    fitnr authored and David Laban committed Apr 8, 2019
    Copy the full SHA
    1d45783 View commit details
    Browse the repository at this point in the history
  6. check error on posting data

    fitnr authored and David Laban committed Apr 8, 2019
    Copy the full SHA
    c31a6e5 View commit details
    Browse the repository at this point in the history
  7. check error

    fitnr authored and David Laban committed Apr 8, 2019
    Copy the full SHA
    503312e View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    2c595a0 View commit details
    Browse the repository at this point in the history
  9. Fix to allow proper passing of media_category key

    jamiewinspear authored and David Laban committed Apr 8, 2019
    Copy the full SHA
    1ed555a View commit details
    Browse the repository at this point in the history