thitlwincoder / direct_link Goto Github PK
View Code? Open in Web Editor NEWDirect link extractor from URL to stream and download directly
Home Page: https://pub.dev/packages/direct_link
License: MIT License
Direct link extractor from URL to stream and download directly
Home Page: https://pub.dev/packages/direct_link
License: MIT License
Vimeo, Dailymotion and google drivers.
These have been tested.
Thanks.
I Try this Package today but unfortunately, nothing works. Facebook, Instagram, Google Drive
Its not extracting the vimeo downloadable link from the original video link
i was trying with link
https://drive.google.com/file/d/1dHmVk7XWR8Z4-Xsb5824iPv_9AIS1Zih
and also
https://drive.google.com/get_video_info?docid=1dHmVk7XWR8Z4-Xsb5824iPv_9AIS1Zih
Unhandled exception:
Null check operator used on a null value
#0 Gdrive (package:direct_link/sites/gdrive.dart:10:22)
<asynchronous suspension>
#1 main (file:///C:/Users/Saifallak/IdeaProjects/direct_link/example/direct_link_example.dart:4:15)
<asynchronous suspension>
How to download a ts file using this package
Can you please add YouTube shorts download
There is problem with cors in Flutter Web. In debugger I get this XMLHttpRequest error.
xnxx
hy
it is not working for all type of facebook video link
ex : https://m.facebook.com/story.php?story_fbid=481008509351664&id=161276981324820&fs=60&focus_composer=0&m_entstream_source=video_home&player_suborigin=feed&player_format=permalink
above link returns null
Error: Unsupported operation: Platform._operatingSystem
The issue arises from the usage of Platform in your _social mixin, which is not supported in the web environment.
I have uses kIsWeb to check if the code is running in a web environment. If it is, it assumes a mobile-like environment and calls the _getMobile method.
but it didn't worked for me.
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 294:3 throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 244:5 _operatingSystem
dart-sdk/lib/io/platform_impl.dart 56:40 get operatingSystem
dart-sdk/lib/io/platform.dart 83:44 get operatingSystem
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 1430:8 get
dart-sdk/lib/io/platform.dart 156:50 get isAndroid
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 1430:8 get
packages/direct_link/sites/social.dart 9:18 get
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54 runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 127:5 _async
packages/direct_link/sites/social.dart 4:32 get
packages/direct_link/direct_link.dart 26:20 check
packages/direct_downloader/main.dart 156:33 onPressed
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54 runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 127:5 _async
packages/direct_downloader/main.dart 134:25 onPressed
packages/flutter/src/material/ink_well.dart 1183:21 handleTap
packages/flutter/src/gestures/recognizer.dart 275:24 invokeCallback
packages/flutter/src/gestures/tap.dart 652:11 handleTapUp
packages/flutter/src/gestures/tap.dart 309:5 [_checkUp]
packages/flutter/src/gestures/tap.dart 242:7 handlePrimaryPointer
packages/flutter/src/gestures/recognizer.dart 630:9 handleEvent
packages/flutter/src/gestures/pointer_router.dart 98:7 [_dispatch]
packages/flutter/src/gestures/pointer_router.dart 143:9 <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 21:7 forEach
packages/flutter/src/gestures/pointer_router.dart 141:17 [_dispatchEventToRoutes]
packages/flutter/src/gestures/pointer_router.dart 127:7 route
packages/flutter/src/gestures/binding.dart 488:5 handleEvent
packages/flutter/src/gestures/binding.dart 468:14 dispatchEvent
packages/flutter/src/rendering/binding.dart 439:11 dispatchEvent
packages/flutter/src/gestures/binding.dart 413:7 [_handlePointerEventImmediately]
packages/flutter/src/gestures/binding.dart 376:5 handlePointerEvent
packages/flutter/src/gestures/binding.dart 323:7 [_flushPointerEventQueue]
packages/flutter/src/gestures/binding.dart 292:9 [_handlePointerDataPacket]
lib/_engine/engine/platform_dispatcher.dart 1289:5 invoke1
lib/_engine/engine/platform_dispatcher.dart 273:5 invokeOnPointerDataPacket
lib/_engine/engine/pointer_binding.dart 168:30 [_onPointerData]
lib/_engine/engine/pointer_binding.dart 791:20 <fn>
lib/_engine/engine/pointer_binding.dart 720:7 <fn>
lib/_engine/engine/pointer_binding.dart 317:9 loggedHandler
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 574:37 _checkAndCall
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 579:39 dcall
When i try to get direct link for facebook video, below error has been throw.
type 'Null' is not a subtype of type 'Map<String, dynamic>'
Edit: Instagram also don't work now, please respond update bro, whether ur fixing or not.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.