reddit_video_downloader 0.1.3 copy "reddit_video_downloader: ^0.1.3" to clipboard
reddit_video_downloader: ^0.1.3 copied to clipboard

A new Flutter package which can download videos from reddit. Currently only supports Android, iOS and MacOS

Reddit Video Downloader #

pub package License: MIT

"Buy Me A Coffee"

A dart package to download the video from the Reddit post. Currently package support Android, iOS and MacOS platforms.

🚀 Features #

downloadRedditVideo()

downloadRedditVideo(videoURL, videoLocation, videoTitle) #

import 'package:reddit_video_downloader/reddit_video_downloader.dart';

downloadVideo() async {
    final reddit = RedditVideDownloader();
    await reddit
        .downloadRedditVideo(
            videoUrl:
                'https://www.reddit.com/r/SipsTea/comments/vmf0zx/how_different_animals_fight/',
            videoLocation: '/storage/emulated/0/Download',
            videoTitle: 'test')
        .then((value) async {
      final startTime = value.getStartTime();
      print('Start Time: $startTime');
      final endTime = await value.getEndTime();
      print('End Time: $endTime');
      final duration = await value.getDuration();
      print('Duration: $duration');

      // returnCode is 0 if the operation was successful
      final returnCode = await value.getReturnCode();
      if (returnCode == 0) {
        print('Operation Successful');
      } else {
        value.getAllLogs().then((value) => {
          for (final log in value) {print(log)}
        });
      }
    });    

Completed Features ✅ #

  • ✅ Support for Android
  • ✅ Support for iOS
  • ✅ Support for MacOS
  • 🕐 Support for Windows - On progress
  • 🕐 Support for Linux - On Progress
  • 🕐 Support for Web - On Progress
1
likes
130
pub points
40%
popularity

Publisher

verified publisherkathirvelchandrasekaran.online

A new Flutter package which can download videos from reddit. Currently only supports Android, iOS and MacOS

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

ffmpeg_kit_flutter, flutter, http, permission_handler

More

Packages that depend on reddit_video_downloader