Code Monkey home page Code Monkey logo

Comments (4)

Zod- avatar Zod- commented on July 22, 2024

Can you provide some sample URLs with possible formats?

Writing RegEx is a bit easier when you use some diagram tool.
image
image

Atom and VS Code both have the RegEx Railroad Diagram addons that show the live graph of the regex when you edit them. There are also online tools like Regexper.

from jsvideourlparser.

queejie avatar queejie commented on July 22, 2024

Full page:
https://www.teachertube.com/video/les-homophones-ces-ses-la-rgle-488055

Embedded:
//www.teachertube.com/embed/video/488055

Image:
https://cdn.teachertube.com/uploads/2019/05/14/488055/fra-ortho-homophones-ces:ses-nouvelle-video000.jpg

The last one isn't going to be workable because of the datea, but there seems to be code in the Python code change that might give a clue:
ytdl-org/youtube-dl@837b061

from jsvideourlparser.

queejie avatar queejie commented on July 22, 2024

Worst case, I could use this image, if there is no way to get one:
https://www.teachertube.com/frontend/themes/default/assets/images/default_video_thumb.jpg

from jsvideourlparser.

Zod- avatar Zod- commented on July 22, 2024

Yeah I didn't find a way to get thumbnails with just the video id.
I added support for video, audio, document, group, channel, collection and released it in 0.4.0

from jsvideourlparser.

Related Issues (20)

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.