Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

Bugfix for missing comments #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Mar 26, 2018

  1. Bugfix for missing comments

    When scraping multiple posts in a row, any post that is scraped after a post with paged comments had a malformed base_url, containing multiple "&after=" parameters. Because of this, its seems that only the last page of comments was scraped for all subsequent posts.
    Resetting the "after" variable at the start of the loop fixes this. In the for-loop for subcomments this was already implemented correctly.
    TGWesper authored Mar 26, 2018
    Configuration menu
    Copy the full SHA
    c282c62 View commit details
    Browse the repository at this point in the history