Skip to content

Commit

Permalink
Merge pull request #34 from dantob/for-upstream-2
Browse files Browse the repository at this point in the history
a few minor fixes
  • Loading branch information
hugo19941994 authored Feb 6, 2024
2 parents 03fce09 + e13f439 commit b2ee06e
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 33 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/daily-rebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pipenv'
Expand Down
2 changes: 0 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ verify_ssl = true
[packages]
# redump.py, dats-site.py, smdb.py
requests = "*"

# no-intro.py
selenium = "*"

# smdb.py
lxml = "*"

Expand Down
61 changes: 34 additions & 27 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions redump.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


def _find_dats():
download_page = requests.get(URL_DOWNLOADS, timeout=30)
download_page = requests.get(URL_DOWNLOADS, timeout=150)
download_page.raise_for_status()

dat_files = re.findall(regex["datfile"], download_page.text)
Expand All @@ -41,7 +41,7 @@ def update_XML():
# section for this dat in the XML file
tag_datfile = ET.SubElement(tag_clrmamepro, "datfile")

response = requests.get(URL_HOME + "datfile/" + dat, timeout=30)
response = requests.get(URL_HOME + "datfile/" + dat, timeout=150)
content_header = response.headers["Content-Disposition"]

# XML version
Expand Down

0 comments on commit b2ee06e

Please sign in to comment.