itschasa / Discord-Backup

Backup and Restore your Discord Account (Servers, Friends + more) in minutes!
GNU General Public License v3.0
270 stars 19 forks source link

Update client_info.py #30

Closed Cloudzik1337 closed 9 months ago

Cloudzik1337 commented 9 months ago

29 As mentioned here

idk why i did pr never did and wanted to so ur job easier :*

sonarcloud[bot] commented 9 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

itschasa commented 9 months ago

did you test this?

Cloudzik1337 commented 9 months ago

print("Build Num ==", int(build_nums[0])) >>> Build Num == 254206

infamouskoala commented 9 months ago

this is useless, i dont think there are any breaks in the tool without this either

Cloudzik1337 commented 9 months ago

Traceback (most recent call last): line 29, in get_client_build_number build_url = 'https://discord.com/assets/' + re.compile(r'assets/+([a-z0-9]+).js').findall(login_page)[-2] + '.js' .................~~~~~~~~~~~~~~^^^^ IndexError: list index out of range Failed to get build number from Discord, failing back to hardcoded value...

infamouskoala commented 9 months ago

works well on my machine, skill issue buddy

Cloudzik1337 commented 9 months ago

Indian server issue

infamouskoala commented 9 months ago

did u fr call me indian??? >:( ur done lil bro

Cloudzik1337 commented 9 months ago

nope only servers u connect to