23prime / gokabot Goto Github PK
View Code? Open in Web Editor NEWGokabot
License: MIT License
Gokabot
License: MIT License
126.99.244.227 - - [21/Mar/2020:22:12:09 +0900] "POST /callback HTTP/1.1" 200 46 0.1379
/usr/local/lib/ruby/2.6.0/open-uri.rb:378:in `open_http'
/usr/local/lib/ruby/2.6.0/open-uri.rb:756:in `buffer_open'
/usr/local/lib/ruby/2.6.0/open-uri.rb:226:in `block in open_loop'
/usr/local/lib/ruby/2.6.0/open-uri.rb:224:in `catch'
/usr/local/lib/ruby/2.6.0/open-uri.rb:224:in `open_loop'
/usr/local/lib/ruby/2.6.0/open-uri.rb:165:in `open_uri'
/usr/local/lib/ruby/2.6.0/open-uri.rb:736:in `open'
/app/app/src/baseball_news/get_data.rb:35:in `get_xml'
/app/app/src/baseball_news/get_data.rb:10:in `scrape_page'
/app/app/src/baseball_news/answer_formatter.rb:54:in `init'
/app/app/src/baseball_news/answer_formatter.rb:9:in `day_all_game'
/app/app/src/baseball_news/answerer.rb:9:in `answer'
/app/app-dev/response.rb:67:in `block in mk_reply_text'
/app/app-dev/response.rb:66:in `each'
/app/app-dev/response.rb:66:in `mk_reply_text'
/app/app-dev/response.rb:55:in `reply'
/app/app-dev/response.rb:141:in `block in reply'
/app/app-dev/response.rb:140:in `each'
/app/app-dev/response.rb:140:in `reply'
/app/app-dev/response.rb:183:in `block (2 levels) in respond_to_events'
/app/app-dev/response.rb:182:in `each'
/app/app-dev/response.rb:182:in `block in respond_to_events'
/app/app-dev/response.rb:181:in `each'
/app/app-dev/response.rb:181:in `respond_to_events'
/app/app-dev/response.rb:177:in `response'
/app/app-dev/main.rb:25:in `block in <top (required)>'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1636:in `call'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1636:in `block in compile!'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:987:in `block (3 levels) in route!'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1006:in `route_eval'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:987:in `block (2 levels) in route!'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1035:in `block in process_route'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1033:in `catch'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1033:in `process_route'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:985:in `block in route!'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:984:in `each'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:984:in `route!'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1098:in `block in dispatch!'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1072:in `block in invoke'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1072:in `catch'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1072:in `invoke'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1095:in `dispatch!'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:919:in `block in call!'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1072:in `block in invoke'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1072:in `catch'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1072:in `invoke'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:919:in `call!'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:908:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-protection-2.0.8.1/lib/rack/protection/xss_header.rb:18:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-protection-2.0.8.1/lib/rack/protection/path_traversal.rb:16:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-protection-2.0.8.1/lib/rack/protection/json_csrf.rb:26:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-protection-2.0.8.1/lib/rack/protection/base.rb:50:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-protection-2.0.8.1/lib/rack/protection/base.rb:50:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-protection-2.0.8.1/lib/rack/protection/frame_options.rb:31:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/logger.rb:17:in `call'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:224:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/head.rb:12:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/method_override.rb:24:in `call'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/show_exceptions.rb:22:in `call'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:194:in `call'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1951:in `call'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1503:in `block in call'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1730:in `synchronize'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1503:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/tempfile_reaper.rb:15:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/lint.rb:50:in `_call'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/lint.rb:38:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/show_exceptions.rb:23:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/common_logger.rb:38:in `call'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:231:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/content_length.rb:17:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/handler/webrick.rb:95:in `service'
/usr/local/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
/usr/local/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
/usr/local/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
From: U0123456789abcdefghijklmnopqrstuv (404 Not Found)
Message: 野球
Reply: エラーおつwwwwww
> 404 Not Found
126.99.244.227 - - [21/Mar/2020:22:12:11 +0900] "POST /callback HTTP/1.1" 200 82 0.2555
Following errors are occurred from 2020-02-10, with span of a few hours.
Rack::Lint::LintError: env missing required key SERVER_NAME
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/lint.rb:21:in `assert'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/lint.rb:279:in `block in check_env'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/lint.rb:278:in `each'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/lint.rb:278:in `check_env'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/lint.rb:44:in `_call'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/lint.rb:38:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/show_exceptions.rb:23:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/common_logger.rb:38:in `call'
/usr/local/bundle/ruby/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:231:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/content_length.rb:17:in `call'
/usr/local/bundle/ruby/2.6.0/gems/rack-2.2.2/lib/rack/handler/webrick.rb:95:in `service'
/usr/local/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
/usr/local/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
/usr/local/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'
i see on scripts are fowarding to based url https://wikiwiki.jp/dolls-fl/
then ill try typing (doll dollname(GFL)) on chat room gokabot
and bot always return a message like ths 該当するドールが見つかりません ??
i just curious about this bot feature's, any advice?
im sorry if i have a dirty english,
as a guest i just need to know about ths feature
thanks
ur line bot also good
When mes equals "All" series, no responses are received.
"Yukarin-Mail" is defined as to reply when '鳩','田村ゆかり', 'ゆかりん' and etc. is entered.
case msg
when 'はと','鳩','ゆかりん','田村ゆかりさん','田村ゆかり'
rep_text = Pigeons.mail
Despite such a definition, when "鳩" is entered, it doesn't reply anything.
In the case "鳩" replaced to /鳩/,
msg =~ /鳩|ゆかり/
rep_text = Pigeons.mail
nothing is replied when "鳩" is entered.
However when "あ鳩" is entered ,I receive the reply as expected.
If we send the word that does not exist, Pixiv Encyclopedia always return this:
このタイトルの記事は、まだ作成されていません。
記事を作成
e.g.) https://dic.pixiv.net/a/hogsdkfjsoehob
The status of this page is 200 (not 404), so Mechanize does not raise an exception and does not catch at this line.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.