{"id":20590001,"url":"https://github.com/doist/todoistmediaparser","last_synced_at":"2026-07-03T10:43:44.635Z","repository":{"id":15282739,"uuid":"18012202","full_name":"Doist/TodoistMediaParser","owner":"Doist","description":"Parses media links for more information like a thumbnail url, type and mime type.","archived":false,"fork":false,"pushed_at":"2022-02-01T19:19:26.000Z","size":167,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T23:43:31.255Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Doist.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-22T15:13:57.000Z","updated_at":"2021-08-17T20:27:54.000Z","dependencies_parsed_at":"2022-07-31T03:08:11.330Z","dependency_job_id":null,"html_url":"https://github.com/Doist/TodoistMediaParser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doist%2FTodoistMediaParser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doist%2FTodoistMediaParser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doist%2FTodoistMediaParser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doist%2FTodoistMediaParser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Doist","download_url":"https://codeload.github.com/Doist/TodoistMediaParser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242218864,"owners_count":20091510,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T07:33:34.103Z","updated_at":"2026-07-03T10:43:39.589Z","avatar_url":"https://github.com/Doist.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Media Parser #\n\nSimple Java library to ease integration with media. Useful for obtaining direct links to media content, thumbnails, mime types, and other useful data.\n\n## Usage ##\n\nTo get a media parser for an url (or `null` if there's none that supports it), call:\n\n```\nMediaParser mediaParser = MediaParser.getInstance(url);\n```\n\nTo get a direct link to this content, use:\n\n```\nmediaParser.getContentUrl(); // Same as `getUrl()` when there's no direct link.\n```\n\nTo get the type of the content `getContentUrl()` returns, use:\n\n```\nmediaParser.getContentMediaType(); // Type.IMAGE, Type.VIDEO, Type.AUDIO or Type.OTHER.\n```\n\nTo get an image thumbnail of this content, equal or larger than `smallestSide`, use:\n\n```\nmediaParser.getThumbnailUrl(smallestSide); // Can be null.\n```\n\nFinally, to know if the thumbnail can be obtained immedately or if it requires additonal work (like http requests), use:\n\n```\npublic boolean isThumbnailImmediate(int smallestSide);\n```\n\n## Supported services\nBesides urls which point directly to image, video and audio files, these services are also supported:\n\n- deviantart.com\n- flickr.com\n- hulu.com\n- img.ly\n- instagr.am\n- justin.tv\n- rdio.com\n- screenr.com\n- slideshare.com\n- soundcloud.com\n- spotify.com\n- ted.com\n- twitpic.com\n- vimeo.com\n- yfrog.com\n- youtube.com","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoist%2Ftodoistmediaparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoist%2Ftodoistmediaparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoist%2Ftodoistmediaparser/lists"}