From 13e40259b7e7139696060c67d4c9e640436029b7 Mon Sep 17 00:00:00 2001 From: Cadence Fish Date: Sat, 22 Feb 2020 01:32:57 +1300 Subject: [PATCH] Username cannot end with a dot --- src/lib/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/constants.js b/src/lib/constants.js index f16a083..412c8b0 100644 --- a/src/lib/constants.js +++ b/src/lib/constants.js @@ -43,7 +43,7 @@ let constants = { timeline_query_hash_2: "42323d64886122307be10013ad2dcc44", // https://github.com/rarcega/instagram-scraper/blob/dc022081dbefc81500c5f70cce5c70cfd2816e3c/instagram_scraper/constants.py#L30 shortcode_query_hash: "2b0673e0dc4580674a88d426fe00ea90", timeline_fetch_first: 12, - username_regex: "[\\w.]+", + username_regex: "[\\w.]*[\\w]", shortcode_regex: "[\\w-]+", hashtag_regex: "[^ \\n`~!@#\\$%^&*()\\-=+[\\]{};:\"',<.>/?\\\\]+" },