renamed to nyaanime

This commit is contained in:
Timon Ringwald 2022-08-15 16:43:27 +02:00
parent 517518dd30
commit 52de61265e
4 changed files with 7 additions and 9 deletions

4
go.mod
View File

@ -1,10 +1,10 @@
module git.milar.in/animan/parsers module git.milar.in/nyaanime/parsers
go 1.18 go 1.18
require ( require (
git.milar.in/animan/model v0.0.0-20220815093549-fe9b565a9dd2
git.milar.in/milarin/adverr v0.2.1 git.milar.in/milarin/adverr v0.2.1
git.milar.in/nyaanime/model v0.0.0-20220815143950-c3d8a5af20c3
) )
require git.milar.in/milarin/anilist v1.5.0 // indirect require git.milar.in/milarin/anilist v1.5.0 // indirect

6
go.sum
View File

@ -1,8 +1,6 @@
git.milar.in/animan/model v0.0.0-20220804154959-f8b66e8c9eda h1:9XG7Dn+UtyLwwNcuol10EdHcBQjYD+1WzmnJbRUJQfs=
git.milar.in/animan/model v0.0.0-20220804154959-f8b66e8c9eda/go.mod h1:oXDr3slnzXoccIrci2wotX0cWwMVuAQ9dSvmh1buE4c=
git.milar.in/animan/model v0.0.0-20220815093549-fe9b565a9dd2 h1:vNbYNp8VJQ6FBENgZMHA1IFOfPkQEA+TIaN8PFF8m48=
git.milar.in/animan/model v0.0.0-20220815093549-fe9b565a9dd2/go.mod h1:oXDr3slnzXoccIrci2wotX0cWwMVuAQ9dSvmh1buE4c=
git.milar.in/milarin/adverr v0.2.1 h1:eyXFGC+Ui/kcNt2+NqP3HiAplwxzqeNr9DfitsUb3c4= git.milar.in/milarin/adverr v0.2.1 h1:eyXFGC+Ui/kcNt2+NqP3HiAplwxzqeNr9DfitsUb3c4=
git.milar.in/milarin/adverr v0.2.1/go.mod h1:wwfglcey4R3vqjNL/d8mbnvFJGzETRXzAEolIHZY32w= git.milar.in/milarin/adverr v0.2.1/go.mod h1:wwfglcey4R3vqjNL/d8mbnvFJGzETRXzAEolIHZY32w=
git.milar.in/milarin/anilist v1.5.0 h1:fSiAXY/topNk4ISEp2QtcG9HHKLJfMc8w05iqc+Paf0= git.milar.in/milarin/anilist v1.5.0 h1:fSiAXY/topNk4ISEp2QtcG9HHKLJfMc8w05iqc+Paf0=
git.milar.in/milarin/anilist v1.5.0/go.mod h1:8PTHXFMA45JpfRFIpcdrKwDHue8fbT/wwV1BuHFn6c0= git.milar.in/milarin/anilist v1.5.0/go.mod h1:8PTHXFMA45JpfRFIpcdrKwDHue8fbT/wwV1BuHFn6c0=
git.milar.in/nyaanime/model v0.0.0-20220815143950-c3d8a5af20c3 h1:GyAhYs3Nl8CuzfOeLKmWwRe/Z+pEEtnWty39HfGz6iE=
git.milar.in/nyaanime/model v0.0.0-20220815143950-c3d8a5af20c3/go.mod h1:OzhQgj0b/Hf9fg8VXYxYt8ONQOvHm8xC44TmS9kQ150=

View File

@ -1,12 +1,12 @@
package parsers package parsers
import "git.milar.in/animan/model" import "git.milar.in/nyaanime/model"
/* /*
how to get all torrent names on a nyaa page: how to get all torrent names on a nyaa page:
let s = ""; let s = "";
document.querySelectorAll("tr > td:nth-child(2) > a:not(.comments)").forEach((element, index) => { document.querySelectorAll("tr > td:nth-child(2) > a:not(.comments)").forEach(element => {
s += element.textContent + "\n"; s += element.textContent + "\n";
}) })
console.log(s); console.log(s);

View File

@ -3,7 +3,7 @@ package parsers
import ( import (
"regexp" "regexp"
"git.milar.in/animan/model" "git.milar.in/nyaanime/model"
) )
// TorrentParseOptions holds the subgroup index in which information can be found in a given regex // TorrentParseOptions holds the subgroup index in which information can be found in a given regex