Comments (5)
Duplicate of Podcastindex-org/database#5 β basically the export contains both \r and \r\n as newlines. Trying to process the data, I also get UTF8 errors like illegal byte sequence
:
wget https://archive.org/download/podcastindex_dump/podcasts_2020-10-02.csv
sed -e 's/"",/,/g' podcasts_2020-10-02.csv > podcasts_2020-10-02_fixed.csv
> sed: RE error: illegal byte sequence
iconv -f UTF-8 podcasts_2020-10-02.csv > /dev/null
> iconv: podcasts_2020-10-02.csv:172436:66: cannot convert
from docs-api.
I would gladly dump the table as a SQL file with mysqldump, but it contains the itunesOwnerEmail column, which I do not want to distribute. I canβt see a clean way to dump everything but that column without jumping through a bunch of temporary table hoops, which is time consuming on a table that large. Maybe Iβll just bite the bullet and do it anyway.
from docs-api.
There is indeed not really a way around doing a dump that way without temporary tables. But perhaps if you don't want to distribute that column, it should be in another place.
from docs-api.
One could write an own exporter tool, which correctly writes the defined export format. I personally would prefer JSON or maybe even CSV. But we can also write a simple shell script with fixes the current export, e.g. by replacing all /r/n
with /n
and then all /n
with /r/n
again. But then we would still have the unicode errors...
from docs-api.
Karsten in the mastadon shot me a python export tool he uses. He said it should preserve the charset and do well. I'm going to give that a shot this next time.
from docs-api.
Related Issues (20)
- Multiple type issues HOT 1
- document optional properties HOT 1
- Podcasts byFeedId Endpoint bug HOT 4
- How to query episode based upon podcast? HOT 1
- Authenticate-free way of getting a feed and item information by GUID? HOT 2
- Podcasts By Feed ID endpoint `/podcasts/byfeedid` accepts non-numeric ids HOT 4
- Are URLs to podcasting platforms returned from the API? HOT 1
- Feature request: trailers API endpoint
- Feature request: add pagination for loading episodes
- Blocked by Cloudflare HOT 2
- Sorting of `/search/byterm` endpoint
- new endpoint: recent/modifiedfeeds HOT 7
- New Feeds endpoint returns feeds that By Feed ID endpoint does not recognize HOT 3
- Include socialInteract (comments) data on the episodes returned by the API HOT 5
- Pagination in search endpoint HOT 5
- Recent feeds not returning all expected feeds HOT 5
- Order `/episodes/live` by `datePublished` rather than `id` HOT 1
- Wrong schema description and example for /search/byperson HOT 2
- Type inconsistency for the /podcasts/bytag endpoint HOT 4
- Strange issue with /search/byperson HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs-api.