Skip to content

Commit c24d7de

Browse files
authored
Fix formatting in consts.py for playlist size regex
1 parent 411b73a commit c24d7de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/phub/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class re:
227227
container = find( engine.DOTALL, r'class=\"container(.*)' ) # Get the page container
228228
document = find( engine.DOTALL, r'.*' ) # Match a whole document
229229
get_playlist_unavailable = find( engine.DOTALL, r': (\d+)</h5' ) # Get playlist unavailable videos amount
230-
get_playlist_size = find( engine.DOTALL, r'var itemsCount = (.*?) ||' ) # Get playlist video amount
230+
get_playlist_size = find( engine.DOTALL, r'var itemsCount = (.*?) ||' ) # Get playlist video amount
231231
get_playlist_likes = find( engine.DOTALL, r'<span class="votesUp">(.*?)</span>' ) # Get playlist likes
232232
get_playlist_dislikes = find( engine.DOTALL, r'<span class="votesDown">(.*?)</span>' ) # Get playlist dislikes
233233
get_playlist_ratings = find( engine.DOTALL, r'<span class="percent">(.*?)%</span>' ) # Get paylist like/dislike ratio

0 commit comments

Comments
 (0)