Giter VIP home page Giter VIP logo

ytserver's Introduction

How to use the app

To install the app run: pip install ytserver

to run the server, run: ytserver

It will run on the 0.0.0.0 at port 8000

to use the server just make get requiest at http://0.0.0.0:8000/<your video url> and it return a json of the video information

    [
        {
        "extractor_key": "Twitter",
        "display_id": "1765708518038941924",
        "thumbnail": "https://pbs.twimg.com/amplify_video_thumb/1765708420500402176/img/3jLKkb4EKAz0NlXT.jpg?name=small",
        "title": "فيديوهات وروابط الأحداث - إدارة التحريات والبحث الجنائي بشرطة منطقة الرياض تقبض على شخص لانتحاله صفة غير صحيحة.",
        "description": "إدارة التحريات والبحث الجنائي بشرطة منطقة الرياض تقبض على شخص لانتحاله صفة غير صحيحة. https://t.co/fqGvREBNEI",
        "uploader_url": "https://twitter.com/videohat_1",
        "webpage_url": "https://twitter.com/videohat_1/status/1765708518038941924",
        "duration_string": "16",
        "formats": {
        "audio": [],
        "video": [
        {
        "format": "http-288 - 302x270",
        "format_note": null,
        "ext": "mp4",
        "protocol": "https",
        "resolution": "302x270",
        "url": "https://video.twimg.com/amplify_video/1765708420500402176/vid/avc1/302x270/MFtQlpDZCyxkCCKZ.mp4?tag=14",
        "filesize": null
        },
        {
        "format": "http-832 - 404x360",
        "format_note": null,
        "ext": "mp4",
        "protocol": "https",
        "resolution": "404x360",
        "url": "https://video.twimg.com/amplify_video/1765708420500402176/vid/avc1/404x360/OJcGw6iIYz4P9Lg_.mp4?tag=14",
        "filesize": null
        },
        {
        "format": "http-2176 - 576x512",
        "format_note": null,
        "ext": "mp4",
        "protocol": "https",
        "resolution": "576x512",
        "url": "https://video.twimg.com/amplify_video/1765708420500402176/vid/avc1/576x512/MJBW8Ku18AHg5uD8.mp4?tag=14",
        "filesize": null
        }
        ]
        },
        "upload_date": "20240307"
        }
    ]

ytserver's People

Contributors

mohammedsaudalsahli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.