ハーメルンが以下のuser-agentを設定しても削除しても403エラーになる。
ブラウザからはアクセス可能なのでクローラー対策が厳しくなったののかな?
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)
Linux(Debian12 stable)、narou 3.9.1で下記コマンドを実行
narou u -n 15 --backtrace
narou:3.9.1
ruby:3.3.6
JAVA:openjdk version "21.0.5" 2024-10-15 LTS
AozoraEpub3:1.1.0b46
<internal:C:/Ruby33-x64/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require': cannot load such file -- tilt/erubis (LoadError)
from <internal:C:/Ruby33-x64/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/web/appserver.rb:15:in `<top (required)>'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/web/all.rb:7:in `require_relative'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/web/all.rb:7:in `<top (required)>'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/command/web.rb:118:in `require_relative'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/command/web.rb:118:in `boot'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/command/web.rb:87:in `execute'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/commandbase.rb:125:in `execute!'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/commandbase.rb:134:in `execute!'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/commandline.rb:29:in `run'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/commandline.rb:43:in `run!'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/narou.rb:50:in `block in <top (required)>'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/lib/backtracer.rb:16:in `capture'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/narou.rb:49:in `<top (required)>'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/bin/narou:13:in `require_relative'
from C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/narou-3.9.1/bin/narou:13:in `<top (required)>'
from C:/Ruby33-x64/bin/narou:32:in `load'
from C:/Ruby33-x64/bin/narou:32:in `<main>'
narou:3.9.1
ruby:3.3.6 (2024-11-05 revision 75015d4c1f) [x64-mingw-ucrt]
JAVA:java version "1.8.0_431"
Java(TM) SE Runtime Environment (build 1.8.0_431-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.431-b10, mixed mode)
AozoraEpub3改造版:AozoraEpub3-1.1.1b30Q
以下、ログ:
ID:1984 悪役令嬢の中の人【書籍化・コミカライズ】 の変換を開始
縦書用の変換が終了しました
AozoraEpub3でEPUBに変換しています.
Exception in thread "main" java.lang.UnsupportedClassVersionError: AozoraEpub3 has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
pid 4652 exit 1
[ERROR] JavaがインストールされていないかAozoraEpub3実行時にエラーが発生しました。EPUBを作成出来ませんでした
(続き)
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/net/http.rb:1659:in 'IO.open'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/net/http.rb:1659:in 'block in Net::HTTP#connect'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/timeout.rb:185:in 'block in Timeout.timeout'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/timeout.rb:192:in 'Timeout.timeout'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/net/http.rb:1657:in 'Net::HTTP#connect'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/net/http.rb:1636:in 'Net::HTTP#do_start'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/net/http.rb:1625:in 'Net::HTTP#start'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/open-uri.rb:351:in 'OpenURI.open_http'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/open-uri.rb:825:in 'URI::HTTP#buffer_open'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/open-uri.rb:233:in 'block in OpenURI.open_loop'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/open-uri.rb:231:in 'Kernel#catch'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/open-uri.rb:231:in 'OpenURI.open_loop'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/open-uri.rb:163:in 'OpenURI.open_uri'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/open_uri_redirections-0.2.1/lib/open-uri/redirections_patch.rb:55:in 'OpenURI.open_uri'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/open-uri.rb:805:in 'OpenURI::OpenRead#open'
from /opt/homebrew/Cellar/ruby/3.4.1/lib/ruby/3.4.0/open-uri.rb:29:in 'URI.open'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/downloader.rb:731:in 'Downloader#get_toc_source'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/downloader.rb:840:in 'block in Downloader#get_subtitles_multipage'
from <internal:numeric>:257:in 'Integer#times'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/downloader.rb:834:in 'Downloader#get_subtitles_multipage'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/downloader.rb:789:in 'Downloader#get_latest_table_of_contents'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/downloader.rb:351:in 'Downloader#run_download'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/downloader.rb:334:in 'Downloader#start_download'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/command/update.rb:182:in 'block in Command::Update#execute'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/command/update.rb:157:in 'Array#each'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/command/update.rb:157:in 'Enumerable#each_with_index'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/command/update.rb:157:in 'Command::Update#execute'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/commandbase.rb:125:in 'Command::CommandBase#execute!'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/commandbase.rb:134:in 'Command::CommandBase.execute!'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/commandline.rb:29:in 'CommandLine.run'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/commandline.rb:43:in 'CommandLine.run!'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/narou.rb:50:in 'block in <top (required)>'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/lib/backtracer.rb:16:in 'Narou::Backtracer.capture'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/narou.rb:49:in '<top (required)>'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/bin/narou:13:in 'Kernel#require_relative'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/narou-3.9.1/bin/narou:13:in '<top (required)>'
from /opt/homebrew/lib/ruby/gems/3.4.0/bin/narou:25:in 'Kernel#load'
from /opt/homebrew/lib/ruby/gems/3.4.0/bin/narou:25:in '<main>'