Giter VIP home page Giter VIP logo

pttminer's Issues

爬取結果都是dummy

你好~

image

image

如上圖,爬取結果export之後全部都是dummy,換了好幾個版跟參數還是一樣,也確定版名跟網址一樣,請問有可能是哪裡有問題嗎?

非常感謝!

無法爬取Python版

您好
將board設成Python版時

rookie_miner %>% 
  mine_ptt(board = "Python",
           last.n.page = 10)

會出現 Error in 1L:end_pos : 答案向量會太長的錯誤訊息
請問我有哪邊操作錯誤嗎?

`mine_ptt()` 執行錯誤:Could not find function "future_lapply"

library(PTTmineR)
rookie_miner <- PTTmineR$new(task.name = "Mr. Meeseeks")
mine_ptt(rookie_miner, board = "Gossiping", last.n.page = 5)
#> 🙈 PTTmineR mining from ptt on your setting ...Error in future_lapply(add_post_id, FUN = local(get_post_dt), future.globals = c("add_post_id",  : 
#>   could not find function "future_lapply"

我查了一下,發現原因有可能是 future::future_lapply() 被移到另一個套件 future.apply::future_lapply()
https://www.rdocumentation.org/packages/future/versions/1.8.0/topics/future_lapply

目前如果先引入 future.apply 即可使用:

library(PTTmineR)
library(future.apply)
rookie_miner <- PTTmineR$new(task.name = "Mr. Meeseeks")
mine_ptt(rookie_miner, board = "Gossiping", last.n.page = 5)
#> 🙊 PTTmineR mining from ptt on your setting ... DONE

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.