2018-07-30 23:04:57 +05:30
|
|
|
<% content_for "header" do %>
|
|
|
|
<title>Import and Export Data - Invidious</title>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<div class="h-box">
|
2018-08-26 08:18:20 +05:30
|
|
|
<form class="pure-form pure-form-aligned" enctype="multipart/form-data" action="/data_control?referer=<%= referer %>" method="post">
|
2018-07-30 23:04:57 +05:30
|
|
|
<fieldset>
|
|
|
|
<legend>Import</legend>
|
|
|
|
|
|
|
|
<div class="pure-control-group">
|
|
|
|
<label for="import_youtube">Import Invidious data</label>
|
|
|
|
<input type="file" id="import_invidious" name="import_invidious">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pure-control-group">
|
2018-09-29 20:13:39 +05:30
|
|
|
<label for="import_youtube">Import <a rel="noopener" target="_blank"
|
2018-07-30 23:04:57 +05:30
|
|
|
href="https://support.google.com/youtube/answer/6224202?hl=en-GB">YouTube subscriptions</a></label>
|
|
|
|
<input type="file" id="import_youtube" name="import_youtube">
|
|
|
|
</div>
|
|
|
|
|
2018-08-14 00:47:20 +05:30
|
|
|
<div class="pure-control-group">
|
|
|
|
<label for="import_freetube">Import Freetube subscriptions (.db)</label>
|
|
|
|
<input type="file" id="import_freetube" name="import_freetube">
|
|
|
|
</div>
|
|
|
|
|
2018-07-30 23:04:57 +05:30
|
|
|
<div class="pure-control-group">
|
|
|
|
<label for="import_newpipe_subscriptions">Import NewPipe subscriptions (.json)</label>
|
|
|
|
<input type="file" id="import_newpipe_subscriptions" name="import_newpipe_subscriptions">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pure-control-group">
|
|
|
|
<label for="import_newpipe">Import NewPipe data (.zip)</label>
|
|
|
|
<input type="file" id="import_newpipe" name="import_newpipe">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pure-controls">
|
|
|
|
<button type="submit" class="pure-button pure-button-primary">Import</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<legend>Export</legend>
|
|
|
|
|
|
|
|
<div class="pure-control-group">
|
|
|
|
<a href="/subscription_manager?action_takeout=1">Export subscriptions as OPML</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pure-control-group">
|
2018-08-14 00:47:20 +05:30
|
|
|
<a href="/subscription_manager?action_takeout=1&format=newpipe">Export subscriptions as OPML (for NewPipe & FreeTube)</a>
|
2018-07-30 23:04:57 +05:30
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="pure-control-group">
|
|
|
|
<a href="/subscription_manager?action_takeout=1&format=json">Export data as JSON</a>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
2018-08-17 21:34:38 +05:30
|
|
|
</div>
|