mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-10-28 04:44:11 -07:00
fix loging bug and update search history list to order by search date
This commit is contained in:
parent
ce2004e09c
commit
f40d5d2f91
4
ani-cli
4
ani-cli
@ -418,7 +418,7 @@ get_search_query() {
|
||||
# Get search history
|
||||
stmt="SELECT DISTINCT id || '. ' || anime_name \
|
||||
FROM search_history \
|
||||
ORDER BY id DESC;"
|
||||
ORDER BY search_date DESC;"
|
||||
|
||||
msg="Choose from list of searched anime below, or enter a unique name of an anime to search for"
|
||||
span="$(generate_span "$msg")"
|
||||
@ -655,7 +655,7 @@ open_episode() {
|
||||
|
||||
dpage_link=$(get_dpage_link "$anime_id" "$episode")
|
||||
video_url=$(get_video_quality "$dpage_link")
|
||||
lg "Download link: $video_url"
|
||||
lg "Download link: $dpage_link"
|
||||
lg "Video url: $video_url"
|
||||
|
||||
if [ $half_ep -eq 1 ]; then
|
||||
|
@ -108,6 +108,8 @@ window {
|
||||
background-color: var(background);
|
||||
width: 75%;
|
||||
border-radius: 12px;
|
||||
anchor: center;
|
||||
location: center;
|
||||
}
|
||||
mainbox {
|
||||
padding: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user