aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/tau/downloader_impl.clj29
1 files changed, 18 insertions, 11 deletions
diff --git a/src/backend/tau/downloader_impl.clj b/src/backend/tau/downloader_impl.clj
index 7083973..cf355e1 100644
--- a/src/backend/tau/downloader_impl.clj
+++ b/src/backend/tau/downloader_impl.clj
@@ -1,17 +1,24 @@
(ns tau.downloader-impl
(:import
[org.schabi.newpipe.extractor.downloader Response Request]
- [okhttp3 Request$Builder OkHttpClient$Builder RequestBody])
- (:gen-class
- :extends org.schabi.newpipe.extractor.downloader.Downloader
- :constructors {[okhttp3.OkHttpClient$Builder] []}
- :name tau.DownloaderImpl
- :init downloader-impl
- :state state
- :methods [#^{:static true} [init [] tau.DownloaderImpl]
- #^{:static true} [getInstance [] tau.DownloaderImpl]]
- :prefix "-"
- :main false))
+ [okhttp3 Request$Builder OkHttpClient$Builder RequestBody]))
+
+(gen-class
+ :name tau.DownloaderImpl
+ :constructors {[okhttp3.OkHttpClient$Builder] []}
+ :extends org.schabi.newpipe.extractor.downloader.Downloader
+ :init downloader-impl)
+
+(gen-class
+ :name tau.DownloaderImpl
+ :constructors {[okhttp3.OkHttpClient$Builder] []}
+ :extends org.schabi.newpipe.extractor.downloader.Downloader
+ :prefix "-"
+ :main false
+ :state state
+ :init downloader-impl
+ :methods [#^{:static true} [init [] tau.DownloaderImpl]
+ #^{:static true} [getInstance [] tau.DownloaderImpl]])
(def user-agent "Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0")
(def instance (atom nil))