我发现一些使用
以下是链接:
post_connect_hook
和pre_connect_hook
的解决方案,但它们似乎不起作用。我正在使用最新版本的Mechanize(2.1)。在新版本中没有[:response]
字段,我不知道在新版本中该如何获取它们。以下是链接:
- https://gist.github.com/search?q=pre_connect_hooks
- https://gist.github.com/search?q=post_connect_hooks
iconv
进行转换?