mirror of
https://github.com/Findus23/cr-search.git
synced 2024-09-19 15:23:44 +02:00
allow cleaning cache quickly
This commit is contained in:
parent
cd2b2881bc
commit
c4f2910178
3 changed files with 9 additions and 6 deletions
4
utils.py
4
utils.py
|
@ -64,3 +64,7 @@ def pretty_title(title: str) -> str:
|
|||
|
||||
def clear_cache() -> None:
|
||||
cache.clear()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
clear_cache()
|
||||
|
|
|
@ -7,13 +7,14 @@
|
|||
<a href="https://critrole.com/">Critical Role</a>.
|
||||
</p>
|
||||
<p>In addition to a plain search there is a text completion from common phrases, a upper episode limit
|
||||
selector to avoid getting spoilered by something that occurs in a later episode<sup>2</sup></p>
|
||||
selector to avoid getting spoilered by something that occurs in a later episode<sup>2</sup> and an
|
||||
experimental transcript view.</p>
|
||||
<p>If you have any feedback, ideas for improvements or bugs, feel free to contact me at
|
||||
<a href="mailto:cr@lw1.at">cr@lw1.at</a> or <a href="https://twitter.com/lw1_at">on Twitter</a>.</p>
|
||||
|
||||
<div class="footnote-list">
|
||||
<ol>
|
||||
<li>all episodes with manually subtitles (including Shows and One-Shots)</li>
|
||||
<li>all episodes with manually created subtitles (including Shows and One-Shots)</li>
|
||||
<li>this also affects search suggestions</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
import Vue from "vue";
|
||||
import Router from "vue-router";
|
||||
import Home from "./views/Home.vue";
|
||||
import Transcript from "@/views/Transcript.vue";
|
||||
|
||||
Vue.use(Router);
|
||||
|
||||
|
@ -22,7 +20,7 @@ export default new Router({
|
|||
{
|
||||
path: "/transcript/:series/:episodeNr",
|
||||
name: "transcript",
|
||||
component: Transcript,
|
||||
component: () => import(/* webpackChunkName: "transcript" */ "./views/Transcript.vue"),
|
||||
props: true,
|
||||
},
|
||||
{
|
||||
|
@ -32,7 +30,7 @@ export default new Router({
|
|||
{
|
||||
path: "/:series/:episode/:keyword?",
|
||||
name: "search",
|
||||
component: Home,
|
||||
component: () => import(/* webpackChunkName: "search" */ "./views/Home.vue"),
|
||||
// props: true,
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue