aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tau/downloader_impl.clj
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2022-12-31 13:04:55 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2022-12-31 13:27:33 +0100
commit8fa42bd5a8fcb1e07a31997a579b705369714d9c (patch)
treebadfe6bbac42e4ab915f00bf3793803cc38a3927 /src/backend/tau/downloader_impl.clj
parent4d42505dd2df7cc72c943089303500f58fa252e4 (diff)
fix(backend): Fix aot compilation
Diffstat (limited to 'src/backend/tau/downloader_impl.clj')
-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))