Bug Fixes and thiladhun scraper intergration

This commit is contained in:
2020-08-11 03:39:08 +05:00
parent 0cede5b708
commit 5df4011f13
14 changed files with 4478 additions and 137 deletions

View File

@@ -30,12 +30,12 @@
<div>
<p
class="font-semibold text-gray-700 text-sm capitalize MvTyper"
v-text="article.source.name"
v-text="subarticle.source.name"
></p>
</div>
<img
:src="article.source.logo"
:src="subarticle.source.logo"
class="h-10 w-10 rounded-full ml-1 object-cover"
/>
@@ -59,7 +59,7 @@
/>
</svg>
<span class="ml-1" v-text="article.readtime"></span>
<span class="ml-1" v-text="subarticle.readtime"></span>
</div>
<p
@@ -153,8 +153,8 @@ export default {
axios
.get("api/today")
.then(response => {
this.article = response.data.data[0];
this.subarticles = response.data.data.slice(1, 5);
this.article = response.data[0];
this.subarticles = response.data.slice(1, 5);
})
.catch(error => {
console.log(error);