New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问谁有写好的将webmagic中的ResultItems 输出到excel中的文件?写好的pipeline文件,谢谢了 #683
Comments
可以输出csv格式 |
我是新手,能直接输出吗?之前在scrapy中能直接输出,webmagic要编码吗?,能给看看你写的代码吗? |
看了,但是还不知道怎么处理map->csv的转换,原谅我还是菜鸟,求大神贴下代码。求! |
在process函数里面有 |
啊?没怎么听明白,[笑脸] |
还请大哥不吝赐教,友情赠送我段代码吧。贴上一段项目自带的pipeline代码:
} |
我点开你给我的连接了,正在理解中,谢谢你 |
请问resultItems.keySet()这个函数是怎么写的,能贴一下吗? |
public class CSVFilePipeline extends FilePersistentBase implements Pipeline {
// if (objects == UN_INIT) {
// String path = this.path + PATH_SEPERATOR + task.getUUID() + PATH_SEPERATOR; } 我稍微改了下,路径换成桌面了,但是桌面出不来.csv文件,这个单步执行也不知道哪错了,求指教 |
谢谢,谢谢 |
请问这个怎么解决的? |
No description provided.
The text was updated successfully, but these errors were encountered: