Skip to content

Commit

Permalink
fix: hardcoded series id removed
Browse files Browse the repository at this point in the history
  • Loading branch information
fscorrupt committed Jul 14, 2024
1 parent b003ea5 commit f16f032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Posterizarr.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2077,7 +2077,7 @@ function GetTVDBTitleCard {

do {
try {
$response = (Invoke-WebRequest -Uri "https://api4.thetvdb.com/v4/series/81797/episodes/default?page=$page" -Method GET -Headers $global:tvdbheader).content | ConvertFrom-Json
$response = (Invoke-WebRequest -Uri "https://api4.thetvdb.com/v4/series/$($global:tvdbid)/episodes/default?page=$page" -Method GET -Headers $global:tvdbheader).content | ConvertFrom-Json
$episodes = $response.data.episodes
$seriesData = $response.data

Expand Down

0 comments on commit f16f032

Please sign in to comment.