Skip to content

Commit daa5810

Browse files
committed
fix: scraping infos issue
1 parent 048fac1 commit daa5810

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

api/helpers/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const extractSeriesInfos = html => {
151151
actors: []
152152
}
153153

154-
infos.title = infoElement.find('h1').text()
154+
infos.title = infoElement.find('h1 > a:nth-child(1)').text()
155155
infos.id = infos.title.replace(/ /g, '-')
156156
const cover = coverElement.find('div.img').attr('style')
157157
infos.cover = cover.split('(')[1].replace(');', '')

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "esheeq-client",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Scrap dailymotion episodes links for a given series directly from esheeq",
55
"private": true,
66
"repository": {

0 commit comments

Comments
 (0)