justinchuntingho / LIHKGr

R Scraper for LIHKG, the Hong Kong version of Reddit.
GNU General Public License v3.0
16 stars 4 forks source link

Search function #7

Open justinchuntingho opened 4 years ago

justinchuntingho commented 4 years ago

Probably in the long run, but it would be great to be able to make use of the search function: https://lihkg.com/search?q=%E4%BB%8A%E6%99%9A%E6%89%93%E8%80%81%E8%99%8E&sort=desc_create_time&type=thread

Potential approach:

  1. scrape the postids from the search page
  2. use the existing functions to scrape posts