A minimalist library that extracts IDs from all kinds of YouTube urls
More...
import 'package:youtube_parser/youtube_parser.dart'; String foo = getIdFromUrl('https://www.youtube.com/watch?v=CBWlfU_na-2'); // returns 'CBWlfU_na-2' String bar = getIdFromUrl('https://www.notyoutube.com/watch?v=CBWlfU_na-2'); // returns null
vimuser.com
Repository (GitHub)View/report issues
BSD-3-Clause (license)
Packages that depend on youtube_parser
Back