Open
Description
🛑 DO NOT REMOVE OR SKIP THIS ISSUE TEMPLATE 🛑
Issues with incomplete or missing information will be closed automatically.
🐞 Bug Description
Provide a clear and concise description of the bug.
When retrieving video.publish_date it returns None, not always but it started to happen for me now.
🔢 Code Snippet
Include the minimal code snippet that reproduces the issue.
for video in playlist.videos:
print(video.publish_date)
🎯 Expected Behavior
Describe what you expected to happen instead of the observed behavior.
it should return the year-month-day hour:min:sec or whatever it usually is
📸 Screenshots or Logs
given
for video in playlist.videos:
# YT Information
YTtitle = video.title
YTartist = video.author
YTyear = int(str(video.publish_date)[:4])
error:
Traceback (most recent call last):
File "c:\Users\LightslicerGP\Desktop\Files\Github\YTMDL\YT2DLv5.py", line 56, in <module>
YTyear = int(str(video.publish_date)[:4])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'None'
---
## 🖥️ **Environment Details**
Fill in the details below about your setup:
- **Operating System:** Windows 11
- **Python Version:** 3.12.3
- **Pytubefix Version:** 8.12.2
---
## 📋 **Additional Context**
Add any additional information or context that might help us resolve the issue.
it used to work for so long and outta nowhere it just doesnt, it seems like other things work tho BUT the publish date
---
### 🚀 **Next Steps**
Once submitted, we will triage the issue. Make sure to respond to follow-up questions to keep the process smooth.
Metadata
Metadata
Assignees
Labels
Projects
Status
waiting