Humble Bundle Keys Backup

Displays a text area with game titles and keys so you can copy them out easily.

< 脚本Humble Bundle Keys Backup的反馈

提问/评论

§
发表于:2022-04-24
编辑于:2022-04-24

The script breaks on the Humble Ukraine bundle due to one of the keys not having a title field. Here's the HTML that breaks the script. As you can see there is no div with a title, and it is a special case with a custom-html div. So maybe the script needs to check whether a title exists before using one on line 59?

<div class="key-list">
<div class="key-redeemer">
<div class="heading-text">
<h4>Complete Unity 3D Developer</h4>
</div>
<div class="custom-html">
<div class="urlredeemlink"><p style="font-size: 16px; text-align: center;">
<a class="overgrowthspf_link" href="https://www.gamedev.tv/courses/1111834?coupon_code=abcdf" target="_blank">Click here to claim your Complete C# Unity Developer 3D course</a></p>
</div>
<div align="center" class="instructions_html redeemsmallheading overgrowthspf_instruct">

Lex作者
§
发表于:2022-04-24

Thank you for the bug report and for debugging it for me! I pushed an update that will ignore entries like the above in the Ukraine bundle. Give it a try!

发表回复

登录以发表回复。